1 2012-10-29 Mike Frysinger <vapier@gentoo.org>
3 * manual/message.texi: Delete @cartouche tags.
5 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9 * sysdeps/mach/hurd/fsync.c: Likewise.
11 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12 [_POSIX_REALTIME_SIGNALS]: Change condition to
13 [_POSIX_REALTIME_SIGNALS > 0].
15 2012-10-27 Andreas Jaeger <aj@suse.de>
17 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
20 [__WORDSIZE != 64]: Likewise.
22 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24 * iconvdata/tst-table.sh: Remove ${SHELL}.
25 * iconvdata/tst-tables.sh: Likewise.
27 2012-10-25 David S. Miller <davem@davemloft.net>
29 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40 2012-10-25 Roland McGrath <roland@hack.frob.com>
42 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
46 2012-10-25 Joseph Myers <joseph@codesourcery.com>
47 Jim Blandy <jimb@codesourcery.com>
49 * scripts/cross-test-ssh.sh: New file.
50 * manual/install.texi (Configuring and compiling): Document use of
52 * INSTALL: Regenerated.
54 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
56 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59 2012-10-25 Joseph Myers <joseph@codesourcery.com>
61 * Makeconfig (run-program-prefix): Fix comment.
63 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64 Jim Blandy <jimb@codesourcery.com>
66 * Makeconfig (test-wrapper): New variable,
67 (test-wrapper-env): Likewise.
68 [$(cross-compiling) = yes && $(test-wrapper) != ""]
69 (run-built-tests): Define to yes.
70 (run-program-prefix): Use $(test-wrapper).
71 (built-program-cmd): Likewise.
72 * Rules (make-test-out): Use $(test-wrapper-env) and
73 $(host-built-program-cmd).
74 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
77 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
78 $(test-wrapper-env) to tst-rtld-load-self.sh.
79 ($(objpfx)order2.out): Use $(test-wrapper).
80 ($(objpfx)tst-initorder.out): Likewise.
81 ($(objpfx)tst-initorder2.out): Likewise.
82 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
83 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
84 (test_wrapper_env): New variable. Use it to run ld.so.
85 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
87 (test_wrapper_env): Likewise.
88 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
89 $(test-wrapper) to run-iconv-test.sh.
90 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
91 (ICONV): Use $test_wrapper.
92 * posix/Makefile ($(objpfx)globtest.out): Pass
93 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
94 globtest.sh, not $(run-program-prefix).
95 * posix/globtest.sh (run_via_rtld_prefix): New variable.
96 (test_wrapper): Likewise.
97 (test_wrapper_env): Likewise. Use it to run globtest with HOME
98 set together with run_via_rtld_prefix.
99 (run_program_prefix): Define in terms of test_wrapper and
102 2012-10-24 Roland McGrath <roland@hack.frob.com>
104 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
105 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
109 * include/time.h: Remove librt_hidden_proto (clock_gettime).
110 Declare __clock_getres, __clock_gettime, __clock_settime,
111 __clock_nanosleep, and __clock_getcpuclockid.
112 * rt/clock_gettime.c: Define __clock_gettime as an alias.
113 Remove librt_hidden_def (clock_gettime).
114 * sysdeps/unix/clock_gettime.c: Likewise.
115 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
117 * rt/clock_getres.c: Define __clock_getres as an alias.
118 * sysdeps/posix/clock_getres.c: Likewise.
119 * rt/clock_settime.c: Define __clock_settime as an alias.
120 * sysdeps/unix/clock_settime.c: Likewise.
121 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
122 * sysdeps/unix/clock_nanosleep.c: Likewise.
123 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
124 * rt/clock-compat.c: New file.
125 * rt/Makefile (librt-routines): Add clock-compat and move
126 $(clock-routines) to ...
127 (routines): ... here, new variable.
128 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
129 Don't add get_clockfreq here.
130 * rt/Versions (libc: GLIBC_2.17): New version set.
131 Add clock_* symbols here.
132 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
134 (GLIBC_2.17): Add clock_* symbols.
135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
146 * NEWS: Mention the move.
148 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
149 Use __open, __read, __close rather than their public counterparts.
150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
151 (__get_clockfreq_via_cpuinfo): Likewise.
152 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
153 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
155 * config.h.in (HAVE_IFUNC): New #undef.
156 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
158 * configure: Regenerated.
160 2012-10-24 Mike Frysinger <vapier@gentoo.org>
162 * configure.in: Move READELF check to start of file.
163 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
164 libc_cv_asm_gnu_indirect_function in the process.
165 * configure: Regenerated.
167 2012-10-24 Mike Frysinger <vapier@gentoo.org>
169 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
170 send the output to /dev/null.
171 (libc_cv_cc_with_libunwind): Likewise.
172 (libc_cv_as_noexecstack): Likewise.
173 * configure: Regenerate.
175 2012-10-24 Joseph Myers <joseph@codesourcery.com>
177 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
179 * posix/globtest.sh (TMPDIR): Do not set.
180 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
183 2012-10-24 Andreas Jaeger <aj@suse.de>
185 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
186 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
187 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
188 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
189 posix_fadvise64, posix_fallocate64.
191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
192 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
193 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
195 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
197 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
200 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
201 <bits/fcntl-linux.h>.
202 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
205 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
206 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
207 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
208 [__WORDSIZE != 64]: Likewise.
210 2012-10-23 Joseph Myers <joseph@codesourcery.com>
212 * Makeconfig (run-built-tests): New variable.
213 * Rules [$(cross-compiling) = yes]: Change condition to
214 [$(run-built-tests) = no].
215 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
216 to [$(run-built-tests) = yes].
217 * elf/Makefile [$(cross-compiling) = no]: Likewise
218 * grp/Makefile [$(cross-compiling) = no]: Likewise.
219 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
220 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
221 * intl/Makefile [$(cross-compiling) = no]: Likewise.
222 * io/Makefile [$(cross-compiling) = no]: Likewise.
223 * libio/Makefile [$(cross-compiling) = no]: Likewise.
224 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
225 * misc/Makefile [$(cross-compiling) = no]: Likewise.
226 * posix/Makefile [$(cross-compiling) = no]: Likewise.
227 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
228 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
229 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
230 * string/Makefile [$(cross-compiling) = no]: Likewise.
232 * posix/Makefile ($(objpfx)globtest.out): Pass
233 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
234 $(rtld-installed-name).
235 * posix/globtest.sh (elf_objpfx): Remove variable.
236 (rtld_installed_name): Likewise.
237 (library_path): Likewise.
238 (run_program_prefix): New variable. Use for running globtest
241 2012-10-23 Jim Blandy <jimb@codesourcery.com>
242 Joseph Myers <joseph@codesourcery.com>
244 * Makeconfig (host-built-program-cmd): New variable.
245 * elf/Makefile (tst-stackguard1-ARGS): Use
246 $(host-built-program-cmd).
247 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
248 (tst-spawn-ARGS): Likewise.
249 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
251 2012-10-23 Joseph Myers <joseph@codesourcery.com>
252 Jim Blandy <jimb@codesourcery.com>
254 * Makeconfig (run-via-rtld-prefix): New variable.
255 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
256 (built-program-cmd): Likewise.
258 2012-10-22 Andreas Jaeger <aj@suse.de>
260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
261 __O_RSYNC if it exists, otherwise to O_SYNC.
263 2012-10-22 Jim Blandy <jimb@codesourcery.com>
264 Joseph Myers <joseph@codesourcery.com>
266 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
268 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
270 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
273 2012-10-22 Andreas Jaeger <aj@suse.de>
275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
283 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
290 2012-10-21 Jim Blandy <jimb@codesourcery.com>
291 Joseph Myers <joseph@codesourcery.com>
293 * config.make.in (NM): New variable.
295 2012-10-21 Andreas Jaeger <aj@suse.de>
297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
298 definitions and declarations that are provided by
299 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
301 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
304 * elf/Makefile (tests-static): Add tst-leaks1-static.
305 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
306 ($(objpfx)tst-leaks1-static): New rule.
307 ($(objpfx)tst-leaks1-static-mem): Likewise.
308 (tst-leaks1-static-ENV): New macro.
309 * elf/dl-open.c (dl_open_worker): Check the main application
310 only if SHARED is defined.
311 * elf/tst-leaks1-static.c: New file.
313 2012-10-20 Andreas Jaeger <aj@suse.de>
315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
316 generic values for Linux.
317 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
318 and declarations that are provided by <bits/fcntl-linux.h> and
319 include <bits/fcntl-linux.h>.
320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
323 2012-10-20 Roland McGrath <roland@hack.frob.com>
325 * io/fcntl.h: Move include of <bits/types.h> to the top and
326 include it unconditionally.
328 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
330 * wcsmbs/Makefile (tests-ifunc): New variable.
331 (tests): Add $(tests-ifunc).
332 * wcsmbs/test-wcschr-ifunc.c: New file.
333 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
334 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
335 * wcsmbs/test-wcslen-ifunc.c: Likewise.
336 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
337 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
339 * string/Makefile (tests-ifunc): New variable.
340 (tests): Add $(tests-ifunc).
341 * string/test-memccpy.c (TEST_NAME): New macro.
342 * string/test-memchr.c (TEST_NAME): Likewise.
343 * string/test-memcmp.c (TEST_NAME): Likewise.
344 * string/test-memcpy.c (TEST_NAME): Likewise.
345 * string/test-memmem.c (TEST_NAME): Likewise.
346 * string/test-memmove.c (TEST_NAME): Likewise.
347 * string/test-memset.c (TEST_NAME): Likewise.
348 * string/test-rawmemchr.c (TEST_NAME): Likewise.
349 * string/test-stpcpy.c (TEST_NAME): Likewise.
350 * string/test-stpncpy.c (TEST_NAME): Likewise.
351 * string/test-strcasecmp.c (TEST_NAME): Likewise.
352 * string/test-strcasestr.c (TEST_NAME): Likewise.
353 * string/test-strcat.c (TEST_NAME): Likewise.
354 * string/test-strchr.c (TEST_NAME): Likewise.
355 * string/test-strcmp.c(TEST_NAME): Likewise.
356 * string/test-strcpy.c (TEST_NAME): Likewise.
357 * string/test-strcspn.c (TEST_NAME): Likewise.
358 * string/test-strlen.c (TEST_NAME): Likewise.
359 * string/test-strncasecmp.c (TEST_NAME): Likewise.
360 * string/test-strncmp.c (TEST_NAME): Likewise.
361 * string/test-strncpy.c (TEST_NAME): Likewise.
362 * string/test-strnlen.c (TEST_NAME): Likewise.
363 * string/test-strpbrk.c (TEST_NAME): Likewise.
364 * string/test-strrchr.c (TEST_NAME): Likewise.
365 * string/test-strspn.c (TEST_NAME): Likewise.
366 * string/test-strstr.c (TEST_NAME): Likewise.
367 * string/test-bcopy-ifunc.c: New file.
368 * string/test-bzero-ifunc.c: Likewise.
369 * string/test-memccpy-ifunc.c: Likewise.
370 * string/test-memchr-ifunc.c: Likewise.
371 * string/test-memcmp-ifunc.c: Likewise.
372 * string/test-memcpy-ifunc.c: Likewise.
373 * string/test-memmem-ifunc.c: Likewise.
374 * string/test-memmove-ifunc.c: Likewise.
375 * string/test-mempcpy-ifunc.c: Likewise.
376 * string/test-memset-ifunc.c: Likewise.
377 * string/test-rawmemchr-ifunc.c: Likewise.
378 * string/test-stpcpy-ifunc.c: Likewise.
379 * string/test-stpncpy-ifunc.c: Likewise.
380 * string/test-strcasecmp-ifunc.c: Likewise.
381 * string/test-strcasestr-ifunc.c: Likewise.
382 * string/test-strcat-ifunc.c: Likewise.
383 * string/test-strchr-ifunc.c: Likewise.
384 * string/test-strchrnul-ifunc.c: Likewise.
385 * string/test-strcmp-ifunc.c: Likewise.
386 * string/test-strcpy-ifunc.c: Likewise.
387 * string/test-strcspn-ifunc.c: Likewise.
388 * string/test-strlen-ifunc.c: Likewise.
389 * string/test-strncasecmp-ifunc.c: Likewise.
390 * string/test-strncat-ifunc.c: Likewise.
391 * string/test-strncmp-ifunc.c: Likewise.
392 * string/test-strncpy-ifunc.c: Likewise.
393 * string/test-strnlen-ifunc.c: Likewise.
394 * string/test-strpbrk-ifunc.c: Likewise.
395 * string/test-strrchr-ifunc.c: Likewise.
396 * string/test-strspn-ifunc.c: Likewise.
397 * string/test-strstr-ifunc.c: Likewise.
399 * debug/Makefile (tests-ifunc): New variable.
400 (tests): Add $(tests-ifunc).
401 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
402 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
403 * debug/test-stpcpy_chk-ifunc.c: New file.
404 * debug/test-strcpy_chk-ifunc.c: Likewise.
406 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
409 * elf/dl-load.c (open_verify): Retry read if the entire ELF
410 header is not read in.
412 2012-10-19 Joseph Myers <joseph@codesourcery.com>
414 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
415 script to $(SHELL) as $<. Pass $(common-objpfx) to script
416 directly. Pass built executable to script as
417 $(built-program-cmd).
418 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
419 $testprogram without using LD_LIBRARY_PATH and $ldso.
421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
422 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
423 $(rtld-installed-name).
424 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
425 (rtld_installed_name): Likewise.
426 (library_path): Likewise.
427 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
428 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
429 $(run-program-prefix) to tst-tables.sh.
430 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
431 it to run tst-table-from and tst-table-to.
432 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
433 Pass it to tst-table.sh.
434 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
435 $(run-program-prefix) to tst-gettext.sh.
436 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
438 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
440 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
442 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
444 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
446 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
447 $(run-program-prefix) to tst-mtrace.sh.
448 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
450 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
451 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
452 $(rtld-installed-name).
453 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
454 (rtld_installed_name): Likewise.
455 (run_program_prefix): New variable. Use it to run wordexp-test.
457 * Makeconfig (ARCH): Remove all definitions.
459 [ARCH]: Remove conditional code.
460 [!objdir]: Give error.
461 [!objdir] (objpfx): Remove.
462 [!objdir] (common-objpfx): Likewise.
463 [!objdir] (common-objdir): Likewise.
464 * configure.in (config_makefile): Remove. Hardcode Makefile in
465 AC_CONFIG_FILES call.
466 * configure: Regenerated.
469 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
473 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
474 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
475 $(rtld-installed-name).
476 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
477 (rtld_installed_name): Likwise.
478 (runit): Remove function.
479 (run_getconf): New variable, Use it for running getconf binary.
481 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
484 * string/test-memmem.c (check_result): New function.
485 (do_one_test): Use it.
486 (check1): New function.
489 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
491 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
493 2012-10-18 Joseph Myers <joseph@codesourcery.com>
495 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
496 (_G_LSEEK64): Likewise.
497 (_G_MMAP64): Likewise.
498 (_G_FSTAT64): Likewise.
499 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
500 (_G_LSEEK64): Likewise.
501 (_G_MMAP64): Likewise.
502 (_G_FSTAT64): Likewise.
503 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
504 unconditional. Call __mmap64 directly.
505 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
506 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
508 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
509 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
511 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
512 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
514 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
515 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
517 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
518 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
520 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
521 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
523 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
524 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
526 (freopen64) [!_G_OPEN64]: Remove conditional code.
527 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
529 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
530 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
532 (ftello64) [!_G_LSEEK64]: Remove conditional code.
533 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
535 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
536 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
538 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
539 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
541 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
542 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
544 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
545 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
547 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
549 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
552 * manual/memory.texi (Malloc Tunable Parameters): Add note
553 about free list pointers overwriting some perturb bytes.
554 Wording suggested by Roland McGrath.
556 2012-10-17 Joseph Myers <joseph@codesourcery.com>
558 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
559 (lgamma_test): Likewise.
560 (tgamma_test): Likewise.
562 2012-10-16 Florian Weimer <fweimer@redhat.com>
565 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
566 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
568 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
570 * NEWS: Mention BZ #14716.
571 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
572 when removing AVAILABLE1_USES_J macro.
574 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
576 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
577 (__bswap_64): __uint64_t for unsigned 64-bit int.
579 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
581 * include/string.h (memmem): Declare libc hidden alias.
582 * string/memmem.c (memmem): Define libc hidden alias.
583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
584 __read, __close instead of open, read, close.
586 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
589 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
591 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
592 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
593 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
595 (__rawmemchr_sse2): Likewise.
596 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
597 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
598 (__strchr_sse2): Likewise.
599 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
600 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
601 (__strcasecmp_sse2): Likewise.
602 (__strncasecmp_sse2): Likewise.
603 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
604 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
605 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
606 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
607 (__strrchr_sse2): Likewise.
608 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
610 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
611 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
612 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
613 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
614 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
615 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
616 * sysdeps/x86_64/multiarch/memset.S: Likewise.
617 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
618 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
619 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
620 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
622 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
623 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
624 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
625 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
626 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
627 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
628 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
629 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
630 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
631 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
632 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
633 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
634 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
636 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
637 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
638 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
639 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
641 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
643 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
644 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
645 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
646 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
648 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
650 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
651 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
652 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
653 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
655 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
656 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
657 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
668 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
669 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
671 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
672 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
675 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
678 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
680 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
681 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
682 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
683 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
684 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
685 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
686 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
687 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
688 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
695 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
697 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
698 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
699 * include/ifunc-impl-list.h: New file.
700 * misc/ifunc-impl-list.c: Likewise.
701 * misc/Makefile (routines): Add ifunc-impl-list.
702 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
703 * string/test-string.h: Include <ifunc-impl-list.h>.
704 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
705 impl_array): New variables.
706 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
708 (test_init): Call __libc_ifunc_impl_list to initialize
709 func_list if TEST_IFUNC and TEST_NAME are defined.
711 * string/Makefile (strop-tests): Add bcopy and bzero.
712 * string/test-bcopy.c: New file.
713 * string/test-bzero.c: Likewise.
714 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
716 * string/test-memset.c: Support bzero test if TEST_BZERO is
718 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
720 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
722 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
725 2012-10-10 Joseph Myers <joseph@codesourcery.com>
727 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
728 * configure: Regenerated.
730 * Makeconfig (+link-static-before-libc): Don't include
733 * libio/libio.h (_IO_pos_t): Remove.
735 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
737 * NEWS: Add note about FIPS mode. Wording suggested by Roland
740 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
742 * crypt/crypt-entry.c: Include fips-private.h.
743 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
744 * crypt/md5c-test.c (main): Tolerate disabled MD5.
745 * sysdeps/unix/sysv/linux/fips-private.h: New file.
746 * sysdeps/generic/fips-private.h: New file, dummy fallback.
748 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
750 * crypt/crypt-private.h: Include stdbool.h.
751 (_ufc_setup_salt_r): Return bool.
752 * crypt/crypt-entry.c: Include errno.h.
753 (__crypt_r): Return NULL with EINVAL for bad salt.
754 * crypt/crypt_util.c (bad_for_salt): New.
755 (_ufc_setup_salt_r): Check that salt is long enough and within
756 the specified alphabet.
757 * crypt/badsalttest.c: New file.
758 * crypt/Makefile (tests): Add it.
759 ($(objpfx)badsalttest): New.
761 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
763 * NEWS: Add entry for BZ #14602.
765 2012-10-09 Joseph Myers <joseph@codesourcery.com>
767 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
769 * math/libm-test.inc: Update comment listing what functions and
771 (isgreater_test): New function.
772 (isgreaterequal_test): Likewise.
773 (isless_test): Likewise.
774 (islessequal_test): Likewise.
775 (islessgreater_test): Likewise.
776 (isunordered_test): Likewise.
777 (main): Call the new functions.
779 2012-10-09 Roland McGrath <roland@hack.frob.com>
781 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
782 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
783 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
784 * sysdeps/i386/configure: Regenerated.
785 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
786 * sysdeps/mach/configure: Regenerated.
787 * sysdeps/mach/hurd/configure: Regenerated.
788 * sysdeps/powerpc/configure: Regenerated.
789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
791 * sysdeps/s390/s390-32/configure: Regenerated.
792 * sysdeps/s390/s390-64/configure: Regenerated.
793 * sysdeps/sh/configure: Regenerated.
794 * sysdeps/sparc/configure: Regenerated.
795 * sysdeps/unix/sysv/linux/configure: Regenerated.
796 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
797 * sysdeps/x86_64/configure: Regenerated.
799 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
800 defined. Don't check if MAP is NULL.
802 2012-10-09 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
805 (_G_stat64): Likewise.
806 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
807 (_G_stat64): Likewise.
808 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
809 instead of struct _G_stat64.
810 * libio/fileops.c (mmap_remap_check): Likewise.
811 (decide_maybe_mmap): Likewise.
812 (_IO_new_file_seekoff): Likewise.
813 (_IO_file_stat): Likewise.
814 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
816 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
817 instead of struct _G_stat64.
818 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
820 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
823 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
825 (CHECK_EOL): New macro.
826 (two_way_short_needle): Check beginning of haystack for EOL. Use
828 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
829 Replace with CHECK_EOL.
830 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
831 Replace with CHECK_EOL.
833 2012-10-08 Joseph Myers <joseph@codesourcery.com>
835 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
837 * math/libm-test.inc: Update comment listing what functions and
839 (finite_test): New function.
840 (isinf_test): Likewise.
841 (isnan_test): Likewise.
842 (fpclassify_test): Test subnormal input.
843 (isfinite_test): Likewise.
844 (isnormal_test): Likewise.
845 (main): Call the new functions.
847 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
850 * Makerules (%.dynsym): Force C locale when running
851 $(OBJDUMP) --dynamic-syms.
853 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
855 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
858 2012-10-06 David S. Miller <davem@davemloft.net>
860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
861 upper 32-bits of the length value in %o2 since we use branch-on-register
862 tests which consider the entire 64-bit register.
864 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
866 * string/test-strstr.c (check2): Add a test for page boundary.
868 2012-10-05 David S. Miller <davem@davemloft.net>
870 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
873 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
876 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
877 and bzero when HWCAP_SPARC_CRYPTO is present.
879 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
882 * string/test-strstr.c (check2): New function.
883 (test_main): Call check2.
885 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
887 * string/bug-strcasestr1.c (do_test): Moved to ...
888 * string/test-strcasestr.c (check1): Here. New function.
889 (do_one_test): Break out result checking code into ...
890 (check_result): This. New function.
891 (do_one_test): Call check_result.
892 (test_main): Call check1.
893 * string/bug-strchr1.c (do_test): Moved to ...
894 * string/test-strchr.c (check1): Here. New function.
895 (do_one_test): Break out result checking code into ...
896 (check_result): This. New function.
897 (do_one_test): Call check_result.
898 (test_main): Call check1.
899 * string/bug-strstr1.c (main): Moved to ...
900 * string/test-strchr.c (check1): Here. New function.
901 (do_one_test): Break out result checking code into ...
902 (check_result): This. New function.
903 (do_one_test): Call check_result.
904 (test_main): Call check1.
905 * string/bug-strcasestr1.c: Removed.
906 * string/bug-strchr1.c: Likewise.
907 * string/bug-strstr1.c: Likewise.
909 * elf/Makefile (dl-routines): Add hwcaps.
910 * elf/dl-support.c (_dl_important_hwcaps): Removed.
911 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
912 (_dl_important_hwcaps): Moved to ...
913 * elf/dl-hwcaps.c: Here. New file.
914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
917 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
918 if IS_IN_rtld isn't defined.
920 * elf/dl-support.c (_dl_sysinfo_map): New.
921 Include "get-dynamic-info.h" and "setup-vdso.h".
922 (_dl_non_dynamic_init): Call setup_vdso.
923 * elf/dynamic-link.h: Don't include <assert.h>.
924 (elf_get_dynamic_info): Moved to ...
925 * elf/get-dynamic-info.h: Here. New file.
926 * elf/dynamic-link.h: Include "get-dynamic-info.h".
927 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
928 * elf/setup-vdso.h: Here. New file.
929 * elf/rtld.c: Include "setup-vdso.h".
930 (dl_main): Call setup_vdso.
932 2012-10-05 Joseph Myers <joseph@codesourcery.com>
934 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
935 creal in comment listing functions tested. List finite, isinf,
936 isnan, isless, islessequal, isgreater, isgreaterequal,
937 islessgreater, isunordered, lgamma_r and pow10 as functions and
938 macros not tested. Mention which functions not tested are aliases
939 for other functions. Fix typo. Note that signs of NaNs are not
942 * scripts/config.guess: Update from config.git.
943 * scripts/config.sub: Likewise.
945 2012-10-04 Roland McGrath <roland@hack.frob.com>
947 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
948 * misc/madvise.c (madvise): Renamed to __madvise.
949 Make madvise a weak alias.
950 * include/sys/mman.h: Declare __madvise.
951 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
952 * sysdeps/unix/syscalls.list
953 (madvise): Make __madvise the strong name, and madvise a weak alias.
954 * sysdeps/unix/sysv/linux/syscalls.list
955 (madvise, mmap): Remove redundant entries.
956 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
957 * malloc/malloc.c (mtrim): Likewise.
958 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
960 2012-10-03 Roland McGrath <roland@hack.frob.com>
962 * sysdeps/mach/hurd/dl-cache.c: File removed.
963 * config.h.in (USE_LDCONFIG): New #undef.
964 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
965 * configure: Regenerated.
966 * elf/Makefile (dl-routines): Add dl-cache only under
967 [$(use-ldconfig) = yes].
968 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
969 cache on [USE_LDCONFIG].
970 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
972 * elf/rtld.c (dl_main): Likewise.
974 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
976 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
977 _SC_LEVEL4_CACHE_LINESIZE.
979 2012-10-03 Roland McGrath <roland@hack.frob.com>
981 * sysdeps/unix/bsd/confstr.h: File removed.
983 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
985 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
988 2012-10-02 Roland McGrath <roland@hack.frob.com>
990 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
991 Make 'mapoff' field ElfW(Off) rather than off_t.
993 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
995 * nscd/Makefile: Remove nscd-cflags and all its users.
996 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
997 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1000 * malloc.c (malloc_printerr): Clarify error message.
1002 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1006 Set bit_FMA_Usable if FMA is supported.
1007 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1009 (bit_FMA4_Usable): Updated.
1010 (index_FMA_Usable): New macro.
1011 (CPUID_FMA): Likewise
1012 (HAS_FMA): Defined with bit_FMA_Usable.
1014 2012-10-01 Roland McGrath <roland@hack.frob.com>
1016 * bits/types.h (__swblk_t): Type removed.
1017 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1018 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1020 (__SWBLK_T_TYPE): Likewise.
1021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1022 (__SWBLK_T_TYPE): Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1024 (__SWBLK_T_TYPE): Likewise.
1025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1026 (__SWBLK_T_TYPE): Likewise.
1028 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1029 Honza Horak <hhorak@redhat.com>
1031 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1032 (xdr_mapname): Use YPMAXMAP as maxsize.
1033 (xdr_peername): Use YPMAXPEER as maxsize.
1034 (xdr_keydat): Use YPAXRECORD as maxsize.
1035 (xdr_valdat): Use YPMAXRECORD as maxsize.
1037 2012-10-01 Roland McGrath <roland@hack.frob.com>
1039 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1041 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1042 * csu/init-first.c: ... here.
1043 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1044 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1045 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1047 * sysdeps/i386/init-first.c: File removed.
1048 * sysdeps/sh/init-first.c: File removed.
1050 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1054 if x * y might underflow to zero and z is zero.
1055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1057 * math/libm-test.inc (min_subnorm_value): New variable.
1058 (fma_test): Add more tests.
1059 (fma_test_towardzero): Likewise.
1060 (fma_test_downward): Likewise
1061 (fma_test_upward): Likewise.
1062 (initialize): Set min_subnorm_value.
1064 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1069 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1070 mode for addition resulting in exact zero.
1071 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1076 * math/libm-test.inc (fma_test): Add more tests.
1077 (fma_test_towardzero): New function.
1078 (fma_test_downward): Likewise.
1079 (fma_test_upward): Likewise.
1080 (main): Call the new functions.
1082 2012-09-28 David S. Miller <davem@davemloft.net>
1084 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1086 2012-09-28 Roland McGrath <roland@hack.frob.com>
1088 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1091 * sysdeps/gnu/_G_config.h: Moved to ...
1092 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1093 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1094 * sysdeps/generic/_G_config.h: ... here.
1096 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1098 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1100 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1101 Conditionalize target on [libnss_test1.so-version].
1103 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1105 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1106 (elfobjdir): Move out of conditionals.
1108 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1109 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1110 (__nss_lookup_function): Conditionalize label remove_from_tree on
1111 [!DO_STATIC_NSS || SHARED], matching its only use.
1113 2012-09-28 David S. Miller <davem@davemloft.net>
1115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1118 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1122 when HWCAP_SPARC_CRYPTO is present.
1124 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1126 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1128 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1131 * stdio-common/vfprintf.c (process_string_arg): Revert
1134 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1136 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1138 * stdio-common/tst-sprintf.c: Include <locale.h>
1139 (main): Test sprintf's handling of incomplete multibyte
1142 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1144 * elf/dl-runtime.c (VERSYMIDX): Removed.
1145 * elf/dl-version.c (VERSYMIDX): Likewise.
1146 * elf/do-rel.h (VERSYMIDX): Likewise.
1148 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1149 * elf/rtld.c (VALIDX): Likewise.
1150 (ADDRIDX): Likewise.
1151 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1152 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1153 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1154 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1156 (ADDRIDX): Likewise.
1158 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1160 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1162 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1165 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1167 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1168 addresses are in the same scope as 192.0.2/24.
1169 * posix/gai.conf: Document new scope table defaults.
1171 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1175 for ftell. Compute offsets from write pointers instead.
1176 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1178 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1181 * libio/Makefile (tests): New test case tst-fseek.
1182 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1183 combination works in wide mode.
1184 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1185 state when the external buffer state changes.
1187 2012-09-27 David S. Miller <davem@davemloft.net>
1190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1191 pass reloc->r_addend in as the 'high' argument to
1192 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1196 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1198 * rt/tst-aio2.c: Include <pthread.h>.
1199 * rt/tst-aio3.c: Likewise.
1201 2012-09-27 Steve Ellcey <sellcey@mips.com>
1203 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1205 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1207 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1208 contents on [SHARED].
1210 2012-09-26 Marek Polacek <polacek@redhat.com>
1214 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1215 for C++ and GCC <4.3 as well as for non GCC compilers.
1217 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1221 2012-09-25 Roland McGrath <roland@hack.frob.com>
1223 * Makefile.in (all, install): Declare with .PHONY.
1224 Reported by Michael Hope <michael.hope@linaro.org>.
1226 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1228 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1229 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1231 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1233 (sydep_routines): Add the new and the internal functions.
1234 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1237 (GLIBC_2.17): Add the new function.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1239 (GLIBC_2.17): Likewise.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1241 (GLIBC_2.17): Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1243 (GLIBC_2.17): Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1246 2012-09-25 Alan Modra <amodra@gmail.com>
1248 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1249 Add release barrier before setting once_control to say
1250 initialisation is done. Add hints on lwarx. Use macro in
1252 (clear_once_control): Add release barrier.
1254 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1257 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1259 * math/s_clog10.c (__clog10): Likewise.
1260 * math/s_clog10f.c (__clog10f): Likewise.
1261 * math/s_clog10l.c (__clog10l): Likewise.
1262 * math/s_clogf.c (__clogf): Likewise.
1263 * math/s_clogl.c (__clogl): Likewise.
1264 * math/Makefile (libm-calls): Add x2y2m1.
1265 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1266 (__x2y2m1): Likewise.
1267 (__x2y2m1l): Likewise.
1268 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1269 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1272 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1273 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1274 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1280 int as type of variable DEPTH.
1281 (glob): Use size_t instead of int as type of variables NEWCOUNT
1284 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1286 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1289 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1290 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1291 macros for using routine as __sincosf_ia32.
1292 Use macro for function declaration and weak_alias.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1295 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1298 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1300 * math/s_cexpf.c (__cexpf): Likewise.
1301 * math/s_csinf.c (__csinf): Likewise.
1302 * math/s_csinhf.c (__csinhf): Likewise.
1303 * math/s_ctanf.c (__ctanf): Likewise.
1304 * math/s_ctanhf.c (__ctanhf): Likewise.
1305 * math/s_ccosh.c (__ccoshf): Likewise.
1306 * math/s_cexp.c (__cexpl): Likewise.
1307 * math/s_csin.c (__csin): Likewise.
1308 * math/s_csinh.c (__csinh): Likewise.
1309 * math/s_ctan.c (__ctan): Likewise.
1310 * math/s_ctanh.c (ctanh): Likewise.
1311 * math/s_ccoshl.c (__ccoshl): Likewise.
1312 * math/s_cexpl.c (__cexpl): Likewise.
1313 * math/s_csinl.c (__csinl): Likewise.
1314 * math/s_csinhl.c (__csinhl): Likewise.
1315 * math/s_ctanl.c (__ctanl): Likewise.
1316 * math/s_ctanhl.c (__ctanhl): Likewise.
1318 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1320 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1321 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1322 (_IO_off_t): Define to __off_t, not _G_off_t.
1323 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1324 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1325 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1326 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1327 type of __dummy and __dummy2 fields.
1328 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1329 (_G_ssize_t): Likewise.
1330 (_G_off_t): Likewise.
1331 (_G_pid_t): Likewise.
1332 (_G_uid_t): Likewise.
1333 (_G_wchar_t): Likewise.
1334 (_G_wint_t): Likewise.
1335 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1336 (_G_ssize_t): Likewise.
1337 (_G_off_t): Likewise.
1338 (_G_pid_t): Likewise.
1339 (_G_uid_t): Likewise.
1340 (_G_wchar_t): Likewise.
1341 (_G_wint_t): Likewise.
1342 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1343 (_G_ssize_t): Likewise.
1344 (_G_off_t): Likewise.
1345 (_G_pid_t): Likewise.
1346 (_G_uid_t): Likewise.
1347 (_G_wchar_t): Likewise.
1348 (_G_wint_t): Likewise.
1350 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 * malloc/arena.c: Include malloc-sysdep.h.
1353 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1354 is sufficient to shrink the heap or an unmap is needed.
1355 * sysdeps/generic/malloc-sysdep.h: New file. Define
1356 new function check_may_shrink_heap.
1357 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1358 new function check_may_shrink_heap.
1360 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1365 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1367 * catgets/test-gencat.sh: Add "set -e".
1368 * elf/tst-pathopt.sh: Likewise.
1369 * grp/tst_fgetgrent.sh: Likewise.
1370 * iconvdata/run-iconv-test.sh: Likewise.
1371 * intl/tst-gettext.sh: Likewise.
1372 * intl/tst-gettext2.sh: Likewise.
1373 * intl/tst-gettext4.sh: Likewise.
1374 * intl/tst-gettext6.sh: Likewise.
1375 * intl/tst-translit.sh: Likewise.
1376 * io/ftwtest-sh: Likewise.
1377 * libio/test-freopen.sh: Likewise.
1378 * malloc/tst-mtrace.sh: Likewise.
1379 * posix/globtest.sh: Likewise.
1380 * posix/tst-getconf.sh: Likewise.
1381 * posix/wordexp-tst.sh: Likewise.
1382 * stdio-common/tst-printf.sh: Likewise.
1383 * stdio-common/tst-unbputc.sh: Likewise.
1384 * stdlib/tst-fmtmsg.sh: Likewise.
1385 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1386 * catgets/Makefile: Do not specify -e option when running
1387 testsuite shell scripts.
1388 * elf/Makefile: Likewise.
1389 * grp/Makefile: Likewise.
1390 * iconvdata/Makefile: Likewise.
1391 * intl/Makefile: Likewise.
1392 * io/Makefile: Likewise.
1393 * libio/Makefile: Likewise.
1394 * malloc/Makefile: Likewise.
1395 * posix/Makefile: Likewise.
1396 * stdio-common/Makefile: Likewise.
1397 * stdlib/Makefile: Likewise.
1398 * sysdeps/x86_64/Makefile: Likewise.
1400 * io/ftwtest-sh: Add copyright header.
1401 * posix/globtest.sh: Likewise.
1402 * posix/tst-getconf.sh: Likewise.
1403 * posix/wordexp-tst.sh: Likewise.
1404 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1406 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1409 * Makeconfig (+link): Defined as $(+link-static) if
1410 $(build-shared) isn't yes.
1411 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1413 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1415 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1418 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1419 new chunk size with MALLOC_ALIGN_MASK.
1421 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1424 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1426 (__printf_fphex): Determine rounding using get_rounding_mode and
1428 * stdio-common/tst-printf-round.c (struct hex_test): New
1430 (hex_tests): New variable.
1431 (test_hex_in_one_mode): New function.
1432 (do_test): Also run tests for hex float output.
1434 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1436 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1437 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1438 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1439 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1440 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1441 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1442 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1443 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1445 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1447 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1448 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1449 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1450 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1452 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1455 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1457 * elf/tst-rtld-load-self.sh: New test.
1458 * elf/Makefile: Run it.
1460 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1462 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1463 (tst-writev-ENV): Remove.
1464 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1466 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1468 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1470 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1472 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1474 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1476 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1477 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1478 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1481 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1484 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1485 * config.make.in (have-cpp-asm-debuginfo): Removed.
1486 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1487 * configure: Regenerated.
1489 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1492 * stdio-common/printf_fp.c: Include <stdbool.h> and
1494 (___printf_fp): Determine rounding using get_rounding_mode and
1496 * stdio-common/tst-printf-round.c: New file.
1497 * stdio-common/Makefile (tests): Add tst-printf-round.
1498 (link-libm): New variable.
1499 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1501 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1504 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1505 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1507 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1510 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1512 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1513 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1514 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1517 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1520 * include/rounding-mode.h: New file.
1521 * sysdeps/generic/get-rounding-mode.h: Likewise.
1522 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1523 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1524 (MAX_VALUE): New macro.
1525 (MIN_VALUE): Likewise.
1526 (overflow_value): New function.
1527 (underflow_value): Likewise.
1528 (round_and_return): Use overflow_value and underflow_value to
1529 determine return values in overflow and underflow cases. Use
1530 round_away to determine rounding depending on rounding mode.
1531 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1532 determine return values in overflow and underflow cases.
1533 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1534 (struct test_results): New structure.
1535 (struct test): Use struct test_results to store expected results
1536 for all rounding modes.
1537 (TEST): Include expected results for all rounding modes.
1538 (test_in_one_mode): New function.
1539 (do_test): Use test_in_one_mode to compute and check results.
1540 Check results for all rounding modes.
1541 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1544 2012-12-09 Allan McRae <allan@archlinux.org>
1546 * sysdeps/i386/fpu/libm-test-ulps: Update
1548 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1550 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1551 (_G_int32_t): Likewise.
1552 (_G_uint16_t): Likewise.
1553 (_G_uint32_t): Likewise.
1554 (_G_HAVE_BOOL): Likewise.
1555 (_G_HAVE_ATEXIT): Likewise.
1556 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1557 (_G_HAVE_IO_FILE_OPEN): Likewise.
1558 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1559 (_G_int32_t): Likewise.
1560 (_G_uint16_t): Likewise.
1561 (_G_uint32_t): Likewise.
1562 (_G_HAVE_BOOL): Likewise.
1563 (_G_HAVE_ATEXIT): Likewise.
1564 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1565 (_G_HAVE_IO_FILE_OPEN): Likewise.
1566 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1567 (_G_int32_t): Likewise.
1568 (_G_uint16_t): Likewise.
1569 (_G_uint32_t): Likewise.
1570 (_G_HAVE_BOOL): Likewise.
1571 (_G_HAVE_ATEXIT): Likewise.
1572 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1573 (_G_HAVE_IO_FILE_OPEN): Likewise.
1575 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1577 * csu/libc-tls.c: Update copyright years.
1579 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1581 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1582 [!_G_USING_THUNKS]: Remove conditional code.
1583 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1584 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1586 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1587 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1588 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1589 (_G_VTABLE_LABEL_PREFIX): Likewise.
1590 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1591 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1592 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1593 (_G_VTABLE_LABEL_PREFIX): Likewise.
1594 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1595 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1596 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1597 (_G_VTABLE_LABEL_PREFIX): Likewise.
1598 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1600 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1602 * libio/Makefile: Include ../Makeconfig before tests.
1603 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1604 only if $(build-shared) is yes.
1606 * iconv/gconv_db.c: Update copyright years.
1608 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1610 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1611 unwind info if defined PIC. Fix special cases description.
1612 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1614 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1616 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1618 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1620 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1622 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1625 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1626 (LDLIBS-tst-chk4): This.
1627 (LDFLAGS-tst-chk5): Renamed to ...
1628 (LDLIBS-tst-chk5): This.
1629 (LDFLAGS-tst-chk6): Renamed to ...
1630 (LDLIBS-tst-chk6): This.
1631 (LDFLAGS-tst-lfschk4): Renamed to ...
1632 (LDLIBS-tst-lfschk4): This.
1633 (LDFLAGS-tst-lfschk5): Renamed to ...
1634 (LDLIBS-tst-lfschk5): This.
1635 (LDFLAGS-tst-lfschk6): Renamed to ...
1636 (LDLIBS-tst-lfschk6): This.
1638 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1639 on $(common-objpfx)soversions.mk.
1641 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1644 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1647 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 * malloc/arena.c (arena_get_retry): New function that gets
1650 another arena for the caller to try its request on.
1651 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1652 current arena cannot fulfill the request.
1653 (__libc_memalign): Likewise.
1654 (__libc_memalign): Likewise.
1655 (__libc_pvalloc): Likewise.
1656 (__libc_calloc): Likewise.
1658 2012-09-05 John Tobey <john.tobey@gmail.com>
1661 * manual/arith.texi (Operations on Complex): Fix description
1664 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1667 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1671 * manual/memory.texi (Memory): Make order of menu items match
1674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1676 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1677 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1678 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1680 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1682 * csu/libc-tls.c (static_dtv): Renamed to ...
1683 (_dl_static_dtv): This. Make it global.
1684 (_dl_initial_dtv): Removed.
1685 (__libc_setup_tls): Updated.
1686 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1687 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1690 2012-09-06 Petr Machata <pmachata@redhat.com>
1692 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1693 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1694 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1695 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1700 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1701 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1704 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1707 * Makeconfig (link-static-before-libc): Replace $(+prector)
1709 (link-static-after-libc): Replace $(+postctor) with
1711 (link-bounded): Replace $(+prector)/$(+postctor) with
1712 $(+prectorT)/$(+postctorT).
1713 (+prectorT): New macro.
1714 (+postctorT): Likewise.
1716 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1718 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1719 (round_str): Handle values above the maximum for IBM long double
1721 * stdlib/tst-strtod-round.c (tests): Regenerated.
1723 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1725 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1727 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1728 zarch_nohighgprs around the zarch optimized routines.
1729 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1730 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1731 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1734 2012-09-05 David S. Miller <davem@davemloft.net>
1736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1738 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1739 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1740 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1741 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1744 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1746 * malloc/arena.c: Fold copyright years.
1747 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1749 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1751 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1755 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1757 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1759 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1760 change internal state upon failure.
1762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1764 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1765 * malloc/memusage.c (mmap): Likewise.
1766 (mmap64, mremap): Likewise. Adjust name in comment.
1768 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1770 * libio/fileops.c: Fix typos in comments.
1771 * libio/oldfileops.c: Likewise.
1772 * libio/wfileops.c: Likewise.
1774 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1777 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1778 (tst-malloc-usable-ENV): Set environment for test case.
1779 * malloc/hooks.c (malloc_check_get_size): New function to get
1781 * malloc/malloc.c (musable): Use malloc_check_get_size.
1782 * malloc/tst-malloc-usable.c: New test case.
1784 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1786 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1788 2012-09-05 Allan McRae <allan@archlinux.org>
1791 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1792 determine header location.
1793 * configure: Regenerated.
1795 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1797 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1799 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1800 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1804 2012-09-04 David S. Miller <davem@davemloft.net>
1806 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1807 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1808 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1810 2012-09-04 Florian Weimer <fweimer@redhat.com>
1812 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1815 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1817 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1820 * libio/iogetdelim.c: Include <limits.h>.
1821 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1822 + len + 1 would overflow.
1824 2012-09-03 Andreas Jaeger <aj@suse.de>
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1832 Add s_sinf-sse2, s_conf-sse2.
1834 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1836 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1837 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1839 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1840 for using routine as __sinf_ia32.
1841 Use macro for function declaration and weak_alias.
1842 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1843 for using routine as __cosf_ia32.
1844 Use macro for function declaration and weak_alias.
1846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1847 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1849 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1850 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1853 * math/libm-test.inc (cos_test): Add more test cases.
1854 (sin_test): Likewise.
1855 (sincos_test): Likewise.
1857 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1860 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1862 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1864 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1867 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1868 first element of the GOT.
1869 (elf_machine_load_address): Return the difference between
1870 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1872 2012-09-01 Allan McRae <allan@archlinux.org>
1875 * configure.in (AWK): Require gawk version 3.0 or later.
1876 * configure: Regenerated.
1878 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1880 * sysdeps/unix/sysv/linux/kernel-features.h
1881 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1883 [__NR_clock_getres]: Make code unconditional.
1884 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1885 (clock_getcpuclockid): Remove code left unreachable by removal of
1887 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1889 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1891 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1892 Make code unconditional.
1893 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1894 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1895 * sysdeps/unix/sysv/linux/clock_settime.c
1896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1898 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1899 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1901 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1904 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1905 scripts/test-installation.pl.
1907 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1908 and $ld_so_version if it is set.
1910 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1914 failure if reading from procfs failed.
1915 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1917 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1919 * sysdeps/unix/sysv/linux/kernel-features.h
1920 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1921 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1922 Remove conditional code.
1923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1924 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1925 Remove conditional code.
1926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1927 * sysdeps/unix/sysv/linux/i386/fxstat.c
1928 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1930 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1931 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1933 * sysdeps/unix/sysv/linux/i386/lxstat.c
1934 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1936 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1937 Remove conditional code.
1938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1939 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1940 Remove conditional code.
1941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1943 <kernel-features.h>.
1944 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1946 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1947 Remove conditional code.
1948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1949 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1952 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1955 * NEWS: Add fixed bug number.
1957 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1960 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1961 underflowing exponent in case of negative sign.
1962 * stdlib/tst-strtod-round-data: Add more tests.
1963 * stdlib/tst-strtod-round.c (tests): Regenerated.
1966 * stdlib/strtod_l.c (NDIG): Remove.
1967 (HEXNDIG): Likewise.
1968 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1969 smallest representable value.
1970 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1971 lie within an exact representation of 1/2 ulp of the result.
1972 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1974 (TENS_P9_IDX): Define unconditionally.
1975 (TENS_P9_SIZE): Likewise.
1976 (TENS_P10_IDX): Likewise.
1977 (TENS_P10_SIZE): Likewise.
1978 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1979 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1980 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1981 entries for 10^2^13 and 10^2^14.
1982 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1983 (TENS_P13_IDX): Define.
1984 (TENS_P13_SIZE): Likewise.
1985 (TENS_P14_IDX): Likewise.
1986 (TENS_P14_SIZE): Likewise.
1987 (_fpioconst_pow10): Change array size to
1988 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1990 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1991 1024]: Add entries for 10^2^13 and 10^2^14.
1992 [LAST_POW10 > _LAST_POW10]: Remove #error.
1993 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1994 (_fpioconst_pow10): Change array size to
1995 FPIOCONST_POW10_ARRAY_SIZE.
1996 * stdlib/gen-fpioconst.c: New file.
1997 * stdlib/gen-tst-strtod-round.c: Likewise.
1998 * stdlib/tst-strtod-round-data: Likewise.
1999 * stdlib/tst-strtod-round.c: Likewise.
2000 * stdlib/Makefile (tests): Add tst-strtod-round.
2003 * stdlib/strtod_l.c: Include <stdint.h>.
2004 (NDEBUG): Do not define.
2005 (round_and_return): Change EXPONENT parameter to type intmax_t.
2006 Rearrange calculations to avoid internal overflow possibilities.
2007 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2008 Rearrange calculations to avoid internal overflow possibilities.
2009 Assert that number fits inside MPNSIZE limbs.
2010 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2011 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2012 calculations and add assertions to avoid internal overflow
2013 possibilities. Add casts to avoid signed/unsigned operations.
2014 * stdlib/tst-strtod-overflow.c: New file.
2015 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2017 2012-08-25 Marek Polacek <polacek@redhat.com>
2019 * time/time.h: Fix some typos in comments.
2021 2012-08-23 Roland McGrath <roland@hack.frob.com>
2023 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2024 * posix/tst-rfc3484-2.c: Likewise.
2025 * posix/tst-rfc3484-3.c: Likewise.
2027 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2029 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2030 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2032 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2034 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2035 #include of fxstatat64.c.
2037 2012-08-22 Roland McGrath <roland@hack.frob.com>
2039 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2040 * shadow/getspent_r.c: Likewise.
2041 * shadow/getspnam.c: Likewise.
2042 * shadow/getspnam_r.c: Likewise.
2043 * gshadow/getsgent.c: Likewise.
2044 * gshadow/getsgent_r.c: Likewise.
2045 * gshadow/getsgnam.c: Likewise.
2046 * gshadow/getsgnam_r.c: Likewise.
2047 * inet/getnetbyad.c: Likewise.
2048 * inet/getnetbyad_r.c: Likewise.
2049 * inet/getnetbynm.c: Likewise.
2050 * inet/getnetbynm_r.c: Likewise.
2051 * inet/getnetent.c: Likewise.
2052 * inet/getnetent_r.c: Likewise.
2053 * inet/getproto.c: Likewise.
2054 * inet/getproto_r.c: Likewise.
2055 * inet/getprtent.c: Likewise.
2056 * inet/getprtent_r.c: Likewise.
2057 * inet/getprtname.c: Likewise.
2058 * inet/getprtname_r.c: Likewise.
2059 * inet/getrpcbyname.c: Likewise.
2060 * inet/getrpcbyname_r.c: Likewise.
2061 * inet/getrpcbynumber.c: Likewise.
2062 * inet/getrpcbynumber_r.c: Likewise.
2063 * inet/getrpcent.c: Likewise.
2064 * inet/getrpcent_r.c: Likewise.
2065 * inet/getaliasent.c: Likewise.
2066 * inet/getaliasent_r.c: Likewise.
2067 * inet/getaliasname.c: Likewise.
2068 * inet/getaliasname_r.c: Likewise.
2069 * nscd/getgrgid_r.c: Likewise.
2070 * nscd/getgrnam_r.c: Likewise.
2071 * nscd/gethstbyad_r.c: Likewise.
2072 * nscd/gethstbynm3_r.c: Likewise.
2073 * nscd/getpwnam_r.c: Likewise.
2074 * nscd/getpwuid_r.c: Likewise.
2075 * nscd/getsrvbynm_r.c: Likewise.
2076 * nscd/getsrvbypt_r.c: Likewise.
2077 * nscd/gai.c: Likewise.
2079 * configure.in (build_nscd): New substituted variable, set
2080 by --disable-build-nscd and defaults to $use_nscd.
2081 * configure: Regenerated.
2082 * config.make.in (build-nscd): New substituted variable.
2083 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2084 Change conditional to require [$(build-nscd) = yes] as well.
2085 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2088 * configure.in (use_nscd): New substituted variable, set by
2089 --disable-nscd. If enabled, define USE_NSCD.
2090 * configure: Regenerated.
2091 * config.h.in: Add USE_NSCD.
2092 * config.make.in (use-nscd): New substituted variable.
2093 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2094 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2095 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2096 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2097 (CFLAGS-getgrnam_r.c): Likewise.
2098 (CFLAGS-initgroups.c): Likewise.
2099 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2100 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2102 * inet/getnetgrent_r.c
2103 (nscd_setnetgrent): New function, broken out of ...
2104 (setnetgrent): ... here. Call it.
2105 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2106 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2107 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2108 * nscd/Makefile (routines, aux): Move definitions after include of
2109 Makeconfig. Conditionalize on [$(use-nscd) != no].
2110 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2111 Conditionalize on [USE_NSCD].
2112 (is_nscd, nscd_init_cb): Likewise.
2113 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2114 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2115 * nss/nss_db/db-init.c: Likewise.
2116 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2118 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2119 (make_request): Use it.
2120 (cache_valid_p): New function.
2121 (__check_pf): Use it.
2122 * NEWS: Add item for --disable-nscd.
2124 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2126 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2127 to support sed >= 4.2.1-20-ga9bf076.
2128 * configure: Regenerated.
2130 2012-08-22 Roland McGrath <roland@hack.frob.com>
2132 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2133 Conditionalize whole body on [IREL].
2135 2012-08-22 Jeff Law <law@redhat.com>
2138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2139 if the family is PF_UNSPEC.
2141 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2143 * Makerules (lib-version): Rename from V.
2144 (install-lib-nosubdir): Change V to lib-version.
2146 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2149 * powerpc32/power6/wcschr.c: New file.
2150 * powerpc32/power6/wcscpy.c: New file.
2151 * powerpc32/power6/wcsrchr.c: New file.
2152 * powerpc64/power6/wcschr.c: New file.
2153 * powerpc64/power6/wcscpy.c: New file.
2154 * powerpc64/power6/wcsrchr.c: New file.
2156 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2158 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2159 (two_way_short_needle): Use it.
2160 * string/strstr.c (AVAILABLE1_USES_J): Define.
2161 * string/strcasestr.c: Likewise.
2163 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2165 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2168 * NEWS: Add an entry.
2169 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2170 define their defaults.
2171 (two_way_short_needle): Detect end-of-string on-the-fly.
2172 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2173 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2174 * string/bug-strcasestr1.c: New test.
2175 * string/Makefile: Run it.
2177 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2180 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2181 the first character.
2183 2012-08-21 Roland McGrath <roland@hack.frob.com>
2185 * csu/elf-init.c (__libc_csu_irel): Function removed.
2186 * csu/libc-start.c (apply_irel): New function.
2187 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2189 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2191 * sysdeps/unix/sysv/linux/kernel-features.h
2192 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2193 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2194 <kernel-features.h>.
2195 [__NR_fadvise64_64]: Make code unconditional.
2196 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2197 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2198 !__NR_fadvise64_64)]: Likewise.
2199 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2200 !__NR_fadvise64_64))]: Likewise.
2201 [__NR_fadvise64]: Make code unconditional.
2202 [!__NR_fadvise64]: Remove conditional code.
2203 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2204 <kernel-features.h>.
2205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2210 not include <kernel-features.h>.
2211 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2213 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2215 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2216 include <kernel-features.h>.
2217 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2219 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2222 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2225 slight instruction rearrangements per scrollpipe analysis.
2226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2228 2012-08-20 Roland McGrath <roland@hack.frob.com>
2230 * manual/syslog.texi (syslog; vsyslog, closelog):
2231 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2232 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2234 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2235 DSOCAPS to match condition on defining it.
2237 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2239 * sysdeps/unix/sysv/linux/kernel-features.h
2240 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2242 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2243 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2245 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2246 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2248 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2249 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2251 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2252 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2254 * sysdeps/unix/sysv/linux/kernel-features.h
2255 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2256 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2258 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2259 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2262 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2263 Make code unconditional.
2264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2265 (__mmap64) [!__NR_mmap2]: Likewise.
2266 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2267 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2268 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2270 [__NR_mmap2]: Make code unconditional.
2271 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2272 (__mmap64) [!__NR_mmap2]: Likewise.
2274 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2276 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2278 2012-08-18 Andreas Jaeger <aj@suse.de>
2280 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2282 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2284 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2285 * include/unistd.h (__have_sock_cloexec): Likewise.
2286 (__have_pipe2): Likewise.
2287 (__have_dup3): Likewise.
2289 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2292 * include/unistd.h (__have_pipe2): Change define into an extern int.
2293 (__have_dup3): Likewise.
2294 * socket/have_sock_cloexec.c: Include fcntl.h.
2295 (__have_pipe2): New variable.
2296 (__have_dup3): Likewise.
2298 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2300 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2302 2012-08-17 Marek Polacek <polacek@redhat.com>
2304 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2305 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2307 2012-08-17 Roland McGrath <roland@hack.frob.com>
2309 * configure.in: Add AC_SUBST for sysheaders.
2310 * configure: Regenerated.
2311 * config.make.in (sysheaders): New substituted variable.
2313 * sysdeps/unix/mkfifo.c: Moved ...
2314 * sysdeps/posix/mkfifo.c: ... here.
2315 * sysdeps/unix/mkfifoat.c: Moved ...
2316 * sysdeps/posix/mkfifoat.c: ... here.
2318 * sysdeps/unix/utime.c: Moved ...
2319 * sysdeps/posix/utime.c: ... here.
2321 * sysdeps/unix/time.c: Moved ...
2322 * sysdeps/posix/time.c: ... here.
2323 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2326 * sysdeps/unix/nice.c: Moved ...
2327 * sysdeps/posix/nice.c: ... here.
2329 * sysdeps/unix/alarm.c: Moved ...
2330 * sysdeps/posix/alarm.c: ... here.
2332 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2334 2012-08-17 Jeff Law <law@redhat.com>
2336 * intl/Makefile (codeset_mo): New variable.
2337 ($(codeset_mo)): New target.
2338 (tst-codeset.out): Depend on that. Remove explicit rule.
2339 (tst-gettext3.out, tst-gettext5.out): Likewise.
2340 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2341 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2342 * intl/tst-codeset.sh: Remove.
2343 * intl/tst-gettext3.sh: Likewise.
2344 * intl/tst-gettext5.sh: Likewise.
2346 2012-08-17 Roland McGrath <roland@hack.frob.com>
2348 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2349 * sysdeps/unix/syscalls.list: ... here.
2351 * sysdeps/posix/getaddrinfo.c
2352 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2353 (gaiconf_init, gaiconf_reload): Use them.
2355 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2356 Define using time_t rather than struct timespec.
2358 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2359 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2361 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2363 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2364 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2367 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2368 __libc_cleanup_push argument.
2370 * bits/param.h: New file.
2371 * misc/sys/param.h: New file.
2372 * include/sys/param.h: New file.
2373 * misc/Makefile (headers): Add bits/param.h.
2374 * sysdeps/generic/sys/param.h: File removed.
2375 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2376 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2377 * sysdeps/mach/hurd/bits/param.h: New file.
2378 * sysdeps/mach/hurd/sys/param.h: New file.
2380 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2383 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2385 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2386 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2389 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2390 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2391 rather than -D_IO_MTSAFE_IO conditionally.
2392 * stdio-common/Makefile (CPPFLAGS): Likewise.
2393 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2394 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2395 Use $(libio-mtsafe).
2396 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2398 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2399 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2400 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2401 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2402 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2403 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2404 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2405 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2406 (CFLAGS-fread_u_chk.c): Likewise.
2407 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2408 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2409 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2410 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2411 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2412 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2413 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2414 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2415 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2417 * libio/Makefile: Test [$(libc-reentrant) = yes]
2418 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2421 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2422 * sysdeps/pthread/configure: File removed.
2423 * sysdeps/pthread/Makeconfig: New file.
2424 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2425 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2427 2012-08-16 Gary Benson <gbenson@redhat.com>
2429 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2430 unmapping the first object in a namespace.
2432 2012-08-16 Roland McGrath <roland@hack.frob.com>
2434 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2435 (__internal_setnetgrent): ... this. Add internal_function to
2436 definition. Add libc_hidden_def.
2437 (setnetgrent): Update caller.
2438 (internal_endnetgrent): Renamed to ...
2439 (__internal_endnetgrent): ... this. Add internal_function to
2440 definition. Add libc_hidden_def.
2441 (endnetgrent): Update caller.
2442 (internal_getnetgrent_r): Renamed to ...
2443 (__internal_getnetgrent_r): ... this. Add internal_function to
2444 definition. Add libc_hidden_def.
2445 (__getnetgrent_r): Update caller.
2446 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2448 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2450 * stdlib/longlong.h: Update from GCC.
2452 2012-08-16 Roland McGrath <roland@hack.frob.com>
2454 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2455 on _QL, which is set by umul_ppmm but never used.
2456 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2457 variables, which are set by GMP macros but never used.
2458 * stdio-common/_itowa.c (_itowa): Likewise.
2459 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2460 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2462 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2464 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2465 struct La_sh_regs is not constant.
2466 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2467 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2468 and struct La_sparc64_regs are not constant.
2470 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2472 * sysdeps/unix/sysv/linux/kernel-features.h
2473 (__ASSUME_POSIX_TIMERS): Remove.
2474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2476 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2477 Make code unconditional.
2478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2479 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2480 Make code unconditional.
2481 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2482 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2483 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2485 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2486 Make code unconditional.
2487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2488 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2489 (__libc_missing_posix_timers): Remove.
2491 2012-08-15 Roland McGrath <roland@hack.frob.com>
2493 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2494 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2496 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2498 * elf/dl-sym.c: Include <stdlib.h>.
2500 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2501 constants, which avoids warnings in 32-bit builds.
2503 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2504 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2506 * misc/lseek.c: File moved to ...
2507 * io/lseek.c: ... here.
2509 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2511 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2512 shifting LEN more than 31 bits at once.
2514 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2517 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2518 segmentation fault for a case of two empty input strings.
2519 * string/test-strncasecmp.c (check1): Renamed to...
2521 (bz14195): Add new testcase for two empty input strings and N > 0.
2522 (test_main): Call new testcase, adapt for renamed function.
2524 2012-08-15 Andreas Jaeger <aj@suse.de>
2527 * crypt/md5test2.c: New test, based on test supplied by Serge
2528 Belyshev <belyshev@depni.sinp.msu.ru>.
2529 * crypt/Makefile (xtests): Add md5test-giant..
2530 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2532 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2535 * crypt/md5.c (md5_process_block): Don't assume the buffer
2536 length is less than 2**32.
2537 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2538 length is less than 2**64.
2540 2012-08-15 Roland McGrath <roland@hack.frob.com>
2542 * string/str-two-way.h: Include <sys/param.h>.
2543 (MAX): Macro removed.
2545 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2546 Move #define and #undef of memmove to just before and after
2547 including <string.h>.
2549 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2550 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2551 and after including <string.h>. Move declarations of
2552 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2553 to before #include "string/memmove.c".
2555 * include/dirent.h: Declare __getdirentries.
2557 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2558 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2560 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2562 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2563 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2564 * sysdeps/i386/configure: Regenerated.
2565 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2566 STABS_CURRENT_FILE, and STABS_FUN.
2567 (END): Remove call to STABS_FUN_END.
2568 (STABS_CURRENT_FILE1): Delete.
2569 (STABS_CURRENT_FILE): Likewise.
2570 (STABS_FUN): Likewise.
2571 (STABS_FUN_END): Likewise.
2572 (STABS_FUN2): Likewise.
2573 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2574 * sysdeps/x86_64/configure: Regenerated.
2576 2012-08-14 Roland McGrath <roland@hack.frob.com>
2578 * elf/dl-open.c: Include <atomic.h>.
2579 * elf/dl-lookup.c: Likewise.
2581 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2583 * sysdeps/unix/sysv/linux/kernel-features.h
2584 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2585 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2587 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2589 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2590 condition on __ASSUME_CLONE_THREAD_FLAGS.
2592 2012-08-14 Andreas Jaeger <aj@suse.de>
2594 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2598 * include/atomic.h (atomic_exchange_and_add): Split into ...
2599 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2602 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2606 2012-08-13 Jeff Law <law@redhat.com>
2608 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2609 null byte in the output string.
2611 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2613 * sysdeps/unix/sysv/linux/kernel-features.h
2614 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2615 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2616 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2617 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2618 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2619 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2620 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2622 2012-08-09 Jeff Law <law@redhat.com>
2625 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2626 When avoid_arena is set, don't retry in the that arena. Pick the
2627 next one, whatever it might be.
2628 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2629 (arena_lock): Pass in new parameter to arena_get2.
2630 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2632 (__libc_malloc): Unify retrying after main arena failure with
2633 __libc_memalign version.
2634 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2636 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2639 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2640 to __redirect_strstr.
2641 (__strstr_sse42): Use typeof __redirect_strstr.
2642 (__strstr_ia32): Likewise.
2643 (__libc_strstr): New prototype.
2644 (strstr): Renamed to ...
2645 (__libc_strstr): This.
2646 (strstr): New strong alias of __libc_strstr.
2647 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2648 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2651 (__libc_time): New prototype.
2652 (time_ifunc): Replace time with __libc_time.
2653 (time): New strong alias and hidden definition of __libc_time.
2654 (__GI_time): Remove strong alias.
2655 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2657 (memmove): Redefined to __redirect_memmove.
2658 (__memmove_sse2): Use typeof __redirect_memmove.
2659 (__memmove_ssse3): Likewise.
2660 (__memmove_ssse3_back): Likewise.
2661 (__libc_memmove): New prototype.
2662 (memmove): Renamed to ...
2663 (__libc_memmove): This.
2664 (memmove): New strong alias of __libc_memmove.
2666 2012-08-08 Mark Salter <msalter@redhat.com>
2669 (R_MN10300_TLS_GD): Define.
2670 (R_MN10300_TLS_LD): Likewise.
2671 (R_MN10300_TLS_LDO): Likewise.
2672 (R_MN10300_TLS_GOTIE): Likewise.
2673 (R_MN10300_TLS_IE): Likewise.
2674 (R_MN10300_TLS_LE): Likewise.
2675 (R_MN10300_TLS_DTPMOD): Likewise.
2676 (R_MN10300_TLS_DTPOFF): Likewise.
2677 (R_MN10300_TLS_TPOFF): Likewise.
2678 (R_MN10300_SYM_DIFF): Likewise.
2679 (R_MN10300_ALIGN): Likewise.
2680 (R_MN10300_NUM): Update.
2682 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2687 2012-08-08 Roland McGrath <roland@hack.frob.com>
2689 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2691 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2692 sysdeps/unix -> sysdeps/posix move.
2693 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2695 2012-08-07 Allan McRae <allan@archlinux.org>
2698 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2699 (SUNOS_CPP): Likewise.
2700 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2702 (open_input): Call CPP using execvp.
2704 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2706 * sysdeps/unix/sysv/linux/kernel-features.h
2707 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2708 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2709 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2710 (__ASSUME_WAITID_SYSCALL): Likewise.
2711 * sysdeps/unix/sysv/linux/dl-execstack.c
2712 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2714 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2716 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2717 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2718 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2720 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2722 [__ASSUME_WAITID_SYSCALL]: Likewise.
2723 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2725 2012-08-07 Roland McGrath <roland@hack.frob.com>
2727 * sysdeps/unix/closedir.c: Renamed to ...
2728 * sysdeps/posix/closedir.c: ... here.
2729 * sysdeps/unix/dirfd.c: Renamed to ...
2730 * sysdeps/posix/dirfd.c: ... here.
2731 * sysdeps/unix/dirstream.h: Renamed to ...
2732 * sysdeps/posix/dirstream.h: ... here.
2733 * sysdeps/unix/fdopendir.c: Renamed to ...
2734 * sysdeps/posix/fdopendir.c: ... here.
2735 * sysdeps/unix/opendir.c: Renamed to ...
2736 * sysdeps/posix/opendir.c: ... here.
2737 * sysdeps/unix/readdir.c: Renamed to ...
2738 * sysdeps/posix/readdir.c: ... here.
2739 * sysdeps/unix/readdir_r.c: Renamed to ...
2740 * sysdeps/posix/readdir_r.c: ... here.
2741 * sysdeps/unix/rewinddir.c: Renamed to ...
2742 * sysdeps/posix/rewinddir.c: ... here.
2743 * sysdeps/unix/seekdir.c: Renamed to ...
2744 * sysdeps/posix/seekdir.c: ... here.
2745 * sysdeps/unix/telldir.c: Renamed to ...
2746 * sysdeps/posix/telldir.c: ... here.
2747 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2748 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2749 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2750 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2752 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2753 * bits/fcntl.h: ... here.
2755 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2757 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2758 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2759 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2760 (struct flock): Move l_start, l_len to the beginning.
2761 Use __pid_t for l_pid.
2762 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2763 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2764 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2765 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2766 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2767 [__USE_LARGEFILE64] (struct flock64): New type.
2768 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2770 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2771 * bits/dirent.h: ... here.
2773 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2774 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2776 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2779 Change from 2.6.0 to 2.6.16.
2780 * sysdeps/unix/sysv/linux/configure: Regenerated.
2781 * sysdeps/unix/sysv/linux/kernel-features.h
2782 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2783 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2785 (__ASSUME_UTIMES): Likewise.
2786 (__ASSUME_CLONE_STOPPED): Remove.
2787 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2788 architectures, not kernel version.
2789 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2790 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2791 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2792 (__ASSUME_WAITID_SYSCALL): Likewise.
2793 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2794 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2795 * README: State 2.6.16 as minimum Linux kernel version. Do not
2796 refer to older versions.
2798 2012-08-06 Roland McGrath <roland@hack.frob.com>
2800 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2801 Define alphasort64 as an alias.
2802 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2803 Define versionsort64 as an alias.
2804 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2805 Define scandir64 as an alias.
2806 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2807 Define scandirat64 as an alias.
2808 * dirent/alphasort64.c (alphasort64):
2809 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2810 * dirent/versionsort64.c: Likewise.
2811 * dirent/scandir64.c: Likewise.
2812 * dirent/scandirat64.c: Likewise.
2813 * sysdeps/wordsize-64/alphasort.c: File removed.
2814 * sysdeps/wordsize-64/alphasort64.c: File removed.
2815 * sysdeps/wordsize-64/scandir.c: File removed.
2816 * sysdeps/wordsize-64/scandir64.c: File removed.
2817 * sysdeps/wordsize-64/scandirat.c: File removed.
2818 * sysdeps/wordsize-64/scandirat64.c: File removed.
2819 * sysdeps/wordsize-64/versionsort.c: File removed.
2820 * sysdeps/wordsize-64/versionsort64.c: File removed.
2821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2830 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2832 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2834 [defined __arch64__ || defined __sparcv9]
2835 (__INO_T_MATCHES_INO64_T): New macro.
2836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2837 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2838 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2839 * sysdeps/unix/sysv/linux/bits/dirent.h
2840 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2841 (_DIRENT_MATCHES_DIRENT64): New macro.
2843 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2844 Define lockf64 as an alias.
2845 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2846 Define fseeko64 as an alias.
2847 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2848 Define ftello64 as an alias.
2849 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2850 Define _IO_fgetpos64 and fgetpos64 as aliases.
2851 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2852 Define _IO_fsetpos64 and fsetpos64 as aliases.
2853 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2854 Conditionalize body on this.
2855 * libio/fseeko64.c: Likewise.
2856 * libio/ftello64.c: Likewise.
2857 * libio/iofgetpos64.c: Likewise.
2858 * libio/iofsetpos64.c: Likewise.
2859 * sysdeps/wordsize-64/lockf.c: File removed.
2860 * sysdeps/wordsize-64/lockf64.c: File removed.
2861 * sysdeps/wordsize-64/fseeko.c: File removed.
2862 * sysdeps/wordsize-64/fseeko64.c: File removed.
2863 * sysdeps/wordsize-64/ftello.c: File removed.
2864 * sysdeps/wordsize-64/ftello64.c: File removed.
2865 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2866 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2867 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2868 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2878 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2880 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2882 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2884 [defined __arch64__ || defined __sparcv9]
2885 (__OFF_T_MATCHES_OFF64_T): New macro.
2886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2887 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2889 (__OFF_T_MATCHES_OFF64_T): New macro.
2891 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2893 * stdlib/secure-getenv.c (__secure_getenv): Replace
2894 GLIBC_2_16 with GLIBC_2_17.
2896 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2901 2012-08-03 David S. Miller <davem@davemloft.net>
2903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2905 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2909 (__ASSUME_CORRECT_SI_PID): Likewise.
2910 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2911 (__ASSUME_TMPFS_NAME): Likewise.
2912 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2913 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2914 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2915 (HAVE_AUX_SECURE): Make definition unconditional.
2916 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2917 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2919 2012-08-03 Roland McGrath <roland@hack.frob.com>
2921 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2922 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2923 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2925 __eloop_threshold instead of SYMLOOP_MAX.
2927 * sysdeps/generic/eloop-threshold.h: New file.
2928 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2930 * elf/chroot_canon.c (chroot_canon): Likewise.
2932 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2936 Change to 2.6.0 everywhere.
2937 * sysdeps/unix/sysv/linux/configure: Regenerated.
2938 * sysdeps/unix/sysv/linux/kernel-features.h
2939 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2940 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2942 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2943 (__ASSUME_FUTEX_REQUEUE): Remove.
2944 (__ASSUME_STATFS64): Define unconditionally.
2945 (__ASSUME_AT_SECURE): Likewise.
2946 (__ASSUME_CORRECT_SI_PID): Likewise.
2947 (__ASSUME_TGKILL): Define without depending on kernel version for
2949 (__ASSUME_UTIMES): Likewise.
2950 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2952 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2953 (__ASSUME_TMPFS_NAME): Likewise.
2954 * README: Update reference to Linux kernel versions.
2956 2012-08-02 Marek Polacek <polacek@redhat.com>
2959 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2960 libc_cv_asm_type_prefix with %.
2961 * configure: Regenerated.
2962 * include/libc-symbols.h: Remove comment about
2963 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2964 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2965 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2966 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2967 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2968 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2969 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2970 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2971 * elf/tst-unique2mod1.c: Likewise.
2972 * elf/tst-unique1mod2.c: Likewise.
2973 * elf/tst-unique1mod1.c: Likewise.
2974 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2975 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2976 Replace ASM_TYPE_DIRECTIVE with .type.
2977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2978 * sysdeps/i386/sysdep.h: Likewise.
2979 * sysdeps/x86_64/sysdep.h: Likewise.
2980 * sysdeps/sh/sysdep.h: Likewise.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2982 Do not define ASM_TYPE_DIRECTIVE.
2983 * sysdeps/powerpc/sysdep.h: Likewise.
2984 * sysdeps/powerpc/powerpc32/sysdep.h:
2985 Replace ASM_TYPE_DIRECTIVE with .type.
2986 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2988 * sysdeps/i386/fpu/e_powf.S: Likewise.
2989 * sysdeps/i386/fpu/e_expl.S: Likewise.
2990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2991 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2992 * sysdeps/i386/fpu/e_pow.S: Likewise.
2993 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2994 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2995 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2996 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2997 * sysdeps/i386/fpu/e_log2.S: Likewise.
2998 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2999 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3000 * sysdeps/i386/fpu/e_powl.S: Likewise.
3001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3003 * sysdeps/i386/fpu/e_logl.S: Likewise.
3004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3009 * sysdeps/i386/fpu/e_log.S: Likewise.
3010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3011 * sysdeps/i386/fpu/e_logf.S: Likewise.
3012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3013 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3014 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3015 * sysdeps/i386/fpu/e_log10.S: Likewise.
3016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3021 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3022 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3023 * sysdeps/i386/i686/strtok.S: Likewise.
3024 * sysdeps/i386/i386-mcount.S: Likewise.
3025 * sysdeps/i386/strtok.S: Likewise.
3026 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3030 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3035 * sysdeps/x86_64/_mcount.S: Likewise.
3036 * sysdeps/x86_64/strtok.S: Likewise.
3037 * sysdeps/sh/_mcount.S: Likewise.
3039 2012-08-01 Roland McGrath <roland@hack.frob.com>
3041 * libio/iofopen.c: Include <fcntl.h>.
3042 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3043 (_IO_fopen64, fopen64): Define as aliases.
3044 * libio/iofopen64.c: Include <fcntl.h>.
3045 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3046 Conditionalize body on this.
3047 * sysdeps/wordsize-64/iofopen.c: File removed.
3048 * sysdeps/wordsize-64/iofopen64.c: File removed.
3050 2012-08-01 Marek Polacek <polacek@redhat.com>
3052 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3053 Use dlfcn directly instead of a variable.
3054 (binfmt-subdir): Do not define.
3057 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3059 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3060 Remove all definitions.
3061 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3062 <kernel-features.h>.
3063 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3064 (miss_F_GETOWN_EX): Remove all definitions.
3065 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3067 [!__ASSUME_FCNTL64]: Remove conditional code.
3068 [__ASSUME_FCNTL64]: Make code unconditional.
3069 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3070 <kernel-features.h>.
3071 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3072 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3073 (lockf64) [__NR_fcntl64]: Make code unconditional.
3074 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3076 * sysdeps/unix/sysv/linux/kernel-features.h
3077 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3078 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3079 Make code unconditional.
3080 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3081 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3083 [__NR_vfork]: Make code unconditional.
3084 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3085 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3087 [__NR_vfork]: Make code unconditional.
3088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3091 2012-08-01 Roland McGrath <roland@hack.frob.com>
3093 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3094 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3096 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3097 Define mkstemp64 as an alias.
3098 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3099 Define mkstemps64 as an alias.
3100 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3101 Define mkostemp64 as an alias.
3102 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3103 Define mkostemps64 as an alias.
3104 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3105 Conditionalize body on this.
3106 * misc/mkostemp64.c: Likewise.
3107 * misc/mkostemps64.c: Likewise.
3108 * misc/mkstemps64.c: Likewise.
3109 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3110 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3111 * sysdeps/wordsize-64/mkostemp.c: File removed.
3112 * sysdeps/wordsize-64/mkstemp.c: File removed.
3113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3115 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3116 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3119 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3120 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3121 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3122 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3124 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3125 compat_symbol macros from <shlib-compat.h> rather than the underlying
3126 default_symbol_version and symbol_version macros, so that DEFAULT
3127 lines in shlib-versions are respected.
3128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3130 2012-08-01 Florian Weimer <fweimer@redhat.com>
3132 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3133 Declare with warn_unused_result.
3134 (setgid, setregid, setegid, setresgid): Likewise.
3135 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3137 * WUR-REPORT: Remove set*id functions.
3139 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3141 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3143 2012-07-31 Roland McGrath <roland@hack.frob.com>
3145 * include/sys/socket.h (__libc_accept, __libc_accept4):
3146 Add attribute_hidden.
3147 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3149 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3151 * inet/getnetgrent_r.c (setup): Likewise.
3153 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3155 2012-07-31 David S. Miller <davem@davemloft.net>
3157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3159 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3162 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3163 value between 1.0 and 2.0 and smaller part has absolute value less
3165 * math/s_clog10.c (__clog10): Likewise.
3166 * math/s_clog10f.c (__clog10f): Likewise.
3167 * math/s_clog10l.c (__clog10l): Likewise.
3168 * math/s_clogf.c (__clogf): Likewise.
3169 * math/s_clogl.c (__clogl): Likewise.
3170 * math/libm-test.inc (clog_test): Add more tests.
3171 (clog10_test): Likewise.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3175 2012-07-31 Florian Weimer <fweimer@redhat.com>
3177 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3178 Exit with zero in case no suitable GID is found, and write a
3179 message to standard error.
3181 2012-07-30 Roland McGrath <roland@hack.frob.com>
3183 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3185 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3186 (MAXPATHLEN): Removed.
3187 (NOGROUP, NODEV): New macros.
3188 (setbit, clrbit, isset, isclr): New macros.
3189 (howmany, roundup, powerof2): New macros.
3190 (DEV_BSIZE): New macro.
3192 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3193 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3195 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3196 definition on [!__NO_LONG_DOUBLE_MATH].
3198 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3199 PTR_MANGLE and PTR_DEMANGLE.
3201 * socket/accept4.c (accept4): Rename to __libc_accept4.
3202 Define accept4 as a weak alias.
3204 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3205 on [_DIRENT_HAVE_D_TYPE].
3206 * io/ftw.c (ftw_dir): Likewise.
3208 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3210 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3212 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3213 Use the BSD numbers rather than the arbitrary ones we had.
3214 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3215 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3216 (SIGXCPU, SIGXFSZ): New macros.
3219 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3220 initializer on [_LIBC_REENTRANT].
3222 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3223 definitions inside [_POSIX_MAPPED_FILES].
3225 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3227 * dirent/opendir.c: Include <fcntl.h>.
3229 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3230 (__libc_getspecific): Likewise.
3231 (__libc_key_create): Likewise.
3233 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3234 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3235 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3236 (tmpfile64): Define as alias.
3237 * sysdeps/wordsize-64/tmpfile.c: File removed.
3238 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3242 * stdio-common/vfscanf.c: Include <stdbool.h>.
3243 * nss/makedb.c: Likewise.
3244 * stdio-common/_i18n_number.h: Likewise.
3245 * argp/argp-help.c: Likewise.
3246 * posix/wordexp.c: Likewise.
3247 * sysdeps/posix/spawni.c: Likewise.
3248 * nss/nss_files/files-initgroups.c: Likewise.
3249 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3250 * nss/nss_files/files-initgroups.c: Likewise.
3251 * nss/nss_db/db-netgrp.c: Likewise.
3252 * nss/nss_db/db-initgroups.c: Likewise.
3253 * io/fchmodat.c: Include <sys/stat.h>.
3255 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3256 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3258 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3261 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3262 Add multiple inclusion protection.
3264 2012-07-27 David S. Miller <davem@davemloft.net>
3266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3268 2012-07-27 Gary Benson <gbenson@redhat.com>
3271 * elf/rtld.c: Include <stap-probe.h>.
3272 (dl_main): Added static probes "init_start" and "init_complete".
3273 * elf/dl-load.c: Include <stap-probe.h>.
3274 (lose): Take new parameter "nsid".
3275 Added static probe "map_failed".
3276 (_dl_map_object_from_fd): Pass namespace id to lose.
3277 Added static probe "map_start".
3278 (open_verify): Pass namespace id to lose.
3279 * elf/dl-open.c: Include <stap-probe.h>.
3280 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3281 and "reloc_complete".
3282 * elf/dl-close.c: Include <stap-probe.h>.
3283 (_dl_close_worker): Added static probes "unmap_start" and
3285 * elf/rtld-debugger-interface.txt: New file documenting the above.
3287 2012-07-26 Roland McGrath <roland@hack.frob.com>
3289 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3290 rather than a string variable.
3291 * sunrpc/rpc_main.c (h_output): Likewise.
3292 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3294 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3296 * inet/check_native.c: New file.
3298 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3301 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3302 if larger part has absolute value 1.0.
3303 * math/s_clog10.c (__clog10): Likewise.
3304 * math/s_clog10f.c (__clog10f): Likewise.
3305 * math/s_clog10l.c (__clog10l): Likewise.
3306 * math/s_clogf.c (__clogf): Likewise.
3307 * math/s_clogl.c (__clogl): Likewise.
3308 * math/libm-test.inc (clog_test): Add more tests.
3309 (clog10_test): Likewise.
3310 * sysdeps/i386/fpu/libm-test-ulps: Update.
3311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3313 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3314 (pltexit): Likewise.
3315 (La_regs): Likewise.
3316 (La_retval): Likewise.
3317 (int_retval): Likewise.
3318 Update #error for removed macros to refer only to definitions in
3320 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3322 (pltexit): Likewise.
3323 (La_regs): Likewise.
3324 (La_retval): Likewise.
3325 (int_retval): Likewise.
3326 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3328 (pltexit): Likewise.
3329 (La_regs): Likewise.
3330 (La_retval): Likewise.
3331 (int_retval): Likewise.
3332 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3334 (pltexit): Likewise.
3335 (La_regs): Likewise.
3336 (La_retval): Likewise.
3337 (int_retval): Likewise.
3338 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3340 (pltexit): Likewise.
3341 (La_regs): Likewise.
3342 (La_retval): Likewise.
3343 (int_retval): Likewise.
3344 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3346 (pltexit): Likewise.
3347 (La_regs): Likewise.
3348 (La_retval): Likewise.
3349 (int_retval): Likewise.
3350 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3352 (pltexit): Likewise.
3353 (La_regs): Likewise.
3354 (La_retval): Likewise.
3355 (int_retval): Likewise.
3356 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3357 macro definitions in tst-audit.h.
3358 * sysdeps/i386/tst-audit.h: New file.
3359 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3360 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3361 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3362 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3363 * sysdeps/sh/tst-audit.h: Likewise.
3364 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3365 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3366 * sysdeps/x86_64/tst-audit.h: Likewise.
3368 2012-07-26 Andreas Jaeger <aj@suse.de>
3370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3374 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3375 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3377 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3384 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3386 (si_call_addr, si_syscall, si_arch): Define new macro.
3387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3389 (si_call_addr, si_syscall, si_arch): Define new marcro.
3390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3392 (si_call_addr, si_syscall, si_arch): Define new macro.
3393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3395 (si_call_addr, si_syscall, si_arch): Define new macro.
3397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3401 Change to 2.4.21 where previously 2.4.1.
3402 * sysdeps/unix/sysv/linux/configure: Regenerated.
3403 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3404 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3405 Linux kernel version.
3406 (__ASSUME_STD_AUXV): Remove.
3407 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3409 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3410 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3411 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3412 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3413 (__ASSUME_NETLINK_SUPPORT): Likewise.
3414 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3415 (__no_netlink_support): Remove conditional definition.
3416 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3418 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3419 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3421 (if_nameindex_ioctl): Remove.
3422 (if_nameindex_netlink): Do not handle __no_netlink_support.
3423 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3425 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3426 Remove conditional code.
3427 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3429 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3431 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3432 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3433 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3435 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3436 [!__ASSUME_STD_AUXV]: Remove conditional code.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3438 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3439 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3441 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3442 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3444 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3446 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3447 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3449 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3454 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3457 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3459 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3461 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3463 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3466 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3468 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3471 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3473 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3475 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3477 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3480 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3482 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3484 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3486 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3489 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3491 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3493 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3494 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3496 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3498 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3501 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3502 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3503 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3504 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3511 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3512 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3515 2012-07-25 Florian Weimer <fweimer@redhat.com>
3517 * Versions.def: Add GLIBC_2.17.
3518 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3519 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3520 Introduce __libc_secure_getenv.
3521 * stdlib/Versions (2.17): Add secure_getenv
3522 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3523 * stdlib/secure-getenv.c: Rename __secure_getenv to
3524 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3525 symbol __secure_getenv for GLIBC_2.0.
3526 * stdlib/tst-secure-getenv.c: New.
3527 * stdlib/Makefile (tests): Add testcase.
3528 * manual/startup.texi (Environment Access): Document
3530 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3531 __libc_secure_getenv.
3532 * inet/ruserpass.c (ruserpass): Likewise.
3533 * malloc/mtrace.c (mtrace): Likewise.
3534 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3535 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3536 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3537 * sysdeps/posix/tempname.c: Likewise. Evaluate
3539 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3540 __secure_getenv to __libc_secure_getenv.
3541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3554 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3556 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3557 (struct La_i86_retval): Likewise.
3558 (struct La_x86_64_regs): Likewise.
3559 (struct La_x86_64_retval): Likewise.
3560 (struct La_x32_regs): Likewise.
3561 (struct La_x32_retval): Likewise.
3562 (struct La_ppc32_regs): Likewise.
3563 (struct La_ppc32_retval): Likewise.
3564 (struct La_ppc64_regs): Likewise.
3565 (struct La_ppc64_retval): Likewise.
3566 (struct La_sh_regs): Likewise.
3567 (struct La_sh_retval): Likewise.
3568 (struct La_s390_32_regs): Likewise.
3569 (struct La_s390_32_retval): Likewise.
3570 (struct La_s390_64_regs): Likewise.
3571 (struct La_s390_64_retval): Likewise.
3572 (struct La_sparc32_regs): Likewise.
3573 (struct La_sparc32_retval): Likewise.
3574 (struct La_sparc64_regs): Likewise.
3575 (struct La_sparc64_retval): Likewise.
3576 (struct audit_ifaces): Remove architecture-specific pltenter and
3578 * sysdeps/i386/ldsodefs.h: New file.
3579 * sysdeps/powerpc/ldsodefs.h: Likewise.
3580 * sysdeps/s390/ldsodefs.h: Likewise.
3581 * sysdeps/sh/ldsodefs.h: Likewise.
3582 * sysdeps/sparc/ldsodefs.h: Likewise.
3583 * sysdeps/x86_64/ldsodefs.h: Likewise.
3585 2012-07-25 Marek Polacek <polacek@redhat.com>
3588 * math/libm-test.inc (yn_test): Add another test.
3589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3590 to ERANGE when the result is +-Inf.
3591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3593 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3596 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3598 * conform/data/time.h-data (NULL): Use macro-constant. Require
3600 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3602 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3604 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3606 * configure.in <sysdeps resolving>: Correct printing
3608 * configure: Regenerate.
3610 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3612 * math/w_ilogb.c: Include <limits.h>.
3613 * math/w_ilogbl.c: Likewise.
3615 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3617 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3618 va_copy. Document allowing for unavailable va_copy only as
3619 pre-C99 compatibility.
3620 * manual/string.texi (Copying and Concatenation): Use va_copy
3621 instead of __va_copy in concat example.
3623 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3625 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3626 (__sendto): Use create_address_port. Initialize APORT and deallocate
3629 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3630 with O_NOLINK passed to __file_name_lookup.
3632 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3633 with O_NOLINK passed to __file_name_lookup.
3635 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3636 negative N or less than NGIDS.
3638 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3639 type to string_t. Set ERANGE as errno and return it if NAME is not big
3640 enough. Use memcpy instead of strncpy.
3642 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3644 * elf/Makefile (check-data): Remove.
3645 (localplt.data): New vpath directive.
3646 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3647 instead of $(check-data).
3648 * scripts/data/localplt-generic.data: Move to ...
3649 * sysdeps/generic/localplt.data: ... here.
3650 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3651 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3652 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3655 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3658 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3661 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3664 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3667 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3671 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3674 PPC32 and PPC64 files.
3675 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3676 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3678 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3680 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3681 __makecontext_ret to ...
3682 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3683 ... here and call exit if uc_link is NULL. New file.
3684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3685 __makecontext_ret.S.
3686 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3687 __makecontext_ret to ...
3688 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3689 ... here and call exit if uc_link is NULL. New file.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3691 __makecontext_ret.S.
3693 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3695 * elf/elf.h (R_390_IRELATIVE): New definition.
3696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3697 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3698 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3700 (elf_machine_lazy_rel): Likewise.
3701 * sysdeps/s390/dl-irel.h: New file.
3702 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3703 * sysdeps/s390/s390-64/memset.S: New asm code.
3704 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3705 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3706 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3707 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3708 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3709 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3711 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3712 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3713 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3714 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3715 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3716 * sysdeps/s390/s390-32/memset.S: New asm code.
3717 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3719 2012-07-17 Marek Polacek <polacek@redhat.com>
3722 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3723 * sysdeps/s390/s390-64/configure.in: Likewise.
3724 * sysdeps/sparc/configure.in: Likewise.
3725 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3726 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3727 * sysdeps/i386/configure.in: Likewise.
3728 * sysdeps/x86_64/configure.in: Likewise.
3729 * sysdeps/sh/configure.in: Likewise.
3730 * sysdeps/s390/s390-32/configure: Regenerated.
3731 * sysdeps/s390/s390-64/configure: Likewise.
3732 * sysdeps/x86_64/configure: Likewise.
3733 * sysdeps/sh/configure: Likewise.
3734 * sysdeps/powerpc/powerpc64/configure: Likewise.
3735 * sysdeps/powerpc/powerpc32/configure: Likewise.
3736 * sysdeps/sparc/configure: Likwise.
3737 * sysdeps/i386/configure: Likewise.
3739 * elf/dl-open.c: Comment fixes.
3741 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3743 * Makefile [CXX] (check-data): Remove.
3744 [CXX] (c++-types.data): New vpath directive.
3745 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3746 vpath. Do not allow for C++ type data being missing.
3747 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3748 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3749 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3750 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3751 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3752 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3753 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3756 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3759 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3762 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3765 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3768 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3771 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3774 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3777 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3778 definitions to architecture-specific files.
3782 * sysdeps/i386/tls-macros.h: New file.
3783 * sysdeps/powerpc/tls-macros.h: Likewise.
3784 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3785 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3786 * sysdeps/sh/tls-macros.h: Likewise.
3787 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3788 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3789 * sysdeps/x86_64/tls-macros.h: Likewise.
3791 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3794 zero value for regular exit case.
3796 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3797 (__start_context): Preserve zero value for regular exit case.
3799 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3802 * manual/setjmp.texi (setcontext): Clarify normal process
3803 termination when uc_link is the null pointer.
3804 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3807 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3809 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3810 preprocessor. Test for each exception mask separately.
3812 2012-07-16 Andreas Jaeger <aj@suse.de>
3814 * po/ru.po: Update from translation team.
3816 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3818 * conform/data/string.h-data (NULL): Use macro-constant. Require
3820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3822 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3823 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3826 2012-07-13 Andreas Jaeger <aj@suse.de>
3828 * po/fr.po: Update from translation team.
3830 2012-07-12 Marek Polacek <polacek@redhat.com>
3833 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3837 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3841 Change to 2.4.1 where previously 2.4.0.
3842 * sysdeps/unix/sysv/linux/configure: Regenerated.
3843 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3844 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3846 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3847 (__ASSUME_AT_CLKTCK): Remove.
3848 (__ASSUME_AT_PAGESIZE): Likewise.
3849 (__ASSUME_AT_XID): Likewise.
3850 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3851 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3852 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3854 (HAVE_AUX_PAGESIZE): Likewise.
3855 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3856 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3857 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3859 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3863 the temporary buffer used to invoke __gethostbyname2_r,
3864 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3865 host_data / struct gaih_addrtuple.
3866 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3867 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3868 header file nss/nsswitch.h.
3869 * nss/nsswitch.h (global scope): Add definition of implementation
3870 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3871 resolv/nss_dns/dns-host.c).
3873 2012-07-11 Andreas Jaeger <aj@suse.de>
3875 * po/fr.po: Update from translation team.
3877 * po/sv.po: Update from translation team
3878 * po/fr.po: Another update from translation team.
3880 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3883 for subnormals or multiply small sinh result by itself.
3884 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3887 2012-07-11 David S. Miller <davem@davemloft.net>
3889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3891 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3894 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3895 (INTERNAL_MARK): Shift it here.
3897 2012-07-10 Marek Polacek <polacek@redhat.com>
3900 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3901 libc_cv_asm_global_directive with .globl.
3902 * configure: Regenerated.
3903 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3905 * sysdeps/i386/configure: Regenerated.
3906 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3908 * sysdeps/x86_64/configure: Regenerated.
3909 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3910 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3911 * elf/tst-unique2mod2.c: Likewise.
3912 * elf/tst-unique2mod1.c: Likewise.
3913 * elf/tst-unique1mod2.c: Likewise.
3914 * elf/tst-unique1mod1.c: Likewise.
3915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3916 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3918 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3919 * sysdeps/mach/sysdep.h: Likewise.
3920 * sysdeps/i386/sysdep.h: Likewise.
3921 * sysdeps/i386/i386-mcount.S: Likewise.
3922 * sysdeps/x86_64/_mcount.S: Likewise.
3923 * sysdeps/x86_64/sysdep.h: Likewise.
3924 * sysdeps/sh/_mcount.S: Likewise.
3925 * sysdeps/sh/sysdep.h: Likewise.
3926 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3927 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3928 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3930 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3931 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3932 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3933 * locale/localeinfo.h: Likewise.
3934 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3935 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3937 2012-07-09 Roland McGrath <roland@hack.frob.com>
3940 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3942 * manual/message.texi (The Uniforum approach): Likewise.
3943 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3944 (glibc iconv Implementation): Likewise.
3946 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3949 * math/s_clog.c (__clog): Avoid scaling a value down where that
3950 could result in underflow.
3951 * math/s_clog10.c (__clog10): Likewise.
3952 * math/s_clog10f.c (__clog10f): Likewise.
3953 * math/s_clog10l.c (__clog10l): Likewise.
3954 * math/s_clogf.c (__clogf): Likewise.
3955 * math/s_clogl.c (__clogl): Likewise.
3956 * math/libm-test.inc (clog_test): Add more tests.
3957 (clog10_test): Likewise.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3965 by 7 not 8 to examine high bit of fractional part.
3968 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3969 for call to __mcount_internal.
3970 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3971 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3972 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3974 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3977 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3978 approximation for values within 0x1p-13f of an odd multiple of
3980 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3981 exception. Add more tests.
3982 * sysdeps/i386/fpu/libm-test-ulps: Update.
3985 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3986 inputs and return -1 for them. Do not check for +Inf in case not
3988 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3989 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3991 and return -1 for them. Do not check for +Inf in case not
3993 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3996 and return -1 for them. Do not check for +Inf in case not
3998 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4000 * sysdeps/i386/fpu/libm-test-ulps: Update.
4001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4003 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4005 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4007 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4011 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4012 could result in spurious underflow. Scale down values above
4013 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4014 * math/s_csqrtf.c (__csqrtf): Likewise.
4015 * math/s_csqrtl.c (__csqrtl): Likewise.
4016 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4018 * sysdeps/i386/fpu/libm-test-ulps: Update.
4019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4023 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4025 * catgets/xopen-msg.awk: New file.
4026 * catgets/xopen-msg.sed: Removed.
4028 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4030 * intl/po2test.awk: New file.
4031 * intl/po2test.sed: Removed.
4033 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4036 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4037 or multiply small sinh result by itself.
4038 * math/s_ctanf.c (__ctanf): Likewise.
4039 * math/s_ctanh.c (__ctanh): Likewise.
4040 * math/s_ctanhf.c (__ctanhf): Likewise.
4041 * math/s_ctanhl.c (__ctanhl): Likewise.
4042 * math/s_ctanl.c (__ctanl): Likewise.
4043 * math/libm-test.inc (ctan_test_tonearest): New function.
4044 (ctan_test_towardzero): Likewise.
4045 (ctan_test_downward): Likewise.
4046 (ctan_test_upward): Likewise.
4047 (ctanh_test_tonearest): Likewise.
4048 (ctanh_test_towardzero): Likewise.
4049 (ctanh_test_downward): Likewise.
4050 (ctanh_test_upward): Likewise.
4051 (main): Call these new functions.
4052 * sysdeps/i386/fpu/libm-test-ulps: Update.
4053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4055 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4057 * .gitignore: Delete /ports entry.
4059 2012-07-03 Andreas Jaeger <aj@suse.de>
4061 * po/bg.po: Update from translation team.
4062 * po/cs.po: Likewise.
4063 * po/de.po: Likewise.
4064 * po/hr.po: Likewise.
4065 * po/nl.pl: Likewise.
4066 * po/pl.po: Likewise.
4067 * po/vi.po: Likewise.
4069 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4071 * Makeconfig [!+link] (+link-before-libc): New variable.
4072 [!+link] (+link-after-libc): Likewise.
4073 [!+link] (+link-tests): Likewise.
4074 [!+link] (+link): Define in terms of $(+link-before-libc) and
4075 $(+link-after-libc).
4076 [!+link-static] (+link-static-before-libc): New variable.
4077 [!+link-static] (+link-static-after-libc): Likewise.
4078 [!+link-static] (+link-static-tests): Likewise.
4079 [!+link-static] (+link-static): Define in terms of
4080 $(+link-static-before-libc) and $(+link-static-after-libc).
4081 [build-shared] (link-libc-before-gnulib): New variable.
4082 [build-shared] (link-libc-tests): Likewise.
4083 [build-shared] (link-libc): Define in terms of
4084 $(link-libc-before-gnulib).
4085 [!build-shared] (link-libc-tests): New variable.
4086 (link-libc-static-tests): New variable.
4087 [!gnulib] (gnulib-arch): New variable.
4088 [!gnulib] (gnulib-tests): Likewise.
4089 [!gnulib] (static-gnulib-arch): Likewise.
4090 [!gnulib] (static-gnulib-tests): Likewise.
4091 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4092 Define with "=" instead of ":=".
4093 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4094 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4095 * Rules (binaries-all-notests): New variable.
4096 (binaries-all-tests): Likewise.
4097 (binaries-static-notests): Likewise.
4098 (binaries-static-tests): Likewise.
4099 (binaries-all): Define using $(binaries-all-notests) and
4100 $(binaries-all-tests).
4101 (binaries-static): Define using $(binaries-static-notests) and
4102 $(binaries-static-tests).
4103 (binaries-shared-tests): New variable.
4104 (binaries-shared-notests): Likewise.
4105 (binaries-shared): Remove variable.
4106 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4107 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4108 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4109 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4110 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4111 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4112 * elf/Makefile (sln-modules): New variable.
4113 (extra-objs): Add $(sln-modules:=.o).
4114 (ldconfig-modules): Add static-stubs.
4115 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4116 * elf/static-stubs.c: New file.
4119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4120 by 7 not 8 to examine high bit of fractional part. Use volatile
4121 variables when splitting into final array of floats if
4122 __FLT_EVAL_METHOD__ != 0.
4123 * math/libm-test.inc (cos_test): Add another test.
4124 (sin_test): Likewise.
4125 * sysdeps/i386/fpu/libm-test-ulps: Update.
4128 * math/libm-test.inc (cosh_test): Add more tests.
4130 * version.h (RELEASE): Set to "development".
4131 (VERSION): Set to "2.16.90".
4133 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4135 * NEWS: Update copyright. Remove last-updated date.
4136 Mention math library bug fixes and timezone data changes.
4137 * README: Mention GNU/Hurd, x32, and HPPA support status.
4139 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4141 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4143 2012-06-27 Andreas Jaeger <aj@suse.de>
4145 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4147 2012-06-25 Andreas Jaeger <aj@suse.de>
4149 * sysdeps/s390/fpu/libm-test-ulps: Update.
4151 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4152 Thomas Schwinge <thomas@codesourcery.com>
4154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4155 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4159 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4161 * sysdeps/mach/start.c: Remove file.
4162 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4163 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4164 * sysdeps/sh/init-first.c: Likewise.
4166 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4167 registers for frame unwinding purposes, add CFI directives.
4168 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4170 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4173 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4174 __fortify_fail returning.
4175 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4178 sysdeps/sh/____longjmp_chk.S.
4179 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4180 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4181 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4182 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4184 * sysdeps/sh/abort-instr.h: New file.
4185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4186 process in case exit returns.
4188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4189 initialize the GOT register before use.
4191 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4192 calculation of ARGC > 4.
4194 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4195 meaningful names to some local labels.
4197 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4198 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4201 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4202 (__arch_compare_and_exchange_val_16_acq): Likewise.
4203 (__arch_compare_and_exchange_val_32_acq): Likewise.
4204 (atomic_exchange_and_add): Fix gUSA sequence.
4205 (atomic_add): Likewise.
4206 (atomic_add_negative): Likewise.
4207 (atomic_add_zero): Likewise.
4208 (atomic_bit_test_set): Likewise.
4210 2012-06-22 Andreas Schwab <schwab@redhat.com>
4213 * include/link.h (struct link_map): Add l_free_initfini.
4214 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4216 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4217 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4218 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4221 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4223 * configure.in: Use AC_LANG_SOURCE.
4224 * configure: Regenerate.
4226 2012-06-22 Roland McGrath <roland@hack.frob.com>
4228 * configure.in (libc_cv_localstatedir): New substituted variable.
4229 * configure: Regenerated.
4230 * config.make.in (localstatedir): New variable, substituted from
4231 libc_cv_localstatedir.
4232 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4233 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4234 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4235 * sysdeps/gnu/configure: Regenerated.
4237 2012-06-21 Jeff Law <law@redhat.com>
4240 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4241 free. Simplify list management for _LIBC case.
4243 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4247 Clear sign bit of 64-bit integer value before comparing against
4250 * sysdeps/mach/configure: Regenerated.
4252 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4255 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4257 2012-06-21 Jeff Law <law@redhat.com>
4260 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4261 uint16_t for elements in the "seen" array to avoid char overflows.
4262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4263 * elf/dl-open.c (dl_open_worker): Likewise.
4265 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4267 * scripts/list-sources.sh: Scan PORTS for translations.
4268 * po/libc.pot: Regenerated.
4270 2012-06-21 Andreas Jaeger <aj@suse.de>
4273 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4275 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4276 * bits/byteswap-16.h (__bswap_16): Likewise.
4277 * bits/byteswap.h (__bswap_constant_16): Likewise.
4279 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4282 * sysdeps/i386/fpu_control.h: Removed.
4283 * sysdeps/x86_64/fpu_control.h: Moved to ...
4284 * sysdeps/x86/fpu_control.h: Here.
4286 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4287 (_FPU_SETCW): Likewise.
4289 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4292 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4293 * sysdeps/x86/fpu/bits/mathinline.h: This.
4294 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4298 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4299 functions if __x86_64__ is defined.
4301 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4303 * string/endian.h: Add !__ASSEMBLER__ condition for including
4304 conversion interfaces.
4306 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4310 of ABS(x) in calculating zero to negative powers other than odd
4312 * math/libm-test.inc (pow_test): Add more tests.
4314 2012-06-15 Andreas Jaeger <aj@suse.de>
4316 * manual/contrib.texi (Contributors): Update entry of Liubov
4317 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4320 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4322 * string/string.h: Add __wur to GNU version of strerror_r.
4324 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4327 * string/Makefile (tests): Add tst-strtok_r.
4328 * string/tst-strtok_r.c: New file.
4329 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4330 RAX_LP/RDX_LP on SAVE_PTR.
4332 2012-06-14 Roland McGrath <roland@hack.frob.com>
4334 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4336 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4338 * libm_test.inc (csqrt_test): Allow more spurious underflow
4340 (j0_test): Likewise.
4341 (j1_test): Likewise.
4342 (y0_test): Likewise.
4343 (y1_test): Likewise.
4345 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4347 * po/Makefile (libc.pot): Use UTF-8 charset.
4349 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4352 Suppress sign-conversion warning from FD_SET.
4353 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4354 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4355 not unsigned long int.
4356 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4358 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4362 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4363 __extern_always_inline instead of __extern_inline.
4364 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4365 (__signbit): Likewise.
4366 (__signbitl): Support C++ namespace.
4367 (lrintf): New inline function.
4369 (llrintf): Likewise.
4381 (nearbyint): Likewise.
4382 (nearbyintf): Likewise.
4384 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4387 non-default versions.
4389 2012-06-11 Roland McGrath <roland@hack.frob.com>
4392 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4394 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4396 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4397 (FE_UPWARD, FE_DOWNWARD): Don't define.
4398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4404 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4406 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4408 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4413 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4416 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4417 * sysdeps/i386/fpu/Implies: New file.
4418 * sysdeps/x86_64/fpu/Implies: Likewise.
4419 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4420 * sysdeps/x86/fpu/bits/fenv.h: This.
4422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4425 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4428 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4429 character 0xffff that matches the last element of the
4432 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4437 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4440 values higher than 25.6283.
4442 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4445 subnormal exponent extraction and add some __builtin_expect.
4446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4447 Fix for subnormal mantissa calculation.
4449 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4451 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4452 cpu2 is -1 and errno is not ENOSYS.
4454 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4457 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4458 * sysdeps/x86/bits/string.h: This.
4459 * sysdeps/x86_64/bits/string.h: Removed.
4461 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4462 if not compiling for x86-64, but compiling for >= i486.
4464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4465 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4468 New macro from Linux kernel 3.4.0.
4469 (FP_XSTATE_MAGIC2): Likewise.
4470 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4471 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4472 (struct _fpx_sw_bytes): New struct.
4473 (struct _xsave_hdr): Likewise.
4474 (struct _ymmh_state): Likewise.
4475 (struct _xstate): Likewise.
4477 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4478 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4480 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4482 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4484 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4485 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4486 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4487 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4488 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4489 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4491 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4494 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4495 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4496 (sysdep_headers): Include sys/platform/ppc.h.
4497 * sysdeps/powerpc/test-gettimebase.c: Test for
4498 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4499 * manual/Makefile (appendices): Include platform.texi.
4500 * manual/contrib.texi (Contributors): Update @node pointers.
4501 * manual/maint.texi (Maintenance): Likewise.
4502 (Platform): New node.
4503 * manual/platform.texi: New file. Document the new features.
4505 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4506 Jakub Jelinek <jakub@redhat.com>
4509 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4510 where __builtin_expect is unavailable.
4512 2012-06-03 David S. Miller <davem@davemloft.net>
4514 * stdlib/longlong.h: Updated from GCC.
4516 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4519 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4520 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4523 (GLIBC_2.16): Likewise.
4525 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4527 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4529 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4532 (default-abi): New variable.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4536 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4538 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4540 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4543 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4544 definition. Document in comment.
4546 2012-06-01 David S. Miller <davem@davemloft.net>
4548 * stdlib/longlong.h: Updated from GCC.
4550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4553 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4554 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4555 sys/debugreg.h sys/io.h here.
4556 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4557 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4559 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4560 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4562 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4564 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4567 Define only if __x86_64__ is defined.
4569 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4573 Use int64_t for variable i.
4574 * math/libm-test.inc (fmod_test): Add more tests.
4576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4577 z computation is not scheduled after fetestexcept.
4578 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4579 Use math_force_eval instead of asm to ensure calculation scheduled
4580 before exception test.
4581 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4582 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4584 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4587 computation is not scheduled after fetestexcept.
4589 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4592 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4595 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4597 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4598 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4600 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4603 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4605 (__WCHAR_MIN): Support __WORDSIZE == 64.
4606 (__WCHAR_MAX): Likewise.
4608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4613 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4616 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4620 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4622 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4623 Defined to 1 if __x86_64__ isn't defined.
4624 (_STAT_VER_LINUX_OLD): New.
4625 (st_atime): Remove duplicate.
4626 (st_mtime): Likewise.
4627 (st_ctime): Likewise.
4629 2012-05-31 David S. Miller <davem@davemloft.net>
4631 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4634 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4636 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4640 * elf/dl-reloc.c: Include <_itoa.h>.
4641 (_dl_reloc_bad_type): Remove use of INTUSE.
4642 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4643 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4644 * stdio-common/psiginfo.c (psiginfo): Likewise.
4645 * stdio-common/psignal.c (psignal): Likewise.
4646 * string/strsignal.c (strsignal): Likewise.
4647 * include/signal.h (_sys_siglist): Declare hidden proto.
4648 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4649 INTVARDEF with libc_hidden_data_def.
4650 * stdio-common/itoa-udigits.c: Likewise.
4651 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4652 (_itoa_lower_digits_internal): Remove declaration.
4653 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4654 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4655 (_sys_sigabbrev_internal): Remove aliases.
4656 (_sys_siglist): Define hidden alias.
4658 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4663 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4666 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4667 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4669 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4670 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4671 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4672 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4674 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4676 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4677 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4678 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4680 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4690 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4692 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4693 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4695 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4699 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4700 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4702 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4703 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4709 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4710 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4712 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4714 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4715 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4716 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4718 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4720 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4722 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4724 * math/math.h (M_El): Use two more decimal places.
4725 (M_LOG2El): Likewise.
4726 (M_LOG10El): Likewise.
4728 (M_LN10l): Likewise.
4730 (M_PI_2l): Likewise.
4731 (M_PI_4l): Likewise.
4732 (M_1_PIl): Likewise.
4733 (M_2_PIl): Likewise.
4734 (M_2_SQRTPIl): Likewise.
4735 (M_SQRT2l): Likewise.
4736 (M_SQRT1_2l): Likewise.
4738 2012-05-31 David S. Miller <davem@davemloft.net>
4740 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4741 values between float registers.
4742 * sysdeps/sparc/sparc64/memset.S: Likewise.
4743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4745 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4747 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4748 -D_FORTIFY_SOURCE=1.
4749 (CPPFLAGS-tst-longjmp_chk.c): Define.
4750 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4751 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4752 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4753 CFLAGS-tst-wchar-h.c.
4755 2012-05-31 Marek Polacek <polacek@redhat.com>
4758 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4759 __endmntent_internal): Remove declaration.
4760 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4761 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4762 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4764 2012-05-30 David S. Miller <davem@davemloft.net>
4766 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4767 (___Q_simulate_exceptions): Use real FP ops rather than writing
4769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4772 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4775 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4776 * sysdeps/x86/bits/xtitypes.h: This.
4778 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4779 * sysdeps/x86/bits/wordsize.h: This.
4781 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4782 * sysdeps/x86/bits/huge_vall.h: This.
4784 * sysdeps/i386/bits/select.h: Removed.
4785 * sysdeps/x86_64/bits/select.h: Renamed to ...
4786 * sysdeps/x86/bits/select.h: This.
4788 * sysdeps/i386/bits/setjmp.h: Removed.
4789 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4790 * sysdeps/x86/bits/setjmp.h: This.
4792 * sysdeps/i386/bits/mathdef.h: Removed.
4793 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4794 * sysdeps/x86/bits/mathdef.h: This.
4796 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4799 * include/sys/socket.h (__connect_internal)
4800 (__libc_sa_len_internal): Remove declaration.
4801 (__connect, __libc_sa_len): Declare hidden_proto.
4802 (SA_LEN): Remove use of INTUSE.
4803 * socket/connect.c: Add libc_hidden_def.
4804 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4805 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4806 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4810 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4811 of adding _internal alias.
4813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4816 * sysdeps/i386/bits/link.h: Removed.
4817 * sysdeps/i386/bits/linkmap.h: Likewise.
4818 * sysdeps/x86_64/bits/link.h: Renamed to ...
4819 * sysdeps/x86/bits/link.h: This.
4820 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4821 * sysdeps/x86/bits/linkmap.h: This.
4823 * sysdeps/i386/bits/endian.h: Removed.
4824 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4825 * sysdeps/x86/bits/endian.h: This.
4827 * sysdeps/i386/bits/byteswap.h: Removed.
4828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4829 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4830 * sysdeps/x86/bits/byteswap.h: This.
4831 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4832 * sysdeps/x86/bits/byteswap-16.h: This.
4833 * sysdeps/i386/Implies: Add x86.
4834 * sysdeps/x86_64/Implies: Likewise.
4836 2012-05-30 David S. Miller <davem@davemloft.net>
4838 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4839 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4841 (FP_TRAPPING_EXCEPTIONS): Define.
4842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4843 (FP_TRAPPING_EXCEPTIONS): Define.
4844 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4845 subnormals only when inexact has been signalled or underflow
4846 exceptions are enabled.
4847 (_FP_PACK_CANONICAL): Likewise.
4849 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4853 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4855 2012-05-30 Richard Henderson <rth@twiddle.net>
4857 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4858 with #ifndef NOT_IN_libc.
4860 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4861 marked to avoid plt entry.
4863 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4866 * Makeconfig (default-abi): New macro.
4867 (abi-includes): Likewise.
4868 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4869 $(abi-$(default-abi)-lib-soname) for soname if defined.
4870 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4872 * Makefile (installed-stubs): Likewise.
4873 * include/stubs-biarch.h: Removed.
4874 * scripts/lib-names.awk: Only handle one library at a time.
4875 * scripts/soversions.awk: Remove WORDSIZE support.
4876 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4880 (syscall-list-default-condition): Likewise.
4881 (syscall-list-default-condition): Likewise.
4882 (syscall-list-includes): Likewise.
4883 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4884 syscall-list-* with abi-*. Handle undefined abi-variants.
4885 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4886 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4887 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4888 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4889 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4890 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4892 (syscall-list-32-options): Likewise.
4893 (syscall-list-32-condition): Likewise.
4894 (syscall-list-64-options): Likewise.
4895 (syscall-list-64-condition): Likewise.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4898 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4901 (abi-64-ld-soname): New macro.
4902 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4906 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4907 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4909 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/unix/sysv/linux/kernel-features.h
4912 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4913 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4914 include <kernel-features.h>.
4915 [!__NR_ftruncate64]: Remove conditional code.
4916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4917 [__NR_ftruncate64]: Make code unconditional.
4918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4919 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4920 include <kernel-features.h>.
4921 [!__NR_ftruncate64]: Remove conditional code.
4922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4923 [__NR_ftruncate64]: Make code unconditional.
4924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4926 include <kernel-features.h>.
4927 [!__NR_ftruncate64]: Remove conditional code.
4928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4929 [__NR_ftruncate64]: Make code unconditional.
4930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4932 include <kernel-features.h>.
4933 [!__NR_ftruncate64]: Remove conditional code.
4934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4935 [__NR_ftruncate64]: Make code unconditional.
4936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4938 * configure.in (libc_cv_fpie): Weaken to a compile test using
4940 * configure: Regenerated.
4942 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4957 2012-05-27 David S. Miller <davem@davemloft.net>
4959 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4961 (__Q_simulate_exceptions): Return void. Change to simulate
4962 exceptions by writing into the %fsr.
4963 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4964 (__Qp_handle_exceptions): Likewise.
4966 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4967 __Qp_handle_exceptions.
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4969 __Qp_handle_exceptions.
4970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4971 as unused and give dummy FP_RND_NEAREST initializer.
4972 (FP_INHIBIT_RESULTS): Define.
4973 (___Q_simulate_exceptions): Update declaration.
4974 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4977 as unused and give dummy FP_RND_NEAREST initializer.
4978 (__Qp_handle_exceptions): Update declaration.
4979 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4982 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4985 the temporary FPU control word.
4986 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4987 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4992 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4993 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4994 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4995 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4998 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5000 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5003 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5005 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5006 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5007 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5008 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5010 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5011 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5014 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5016 * po/h.po: Update from translation team.
5018 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5020 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5022 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5023 handling of denormals.
5024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5025 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5026 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5033 2012-05-26 Marek Polacek <polacek@redhat.com>
5036 * math/libm-test.inc (fma_test): Don't always expect underflow
5039 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5042 * elf/tst-execstack.c: Include stackinfo.h.
5043 (do_test): Adjust test case to ensure that pthread_getattr_np
5044 behaviour remains the same after marking stack executable.
5046 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5048 * sysdeps/unix/sysv/linux/kernel-features.h
5049 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5050 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5052 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5053 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5054 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5056 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5057 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5059 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5061 * configure.in: Define the default includes to being none.
5062 * configure: Regenerated.
5064 2012-05-25 Roland McGrath <roland@hack.frob.com>
5066 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5067 * sysdeps/x86_64/setjmp.S: Likewise.
5068 * sysdeps/i386/bsd-setjmp.S: Likewise.
5069 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5070 * sysdeps/i386/setjmp.S: Likewise.
5071 * sysdeps/i386/__longjmp.S: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5075 * include/stap-probe.h: New file.
5076 * configure.in: Handle --enable-systemtap.
5077 * configure: Regenerated.
5078 * config.h.in (USE_STAP_PROBE): New #undef.
5079 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5080 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5081 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5083 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5087 to 2.4.0 where earlier.
5088 * sysdeps/unix/sysv/linux/configure: Regenerated.
5089 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5090 <kernel-features.h>.
5091 [__ASSUME_32BITUIDS]: Make code unconditional.
5092 [!__ASSUME_32BITUIDS]: Remove conditional code.
5093 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5094 <kernel-features.h>.
5095 [__ASSUME_32BITUIDS]: Make code unconditional.
5096 [!__ASSUME_32BITUIDS]: Remove conditional code.
5097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5098 [__ASSUME_32BITUIDS]: Make code unconditional.
5099 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5100 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5101 <kernel-features.h>.
5102 [__ASSUME_32BITUIDS]: Make code unconditional.
5103 [!__ASSUME_32BITUIDS]: Remove conditional code.
5104 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5105 <kernel-features.h>.
5106 [__ASSUME_32BITUIDS]: Make code unconditional.
5107 [!__ASSUME_32BITUIDS]: Remove conditional code.
5108 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5109 <kernel-features.h>.
5110 [__ASSUME_32BITUIDS]: Make code unconditional.
5111 [!__ASSUME_32BITUIDS]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5113 <kernel-features.h>.
5114 [__ASSUME_32BITUIDS]: Make code unconditional.
5115 [!__ASSUME_32BITUIDS]: Remove conditional code.
5116 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5117 <kernel-features.h>.
5118 [__ASSUME_32BITUIDS]: Make code unconditional.
5119 [!__ASSUME_32BITUIDS]: Remove conditional code.
5120 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5121 <kernel-features.h>.
5122 [__ASSUME_32BITUIDS]: Make code unconditional.
5123 [!__ASSUME_32BITUIDS]: Remove conditional code.
5124 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5125 <kernel-features.h>.
5126 [__ASSUME_32BITUIDS]: Make code unconditional.
5127 [!__ASSUME_32BITUIDS]: Remove conditional code.
5128 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5129 <kernel-features.h>.
5130 [__ASSUME_32BITUIDS]: Make code unconditional.
5131 [!__ASSUME_32BITUIDS]: Remove conditional code.
5132 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5133 <kernel-features.h>.
5134 [__ASSUME_32BITUIDS]: Make code unconditional.
5135 [!__ASSUME_32BITUIDS]: Remove conditional code.
5136 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5137 <kernel-features.h>.
5138 [__ASSUME_32BITUIDS]: Make code unconditional.
5139 [!__ASSUME_32BITUIDS]: Remove conditional code.
5140 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5141 <kernel-features.h>.
5142 [__NR_setresgid] (__setresgid): Do not declare.
5143 [__ASSUME_32BITUIDS]: Make code unconditional.
5144 [!__ASSUME_32BITUIDS]: Remove conditional code.
5145 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5146 <kernel-features.h>.
5147 [__NR_setresuid] (__setresuid): Do not declare.
5148 [__ASSUME_32BITUIDS]: Make code unconditional.
5149 [!__ASSUME_32BITUIDS]: Remove conditional code.
5150 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5151 <kernel-features.h>.
5152 [__ASSUME_32BITUIDS]: Make code unconditional.
5153 [!__ASSUME_32BITUIDS]: Remove conditional code.
5154 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5155 <kernel-features.h>.
5156 [__ASSUME_32BITUIDS]: Make code unconditional.
5157 [!__ASSUME_32BITUIDS]: Remove conditional code.
5158 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5159 <kernel-features.h>.
5160 [__ASSUME_32BITUIDS]: Make code unconditional.
5161 [!__ASSUME_32BITUIDS]: Remove conditional code.
5162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5163 <kernel-features.h>.
5164 [__ASSUME_32BITUIDS]: Make code unconditional.
5165 [!__ASSUME_32BITUIDS]: Remove conditional code.
5166 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5167 <kernel-features.h>.
5168 [__ASSUME_32BITUIDS]: Make code unconditional.
5169 [!__ASSUME_32BITUIDS]: Remove conditional code.
5170 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5171 <kernel-features.h>.
5172 [__ASSUME_32BITUIDS]: Make code unconditional.
5173 [!__ASSUME_32BITUIDS]: Remove conditional code.
5174 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5175 <kernel-features.h>.
5176 [__ASSUME_32BITUIDS]: Make code unconditional.
5177 [!__ASSUME_32BITUIDS]: Remove conditional code.
5178 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5179 <kernel-features.h>.
5180 [__ASSUME_32BITUIDS]: Make code unconditional.
5181 [!__ASSUME_32BITUIDS]: Remove conditional code.
5182 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5183 <kernel-features.h>.
5184 [__ASSUME_32BITUIDS]: Make code unconditional.
5185 [!__ASSUME_32BITUIDS]: Remove conditional code.
5186 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5187 <kernel-features.h>.
5188 [__ASSUME_32BITUIDS]: Make code unconditional.
5189 [!__ASSUME_32BITUIDS]: Remove conditional code.
5190 * sysdeps/unix/sysv/linux/kernel-features.h
5191 (__ASSUME_SETRESUID_SYSCALL): Remove.
5192 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5193 (__ASSUME_32BITUIDS): Likewise.
5194 (__ASSUME_LDT_WORKS): Likewise.
5195 (__ASSUME_O_DIRECTORY): Likewise.
5196 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5197 architecture but not kernel version.
5198 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5199 (__ASSUME_MMAP2_SYSCALL): Likewise.
5200 (__ASSUME_STAT64_SYSCALL): Likewise.
5201 (__ASSUME_IPC64): Likewise.
5202 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5203 <kernel-features.h>.
5204 [__ASSUME_32BITUIDS]: Make code unconditional.
5205 [!__ASSUME_32BITUIDS]: Remove conditional code.
5206 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5207 <kernel-features.h>.
5208 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5209 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5210 132096]: Remove conditional code.
5211 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5212 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5213 <kernel-features.h>.
5214 [__ASSUME_32BITUIDS]: Make code unconditional.
5215 [!__ASSUME_32BITUIDS]: Remove conditional code.
5216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5217 <kernel-features.h>.
5218 [__ASSUME_32BITUIDS]: Make code unconditional.
5219 [!__ASSUME_32BITUIDS]: Remove conditional code.
5220 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5221 <kernel-features.h>.
5222 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5224 (__setresgid): Do not declare.
5225 [__ASSUME_32BITUIDS]: Make code unconditional.
5226 [!__ASSUME_32BITUIDS]: Remove conditional code.
5227 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5228 <kernel-features.h>.
5229 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5231 (__setresuid): Do not declare.
5232 [__ASSUME_32BITUIDS]: Make code unconditional.
5233 [!__ASSUME_32BITUIDS]: Remove conditional code.
5234 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5235 <kernel-features.h>.
5236 [__ASSUME_32BITUIDS]: Make code unconditional.
5237 [!__ASSUME_32BITUIDS]: Remove conditional code.
5238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5239 <kernel-features.h>.
5240 [__ASSUME_32BITUIDS]: Make code unconditional.
5241 [!__ASSUME_32BITUIDS]: Remove conditional code.
5243 2012-05-25 Richard Henderson <rth@twiddle.net>
5245 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5246 dl_hwcap to ifunc resolver.
5247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5250 dl_hwcap to ifunc resolver.
5251 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5253 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5257 for |x| <= 2**-26, not 2**-57.
5258 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5261 2012-05-24 Jeff Law <law@redhat.com>
5263 * stdio-common/Makefile (tests): Add bug25.
5264 * stdio-common/bug25.c: New test.
5266 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5269 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5270 multiple of MALLOC_ALIGNMENT in size.
5271 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5273 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5275 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5277 (FILENAME_MAX): Use macro-int-constant.
5278 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5279 (_IOFBF): Use macro-int-constant.
5282 (SEEK_CUR): Likewise.
5283 (SEEK_END): Likewise.
5284 (SEEK_SET): Likewise.
5285 (TMP_MAX): Likewise.
5286 (EOF): Use macro-int-constant. Require < 0.
5287 (NULL): Use macro-constant. Require == 0.
5288 (stdin): Require type to be FILE *.
5291 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5293 (EXIT_SUCCESS): Likewise.
5294 (NULL): Use macro-constant. Require == 0.
5295 (RAND_MAX): Use macro-int-constant.
5296 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5297 [C99-based standards] (strtof): Require function.
5298 [C99-based standards] (strtold): Likewise.
5299 [C99-based standards] (strtoll): Likewise.
5300 [C99-based standards] (strtoull): Likewise.
5301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5302 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5303 [ISO || ISO99 || ISO11] (math.h): Likewise.
5304 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5305 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5308 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5311 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5312 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5313 * intl/dgettext.c (DCGETTEXT): Likewise.
5314 * intl/gettext.c (DCGETTEXT): Likewise.
5315 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5316 * posix/regex_internal.h (gettext): Likewise.
5317 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5319 * include/argz.h (__argz_count_internal)
5320 (__argz_stringify_internal): Remove declaration.
5321 (__argz_count, __argz_stringify): Declare hidden proto.
5322 * intl/dcgettext.c: Remove use of INTDEF.
5323 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5324 * string/argz-stringify.c: Likewise.
5325 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5326 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5327 Declare hidden proto.
5328 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5329 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5330 Declare hidden proto.
5331 * include/stdio.h (__asprintf_internal): Don't declare.
5332 (__asprintf): Don't define as macro. Declare hidden proto.
5333 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5334 (__fsetlocking): Declare hidden proto.
5335 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5336 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5338 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5339 (_IO_setlinebuf): Remove use of INTUSE.
5340 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5341 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5342 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5344 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5345 (_IO_do_flush): Remove use of INTUSE.
5346 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5347 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5348 (_IO_adjust_column, _IO_least_wmarker)
5349 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5350 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5351 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5352 (_IO_default_doallocate, _IO_wdefault_doallocate)
5353 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5354 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5355 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5356 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5357 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5358 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5359 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5360 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5361 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5362 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5363 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5364 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5365 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5367 (_IO_flush_all_internal, _IO_adjust_column_internal)
5368 (_IO_default_uflow_internal, _IO_default_finish_internal)
5369 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5370 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5371 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5372 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5373 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5374 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5375 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5376 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5377 (_IO_file_close_internal, _IO_file_close_it_internal)
5378 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5379 (_IO_file_init_internal, _IO_file_attach_internal)
5380 (_IO_file_fopen_internal, _IO_file_read_internal)
5381 (_IO_file_sync_internal, _IO_file_seek_internal)
5382 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5383 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5384 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5385 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5386 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5387 (_IO_list_all_internal, _IO_link_in_internal)
5388 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5389 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5390 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5391 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5392 (_IO_do_write_internal, _IO_padn_internal)
5393 (_IO_getline_info_internal, _IO_getline_internal)
5394 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5395 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5396 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5397 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5398 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5399 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5400 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5401 with libc_hidden_ver, remove use of INTUSE.
5402 * libio/genops.c: Likewise.
5403 * libio/freopen.c: Likewise.
5404 * libio/freopen64.c: Likewise.
5405 * libio/iofclose.c: Likewise.
5406 * libio/iofdopen.c: Likewise.
5407 * libio/iofflush.c: Likewise.
5408 * libio/iofflush_u.c: Likewise.
5409 * libio/iofgets.c: Likewise.
5410 * libio/iofgets_u.c: Likewise.
5411 * libio/iofopen.c: Likewise.
5412 * libio/iofopncook.c: Likewise.
5413 * libio/iofread.c: Likewise.
5414 * libio/iofread_u.c: Likewise.
5415 * libio/ioftell.c: Likewise.
5416 * libio/iofwrite.c: Likewise.
5417 * libio/iogetline.c: Likewise.
5418 * libio/iogets.c: Likewise.
5419 * libio/iogetwline.c: Likewise.
5420 * libio/iopadn.c: Likewise.
5421 * libio/iopopen.c: Likewise.
5422 * libio/ioseekoff.c: Likewise.
5423 * libio/ioseekpos.c: Likewise.
5424 * libio/iosetbuffer.c: Likewise.
5425 * libio/iosetvbuf.c: Likewise.
5426 * libio/ioungetc.c: Likewise.
5427 * libio/ioungetwc.c: Likewise.
5428 * libio/iovdprintf.c: Likewise.
5429 * libio/iovsprintf.c: Likewise.
5430 * libio/iovsscanf.c: Likewise.
5431 * libio/memstream.c: Likewise.
5432 * libio/obprintf.c: Likewise.
5433 * libio/oldfileops.c: Likewise.
5434 * libio/oldiofclose.c: Likewise.
5435 * libio/oldiofdopen.c: Likewise.
5436 * libio/oldiofopen.c: Likewise.
5437 * libio/oldiopopen.c: Likewise.
5438 * libio/oldstdfiles.c: Likewise.
5439 * libio/putc.c: Likewise.
5440 * libio/setbuf.c: Likewise.
5441 * libio/setlinebuf.c: Likewise.
5442 * libio/stdfiles.c: Likewise.
5443 * libio/strops.c: Likewise.
5444 * libio/vasprintf.c: Likewise.
5445 * libio/vscanf.c: Likewise.
5446 * libio/vsnprintf.c: Likewise.
5447 * libio/vswprintf.c: Likewise.
5448 * libio/wfiledoalloc.c: Likewise.
5449 * libio/wfileops.c: Likewise.
5450 * libio/wgenops.c: Likewise.
5451 * libio/wmemstream.c: Likewise.
5452 * libio/wstrops.c: Likewise.
5453 * libio/__fpurge.c: Likewise.
5454 * libio/__fsetlocking.c: Likewise.
5455 * assert/assert.c: Likewise.
5456 * debug/fgets_chk.c: Likewise.
5457 * debug/fgets_u_chk.c: Likewise.
5458 * debug/fread_chk.c: Likewise.
5459 * debug/fread_u_chk.c: Likewise.
5460 * debug/gets_chk.c: Likewise.
5461 * debug/obprintf_chk.c: Likewise.
5462 * debug/vasprintf_chk.c: Likewise.
5463 * debug/vdprintf_chk.c: Likewise.
5464 * debug/vsnprintf_chk.c: Likewise.
5465 * debug/vsprintf_chk.c: Likewise.
5466 * malloc/mtrace.c: Likewise.
5467 * misc/error.c: Likewise.
5468 * misc/syslog.c: Likewise.
5469 * stdio-common/asprintf.c: Likewise.
5470 * stdio-common/fxprintf.c: Likewise.
5471 * stdio-common/getw.c: Likewise.
5472 * stdio-common/isoc99_fscanf.c: Likewise.
5473 * stdio-common/isoc99_scanf.c: Likewise.
5474 * stdio-common/isoc99_vfscanf.c: Likewise.
5475 * stdio-common/isoc99_vscanf.c: Likewise.
5476 * stdio-common/isoc99_vsscanf.c: Likewise.
5477 * stdio-common/printf-prs.c: Likewise.
5478 * stdio-common/printf_fp.c: Likewise.
5479 * stdio-common/printf_fphex.c: Likewise.
5480 * stdio-common/printf_size.c: Likewise.
5481 * stdio-common/putw.c: Likewise.
5482 * stdio-common/scanf.c: Likewise.
5483 * stdio-common/sprintf.c: Likewise.
5484 * stdio-common/tmpfile.c: Likewise.
5485 * stdio-common/vfprintf.c: Likewise.
5486 * stdio-common/vfscanf.c: Likewise.
5487 * stdlib/strfmon_l.c: Likewise.
5488 * sunrpc/openchild.c: Likewise.
5489 * sunrpc/xdr_stdio.c: Likewise.
5490 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5491 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5493 2012-05-24 Roland McGrath <roland@hack.frob.com>
5495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5497 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5498 in the third column, to generate for the shared library an IFUNC
5499 that uses _dl_vdso_vsym.
5500 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5501 * Makeconfig (object-suffixes-noshared): New variable.
5503 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5504 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5505 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5506 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5509 * include/sys/time.h (__gettimeofday): Remove macro.
5510 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5511 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5513 (__gettimeofday): Add libc_hidden_def.
5514 (gettimeofday): Add libc_hidden_weak.
5515 * sysdeps/mach/gettimeofday.c: Likewise.
5516 * sysdeps/posix/gettimeofday.c: Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5520 (__gettimeofday_internal): Remove strong_alias.
5521 (__gettimeofday): Add libc_hidden_def.
5522 (gettimeofday): Add libc_hidden_weak.
5523 * sysdeps/unix/syscalls.list (gettimeofday):
5524 Remove __gettimeofday_internal alias.
5526 2012-05-24 Daniel Jacobowitz <drow@false.org>
5527 H.J. Lu <hongjiu.lu@intel.com>
5530 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5531 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5532 (largebin_index_32_big): New.
5533 (largebin_index): Use it for 16-byte alignment.
5534 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5535 correction with front_misalign.
5537 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5565 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5566 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5568 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5572 * math/libm-test.inc (exp_test): Add test from bug 14036.
5573 (pow_test): Add test from bug 10846.
5575 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5577 (special_function): Do not include flags in test name.
5578 (parse_args): Likewise.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5581 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5582 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5587 * math/libm-test.inc ("Philosophy"): Update comment about
5589 (UNDERFLOW_EXCEPTION): New macro.
5590 (UNDERFLOW_EXCEPTION_OK): Likewise.
5591 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5592 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5593 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5594 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5595 (INVALID_EXCEPTION_OK): Update value.
5596 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5597 (OVERFLOW_EXCEPTION_OK): Likewise.
5598 (IGNORE_ZERO_INF_SIGN): Likewise.
5599 (test_exceptions): Handle underflow exceptions.
5600 (acos_test): Update for underflow exception expectations.
5601 (cexp_test): Likewise.
5602 (clog_test): Likewise.
5603 (clog10_test): Likewise.
5604 (csqrt_test): Likewise.
5605 (ctan_test): Likewise.
5606 (ctanh_test): Likewise.
5607 (exp_test): Likewise.
5608 (exp10_test): Likewise.
5609 (exp2_test): Likewise.
5610 (expm1_test): Likewise.
5611 (fma_test): Likewise.
5612 (j0_test): Likewise.
5613 (jn_test): Likewise.
5614 (nexttoward_test): Likewise.
5615 (pow_test): Likewise.
5616 (scalbn_test): Likewise.
5617 (scalbln_test): Likewise.
5618 (tan_test): Likewise.
5619 (y1_test): Likewise.
5620 * sysdeps/i386/fpu/libm-test-ulps: Update.
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5623 2012-05-23 David S. Miller <davem@davemloft.net>
5625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5626 (__libc_sigaction): Remove unused local variables.
5628 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5630 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5632 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5634 mktime: avoid signed integer overflow
5635 * time/mktime.c (__mktime_internal): Do not mishandle the case
5636 where diff == INT_MIN.
5638 mktime: simplify computation of average
5639 * time/mktime.c (ranged_convert): Use new time_t_avg function
5640 instead of rolling our own (probably-slower) code.
5642 mktime: do not assume signed right shift propagates sign bit
5643 * time/mktime.c (isdst_differ): New static function.
5644 (__mktime_internal): No need to normalize tm_isdst now.
5645 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5648 mktime: merge another wrapv change from gnulib
5649 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5650 from some compilers.
5652 mktime: remove incorrect attempt at unusual arithmetics
5653 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5654 The code didn't really work on such machines anyway.
5655 (TYPE_MINIMUM): Assume two's complement.
5656 (twos_complement_arithmetic): Verify that long_int and time_t
5657 are two's complement (or unsigned, in the latter case).
5659 mktime: check signed shifts on long_int and time_t, too
5660 * time/mktime.c (SHR): Check that shifts work as desired
5661 on the types long_int and time_t too, as SHR is used on
5664 mktime: do not assume 'long' is wide enough
5665 * time/mktime.c (verify): Move decl up.
5666 (long_int): New type.
5667 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5668 to remove assumption in the code that 'long' is wide enough to
5669 store year values. This assumption is not true on x32 and on
5670 some non-glibc platforms.
5672 mktime: merge wrapv change from gnulib
5673 * time/mktime.c (WRAPV): New macro.
5674 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5675 (guess_time_tm, __mktime_internal): Do not assume that signed
5676 integer overflow wraps around; modern compilers generate code
5677 where this assumption is no longer valid.
5679 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5681 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5682 Replace "jmp L(pseudo_end)" with "ret".
5683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5686 2012-05-23 Andreas Jaeger <aj@suse.de>
5688 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5689 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5691 2012-05-23 Andreas Jaeger <aj@suse.de>
5692 Maximilian Attems <max@stro.at>
5694 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5697 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5700 code so that pseudo_end is just ret and the stack pointer is
5701 correct also for static library in error case.
5703 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5706 move to syscalls.list.
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5712 * manual/install.texi (Running make install): Do not mention Linux
5713 kernel version for which pt_chown is not needed.
5714 (Linux): Do not mention problems with nscd with 2.0 kernels.
5715 * INSTALL: Regenerated.
5717 2012-05-23 Andreas Jaeger <aj@suse.de>
5719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5720 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5722 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5724 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5726 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5727 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5729 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5731 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5732 * sysdeps/unix/sysv/linux/bits/in.h
5733 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5735 2012-05-22 Roland McGrath <roland@hack.frob.com>
5737 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5738 (PREPARE_VERSION): Just use assert instead, it will be elided
5739 under [NDEBUG] anyway.
5741 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5743 * sysdeps/unix/sysv/linux/Makefile: Include
5744 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5745 (sysdep_routines): Remove sysctl.
5746 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5747 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5748 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5749 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5750 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5752 2012-05-22 Andreas Jaeger <aj@suse.de>
5754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5755 that pseudo_end is just ret and the stack pointer is correct also
5756 for static library in error case.
5758 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5761 * nss/nsswitch.c (defconfig_entries): New variable.
5762 (__nss_database_lookup): Don't leak defconfig entries.
5763 (nss_parse_service_list): Don't leak on error paths.
5764 (free_database_entries): New function.
5765 (free_defconfig): New function.
5766 (free_mem): Move common code to free_database_entries.
5768 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5772 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5774 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5775 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5778 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5779 (INTERNAL_SYSCALL_TYPES): Likewise.
5780 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5781 (LOAD_REGS_TYPES_[1-6]): Likewise.
5782 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5783 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5785 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5788 copysignl for GLIBC_2_0.
5789 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5790 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5792 logbl for GLIBC_2_0.
5793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5801 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5804 * time/mktime.c: Update copyright years.
5806 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5808 mktime: merge comment-quoting-style change from gnulib
5809 * time/mktime.c: Quote 'like this' in comments.
5810 The GNU coding standards suggest that we no longer quote `like this',
5811 as "`" and "'" are typically rendered asymmetrically nowadays.
5812 The typical gnulib style is to quote 'like this' when quoting
5813 code, and "like this" when quoting English.
5815 * time/mktime.c (compile-command): Add "-I.".
5817 mktime: merge mktime-internal.h change from gnulib
5818 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5820 mktime: merge time_r change from gnulib
5821 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5823 mktime: merge DEBUG change from gnulib
5824 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5825 case system <time.h> has a #define.
5827 mktime: merge <sys/types.h> change from gnulib
5828 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5829 since <time.t> is now guaranteed to define time_t.
5831 mktime: merge HAVE_CONFIG_H change from gnulib
5832 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5839 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5841 (struct rusage): Use anonymous union to pad each field to
5844 2012-05-21 David S. Miller <davem@davemloft.net>
5846 * Makefules (o-iterator): Remove .s cases.
5847 (compile-command.s): Delete.
5848 (COMPILE.s): Delete.
5849 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5851 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5853 * configure.in (libc_cv_predef_stack_protector): Only consider
5854 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5855 * configure: Regenerated.
5857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5860 New macro. Use R*LP on int and pointer.
5861 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5862 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5863 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5864 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5866 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5867 [__WORDSIZE_TIME64_COMPAT32] instead of
5868 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5869 (struct utmp): Likewise.
5870 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5871 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5873 (__WORDSIZE_TIME64_COMPAT32): This.
5874 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5875 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5876 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5878 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5879 (__WORDSIZE_TIME64_COMPAT32): New macro.
5881 2012-05-21 Andreas Jaeger <aj@suse.de>
5883 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5884 only if [SHARED]. Add prototype for __wcschr_ia32.
5886 2012-05-21 Roland McGrath <roland@hack.frob.com>
5888 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5889 of %rbp unmolested in the jmp_buf while mangling the low bits.
5890 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5891 unmolested high bits of %rbp while demangling the low bits.
5892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5894 2012-05-21 Andreas Jaeger <aj@suse.de>
5896 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5897 * sunrpc/svc_simple.c: Use it for registerrpc.
5898 * sunrpc/xcrypt.c: Use it for passwd2des.
5900 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5904 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5905 Don't define if [__SYSCALL_WORDSIZE != 32].
5906 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5909 2012-05-21 Bruno Haible <bruno@clisp.org>
5910 Andreas Jaeger <aj@suse.de>
5912 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5913 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5914 inptr and inend for must_buffer_ch.
5915 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5916 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5917 * stdio-common/Makefile (tests): Remove bug15.
5918 (bug15-ENV): Remove macro.
5919 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5922 2012-05-19 Andreas Jaeger <aj@suse.de>
5923 Roland McGrath <roland@hack.frob.com>
5925 * manual/contrib.texi: Completely rewritten. It contains now an
5926 alphabetical list of contributors and their contributions.
5928 2012-05-21 Richard Henderson <rth@twiddle.net>
5930 * misc/getauxval.c (__getauxval): Use unsigned long int.
5931 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5932 (getauxval): Use unsigned long int.
5934 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5938 2012-05-21 Roland McGrath <roland@hack.frob.com>
5940 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5941 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5942 __alignof__ (long double).
5944 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5948 2012-05-20 Richard Henderson <rth@twiddle.net>
5950 * misc/getauxval.c: New file.
5951 * misc/sys/auxv.h: New file.
5952 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5953 (routines): Add getauxval.
5954 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5956 * elf/dl-sysdep.c (_dl_auxv): Remove.
5957 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5958 * elf/dl-support.c (_dl_auxv): New variable.
5959 (_dl_aux_init): Initialize it.
5960 * manual/startup.texi (Auxiliary Vector): New node.
5961 * sysdeps/generic/bits/hwcap.h: New file.
5962 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5963 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5964 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5965 * sysdeps/sparc/sysdep.h: ... here. Include it.
5966 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5979 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5983 2012-05-19 David S. Miller <davem@davemloft.net>
5985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5987 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5990 * math/s_ccosh.c: Include <float.h>
5991 (__ccosh): Avoid internal overflow calculating sinh and cosh
5992 values before multiplying by sin and cos values.
5993 * math/s_ccoshf.c: Likewise.
5994 * math/s_ccoshl.c: Likewise.
5995 * math/s_csin.c: Likewise.
5996 * math/s_csinf.c: Likewise.
5997 * math/s_csinl.c: Likewise.
5998 * math/s_csinh.c: Likewise.
5999 * math/s_csinhf.c: Likewise.
6000 * math/s_csinhl.c: Likewise.
6001 * math/libm-test.inc (ccos_test): Add more tests.
6002 (ccosh_test): Likewise.
6003 (csin_test): Likewise.
6004 (csinh_test): Likewise.
6005 * sysdeps/i386/fpu/libm-test-ulps: Update.
6006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6011 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6013 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6015 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6017 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6018 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6019 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6020 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6021 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6022 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6023 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6024 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6025 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6026 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6027 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6028 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6029 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6030 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6031 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6032 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6033 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6034 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6035 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6036 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6037 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6038 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6039 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6040 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6041 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6042 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6043 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6044 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6045 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6046 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6047 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6049 2012-05-18 Andreas Jaeger <aj@suse.de>
6051 * csu/.gitignore: Delete.
6053 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6055 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6056 (timex): Use __syscall_slong_t.
6058 2012-05-18 Andreas Jaeger <aj@suse.de>
6059 Carlos O'Donell <carlos_odonell@mentor.com>
6061 * manual/install.texi (Configuring and compiling): Update
6062 description about files modified in the source directory.
6063 * INSTALL: Regenerated.
6065 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6067 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6068 value. Use "or" to set return value to -1.
6069 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6070 negate return value.
6072 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6074 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6075 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6076 failure if the compiler has Graphite support disabled.
6077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6079 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6080 CFLAGS-memmove.c): Likewise.
6081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6086 * sysdeps/x86_64/x32/_itoa.h: New file.
6088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6089 getdents system call only if kernel and user dirents have the
6090 same d_ino and d_off.
6092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6093 LLONG_MAX != LONG_MAX.
6094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6095 (_fitoa_word): Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6104 include <bits/wordsize.h>. Check __x86_64__ instead of
6106 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6107 if __x86_64__ is defined. Use anonymous union on fpstate.
6109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6112 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6114 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6115 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6117 Refer to _rtld_local_ro instead of _rtld_global_ro.
6118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6120 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6122 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6124 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6125 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6126 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6128 * sysdeps/powerpc/powerpc32/dl-machine.c
6129 (__elf_machine_runtime_setup) [PROF]: Don't reference
6132 2012-05-18 Andreas Jaeger <aj@suse.de>
6134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6135 function only available for GCCs before 3.4 since GCC 3.4
6136 introduced a builtin.
6138 (llrintf): Likewise.
6146 (nearbyint): Likewise.
6147 (nearbyintf): Likewise.
6153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6155 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6156 on both fields and cast pointer to __syscall_ulong_t.
6158 * bits/types.h (__fsword_t): New type.
6159 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6160 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6162 (__FSWORD_T_TYPE): Likewise.
6163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6164 (__FSWORD_T_TYPE): Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6166 (__FSWORD_T_TYPE): Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6168 (__FSWORD_T_TYPE): Likewise.
6169 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6170 __SWORD_TYPE with __fsword_t.
6171 (statfs64): Likewise.
6173 2012-05-17 David S. Miller <davem@davemloft.net>
6175 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6177 2012-05-17 Andreas Jaeger <aj@suse.de>
6179 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6182 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6184 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6186 2012-05-17 Andreas Jaeger <aj@suse.de>
6188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6191 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6193 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6195 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6197 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6198 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6200 2012-05-17 Andreas Jaeger <aj@suse.de>
6201 Carlos O'Donell <carlos_odonell@mentor.com>
6204 * sysdeps/x86_64/multiarch/init-arch.h
6205 (bit_YMM_Usable): Rename to...
6206 (bit_AVX_Usable): ... this.
6207 (bit_FMA4_Usable): New macro.
6208 (bit_XMM_state): New macro.
6209 (bit_YMM_state): New macro.
6210 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6211 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6212 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6213 (CPUID_OSXSAVE): New macro.
6214 (CPUID_AVX): New macro.
6215 (CPUID_FMA4): New macro.
6216 (index_YMM_Usable): Rename to...
6217 (index_AVX_Usable): ... this.
6218 (HAS_AVX): Use HAS_ARCH_FEATURE.
6219 (HAS_FMA4): Likewise.
6220 (HAS_YMM_USABLE): Remove.
6221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6222 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6224 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6225 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6226 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6227 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6228 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6230 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6232 * math/libm-test.c: Support platforms without multiple rounding modes.
6233 * math/bug-nextafter.c: Support platforms without FP exceptions.
6234 * math/bug-nexttoward.c: Likewise.
6235 * math/test-fenv.c: Likewise.
6236 * math/test-misc.c: Likewise.
6237 * stdlib/bug-getcontext.c: Likewise.
6239 2012-05-17 Andreas Jaeger <aj@suse.de>
6241 * manual/examples/search.c (critter_cmp): Change signature to
6243 * manual/string.texi (Collation Functions): Likewise.
6245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6247 * bits/types.h: Fold copyright years.
6248 * bits/typesizes.h: Likewise.
6249 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6253 * time/time.h: Likewise.
6255 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6258 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6259 in instead of returning them. Return void.
6260 (__libc_mallinfo): Accumulate over all arenas.
6261 (__malloc_stats): Adjust for change in int_mallinfo interface.
6263 2012-05-16 Roland McGrath <roland@hack.frob.com>
6266 * configure.in (NM): Add AC_CHECK_TOOL for it.
6267 (libc_extra_cflags): New substituted variable.
6268 Check for -fstack-protector being used implicitly.
6269 * configure: Regenerated.
6270 * config.make.in (config-extra-cflags): New variable,
6271 gets @libc_extra_cflags@.
6272 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6275 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6276 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6277 * configure: Regenerated.
6278 * config.make.in (CPPUNDEFS): New substituted variable.
6279 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6280 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6281 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6283 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6285 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6286 (mq_attr): Use __syscall_slong_t.
6288 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6291 Check __x86_64__ instead of __WORDSIZE.
6292 (_STAT_VER_LINUX): Likewise.
6293 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6294 __syscall_ulong_t and __syscall_slong_t.
6297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6307 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6310 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6311 include <bits/wordsize.h>. Check __x86_64__ instead of
6313 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6315 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6318 include <bits/wordsize.h>. Check __x86_64__ instead of
6320 (user_regs_struct): Use "__extension__ unsigned long long"
6321 instead of "unsigned long" if __x86_64__ is defined.
6322 (user): Likewise. Pad after pointer field if __ILP32__ is
6325 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6327 * configure.in (makeinfo): Require version 4.5 or later. Allow
6329 * configure: Regenerated.
6330 * manual/install.texi (texinfo): Increase version requirement to
6332 * INSTALL: Regenerated.
6334 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6336 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6338 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6340 * sysdeps/x86_64/x32/ffs.c: New file.
6342 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6344 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6345 defined. Use __syscall_ulong_t.
6346 (shminfo): Use __syscall_ulong_t.
6347 (shm_info): Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6352 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6354 (msgqnum_t): Use __syscall_ulong_t.
6355 (msglen_t): Likewise.
6356 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6362 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6364 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6365 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6367 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6370 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6371 include <bits/wordsize.h>. Check __x86_64__ instead of
6374 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6375 "unsigned long long int" if __x86_64__ is defined.
6376 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6380 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6384 (GET_PC): Cast to uintptr_t first.
6385 (GET_FRAME): Likewise.
6386 (GET_STACK): Likewise.
6388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6389 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6395 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6396 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6398 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6400 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6403 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6404 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6416 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6418 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6420 * Makerules (+depfiles): Also collect depfiles from .oS in
6422 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6423 .oS, $(libnldbl-routines)).
6425 * Makerules (native-compile-mkdep-flags): Define.
6426 * sunrpc/Makefile (extra-objs): Add $(addprefix
6427 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6428 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6429 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6430 calling $(make-target-directory).
6432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6434 * bits/types.h (__snseconds_t): Removed.
6435 * time/time.h (struct timespec): Replace __snseconds_t with
6437 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6438 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6441 (__SNSECONDS_T_TYPE): Likewise.
6442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6443 (__SNSECONDS_T_TYPE): Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6445 (__SNSECONDS_T_TYPE): Likewise.
6447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6449 * sysdeps/mach/hurd/bits/typesizes.h
6450 (__SYSCALL_SLONG_TYPE): New macro.
6451 (__SYSCALL_ULONG_TYPE): Likewise.
6453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6455 * bits/types.h (__syscall_slong_t): New type.
6456 (__syscall_ulong_t): Likewise.
6458 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6459 (__SYSCALL_ULONG_TYPE): Likewise.
6460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6461 (__SYSCALL_SLONG_TYPE): Likewise.
6462 (__SYSCALL_ULONG_TYPE): Likewise.
6463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6464 (__SYSCALL_SLONG_TYPE): Likewise.
6465 (__SYSCALL_ULONG_TYPE): Likewise.
6466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6467 (__SYSCALL_SLONG_TYPE): Likewise.
6468 (__SYSCALL_ULONG_TYPE): Likewise.
6470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6472 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6473 Add sigaltstack-offsets.sym.
6474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6475 <sigaltstack-offsets.h>.
6476 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6477 longjmp_msg pointer.
6478 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6479 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6481 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6483 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6485 * elf/stackguard-macros.h: Remove file.
6486 * sysdeps/generic/stackguard-macros.h: New file.
6487 * sysdeps/i386/stackguard-macros.h: Likewise.
6488 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6489 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6490 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6491 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6492 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6493 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6494 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6495 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6496 <elf/stackguard-macros.h>.
6499 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6500 __aligned__ in attribute.
6501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6502 (gregset_t): Likewise.
6504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6506 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6507 * sysdeps/x86_64/64/Implies-after: Here. New file.
6508 * sysdeps/x86_64/x32/Implies-after: New file.
6510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6512 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6513 and access return value for _dl_profile_fixup. Use R10_LP to
6516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6522 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6523 * sysdeps/x86_64/x32/sysdep.h: New file.
6525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6527 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6528 * sysdeps/x86_64/setjmp.S: Likewise.
6530 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6534 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6536 remove unused global constant.
6538 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6540 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6541 include of <not-cancel.h>.
6543 2012-05-15 Roland McGrath <roland@hack.frob.com>
6545 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6547 2012-05-15 Jeff Law <law@redhat.com>
6548 Andreas Jaeger <aj@suse.de>
6551 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6553 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6554 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6555 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6556 code changing __hst_map_handle.map.
6558 2012-05-15 Roland McGrath <roland@hack.frob.com>
6560 * configure.in (sysnames): Look for Implies-before and Implies-after
6562 * configure: Regenerated.
6564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6566 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6567 8-byte data alignment with LP_SIZE alignment.
6569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6576 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6581 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6588 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6589 (stackinfo_sub_sp): Likewise.
6591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6608 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6612 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6613 into R11_LP and load __x86_64_shared_cache_size_half into
6616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6621 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6630 powerpc32/power7/fpu/s_logb.c via #include.
6631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6632 powerpc32/power7/fpu/s_logbf.c via #include.
6633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6634 powerpc32/power7/fpu/s_logbl.c via #include.
6636 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6638 * README.libm: Remove file.
6640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6642 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6643 count for x32. Use R*_LP and omit operand-size suffix.
6645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6647 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6648 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6649 * sysdeps/x86_64/x32/shlib-versions: New file.
6651 2012-05-14 Roland McGrath <roland@hack.frob.com>
6653 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6654 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6655 Use _dl_fatal_printf instead.
6657 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6660 set if not set by the user. Do not allow for being unset.
6661 * sysdeps/unix/sysv/linux/configure: Regenerated.
6663 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6665 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6666 the `q' suffix from lea and replace .quad with ASM_ADDR.
6668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6671 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6673 (PTR_DEMANGLE): Likewise.
6675 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6677 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6679 (ASM_ADDR): Likewise.
6697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6699 * sysdeps/x86_64/x32/dl-machine.h: New file.
6701 2012-05-14 Andreas Jaeger <aj@suse.de>
6703 * manual/Makefile (subdir): Remove export of subdir.
6704 (all): Remove target.
6705 (.PHONY): Remove all from list.
6706 (mkinstalldirs): Remove.
6707 (.PHONY): Remove installdirs from list.
6708 ($(inst_infodir)/libc.info): Use make-target-directory.
6709 (installdirs): Remove.
6711 (glibc-targets): Remove.
6714 ($(objpfx)stubs ../po/manual.pot): Remove.
6715 ($(objpfx)stamp%): Remove.
6716 (make-target-directory): Remove.
6717 (subdir_install): Remove.
6725 * manual/.gitignore: Remove, it's not needed anymore.
6726 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6728 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6730 (texis): Renamed to $(objpfx)texis.
6731 (texis-path): New, contains path to generated files.
6732 (chapters.%): Use texis-path for complete path, add extra argument
6734 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6735 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6736 (summary,texi, stamp-summary): Use complete path of
6737 files. Generate files in build dir.
6738 (dir-add.texi): Build in build dir.
6739 (libm-err.texi,stamp-libm-err): Likewise.
6740 (version.texi, stamp-version): Likewise.
6741 (.%c.texi): Likewise.
6742 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6743 (mostlyclean): Remove target.
6744 (realclean): Remove target.
6745 (generated): Add new variable with contents from mostlyclean and
6746 realclean, remove entries duplicated in common-mostlyclean, add
6747 stamp-libm-err and stamp-version.
6748 (generated-dirs): Add libc directory.
6749 ($(inst_infodir)/libc.info): Install files from build dir.
6751 * manual/install.texi (Configuring and compiling): Adjust since
6752 the info files are not part of the tar ball anymore.
6754 2012-05-14 Andreas Jaeger <aj@suse.de>
6756 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6759 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6763 to 2.2.0 where earlier.
6764 * sysdeps/unix/sysv/linux/configure: Regenerated.
6765 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6766 Remove conditional code.
6767 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6768 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6769 Remove conditional code.
6770 [!__NR_lchown]: Likewise.
6771 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6772 [__NR_lchown]: Likewise.
6773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6774 comment referencing __ASSUME_LCHOWN_SYSCALL.
6775 * sysdeps/unix/sysv/linux/i386/sigaction.c
6776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6779 Remove conditional code.
6780 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6781 (__protocol_available): Remove #if 0 code.
6782 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6784 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6785 * sysdeps/unix/sysv/linux/kernel-features.h
6786 (__ASSUME_GETCWD_SYSCALL): Don't define.
6787 (__ASSUME_REALTIME_SIGNALS): Likewise.
6788 (__ASSUME_PREAD_SYSCALL): Likewise.
6789 (__ASSUME_PWRITE_SYSCALL): Likewise.
6790 (__ASSUME_POLL_SYSCALL): Likewise.
6791 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6792 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6794 (__ASSUME_SIOCGIFNAME): Don't define.
6795 (__ASSUME_MSG_NOSIGNAL): Likewise.
6796 (__ASSUME_SENDFILE): Define unconditionally.
6797 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6798 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6800 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6801 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6802 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6803 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6804 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6805 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6806 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6823 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6831 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6832 Remove conditional code.
6833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6834 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6835 Remove conditional code.
6836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6837 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6838 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6839 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6840 Remove conditional code.
6841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6842 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6843 Remove conditional code.
6844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6845 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6846 Remove conditional code.
6847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6848 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6849 Remove conditional code.
6850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6851 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6852 Remove conditional code.
6853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6854 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6857 * sysdeps/unix/sysv/linux/sigaction.c
6858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6860 * sysdeps/unix/sysv/linux/sigpending.c
6861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6863 * sysdeps/unix/sysv/linux/sigprocmask.c
6864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6866 * sysdeps/unix/sysv/linux/sigsuspend.c
6867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6870 (__libc_missing_rt_sigs): Remove.
6871 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6872 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6873 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6874 Remove conditional code.
6875 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6876 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6879 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6881 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6883 2012-05-14 Andreas Jaeger <aj@suse.de>
6885 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6886 it's not used in glibc.
6887 (__coshm1): Likewise.
6888 (__acosh1p): Likewise.
6891 * manual/string.texi (Copying and Concatenation): Add missing
6892 variable in concat example.
6893 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6899 __builtin_clzl with __builtin_clzll.
6901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6904 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6907 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6909 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6910 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6911 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6914 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6916 * NEWS: Update ia64 info.
6918 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6920 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6923 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6925 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6926 * sysdeps/unix/syscalls.list (dup3): Likewise.
6927 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6928 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6930 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6932 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6933 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6935 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6937 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6939 (TLS_IE): Use mov/add instead of movq/addq to load thread
6941 (TLS_GD_PREFIX): New.
6944 2012-05-11 David S. Miller <davem@davemloft.net>
6946 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6947 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6948 (_FPU_SETCW): Likewise.
6950 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6952 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6955 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6958 * iconvdata/gb18030.c: Update tables.
6959 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6960 characters specially.
6961 (BODY for TO_LOOP): Add encoding of missing ranges.
6963 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6966 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6967 * sysdeps/mach/hurd/dup3.c: Likewise.
6968 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6969 * sysdeps/powerpc/memmove.c:: Likewise.
6971 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6974 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6976 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6978 * elf/elf.h (R_X86_64_RELATIVE64): New.
6979 (R_X86_64_NUM): Updated.
6980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6981 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6982 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6983 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6984 tst-quad1pie tst-quad2pie
6985 (modules-names): Add tst-quadmod1 tst-quadmod2.
6986 ($(objpfx)tst-quad1): New dependency.
6987 ($(objpfx)tst-quad2): Likewise.
6988 ($(objpfx)tst-quad1pie): Likewise.
6989 ($(objpfx)tst-quad2pie): Likewise.
6990 * sysdeps/x86_64/tst-quad1.c: New file.
6991 * sysdeps/x86_64/tst-quad1pie.c: New file.
6992 * sysdeps/x86_64/tst-quad2.c: Likewise.
6993 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6994 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6995 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6996 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6997 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7001 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7002 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7003 * streams/stropts.h (t_scalar_t): Define type.
7005 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7006 (_PATH_PRESERVE): Set to "/var/lib".
7007 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7009 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7012 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7013 if __dir_mkfile succeeded.
7015 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7016 checking for _hurd_dtablesize. Unlock it right after having
7017 finished _hurd_dtable allocation.
7019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7021 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7022 * sysdeps/mach/hurd/configure: Regenerated.
7023 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7024 special-casing to...
7025 * sysdeps/gnu/configure.in: ... this new file.
7026 * sysdeps/unix/sysv/linux/configure: Regenerated.
7027 * sysdeps/gnu/configure: New generated file.
7029 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7030 for Linux: use nsec instead of usec, as well as:
7031 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7032 members of type struct timespec.
7033 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7035 (struct stat64): Likewise.
7036 (_STATBUF_ST_NSEC): New macro.
7037 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7039 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7040 __strtoul_internal rather than strtoul.
7042 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7044 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7047 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7049 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7050 which preserves existing values.
7051 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7053 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7055 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7056 TIMEOUT values. Return EINVAL for NFDS values either negative or
7057 greater than FD_SETSIZE.
7059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7061 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7062 allocated, call __vm_protect to finish enabling the existing space, and
7063 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7064 allocate the remainder.
7066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7068 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7069 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7073 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7074 sysdeps/mach/hurd/readlink.c.
7076 * posix/tst-sysconf.c (posix_options): Only use
7077 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7078 _POSIX_SYNCHRONIZED_IO when they are defined
7079 * sysdeps/mach/hurd/bits/posix_opt.h:
7080 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7081 (_XOPEN_REALTIME): Undefine macro.
7082 (_XOPEN_REALTIME_THREADS): Undefine macro.
7083 (_XOPEN_SHM): Undefine macro.
7084 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7086 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7088 (_POSIX_ASYNC_IO): Undefine macro.
7089 (_POSIX_PRIORITIZED_IO): Undefine macro.
7090 (_POSIX_SPIN_LOCKS): Define macro to -1.
7092 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7093 SA_NODEFER, SA_RESETHAND.
7094 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7095 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7100 * elf/Makefile (pldd-modules): Define unconditionally.
7102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7104 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7108 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7109 Return ENOENT when name is empty.
7110 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7114 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7116 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7120 Fix mlock in all cases except non-readable pages.
7121 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7122 instead of VM_PROT_ALL as parameter to __vm_wire function.
7124 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7125 (__mkdir): When path is `/', just fail with EEXIST.
7126 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7130 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7131 <sys/uio.h> (for writev).
7132 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7133 and <sys/param.h> (for MIN).
7135 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7137 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7138 REQUESTED_TIME. Properly set the remaining time and return EINTR
7141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7143 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7144 Depend on against $(link-rpcuserlibs).
7146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7148 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7149 (__libc_stack_end): Do not use attribute_relro.
7150 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7151 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7152 to libthread-provided value.
7153 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7159 * bits/libc-lock.h (__libc_once_get): New macro.
7160 * sysdeps/mach/bits/libc-lock.h: Likewise.
7161 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7163 instead of using implementation details.
7165 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7166 * libio/freopen.c: Likewise.
7167 * libio/freopen64.c: Likewise.
7168 * misc/syslog.c: Likewise.
7169 * nscd/connections.c: Likewise.
7170 * nscd/netgroupcache.c: Likewise.
7171 * sysdeps/posix/getcwd.c: Likewise.
7173 2012-05-10 Roland McGrath <roland@hack.frob.com>
7175 * math/w_ilogbf.c: Add #include <limits.h>.
7177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7179 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7180 path instead of returning without unlocking.
7182 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7183 immediate-write ioctls.
7184 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7188 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7189 __builtin_frame_address instead of making assumptions about the
7190 location of the return address relative to DATA. Force early load of
7192 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7193 __builtin_frame_address.
7196 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7197 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7198 implement dup3 and do some further code clean-ups.
7199 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7204 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7206 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7207 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7208 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7209 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7210 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7213 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7214 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7215 when handler == SIG_ERR, not when handler != SIG_ERR.
7217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7219 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7220 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7223 accept4 for GNU Hurd.
7224 * include/sys/socket.h (__libc_accept4): New prototype.
7225 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7226 to implement __libc_accept4.
7227 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7229 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7231 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7232 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7233 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7238 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7242 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7243 assertion on O_CLOEXEC flag.
7244 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7245 * hurd/intern-fd.c: Likewise.
7246 * hurd/port2fd.c: Likewise.
7248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7251 * bits/in.h (IPV6_PKTINFO): Define new macro.
7252 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7254 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7261 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7262 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7265 * math/libm-test.inc (logb_test) : Additional logb tests.
7267 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7268 Andreas Jaeger <aj@suse.de>
7270 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7271 * configure: Regenerated.
7272 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7273 * config.make.in (link-obsolete-rpc): New substituted variable.
7274 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7275 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7276 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7277 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7278 so that libc.a contains the symbols.
7279 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7280 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7281 * sunrpc/auth_none.c: Likewise.
7282 * sunrpc/auth_unix.c: Likewise.
7283 * sunrpc/authdes_prot.c: Likewise.
7284 * sunrpc/authuxprot.c: Likewise.
7285 * sunrpc/clnt_gen.c: Likewise.
7286 * sunrpc/clnt_perr.c: Likewise.
7287 * sunrpc/clnt_raw.c: Likewise.
7288 * sunrpc/clnt_simp.c: Likewise.
7289 * sunrpc/clnt_tcp.c: Likewise.
7290 * sunrpc/clnt_udp.c: Likewise.
7291 * sunrpc/clnt_unix.c: Likewise.
7292 * sunrpc/des_crypt.c: Likewise.
7293 * sunrpc/des_soft.c: Likewise.
7294 * sunrpc/get_myaddr.c: Likewise.
7295 * sunrpc/key_call.c: Likewise.
7296 * sunrpc/key_prot.c: Likewise.
7297 * sunrpc/netname.c: Likewise.
7298 * sunrpc/pm_getmaps.c: Likewise.
7299 * sunrpc/pm_getport.c: Likewise.
7300 * sunrpc/pmap_clnt.c: Likewise.
7301 * sunrpc/pmap_prot.c: Likewise.
7302 * sunrpc/pmap_prot2.c: Likewise.
7303 * sunrpc/pmap_rmt.c: Likewise.
7304 * sunrpc/publickey.c: Likewise.
7305 * sunrpc/rpc_cmsg.c: Likewise.
7306 * sunrpc/rpc_common.c: Likewise.
7307 * sunrpc/rpc_dtable.c: Likewise.
7308 * sunrpc/rpc_prot.c: Likewise.
7309 * sunrpc/rpc_thread.c: Likewise.
7310 * sunrpc/rtime.c: Likewise.
7311 * sunrpc/svc.c: Likewise.
7312 * sunrpc/svc_auth.c: Likewise.
7313 * sunrpc/svc_raw.c: Likewise.
7314 * sunrpc/svc_run.c: Likewise.
7315 * sunrpc/svc_tcp.c: Likewise.
7316 * sunrpc/svc_udp.c: Likewise.
7317 * sunrpc/svc_unix.c: Likewise.
7318 * sunrpc/svcauth_des.c: Likewise.
7319 * sunrpc/xcrypt.c: Likewise.
7320 * sunrpc/xdr.c: Likewise.
7321 * sunrpc/xdr_array.c: Likewise.
7322 * sunrpc/xdr_float.c: Likewise.
7323 * sunrpc/xdr_intXX_t.c: Likewise.
7324 * sunrpc/xdr_mem.c: Likewise.
7325 * sunrpc/xdr_rec.c: Likewise.
7326 * sunrpc/xdr_ref.c: Likewise.
7327 * sunrpc/xdr_sizeof.c: Likewise.
7328 * sunrpc/xdr_stdio.c: Likewise.
7330 2012-05-10 Roland McGrath <roland@hack.frob.com>
7332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7333 change. Update copyright years.
7335 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7337 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7339 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7340 Joseph Myers <joseph@codesourcery.com>
7341 Paul Pluzhnikov <ppluzhnikov@google.com>
7344 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7346 [cross-compiling] (extra-libs): Likewise.
7347 [cross-compiling] (extra-libs-others): Likewise.
7348 [cross-compiling] (librpcsvc-routines): Likewise.
7349 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7350 [cross-compiling] (omit-deps): Likewise.
7351 (sunrpc-CPPFLAGS): New variable.
7352 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7353 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7354 (cross-rpcgen-objs): New variable.
7355 (extra-objs): Append $(cross-rpcgen-objs).
7356 ($(cross-rpcgen-objs)): New rule.
7357 ($(objpfx)cross-rpcgen): Likewise.
7358 (rpcgen-cmd): Define to use $(built-program-file). Expand
7360 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7361 ($(objpfx)x%.stmp): Likewise.
7362 * sunrpc/proto.h [IS_IN_build] (_): Define.
7363 [IS_IN_build] (_libc_intl_domainname): Likewise.
7365 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7368 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7369 and R_X86_64_TPOFF64.
7371 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7373 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7374 sysdeps/unix/sysv/syscalls.list.
7377 * sysdeps/unix/sysv/syscalls.list: Remove file.
7379 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7382 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7383 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7384 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7385 (__LC_IDENTIFICATION): Make these macros useful in #if
7386 expressions, as required by C99.
7388 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7390 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7391 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7394 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7396 * stdlib/longlong.h: Updated from GCC.
7398 2012-05-09 Andreas Jaeger <aj@suse.de>
7400 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7401 default is first entry.
7402 (run_mode): Set type.
7403 (main): Remove informal message about syslog.
7404 (options): Fix typo.
7407 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7410 (llrintf): Likewise.
7414 (nearbyint): Likewise.
7415 (nearbyintf): Likewise.
7417 2012-05-09 Andreas Jaeger <aj@suse.de>
7418 Pedro Alves <palves@redhat.com>
7420 * nscd/nscd.c (run_mode): Use enum.
7421 (main): Cleanup coding style issue.
7423 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7424 Andreas Jaeger <aj@suse.de>
7426 * nscd/nscd.c (go_background): Replaced with...
7427 (run_mode): ... this.
7428 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7429 (options): Add -F --foreground.
7430 (main): Implement it.
7431 (parse_opt): Parse it.
7433 2012-05-09 Andreas Jaeger <aj@suse.de>
7436 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7437 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7438 -Wconversion warning.
7439 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7442 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7444 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7446 (LC_ALL): Use macro-int-constant.
7447 (LC_COLLATE): Likewise.
7448 (LC_CTYPE): Likewise.
7449 (LC_MESSAGES): Likewise.
7450 (LC_MONETARY): Likewise.
7451 (LC_NUMERIC): Likewise.
7452 (LC_TIME): Likewise.
7453 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7454 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7456 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7458 [C99-based standards] (float_t): Expect type.
7459 [C99-based standards] (double_t): Expect type.
7460 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7462 [C99-based standards] (HUGE_VALL): Likewise.
7463 [C99-based standards] (INFINITY): Likewise.
7464 [C99-based standards] (NAN): Likewise.
7465 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7466 [C99-based standards] (FP_NAN): Likewise.
7467 [C99-based standards] (FP_NORMAL): Likewise.
7468 [C99-based standards] (FP_SUBNORMAL): Likewise.
7469 [C99-based standards] (FP_ZERO): Likewise.
7470 [C99-based standards] (FP_FAST_FMA): Use
7471 optional-macro-int-constant. Specify type. Require == 1.
7472 [C99-based standards] (FP_FAST_FMAF): Likewise.
7473 [C99-based standards] (FP_FAST_FMAL): Likewise.
7474 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7475 [C99-based standards] (FP_ILOGBNAN): Likewise.
7476 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7478 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7479 [C99-based standards] (math_errhandling): Specify type.
7480 [ISO99 || ISO11] (signgam): Do not allow.
7481 [non-C99-based standards] (copysignf): Do not allow.
7482 [non-C99-based standards] (exp2f): Likewise.
7483 [non-C99-based standards] (log2f): Likewise.
7484 [non-C99-based standards] (modff): Allow.
7485 [non-C99-based standards] (erff): Do not allow.
7486 [non-C99-based standards] (erfcf): Likewise.
7487 [non-C99-based standards] (gammaf): Likewise.
7488 [non-C99-based standards] (hypotf): Likewise.
7489 [non-C99-based standards] (j0f): Likewise.
7490 [non-C99-based standards] (j1f): Likewise.
7491 [non-C99-based standards] (jnf): Likewise.
7492 [non-C99-based standards] (lgammaf): Likewise.
7493 [non-C99-based standards] (tgammaf): Likewise.
7494 [non-C99-based standards] (y0f): Likewise.
7495 [non-C99-based standards] (y1f): Likewise.
7496 [non-C99-based standards] (ynf): Likewise.
7497 [non-C99-based standards] (isnanf): Likewise.
7498 [non-C99-based standards] (acoshf): Likewise.
7499 [non-C99-based standards] (asinhf): Likewise.
7500 [non-C99-based standards] (atanhf): Likewise.
7501 [non-C99-based standards] (cbrtf): Likewise.
7502 [non-C99-based standards] (expm1f): Likewise.
7503 [non-C99-based standards] (ilogbf): Likewise.
7504 [non-C99-based standards] (log1pf): Likewise.
7505 [non-C99-based standards] (logbf): Likewise.
7506 [non-C99-based standards] (nextafterf): Likewise.
7507 [non-C99-based standards] (remainderf): Likewise.
7508 [non-C99-based standards] (rintf): Likewise.
7509 [non-C99-based standards] (scalbf): Likewise.
7510 [non-C99-based standards] (copysignl): Likewise.
7511 [non-C99-based standards] (exp2l): Likewise.
7512 [non-C99-based standards] (log2l): Likewise.
7513 [non-C99-based standards] (modfl): Allow.
7514 [non-C99-based standards] (erfl): Do not allow.
7515 [non-C99-based standards] (erfcl): Likewise.
7516 [non-C99-based standards] (gammal): Likewise.
7517 [non-C99-based standards] (hypotl): Likewise.
7518 [non-C99-based standards] (j0l): Likewise.
7519 [non-C99-based standards] (j1l): Likewise.
7520 [non-C99-based standards] (jnl): Likewise.
7521 [non-C99-based standards] (lgammal): Likewise.
7522 [non-C99-based standards] (tgammal): Likewise.
7523 [non-C99-based standards] (y0l): Likewise.
7524 [non-C99-based standards] (y1l): Likewise.
7525 [non-C99-based standards] (ynl): Likewise.
7526 [non-C99-based standards] (isnanl): Likewise.
7527 [non-C99-based standards] (acoshl): Likewise.
7528 [non-C99-based standards] (asinhl): Likewise.
7529 [non-C99-based standards] (atanhl): Likewise.
7530 [non-C99-based standards] (cbrtl): Likewise.
7531 [non-C99-based standards] (expm1l): Likewise.
7532 [non-C99-based standards] (ilogbl): Likewise.
7533 [non-C99-based standards] (log1pl): Likewise.
7534 [non-C99-based standards] (logbl): Likewise.
7535 [non-C99-based standards] (nextafterl): Likewise.
7536 [non-C99-based standards] (remainderl): Likewise.
7537 [non-C99-based standards] (rintl): Likewise.
7538 [non-C99-based standards] (scalbl): Likewise.
7539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7540 [non-C99-based standards] (FP_*): Do not allow.
7541 [C99-based standards] (FP_*): Change to
7542 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7543 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7545 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7546 (SIG_ERR): Likewise.
7547 [X/Open-based standards] (SIG_HOLD): Likewise.
7548 (SIG_IGN): Likewise.
7549 (SIGABRT): Use macro-int-constant. Specify type. Require
7554 (SIGSEGV): Likewise.
7556 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7557 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7558 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7559 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7560 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7561 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7562 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7563 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7564 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7565 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7566 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7567 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7568 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7569 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7570 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7571 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7572 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7573 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7574 [X/Open-based standards] (SIGTRAP): Likewise.
7575 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7576 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7577 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7578 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7579 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7582 2012-05-08 Ian Wienand <ianw@vmware.com>
7585 * time/tzset.c (__tzset_parse_tz): Update default rules for
7586 daylight time changes in the Energy Policy Act of 2005.
7588 2012-05-09 Andreas Jaeger <aj@suse.de>
7591 * elf/ldconfig.c (parse_conf): Change string to make clear that
7592 ldconfig only issued a warning if ld.so.conf does not exist.
7594 2012-05-08 David S. Miller <davem@davemloft.net>
7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7597 movxtod instead of popping the value on the stack.
7599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7601 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7603 * config.h.in: Add HAVE_ARM_PCS_VFP.
7605 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7608 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7609 checking but the checks are disabled for any reason.
7611 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7613 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7614 and ELF64_R_TYPE with ELFW(R_TYPE).
7616 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7618 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7621 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7622 (settimeofday): Likewise.
7624 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7626 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7627 a struct th_u2 inside the union, and move tu_block/tu_code into
7628 a new th_u3 union of tu_block/tu_code inside of that. Move
7629 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7630 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7631 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7632 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7633 (th_stuff): Change to th_u1.tu_stuff.
7635 (th_msg): Change to th_u1.th_u2.tu_data.
7637 2012-05-07 David S. Miller <davem@davemloft.net>
7639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7642 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7643 (SETUP_PIC_REG): Use it.
7644 (SETUP_PIC_REG_LEAF): Use it.
7646 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7650 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7652 (EXPL_FINITE): Likewise.
7654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7655 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7659 (EXPL_FINITE): Likewise.
7661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7662 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7664 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7665 test of -max_value argument for long double.
7666 * sysdeps/i386/fpu/libm-test-ulps: Update.
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669 2012-05-06 David S. Miller <davem@davemloft.net>
7671 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7672 quad soft-float symbols whose references which are compiler
7674 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7676 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7682 (EXPL_FINITE): Likewise.
7686 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7687 Adjust comments for base varying.
7688 (__expl_finite): Change alias to EXPL_FINITE.
7689 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7691 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7692 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7694 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7697 (EXPL_FINITE): Likewise.
7701 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7702 Adjust comments for base varying.
7703 (__expl_finite): Change alias to EXPL_FINITE.
7704 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7709 * math/libm-test.inc (check_float_internal): Correct ulp
7710 calculation for subnormal expected results.
7712 2012-05-06 Andreas Jaeger <aj@suse.de>
7714 * Makeconfig (+math-flags): New, set to -frounding-math.
7715 (+cflags): Add +math-flags so that all of glibc gets compiled with
7718 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7720 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7722 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7728 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7729 (__ieee754_expl): Allow for and saturate large arguments.
7730 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7731 (u_threshold): Likewise.
7732 (__exp): Call __ieee754_exp before checking for overflow and
7734 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7735 (u_threshold): Likewise.
7736 (__expf): Call __ieee754_expf before checking for overflow and
7738 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7739 (u_threshold): Likewise.
7740 (__expl): Call __ieee754_expl before checking for overflow and
7742 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7743 (__ieee754_expl): Allow for and saturate large arguments.
7744 * math/libm-test.inc (exp_test): Add another test. Do not allow
7745 missing overflow exception on overflow.
7746 (expm1_test): Do not allow missing overflow exception on overflow.
7748 * sysdeps/i386/fpu/e_expl.c: Move to ...
7749 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7750 rather than using inline asm.
7751 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7752 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7753 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7755 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7762 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7764 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7765 sysdeps/unix/common/syscalls.list.
7768 (ftruncate): Likewise.
7769 (getrusage): Likewise.
7770 (gettimeofday): Likewise.
7771 (setpgid): Likewise.
7772 (setregid): Likewise.
7773 (setreuid): Likewise.
7774 (sigaction): Likewise.
7775 (truncate): Likewise.
7776 (vhangup): Likewise.
7777 * sysdeps/unix/common/syscalls.list: Remove file.
7778 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7779 * sysdeps/unix/sysv/linux/Implies: Likewise.
7781 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7783 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7785 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7795 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7801 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7804 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7811 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7826 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7828 * sysdeps/unix/common/bits/dirent.h: Remove file.
7829 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7831 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7832 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7833 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7834 * sysdeps/unix/bsd/isatty.c: Likewise.
7835 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7836 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7837 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7839 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7843 long double comparison inaccuracies.
7844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7847 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7849 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7852 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7856 nonzero digits before rounding a hex value.
7857 * stdlib/tst-strtod.c (tests): Add another test.
7859 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7861 * sysdeps/s390/fpu/libm-test-ulps: Update.
7863 2012-05-03 Andreas Jaeger <aj@suse.de>
7865 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7866 does not get optimized out.
7867 (malloc_opt_barrier): New.
7869 2012-05-03 Andreas Jaeger <aj@suse.de>
7870 Roland McGrath <roland@hack.frob.com>
7872 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7873 intermediate file deletion.
7874 (generated): Add .symlist files.
7876 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7879 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7880 Redirect under this condition.
7881 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7882 [__USE_GNU] (__dprintf_chk): Not under this condition.
7883 [__USE_GNU] (__vdprintf_chk): Likewise.
7884 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7885 under this condition.
7886 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7887 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7888 [__USE_XOPEN2K8] (vdprintf): Likewise.
7889 [__USE_GNU] (__dprintf_chk): Not under this condition.
7890 [__USE_GNU] (__vdprintf_chk): Likewise.
7891 [__USE_GNU] (dprintf): Likewise.
7892 [__USE_GNU] (vdprintf): Likewise.
7894 2012-05-03 Roland McGrath <roland@hack.frob.com>
7896 * elf/Makefile (common-generated): Set this instead of generated for
7897 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7898 $(all-built-dso)-derived lists.
7900 2012-05-03 Andreas Jaeger <aj@suse.de>
7902 * sysdeps/i386/fpu/libm-test-ulps: Update.
7906 * scripts/gen-FAQ.pl: Likewise.
7907 * manual/install.texi (Installation): Point to online location of
7909 * Makefile (files-for-dist): Remove FAQ.
7912 2012-05-02 Allan McRae <allan@archlinux.org>
7914 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7915 (LDFLAGS-reldepmod5.so): Likewise.
7916 (LDFLAGS-reldep6mod1.so): Likewise.
7917 (LDFLAGS-reldep6mod4.so): Likewise.
7918 (LDFLAGS-reldep8mod3.so): Likewise.
7919 (LDFLAGS-unload4mod1.so): Likewise.
7920 (LDFLAGS-unload4mod2.so): Likewise.
7921 (LDFLAGS-tst-initorder): Likewise.
7922 (LDFLAGS-tst-initordera2.so): Likewise.
7923 (LDFLAGS-tst-initordera3.so): Likewise.
7924 (LDFLAGS-tst-initordera4.so): Likewise.
7925 (LDFLAGS-tst-initorderb2.so): Likewise.
7926 (LDFLAGS-noload): Likewise.
7927 (LDFLAGS-next): Likewise.
7928 (LDFLAGS-order2mod1.so): Likewise.
7929 (LDFLAGS-order2mod2.so): Likewise.
7930 (LDFLAGS-tst-initorder2): Likewise.
7931 (LDFLAGS-tst-initorder2a.so): Likewise.
7932 (LDFLAGS-tst-initorder2b.so): Likewise.
7933 (LDFLAGS-tst-initorder2c.so): Likewise.
7934 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7936 2012-05-02 David S. Miller <davem@davemloft.net>
7938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7940 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7943 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7945 2012-05-02 Andreas Jaeger <aj@suse.de>
7947 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7948 since we manipulate rounding mode.
7949 (CPPFLAGS-test-idouble.c): Likewise.
7950 (CPPFLAGS-test-ifloat.c): Likewise.
7951 (CFLAGS-test-ldouble.c): Likewise.
7952 (CFLAGS-test-double.c): Likewise.
7953 (CFLAGS-test-float.c): Likewise.
7954 (CFLAGS-test-misc.c): Likewise.
7955 (CFLAGS-test-test-fenv.c): Likewise.
7957 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7962 comparisons to determine direction to adjust input.
7964 2012-05-01 Roland McGrath <roland@hack.frob.com>
7966 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7967 output to the target.
7969 * scripts/localplt.awk: New file.
7970 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7971 (check-localplt-CFLAGS): Variable removed.
7972 ($(all-built-dso:=.jmprel)): New static pattern rule.
7973 (generated): Add those targets.
7974 (localplt-built-dso): New variable.
7975 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7977 * elf/check-localplt.c: File removed.
7979 * scripts/check-execstack.awk: New file.
7980 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7981 (check-execstack-CFLAGS): Variable removed.
7982 ($(objpfx)check-execstack.h): Target removed.
7983 ($(objpfx)execstack-default): New target.
7984 (generated): Add that instead of check-execstack.h.
7985 ($(all-built-dso:=.phdr)): New static pattern rule.
7986 (generated): Add those targets.
7987 * elf/check-execstack.c: File removed.
7989 * scripts/check-textrel.awk: New file.
7990 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7991 (check-textrel-CFLAGS): Variable removed.
7992 (all-built-dso): Use := to define.o
7993 ($(all-built-dso:=.dyn)): New static pattern rule.
7994 (generated): Add those targets.
7995 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7996 * config.make.in (READELF): New substituted variable.
7997 * elf/check-textrel.c: File removed.
7999 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8001 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8003 * conform/data/ctype.h-data [C99-based standards] (isblank):
8005 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8006 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8008 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8009 Specify type. Require positive value.
8012 [ISO || POSIX] (EILSEQ): Do not expect.
8013 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8014 Specify type. Require positive value.
8015 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8016 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8017 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8018 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8019 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8025 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8026 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8031 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8032 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8033 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8034 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8035 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8036 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8037 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8038 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8039 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8040 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8041 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8042 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8043 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8044 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8045 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8046 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8047 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8048 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8049 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8050 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8051 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8052 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8053 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8054 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8055 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8056 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8057 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8058 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8059 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8060 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8061 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8062 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8063 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8064 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8065 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8066 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8067 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8068 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8069 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8070 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8071 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8072 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8073 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8074 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8075 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8076 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8077 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8078 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8079 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8080 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8081 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8082 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8083 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8084 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8085 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8086 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8087 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8088 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8089 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8090 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8091 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8093 (FLT_ROUNDS): Expect as macro, not constant.
8094 (FLT_MANT_DIG): Use macro-int-constant.
8095 (DBL_MANT_DIG): Likewise.
8096 (LDBL_MANT_DIG): Likewise.
8097 (FLT_DIG): Likewise.
8098 (DBL_DIG): Likewise.
8099 (LDBL_DIG): Likewise.
8100 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8101 (DBL_MIN_EXP): Likewise.
8102 (LDBL_MIN_EXP): Likewise.
8103 (FLT_MAX_EXP): Use macro-int-constant.
8104 (DBL_MAX_EXP): Likewise.
8105 (LDBL_MAX_EXP): Likewise.
8106 (FLT_MAX_10_EXP): Likewise.
8107 (DBL_MAX_10_EXP): Likewise.
8108 (LDBL_MAX_10_EXP): Likewise.
8109 (FLT_MAX): Use macro-constant.
8110 (DBL_MAX): Likewise.
8111 (LDBL_MAX): Likewise.
8112 (FLT_EPSILON): Use macro-constant. Give upper bound.
8113 (DBL_EPSILON): Likewise.
8114 (LDBL_EPSILON): Likewise.
8115 (FLT_MIN): Likewise.
8116 (DBL_MIN): Likewise.
8117 (LDBL_MIN): Likewise.
8118 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8119 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8120 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8121 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8122 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8123 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8124 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8125 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8126 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8127 [ISO11] (FLT_TRUE_MIN): Likewise.
8128 [ISO11] (LDBL_TRUE_MIN): Likewise.
8129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8130 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8131 (SCHAR_MIN): Use macro-int-constant. Specify type.
8132 (SCHAR_MAX): Likewise.
8133 (UCHAR_MAX): Likewise.
8134 (CHAR_MIN): Likewise.
8135 (CHAR_MAX): Likewise.
8136 (MB_LEN_MAX): Use macro-int-constant.
8137 (SHRT_MIN): Use macro-int-constant. Specify type.
8138 (SHRT_MAX): Likewise.
8139 (USHRT_MAX): Likewise.
8140 (INT_MAX): Likewise.
8141 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8143 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8145 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8147 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8148 bound negative. Suffix upper bound with "L".
8149 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8151 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8153 [C99-based standards] (LLONG_MAX): Likewise.
8154 [C99-based standards] (ULLONG_MAX): Likewise.
8155 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8157 [ISO11] (max_align_t): Require type.
8158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8160 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8161 from $CFLAGS, without defining away __attribute__ calls.
8162 (checknamespace): Use $CFLAGS_namespace.
8164 * conform/conformtest.pl (@keywords): Only include C99 keywords
8165 for standards based on C99 or C11.
8167 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8169 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8172 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8173 usability of symbols in #if.
8175 * conform/conformtest.pl: If macro or constant types start
8176 "promoted:", expect the symbol to be of the following type
8177 promoted by the integer promotions.
8179 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8180 in one place. Also handle "macro-constant".
8182 * conform/conformtest.pl: Only accept expected macro values with
8183 "==". Parse all "macro" lines in one place.
8184 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8186 * conform/conformtest.pl: Handle braced types on "constant" lines
8187 instead of handling "typed-constant".
8188 * conform/data/signal.h-data: Use "constant" instead of
8191 * conform/conformtest.pl: Handle "optional-" at start of lines in
8192 one place rather than duplicating several cases. Handle each
8193 format of "macro" line with initial "optional-".
8195 * conform/conformtest.pl: Only accept expected constant or
8196 optional-constant values with "==". Parse all "constant" lines in
8197 one place. Parse all "optional-constant" lines in one place.
8198 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8199 * conform/data/fmtmsg.h-data: Likewise.
8200 * conform/data/netinet/in.h-data: Likewise.
8201 * conform/data/tar.h-data: Likewise.
8202 * conform/data/limits.h-data: Use "==" form on "constant" and
8203 "optional-constant" lines.
8205 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8206 Use -std=c99 for XOPEN2K.
8207 (@knownproblems): Remove.
8208 (newtoken): Don't check %isknown.
8210 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8211 Do not expect macro.
8212 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8213 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8214 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8215 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8216 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8217 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8218 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8219 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8220 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8221 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8222 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8223 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8224 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8225 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8226 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8227 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8228 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8229 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8230 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8231 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8232 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8234 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8236 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8237 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8238 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8239 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8240 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8241 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8242 [XPG3] (acosh): Likewise.
8243 [XPG3] (asinh): Likewise.
8244 [XPG3] (atanh): Likewise.
8245 [XPG3] (cbrt): Likewise.
8246 [XPG3] (expm1): Likewise.
8247 [XPG3] (ilogb): Likewise.
8248 [XPG3] (log1p): Likewise.
8249 [XPG3] (logb): Likewise.
8250 [XPG3] (nextafter): Likewise.
8251 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8252 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8253 [XPG3] (remainder): Likewise.
8254 [XPG3] (rint): Likewise.
8255 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8256 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8257 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8258 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8259 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8260 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8261 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8262 [UNIX98 || XOPEN2K] (scalb): Expect.
8263 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8264 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8265 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8266 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8267 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8268 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8269 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8270 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8271 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8272 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8273 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8274 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8275 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8276 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8277 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8278 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8290 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8291 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8308 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8309 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8310 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8311 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8312 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8313 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8314 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8315 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8316 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8319 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8320 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8328 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8329 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8330 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8342 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8343 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8344 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8345 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8346 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8347 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8348 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8349 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8350 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8367 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8368 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8369 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8370 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8371 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8372 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8373 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8374 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8375 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8376 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8377 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8378 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8379 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8380 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8381 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8382 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8383 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8384 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8385 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8386 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8387 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8388 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8389 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8390 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8391 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8392 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8393 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8394 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8395 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8396 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8397 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8398 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8399 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8401 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8402 _XOPEN_SOURCE_EXTENDED for XPG4.
8404 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8406 * Makeconfig (localtime): Remove variable.
8407 (inst_localtime-file): Likewise.
8409 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8430 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8434 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8435 comparisons to determine direction to adjust input.
8436 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8437 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8447 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8449 * math/libm-test.inc (nexttoward_test): Add more tests.
8451 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8454 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8455 in version GLIBC_2.1, not GLIBC_2.0.
8456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8459 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8464 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8465 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8466 * math/libm-test.inc (acos_test): Add more tests.
8467 (asin_test): Likewise.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8472 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8474 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8475 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8476 * math/libm-test.inc (acos_test_tonearest): New function.
8477 (acos_test_towardzero): Likewise.
8478 (acos_test_downward): Likewise.
8479 (acos_test_upward): Likewise.
8480 (asin_test_tonearest): Likewise.
8481 (asin_test_towardzero): Likewise.
8482 (asin_test_downward): Likewise.
8483 (asin_test_upward): Likewise.
8484 (main): Call the new functions.
8485 * sysdeps/i386/fpu/libm-test-ulps: Update.
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8490 * math/e_exp10.c: Include <float.h>.
8491 (__ieee754_exp10): Handle underflow here rather than multiplying
8492 large negative argument by M_LN10.
8493 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8495 * math/e_exp10l.c: Include <float.h>.
8496 (__ieee754_exp10l): Handle underflow here rather than multiplying
8497 large negative argument by M_LN10l.
8498 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8499 spurious overflow exception on underflow.
8501 2012-04-29 Marek Polacek <polacek@redhat.com>
8503 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8504 (__fortify_function): New macro.
8505 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8506 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8507 __extern_always_inline.
8508 * libio/bits/stdio2.h: Likewise.
8509 * libio/bits/stdio.h: Likewise.
8510 * string/string.h: Likewise.
8511 * string/bits/string3.h: Likewise.
8512 * include/stdio.h: Likewise.
8513 * stdlib/bits/stdlib.h: Likewise.
8514 * stdlib/stdlib.h: Likewise.
8515 * rt/bits/mqueue2.h: Likewise.
8516 * rt/mqueue.h: Likewise.
8517 * posix/bits/unistd.h: Likewise.
8518 * posix/unistd.h: Likewise.
8519 * io/bits/poll2.h: Likewise.
8520 * io/bits/fcntl2.h: Likewise.
8521 * io/fcntl.h: Likewise.
8522 * io/sys/poll.h: Likewise.
8523 * misc/bits/syslog.h: Likewise.
8524 * misc/bits/syslog-ldbl.h: Likewise.
8525 * misc/sys/syslog.h: Likewise.
8526 * socket/bits/socket2.h: Likewise.
8527 * socket/sys/socket.h: Likewise.
8528 * debug/tst-chk1.c: Likewise.
8529 * wcsmbs/bits/wchar2.h: Likewise.
8530 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8531 * wcsmbs/wchar.h: Likewise.
8533 2012-04-29 Andreas Jaeger <aj@suse.de>
8535 * Makerules (tests): Remove enable-check-abi protection.
8536 (check-abi-warn): Remove.
8537 (check-abi-%): Remove check-abi-warn usage.
8539 * configure.in: Remove check-abi configure option.
8540 * configure: Regenerated.
8541 * config.make.in (enable-check-abi): Remove.
8543 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8546 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8547 double functions to double *_finite functions.
8550 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8551 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8553 * stdio-common/Makefile (tests): Add tst-sprintf3.
8554 * stdio-common/tst-sprintf3.c: New file.
8556 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8557 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8559 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8561 * conform/conformtest.pl: Remove duplicate typed-constant
8564 2012-04-28 David S. Miller <davem@davemloft.net>
8566 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8567 (check-abi-%): Remove AWK script prerequisite and explicit
8569 (check-abi): Rewrite to just diff the symlist with the abilist.
8570 (config-tls, config-abi-config): Delete, no longer used.
8571 (update-abi-%): Remove AWK script and explicit abilist directory.
8572 (update-abi): Rewrite to simply compare and conditionally copy the
8573 symlist and the sysdep abilist file. Remove update-abi-config
8575 * abilist/ld.abilist: Remove.
8576 * abilist/libBrokenLocale.abilist: Remove.
8577 * abilist/libanl.abilist: Remove.
8578 * abilist/libcrypt.abilist: Remove.
8579 * abilist/libdl.abilist: Remove.
8580 * abilist/librt.abilist: Remove.
8581 * abilist/libthread_db.abilist: Remove.
8582 * abilist/libutil.abilist: Remove.
8583 * scripts/extract-abilist.awk: Remove.
8584 * scripts/merge-abilist.awk: Remove.
8585 * sysdeps/generic/libcidn.abilist: New file.
8586 * sysdeps/generic/libnss_compat.abilist: New file.
8587 * sysdeps/generic/libnss_db.abilist: New file.
8588 * sysdeps/generic/libnss_dns.abilist: New file.
8589 * sysdeps/generic/libnss_files.abilist: New file.
8590 * sysdeps/generic/libnss_hesiod.abilist: New file.
8591 * sysdeps/generic/libnss_nis.abilist: New file.
8592 * sysdeps/generic/libnss_nisplus.abilist: New file.
8593 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8594 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8595 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8598 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8599 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8600 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8601 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8603 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8604 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8605 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8607 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8614 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8615 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8620 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8621 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8727 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8731 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8734 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8735 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8738 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8739 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8791 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8793 * conform/conformtest.pl: Fix typo in handling typed-constant from
8796 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8798 * README: Cut down references to pre-2.6 Linux kernels and
8799 Linuxthreads. Update lists of configurations in libc and ports
8800 and sort alphabetically. Say "or newer" with Linux kernel version
8803 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8805 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8808 * math/libm-test.inc (logb_test_downward): New test to expose
8809 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8812 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8815 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8817 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8818 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8820 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8822 * sysdeps/unix/i386/brk.S: Remove file.
8823 * sysdeps/unix/i386/dl-brk.S: Likewise.
8824 * sysdeps/unix/i386/pipe.S: Likewise.
8825 * sysdeps/unix/i386/sigreturn.S: Likewise.
8826 * sysdeps/unix/i386/syscall.S: Likewise.
8827 * sysdeps/unix/i386/vfork.S: Likewise.
8828 * sysdeps/unix/i386/wait.S: Likewise.
8830 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8831 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8833 * configure.in (arm*-none*): Do not allow without
8834 --enable-hacker-mode.
8835 (netbsd*): Remove case setting base_os.
8836 (386bsd*): Likewise.
8837 (freebsd*): Likewise.
8841 (ultrix*): Likewise.
8842 (newsos*): Likewise.
8852 (solaris[2-9]*): Likewise.
8854 * configure: Regenerated.
8856 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8860 overflow or cancellation in calculating denominator.
8861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8863 down expression to avoid unexpected rounding in newer GCCs.
8864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8866 2012-04-26 David S. Miller <davem@davemloft.net>
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8869 long-double compat symbols.
8870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8884 2012-04-25 David S. Miller <davem@davemloft.net>
8886 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8887 HWCAP_* values only after the memory barriers have been defined.
8888 (atomic_full_barrier): Define.
8889 (atomic_read_barrier): Define.
8890 (atomic_write_barrier): Define.
8892 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8894 * shlib-versions: Add libgcc_s version information.
8895 * sysdeps/generic/libgcc_s.h: Remove.
8896 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8898 * sysdeps/gnu/unwind-resume.c: Likewise.
8899 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8901 2012-04-25 David S. Miller <davem@davemloft.net>
8903 * sysdeps/unix/sparc/brk.S: Delete.
8904 * sysdeps/unix/sparc/dl-brk.S: Delete.
8905 * sysdeps/unix/sparc/pipe.S: Delete.
8906 * sysdeps/unix/sparc/sysdep.S: Delete.
8907 * sysdeps/unix/sparc/sysdep.h: Delete.
8908 * sysdeps/unix/sparc/vfork.S: Delete.
8909 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8910 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8912 ret_ERRVAL, r0, r1, MOVE): Define.
8913 (JUMPTARGET): Remove.
8914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8915 sysdeps/unix/sparc/sysdep.h
8916 (ENTRY, END): Remove.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8919 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8921 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8922 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8925 * timezone/README: Update upstream location and email address for
8927 * timezone/zdump.c: Update from tzcode 2012b.
8928 * timezone/zic.c: Likewise.
8930 * configure.in (libc_cv_as_needed): Remove test.
8931 * configure: Regenerated.
8932 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8933 conditional definition.
8934 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8935 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8936 * config.make.in (have-as-needed): Remove variable.
8938 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8939 Paul Pluzhnikov <ppluzhnikov@google.com>
8941 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8944 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8946 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8947 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8948 * sysdeps/sh/strlen.S: Likewise.
8950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8952 * sysdeps/unix/fork.S: Remove file.
8953 * sysdeps/unix/i386/fork.S: Likewise.
8954 * sysdeps/unix/sparc/fork.S: Likewise.
8956 * sysdeps/unix/system.c: Remove file.
8957 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8959 * sysdeps/unix/getegid.S: Remove file.
8960 * sysdeps/unix/geteuid.S: Likewise.
8962 2012-04-24 Roland McGrath <roland@hack.frob.com>
8964 * scripts/check-localplt.awk: New file.
8965 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8967 * scripts/data/localplt-generic.data: Add a comment.
8969 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8970 NODE when __dir_mkfile failed.
8971 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8972 Reported by Ludovic Courtès <ludo@gnu.org>.
8974 2012-04-24 Andreas Jaeger <aj@suse.de>
8976 * Makerules (common-clean): Also remove gen-as-const-headers
8979 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8981 * Makerules (native-compile): Do not change working directory for
8982 build. Use $(OUTPUT_OPTION) in command.
8983 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8985 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8988 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8989 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8990 * math/libm-test.inc (floor_test): Add more tests.
8991 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8993 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8995 * sysdeps/unix/getdents.c: Remove file.
8996 * sysdeps/unix/sysv/getdents.c: Likewise.
8997 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8999 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9000 sysdeps/unix/mman/syscalls.list.
9002 (mprotect): Likewise.
9005 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9006 * sysdeps/unix/mman/syscalls.list: Remove.
9007 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9009 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9010 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9011 * configure: Regenerated.
9012 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9014 * config.make.in (libgcc_s_suffix): Remove variable.
9016 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/unix/sysv/gethostname.c: Move to ...
9019 * sysdeps/posix/gethostname.c: ... here.
9021 * sysdeps/unix/execve.S: Remove file.
9023 * sysdeps/unix/_exit.S: Remove file.
9025 2012-04-23 Andreas Jaeger <aj@suse.de>
9028 * manual/Makefile: Remove make dist support, there's no
9029 need for a stand-alone documentation tar ball.
9030 (TEXI2DVI): Define always, it's not in Makeconfig.
9034 (glibc-doc-$(edition).tar): Removed
9038 (ETAGS): Remove, it's in Makeconfig.
9039 (move-if-change): Remove, it's in Makeconfig.
9041 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9044 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9045 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9046 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9047 (strtod_l, strtof_l, strtold_l): Remove __wur.
9048 It is not necessarily an error to ignore strtol's return value.
9049 One can reliably look at the stored endptr to decide whether
9050 the number had valid syntax.
9052 2012-04-21 Andreas Jaeger <aj@suse.de>
9055 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9057 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9060 * sysdeps/unix/sysv/Versions: Remove file.
9062 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9067 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9071 version from __vm86.
9073 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9075 * sysdeps/unix/common/lxstat.c: Remove file.
9076 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9078 * sysdeps/unix/sysv/Makefile: Remove file.
9080 * sysdeps/unix/sysv/direct.h: Remove file.
9082 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9083 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9084 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9085 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9086 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9087 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9088 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9090 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9092 * sysdeps/unix/xmknod.c: Remove file.
9093 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9095 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9097 * sysdeps/unix/sysv/i386/time.S: Remove file.
9099 * sysdeps/unix/fxstat.c: Remove file.
9100 * sysdeps/unix/xstat.c: Likewise.
9101 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9103 * sysdeps/unix/sysv/sigaction.c: Remove file.
9105 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9106 (sysdep_headers): Remove variable.
9107 [termio.h not in sysdep_headers] (generated): Likewise.
9108 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9109 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9110 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9111 * sysdeps/unix/sysv/tcflow.c: Likewise.
9112 * sysdeps/unix/sysv/tcflush.c: Likewise.
9113 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9114 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9115 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9116 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9117 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9119 * sysdeps/unix/siglist.c: Remove file.
9121 * sysdeps/unix/getppid.S: Remove file.
9123 * sysdeps/unix/mkdir.c: Remove file.
9124 * sysdeps/unix/rmdir.c: Likewise.
9126 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9128 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9130 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9131 errlist-compat value.
9133 2012-04-18 David S. Miller <davem@davemloft.net>
9135 * sysdeps/generic/memcopy.h (reg_char): Delete.
9136 * debug/strcat_chk.c: Use char, not reg_char.
9137 * debug/strcpy_chk.c: Likewise.
9138 * debug/strncat_chk.c: Likewise.
9139 * debug/strncpy_chk.c: Likewise.
9140 * string/memchr.c: Likewise.
9141 * string/memrchr.c: Likewise.
9142 * string/rawmemchr.c: Likewise.
9143 * string/strcat.c: Likewise.
9144 * string/strchr.c: Likewise.
9145 * string/strchrnul.c: Likewise.
9146 * string/strcmp.c: Likewise.
9147 * string/strcpy.c: Likewise.
9148 * string/strncat.c: Likewise.
9149 * string/strncmp.c: Likewise.
9150 * string/strncpy.c: Likewise.
9152 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9154 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9155 __builtin_memcopy is called when src and dest ranges are known to not
9158 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9161 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9162 fwd_align_merge macro call.
9163 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9164 bwd_align_merge macro call.
9165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9170 bwd_align_merge macros.
9171 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9172 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9173 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9175 2012-04-18 David S. Miller <davem@davemloft.net>
9177 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9179 2012-04-18 Andreas Jaeger <aj@suse.de>
9182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9187 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9190 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9191 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9192 Adjust for changed ldbl-128 files.
9194 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9195 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9196 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9198 2012-04-17 David S. Miller <davem@davemloft.net>
9200 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9202 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9204 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9205 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9206 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9207 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9209 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9211 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9214 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9215 * math/libm-test.inc: Add ilogb errno and exception tests.
9216 * math/w_ilogb.c: New file: ilogb wrapper.
9217 * math/w_ilogbf.c: New file: ilogbf wrapper.
9218 * math/w_ilogbl.c: New file: ilogbl wrapper.
9219 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9220 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9221 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9222 exception being thrown with 0.0 as argument.
9223 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9224 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9225 exception being thrown with 0.0 as argument.
9226 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9227 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9228 exception being thrown with 0.0 as argument.
9229 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9230 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9231 exception being thrown with 0.0 as argument.
9232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9233 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9235 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9237 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9238 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9239 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9240 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9242 2012-04-17 Petr Baudis <pasky@ucw.cz>
9244 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9247 2012-04-16 Marek Polacek <polacek@redhat.com>
9249 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9251 2012-04-16 Marek Polacek <polacek@redhat.com>
9253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9254 operands of fdivp instruction.
9256 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9258 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9259 * elf/tst-auditmod3b.c: Likewise.
9260 * elf/tst-auditmod4b.c: Likewise.
9261 * elf/tst-auditmod5b.c: Likewise.
9262 * elf/tst-auditmod6b.c: Likewise.
9263 * elf/tst-auditmod6c.c: Likewise.
9264 * elf/tst-auditmod7b.c: Likewise.
9265 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9266 * sysdeps/x86_64/preconfigure.in: Likewise.
9267 * sysdeps/x86_64/preconfigure: Regenerated.
9269 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9271 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9274 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9277 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9279 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9282 * locale/iso-639.def: Fix gl language name. Spotted by
9285 2012-04-12 Roland McGrath <roland@hack.frob.com>
9288 * libio/libio.h (__io_write_fn): Update comment.
9290 2012-04-12 Petr Baudis <pasky@ucw.cz>
9293 * stdio.texi (Hook Functions): The user provided writer function
9294 is not allowed to return -1.
9296 2012-04-11 David S. Miller <davem@davemloft.net>
9298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9300 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9302 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9303 Add a leading slash to rtkaio.
9305 2012-04-11 Jim Meyering <meyering@redhat.com>
9308 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9309 It is not necessarily an error to ignore fwrite's return
9310 value. One can reliably use ferror to test for errors after
9313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9315 * bits/types.h (__snseconds_t): New type.
9316 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9318 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9320 (__SNSECONDS_T_TYPE): Likewise.
9321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9322 (__SNSECONDS_T_TYPE): Likewise.
9323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9324 (__SNSECONDS_T_TYPE): Likewise.
9326 2012-04-10 Andreas Jaeger <aj@suse.de>
9329 * manual/time.texi (Processor Time): Return type of times is
9330 elapsed real time since an arbitrary point in the past.
9331 (CPU Time): Move CLK_TCK from here...
9332 (Processor Time): ...to here. Correct description.
9333 * manual/conf.texi (Constants for Sysconf): Correct description of
9336 2012-04-10 David S. Miller <davem@davemloft.net>
9339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9340 where the is a gap between DT_REL(A) and DT_JMPREL.
9342 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9344 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9345 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9346 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9348 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9350 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9351 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9352 (dl_main): Handle --inhibit-cache.
9353 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9355 * elf/dl-load.c (_dl_map_object): Use it.
9356 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9358 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9361 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9362 (__ieee754_powl): Saturate large exponents rather than testing for
9363 overflow of y*log2(x).
9364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9365 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9369 * math/s_ctan.c: Include <float.h>.
9370 (__ctan): Avoid internal overflow or cancellation in calculating
9372 * math/s_ctanf.c: Likewise.
9373 * math/s_ctanl.c: Likewise.
9374 * math/s_ctanh.c: Likewise.
9375 * math/s_ctanhf.c: Likewise.
9376 * math/s_ctanhl.c: Likewise.
9377 * math/libm-test.inc (ctan_test): Add more tests.
9378 (ctanh_test): Likewise.
9379 * sysdeps/i386/fpu/libm-test-ulps: Update.
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9382 2012-04-09 Andreas Jaeger <aj@suse.de>
9385 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9386 is an optional BSD extension.
9389 * manual/stdio.texi (Opening Streams): Document additional fopen
9392 2012-04-09 Roland McGrath <roland@hack.frob.com>
9394 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9395 %eax without telling the compiler.
9397 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9400 * manual/install.texi: Use sourceware.org.
9402 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9405 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9406 (__ieee754_pow): Generate overflow and underflow using huge*huge
9407 and tiny*tiny rather than just returning constant infinity or zero
9408 for large exponents.
9409 * math/libm-test.inc (pow_test): Require overflow exceptions for
9410 applicable cases of large exponents.
9413 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9414 (__ieee754_pow): Use iterative multiplication algorithm only for
9415 integer exponents with absolute value below 1024. Check for odd
9416 integer exponents when using algorithm for real exponents.
9417 * math/libm-test.inc (pow_test): Add more tests.
9418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9420 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9423 * math/libm-test.inc (exp_test): Do not allow overflow exception
9426 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9429 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9430 instead of __kernel_standard_f.
9432 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9434 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9435 * sysdeps/x86_64/memset_chk.S: Likewise.
9437 2012-04-08 Andreas Jaeger <aj@suse.de>
9440 * manual/startup.texi (Environment Access): Describe return value
9441 for putenv and setenv.
9444 * manual/filesys.texi (Directory Entries): Add description for
9448 * manual/filesys.texi (Directory Entries): Clarify that it's file
9449 system not operating system in the description of DT_UNKNOWN.
9452 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9454 2012-04-08 Stephen Compall <s11@member.fsf.org>
9457 * manual/llio.texi (Opening and Closing Files): Add cross
9458 reference to explain mode argument.
9460 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9462 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9463 * sysdeps/x86_64/memset_chk.S: Likewise.
9465 2012-04-07 David S. Miller <davem@davemloft.net>
9467 * elf/elf.h (R_SPARC_WDISP10): Define.
9468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9471 R_SPARC_SIZE64 and R_SPARC_H34.
9473 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9476 conditions and remove no longer applicable assertion.
9478 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9480 * bits/byteswap.h: Include <features.h>.
9481 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9482 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9484 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9486 * bits/byteswap.h (__bswap_16): Removed.
9487 Include <bits/byteswap-16.h> to get __bswap_16.
9488 * sysdeps/i386/bits/byteswap.h: Likewise.
9489 * sysdeps/s390/bits/byteswap.h: Likewise.
9490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9491 * bits/byteswap-16.h: New file.
9492 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9493 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9494 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9495 * string/Makefile (headers): Add bits/byteswap-16.h.
9497 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9500 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9502 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9503 * nss/tst-nss-static.c: New.
9505 2012-04-06 Robert Millan <rmh@gnu.org>
9508 * manual/llio.texi (File Position Primitive): lseek
9509 refers to WHENCE when it really means OFFSET.
9511 2012-04-06 Andreas Jaeger <aj@suse.de>
9513 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9514 strncmp declarations.
9516 * abilist/libc.abilist: Add __poll and __ppoll.
9518 2012-04-05 David S. Miller <davem@davemloft.net>
9520 * scripts/check-local-headers.sh: Accept a host triplet in the
9521 path matched by the exclude regexp.
9523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9525 * sysdeps/powerpc/powerpc32/dl-machine.h
9526 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9527 * sysdeps/s390/s390-32/dl-machine.h
9528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9529 * sysdeps/sparc/sparc32/dl-machine.h
9530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9531 * sysdeps/sparc/sparc64/dl-machine.h
9532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9534 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9536 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9537 undefined symbol errors.
9539 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9542 2012-04-05 Michael Matz <matz@suse.de>
9545 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9547 2012-04-05 Andreas Jaeger <aj@suse.de>
9550 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9553 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9555 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9556 which ROUND is no valid rounding mode.
9558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9562 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9564 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9566 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9567 an exception using FPU order intentionally.
9569 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9571 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9572 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9573 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9574 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9576 2012-04-05 Simon Josefsson <simon@josefsson.org>
9579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9580 EINVAL when BUFLEN is too smal.
9582 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9585 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9586 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9588 2012-04-03 Andreas Jaeger <aj@suse.de>
9591 * manual/setjmp.texi (System V contexts): Fix sentence.
9594 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9595 New macro for this case.
9596 [!__GNUC__] (__bswap_64): New inline function for this case.
9597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9598 * bits/byteswap.h: Likewise.
9599 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9600 ull, guard with __GLIBC_HAVE_LONG_LONG.
9602 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9603 __GLIBC_HAVE_LONG_LONG.
9605 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9606 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9608 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9611 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9612 inptr and inend, rather than using last_ch.
9614 2012-04-02 David S. Miller <davem@davemloft.net>
9616 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9617 * stdio-common/printf-parse.h (read_int): Change return type to
9618 'int', return -1 on INT_MAX overflow.
9619 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9620 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9621 overflows INT_MAX. Check for overflow of in-format-string precision
9622 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9623 SIZE_MAX not INT_MAX for integer overflow test.
9624 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9625 skip the construct in the format string but do not record anything.
9626 * stdio-common/bug22.c: Adjust to test both width/prevision
9627 INT_MAX overflow as well as total length INT_MAX overflow. Check
9628 explicitly for proper errno values.
9630 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9632 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9634 * string/test-strcmp.c [! WIDE]: Likewise.
9635 * time/tst-mktime2.c: Likewise for INT_MAX.
9636 * string/test-string.h: #include <sys/param.h> for MIN.
9638 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9639 * sysdeps/i386/init-first.c (init): Likewise.
9640 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9641 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9642 * sysdeps/sh/init-first.c (init): Likewise.
9644 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9646 * po/ru.po: Update from translation team.
9647 * po/vi.po: Likewise.
9649 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9651 * resolv/nss_dns/dns-host.c: Merge copyright years.
9653 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9656 Optimize memcpy with prefetch if
9657 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9658 src, dst pointers have unequal 16 byte alignments.
9660 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9663 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9664 from a CNAME entry and return the minimum ttl for the query.
9665 (gaih_getanswer_slice): Likewise.
9667 2012-03-30 Jeff Law <law@redhat.com>
9669 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9671 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9672 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9674 * resolv/nss_dns/dns-host.c: Update copyright year.
9676 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9678 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9679 requests to save a system call. Fix check that all bytes are sent.
9681 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9682 comments for sendmmsg.
9684 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9687 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9688 with only 1 character between 0x0041 and 0x01b0.
9689 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9690 * wcsmbs/tst-mbsnrtowcs.c: New file.
9692 2012-03-29 David S. Miller <davem@davemloft.net>
9694 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9695 small copies by hand.
9697 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9700 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9701 _nss_compat_initgroups_dyn): Fall back to malloc/free
9702 for large group memberships.
9704 2012-03-28 David S. Miller <davem@davemloft.net>
9706 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9707 that branches into memcpy.
9708 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9714 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9716 * sysdeps/sparc/mempcpy.S: New file.
9718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9719 the IFUNC routine in the libc case.
9720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9722 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9723 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9724 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9725 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9726 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9727 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9728 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9729 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9731 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9732 loop to 256 bytes instead of 64 bytes and fix test signedness.
9734 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9735 * sysdeps/sparc/sparc32/Makefile: rather than here...
9736 * sysdeps/sparc/sparc64/Makefile: and here.
9738 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9740 * malloc/mallocbug.c: Avoid warnings about unused variables.
9742 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9745 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9746 in the right place. Discard and retry query if response is
9747 larger than input buffer size.
9749 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9755 x for large integer exponent.
9756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9757 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9758 sign of result as needed afterwards.
9759 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9760 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9761 result for underflowing pow the same as for overflow.
9762 (__kernel_standard_l): Handle powl overflow and underflow here
9763 rather than calling __kernel_standard.
9764 * math/libm-test.inc (pow_test): Add more tests.
9779 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9780 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9781 (__kernel_standard_l): New function.
9782 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9784 * math/w_acosl.c (__acosl): Likewise.
9785 * math/w_asinl.c (__asinl): Likewise.
9786 * math/w_atan2l.c (__atan2l): Likewise.
9787 * math/w_atanhl.c (__atanhl): Likewise.
9788 * math/w_coshl.c (__coshl): Likewise.
9789 * math/w_exp10l.c (__exp10l): Likewise.
9790 * math/w_exp2l.c (__exp2l): Likewise.
9791 * math/w_fmodl.c (__fmodl): Likewise.
9792 * math/w_hypotl.c (__hypotl): Likewise.
9793 * math/w_j0l.c (__j0l, __y0l): Likewise.
9794 * math/w_j1l.c (__j1l, __y1l): Likewise.
9795 * math/w_jnl.c (__jnl, __ynl): Likewise.
9796 * math/w_lgammal.c (__lgammal): Likewise.
9797 * math/w_log10l.c (__log10l): Likewise.
9798 * math/w_log2l.c (__log2l): Likewise.
9799 * math/w_logl.c (__logl): Likewise.
9800 * math/w_powl.c (__powl): Likewise.
9801 * math/w_remainderl.c (__remainderl): Likewise.
9802 * math/w_scalbl.c (sysv_scalbl): Likewise.
9803 * math/w_sinhl.c (__sinhl): Likewise.
9804 * math/w_sqrtl.c (__sqrtl): Likewise.
9805 * math/w_tgammal.c (__tgammal): Likewise.
9806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9807 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9808 * math/libm-test.inc (acos_test): Add more tests.
9809 (acosh_test): Likewise.
9810 (asin_test): Likewise.
9811 (atanh_test): Likewise.
9812 (exp_test): Likewise.
9813 (exp10_test): Likewise.
9814 (exp2_test): Likewise.
9815 (expm1_test): Likewise.
9816 (lgamma_test): Likewise.
9817 (log_test): Likewise.
9818 (log10_test): Likewise.
9819 (log1p_test): Likewise.
9820 (log2_test): Likewise.
9821 (pow_test): Do not allow some spurious overflow exceptions.
9822 (sqrt_test): Add more tests.
9823 (tgamma_test): Likewise.
9824 (y0_test): Likewise.
9825 (y1_test): Likewise.
9826 (yn_test): Likewise.
9828 2012-03-27 Anton Blanchard <anton@samba.org>
9830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9834 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9836 2012-03-27 David S. Miller <davem@davemloft.net>
9838 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9840 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9843 2012-03-27 Andreas Jaeger <aj@suse.de>
9845 * sysdeps/x86_64/elf/configure.in: Moved to ...
9846 * sysdeps/x86_64/configure.in: ... here.
9847 * sysdeps/x86_64/elf/start.S: Moved to ...
9848 * sysdeps/x86_64/start.S: ... here.
9849 * sysdeps/x86_64/elf/configure: Delete.
9851 * sysdeps/x86_64/configure.in: Merge contents from
9852 sysdeps/i386/configure.in (without i686 check).
9854 * sysdeps/i386/elf/Versions: Merge into ...
9855 * sysdeps/i386/Versions: ... this.
9856 * sysdeps/i386/elf/Versions: Delete file.
9857 * sysdeps/i386/elf/start.S: Moved to ...
9858 * sysdeps/i386/start.S: ...here.
9859 * sysdeps/i386/elf/configure.in: Merge into...
9860 * sysdeps/i386/configure.in: ...here.
9861 * sysdeps/i386/elf/configure.in: Delete file.
9862 * sysdeps/i386/elf/configure: Delete file.
9864 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9865 * debug/backtracesyms.c: ... here.
9866 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9867 * debug/backtracesymsfd.c: ... here.
9868 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9869 * sysdeps/generic/ifunc-sel.h: ... here.
9871 * sysdeps/unix/i386/start.c: Delete file.
9872 * sysdeps/unix/sparc/start.c: Delete file.
9873 * sysdeps/unix/start.c: Delete file.
9875 * sysdeps/sh/elf/configure.in: Moved to ...
9876 * sysdeps/sh/configure.in: ... here.
9877 * sysdeps/sh/elf/start.S: Moved to ...
9878 * sysdeps/sh/start.S: ... here.
9879 * sysdeps/sh/elf/configure: Delete file.
9881 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9882 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9883 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9884 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9885 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9886 * sysdeps/powerpc/powerpc64/start.S: here.
9887 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9888 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9889 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9890 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9891 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9893 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9894 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9895 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9896 * sysdeps/powerpc/powerpc32/start.S: ... here.
9897 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9898 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9899 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9901 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9902 * sysdeps/powerpc/ifunc-sel.h: ... here.
9903 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9904 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9906 * sysdeps/sparc/elf/configure.in: Moved to ...
9907 * sysdeps/sparc/configure.in: ... here.
9908 * sysdeps/sparc/elf/configure: Delete file.
9909 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9910 * sysdeps/sparc/sparc32/start.S: ... here.
9911 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9912 * sysdeps/sparc/sparc64/start.S: ... here.
9913 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9914 * sysdeps/sparc/sparc32/Makefile: ... this.
9915 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9916 * sysdeps/sparc/sparc64/Makefile: ... this.
9918 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9919 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9920 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9921 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9922 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9923 * sysdeps/s390/s390-32/setjmp.S: ... here.
9924 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9925 * sysdeps/s390/s390-32/configure.in: ... here.
9926 * sysdeps/s390/s390-32/elf/configure: Delete file.
9927 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9928 * sysdeps/s390/s390-32/start.S: ... here.
9930 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9931 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9932 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9933 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9934 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9935 * sysdeps/s390/s390-64/setjmp.S: ... here.
9936 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9937 * sysdeps/s390/s390-64/configure.in: ... here
9938 * sysdeps/s390/s390-64/elf/configure: Delete file.
9939 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9940 * sysdeps/s390/s390-64/start.S: ... here.
9941 * sysdeps/s390/s390-64/elf/configure: Delete.
9943 * configure.in: Remove support for elf directories in sysdeps.
9945 * configure: Regenerated.
9946 * sysdeps/i386/configure: Regenerated.
9947 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9948 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9949 * sysdeps/s390/s390-32/configure: Regenerated.
9950 * sysdeps/s390/s390-64/configure: Regenerated.
9951 * sysdeps/sh/configure: Regenerated.
9952 * sysdeps/sparc/configure: Regenerated.
9953 * sysdeps/x86_64/configure: Regenerated.
9955 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9960 denormal result into account.
9962 2012-03-25 Roland McGrath <roland@hack.frob.com>
9964 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9965 Reported by Allan McRae <allan@archlinux.org>.
9967 2012-03-23 Jeff Law <law@redhat.com>
9969 * nss/getnssent.c (__nss_getent): Fix typo.
9971 2012-03-23 David S. Miller <davem@davemloft.net>
9973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9975 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9977 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9978 to pad to uint64_t for each field.
9979 (dl_tls_index): Replace unsigned long with uint64_t.
9981 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9982 Paul Pluzhnikov <ppluzhnikov@google.com>
9985 * grp/Makefile (otherlibs): Don't set it.
9986 * inet/Makefile (otherlibs): Likewise.
9987 * login/Makefile (otherlibs): Likewise.
9988 * nscd/Makefile (otherlibs): Likewise.
9989 * posix/Makefile (otherlibs): Likewise.
9990 * pwd/Makefile (otherlibs): Likewise.
9991 * rt/Makefile (otherlibs): Likewise.
9992 * sunrpc/Makefile (otherlibs): Likewise.
9993 * nss/Makefile (otherlibs): Likewise.
9994 Add libnss_files to routines and static-only-routines.
9995 ($(objpfx)getent): Remove rule.
9996 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9997 static-only-routines.
9999 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10002 * math/s_cexp.c: Include <float.h>.
10003 (__cexp): Handle exp result overflowing not necessarily
10004 overflowing both real and imaginary parts of result.
10005 * math/s_cexpf.c: Likewise.
10006 * math/s_cexpl.c: Likewise.
10007 * math/libm-test.inc (cexp_test): Add more tests.
10008 * sysdeps/i386/fpu/libm-test-ulps: Update.
10009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10013 * include/link.h (ELFW): New macro.
10014 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10015 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10017 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10019 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10022 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10024 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10026 (struct La_x32_retval): Likewise.
10028 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10030 * sysdeps/x86_64/preconfigure.in: New file.
10031 * sysdeps/x86_64/preconfigure: New generated file.
10033 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10036 * math/e_exp2l.c: Include <float.h>.
10037 (__ieee754_exp2l): Handle overflow and underflow cases
10038 separately. Only pass fractional part of argument to
10040 * math/libm-test.inc (exp2_test): Add more tests.
10042 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10043 negating x to take absolute value.
10044 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10049 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10050 computing low part if x was negated.
10051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10053 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10055 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10056 la_x32_gnu_pltexit.
10057 (pltexit): Cast int_retval to ptrdiff_t.
10058 * elf/tst-auditmod3b.c: Likewise.
10059 * elf/tst-auditmod4b.c: Likewise.
10060 * elf/tst-auditmod5b.c: Likewise.
10061 * elf/tst-auditmod6b.c: Likewise.
10062 * elf/tst-auditmod6c.c: Likewise.
10063 * elf/tst-auditmod7b.c: Likewise.
10065 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10066 and x32_gnu_pltexit.
10068 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10069 __ELF_NATIVE_CLASS.
10070 (La_x32_regs): New macro.
10071 (La_x32_retval): Likewise.
10072 (la_x32_gnu_pltenter): New function prototype.
10073 (la_x32_gnu_pltexit): Likewise.
10075 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10082 * configure.in (libc_cv_cc_nofma): Check for option to disable
10083 generation of FMA instructions.
10084 * configure: Regenerate.
10085 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10086 * sysdeps/ieee754/dbl-64/Makefile: New file.
10087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10088 Remove brandred-fma4.
10089 (CFLAGS-brandred-fma4.c): Remove.
10090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10091 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10093 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10096 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10098 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10099 LLONG_MAX != LONG_MAX.
10100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10101 (_fitoa_word): Likewise.
10102 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10103 LLONG_MAX != LONG_MAX.
10104 * stdio-common/_itowa.h: Include <_itoa.h>.
10105 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10106 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10107 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10108 only if not defined.
10109 (_ITOA_WORD_TYPE): Likewise.
10110 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10111 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10113 2012-03-21 David S. Miller <davem@davemloft.net>
10115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10117 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10119 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10120 of x86_64 when setting libc_cv_slibdir, libdir and
10122 * sysdeps/unix/sysv/linux/configure: Regenerated.
10124 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10126 * manual/lang.texi (Old Varargs): Remove section.
10127 (How Variadic): Update menu.
10128 (va_start): Do not mention varargs.h.
10130 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10131 Joseph Myers <joseph@codesourcery.com>
10133 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10135 * configure: Regenerated.
10137 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10139 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10140 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10143 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10146 * Makefile (files-for-dist): Remove NOTES.
10147 (NOTES): Remove rule.
10148 * README: Don't refer to NOTES.
10149 * manual/creature.texi: Don't include macros.texi.
10150 * manual/intro.texi (creature.texi): Remove comment referring to
10153 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10154 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10155 * configure: Regenerated.
10156 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10157 LIBC_TRY_CC_OPTION.
10158 (libc_cv_as_i686): Likewise.
10159 (libc_cv_cc_avx): Likewise.
10160 (libc_cv_cc_sse2avx): Likewise.
10161 (libc_cv_cc_fma4): Likewise.
10162 (libc_cv_cc_novzeroupper): Likewise.
10163 * sysdeps/i386/configure: Regenerated.
10166 * sysdeps/i386/fpu/s_cexp.S: Remove.
10167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10168 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10169 * math/libm-test.inc (cexp_test): Add more tests.
10170 * sysdeps/i386/fpu/libm-test-ulps: Update.
10171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173 2012-03-21 Allan McRae <allan@archlinux.org>
10175 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10177 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10180 * math/w_exp2.c: Do not include <float.h>.
10181 (o_threshold, u_threshold): Remove.
10182 (__exp2): Calculate result before checking finiteness and calling
10184 * math/w_exp2f.c: Likewise.
10185 * math/w_exp2l.c: Likewise.
10186 * math/libm-test.inc (exp2_test): Require overflow exception for
10190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10191 range of signed 64-bit integers before using fistpll. Remove
10192 checks for whether integers fit in mantissa bits.
10193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10194 the range of signed 32-bit integers before using fistpl. Remove
10195 checks for whether integers fit in mantissa bits.
10196 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10197 (__ieee754_powl): Test for y outside the range of signed 64-bit
10198 integers before using fistpll. Reduce 64-bit values to 63-bit
10200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10201 divide-by-zero is raised for zero to large negative powers.
10202 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10203 (__ieee754_powl): Test for y outside the range of signed 64-bit
10204 integers before using fistpll. Reduce 64-bit values to 63-bit
10206 * math/libm-test.inc (pow_test): Add more tests.
10208 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10210 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10211 <stdio-common/_itoa.h>.
10212 * debug/segfault.c: Likewise.
10213 * elf/dl-cache.c: Likewise.
10214 * elf/dl-minimal.c: Likewise.
10215 * elf/dl-misc.c: Likewise.
10216 * elf/dl-sysdep.c: Likewise.
10217 * elf/dl-version.c: Likewise.
10218 * elf/rtld.c: Likewise.
10219 * hurd/hurdsock.c: Likewise.
10220 * hurd/lookup-retry.c: Likewise.
10221 * malloc/malloc.c: Likewise.
10222 * malloc/mtrace.c: Likewise.
10223 * nscd/nscd_getgr_r.c: Likewise.
10224 * nscd/nscd_getpw_r.c: Likewise.
10225 * nscd/nscd_getserv_r.c: Likewise.
10226 * posix/getopt_init.c: Likewise.
10227 * posix/wordexp.c: Likewise.
10228 * stdio-common/_itoa.c: Likewise.
10229 * stdio-common/printf_fphex.c: Likewise.
10230 * stdio-common/vfprintf.c: Likewise.
10231 * string/_strerror.c: Likewise.
10232 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10233 * sysdeps/i386/i686/hp-timing.h: Likewise.
10234 * sysdeps/mach/_strerror.c: Likewise.
10235 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10236 * sysdeps/mach/hurd/sethostid.c: Likewise.
10237 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10238 * sysdeps/mach/xpg-strerror.c: Likewise.
10239 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10241 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10242 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10244 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10246 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10247 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10248 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10249 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10251 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10252 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10253 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10254 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10255 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10257 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10258 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10259 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10261 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10263 * stdio-common/_itoa.h: Moved to ...
10264 * sysdeps/generic/_itoa.h: Here.
10266 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10268 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10269 instead of "_itoa.h" and "_itowa.h".
10270 * stdio-common/vfprintf.: Likewise.
10272 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10276 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10277 (__signbit): Likwise.
10278 (llrintf): Likwise.
10281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10286 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10288 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10289 OVERFLOW_EXCEPTION_OK.
10290 * math/libm-test.inc ("Philosophy"): Update comment about
10292 (OVERFLOW_EXCEPTION): Define.
10293 (OVERFLOW_EXCEPTION_OK): Likewise.
10294 (INVALID_EXCEPTION_OK): Renumber.
10295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10296 (IGNORE_ZERO_INF_SIGN): Likewise.
10297 (test_exceptions): Handle FE_OVERFLOW.
10298 (exp10_test): Expect overflow exceptions.
10299 (exp2_test): Likewise.
10300 (expm1_test): Likewise.
10301 (nextafter_test): Likewise.
10302 (pow_test): Likewise.
10303 (scalbn_test): Likewise.
10304 (scalbln_test): Likewise.
10306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10308 * sysdeps/x86_64/bits/atomic.h
10309 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10311 (atomic_exchange_acq): Likewise.
10312 (__arch_exchange_and_add_body): Likewise.
10313 (__arch_add_body): Likewise.
10314 (atomic_add_negative): Likewise.
10315 (atomic_add_zero): Likewise.
10317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10319 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10320 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10322 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10324 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10325 Check __x86_64__ instead of __WORDSIZE.
10327 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10329 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10331 2012-03-19 David S. Miller <davem@davemloft.net>
10333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10335 * sysdeps/sparc/fpu/fenv_private.h: New file.
10336 * sysdeps/sparc/fpu/math_private.h: Use it.
10337 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10340 (libc_feholdexcept_setroundl): Remove.
10341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10348 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10349 int64_t instead of long int.
10350 (INSERT_WORDS64): Likwise.
10352 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10354 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10355 _Unwind_GetCFA return to _Unwind_Ptr first.
10357 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10360 * math/s_clog.c: Include <float.h>.
10361 (__clog): Scale large or subnormal inputs.
10362 * math/s_clogf.c: Likewise.
10363 * math/s_clogl.c: Likewise.
10364 * math/s_clog10.c: Include <float.h>.
10365 (M_LOG10_2): Define.
10366 (__clog10): Scale large or subnormal inputs.
10367 * math/s_clog10f.c: Likewise.
10368 * math/s_clog10l.c: Likewise.
10369 * math/libm-test.inc (clog_test): Add more tests.
10370 (clog10_test): Likewise.
10371 * sysdeps/i386/fpu/libm-test-ulps: Update.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10377 * math/libm-test.inc (atan2_test): Add another test.
10379 * Makerules (common-objdir-compile): Remove.
10380 * sysdeps/unix/Makefile (config-generated): Do not add
10381 $(unix-generated) to variable.
10382 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10383 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10385 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10387 [generic bits/local_lim.h] (before-compile): Do not append to
10389 [generic bits/local_lim.h] (common-generated): Likewise.
10390 [generic sys/param.h] (before-compile): Do not append to variable.
10391 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10392 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10393 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10394 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10396 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10397 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10398 [generic sys/param.h] ($(addprefix
10399 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10400 [generic sys/param.h] (common-generated): Do not append to
10402 [generic sys/param.h] (sysdep_headers): Likewise.
10403 [generic bits/errno.h] (before-compile): Do not append to
10405 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10407 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10408 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10409 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10410 [generic bits/errno.h] (common-generated): Do not append to
10412 [generic bits/ioctls.h] (before-compile): Do not append to
10414 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10416 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10417 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10421 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10422 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10423 [generic bits/ioctls.h] (common-generated): Do not append to
10425 [generic sys/syscall.h] (syscall.h): Remove variable.
10426 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10428 [generic sys/syscall.h] (before-compile): Do not append to
10430 [generic sys/syscall.h] (common-generated): Likewise.
10431 * sysdeps/unix/errnos-tmpl.c: Remove file.
10432 * sysdeps/unix/errnos.awk: Likewise.
10433 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10434 * sysdeps/unix/ioctls.awk: Likewise.
10435 * sysdeps/unix/mk-local_lim.c: Likewise.
10436 * sysdeps/unix/snarf-ioctls: Likewise.
10438 2012-03-19 Richard Henderson <rth@twiddle.net>
10440 * sysdeps/i386/fpu/fenv_private.h: New file.
10441 * sysdeps/i386/fpu/math_private.h: Use it.
10442 (math_opt_barrier, math_force_eval): Remove.
10443 (libc_feholdexcept_setround_53bit): Remove.
10444 (libc_feupdateenv_53bit): Remove.
10445 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10446 (math_opt_barrier, math_force_eval): Remove.
10447 (libc_feholdexcept): Remove.
10448 (libc_feholdexcept_setround): Remove.
10449 (libc_fetestexcept, libc_fesetenv): Remove.
10450 (libc_feupdateenv_test): Remove.
10451 (libc_feupdateenv, libc_feholdsetround): Remove.
10452 (libc_feresetround): Remove.
10454 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10455 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10457 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10458 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10459 (libc_feupdateenv_testl): New.
10460 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10461 (libc_feupdateenv_testf): New.
10462 (libc_feupdateenv): Use libc_feupdateenv_test.
10463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10466 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10467 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10468 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10469 (libc_feresetround_noex): New.
10470 (libc_feresetround_noexf): New.
10471 (libc_feresetround_noexl): New.
10472 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10473 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10474 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10480 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10482 SET_RESTORE_ROUND_NOEX.
10483 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10484 SET_RESTORE_ROUND_NOEXF.
10485 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10486 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10487 (libc_feholdsetroundf): New.
10488 (libc_feresetround, libc_feresetroundf): New.
10490 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10491 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10492 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10494 * sysdeps/generic/math_private.h: Include <fenv.h>.
10495 (default_libc_feholdexcept): New.
10496 (default_libc_feholdexcept_setround): New.
10497 (default_libc_fesetenv, default_libc_feupdateenv): New.
10498 (libc_feholdexcept): Only define if undefined.
10499 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10500 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10501 (libc_feholdexcept_setroundl): Likewise.
10502 (libc_feholdexcept_setround_53bit): Likewise.
10503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10504 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10505 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10506 (libc_feupdateenv_53bit): Likewise.
10507 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10508 (libc_feholdexcept): Convert from macro to inline function.
10509 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10510 (libc_fesetenv, libc_feupdateenv): Likewise.
10512 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10513 not previously defined.
10514 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10515 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10516 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10517 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10518 * sysdeps/ieee754/flt-32/math_private.h: New file.
10519 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10520 math_private.h below SET_FLOAT_WORD.
10521 (__isnan, __isinf_ns, __finite): Remove.
10522 (__isnanf, __isinf_nsf, __finitef): Remove.
10524 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10528 2012-03-17 David S. Miller <davem@davemloft.net>
10531 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10534 2012-03-16 David S. Miller <davem@davemloft.net>
10536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10542 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10543 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10544 sysdep_routines when subdir is sysvipc.
10545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10546 __getshmlba helper.
10548 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10550 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10552 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10555 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10558 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10559 (__lround): Renamed to ...
10560 (__llround): This. Replace long int with long long int.
10561 Define lround functions as aliases of llround functions.
10562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10566 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10567 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10568 adresses to uintptr_t. Replace "long int" and "unsigned long
10569 int" with "greg_t" on va_arg.
10571 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10573 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10574 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10576 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10577 Move e_machine check before EI_CLASS check. Handle x32
10578 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10579 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10580 SKIP_EM_IA_64 and include
10581 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10583 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10584 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10585 (add_system_dir): New macro.
10587 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10588 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10590 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10601 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10603 * math/w_j0f.c (j0f): Likewise.
10605 * math/w_j0l.c (__j0l): Likewise.
10607 * math/w_j1.c (j1): Likewise.
10609 * math/w_j1f.c (j1f): Likewise.
10611 * math/w_j1l.c (__j1l): Likewise.
10613 * math/w_jn.c (jn): Likewise.
10615 * math/w_jnf.c (jnf): Likewise.
10617 * math/w_jnl.c (__jnl): Likewise.
10619 * math/libm-test.inc (j0_test): Add more tests.
10620 (j1_test): Likewise.
10621 (jn_test): Likewise. Add trailing semicolon to existing test.
10622 (y0_test): Likewise.
10623 (y1_test): Likewise.
10624 * sysdeps/i386/fpu/libm-test-ulps: Update.
10625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10630 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10631 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10632 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10633 (__tanl): Set errno for infinite argument.
10634 * sysdeps/i386/fpu/mptan.c: Remove.
10635 * sysdeps/i386/fpu/s_tan.S: Likewise.
10636 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10637 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10638 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10639 * math/libm-test.inc (tan_test): Add more tests and enable more
10640 tests for double and long double.
10641 * sysdeps/i386/fpu/libm-test-ulps: Update.
10642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10646 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10647 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10649 2012-03-16 Roland McGrath <roland@hack.frob.com>
10651 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10652 * configure.in: Use it for both main tree and add-ons.
10653 * configure: Regenerated.
10655 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10657 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10659 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10661 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10665 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10666 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10671 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10673 != 0 for prec == 2.
10674 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10675 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10676 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10677 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10678 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10679 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10680 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10681 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10682 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10683 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10684 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10685 * math/libm-test.inc (cos_test): Add more tests and enable more
10686 tests for long double.
10687 (sin_test): Likewise.
10688 (sincos_test): Likewise.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692 2012-03-16 David S. Miller <davem@davemloft.net>
10694 * sysdeps/sparc/fpu/math_private.h: New file.
10696 2012-03-15 David S. Miller <davem@davemloft.net>
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10712 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10713 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10715 * sysdeps/sparc/sparc-ifunc.h: New file.
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10761 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10763 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10767 2012-03-15 Andreas Jaeger <aj@suse.de>
10770 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10771 ieee754/flt-32 implementation for sin, cos and sincos.
10772 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10773 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10774 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10775 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10776 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10777 ieee754/flt-32 implementation for tan.
10779 * math/libm-test.inc (cos_test): Enable some large input tests for
10781 (sin_test): Likewise.
10782 (sincos_test): Likewise.
10783 (tan_test): Add tests for large input.
10785 * sysdeps/i386/fpu/libm-test-ulps: Update.
10787 2012-03-15 Andreas Jaeger <aj@suse.de>
10790 * math/libm-test.inc (cos_test): Add more test cases.
10791 (sin_test): Likewise.
10792 (sincos_test): Likewise.
10794 2012-03-15 Andreas Jaeger <aj@suse.de>
10797 * math/libm-test.inc (cos_test): Add a test case for large input
10799 (sin_test): Likewise.
10800 (sincos_test): Likewise.
10802 2012-03-15 Andreas Jaeger <aj@suse.de>,
10803 Joseph Myers <joseph@codesourcery.com>
10806 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10807 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10808 * sysdeps/i386/fpu/branred.c: Likewise.
10809 * sysdeps/i386/fpu/dosincos.c: Likewise.
10810 * sysdeps/i386/fpu/mpa.c: Likewise.
10811 * sysdeps/i386/fpu/s_cos.S: Likewise.
10812 * sysdeps/i386/fpu/s_sin.S: Likewise.
10813 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10814 * sysdeps/i386/fpu/sincos32.c: Likewise.
10816 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10818 (libc_feupdateenv_53bit): Define.
10819 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10821 (libc_feupdateenv_53bit): Define.
10823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10824 53 bit (without extend i386 double precision).
10826 * math/libm-test.inc (sincos_test): Add tests for large input.
10830 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10832 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10836 2012-03-15 David S. Miller <davem@davemloft.net>
10838 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10839 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10841 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10866 fmin/fmax sysdep routines.
10867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10869 2012-03-14 David S. Miller <davem@davemloft.net>
10871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10948 * sysdeps/sparc/configure.in: New file.
10949 * sysdeps/sparc/configure: Generate.
10950 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10951 * configure: Regenerate.
10952 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10953 * config.make.in (have-as-vis3): New.
10954 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10955 available use -Av9d instead of -Av9a.
10956 * sysdeps/sparc/sparc64/Makefile: Likewise.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10972 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10973 fzeros/fnegs to load 0x80000000 into a float register instead of
10975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10977 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10981 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10982 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10983 ($(inst_includedir)/bits/syscall.h): Remove rule.
10984 ($(objpfx)bits/syscall.d): Include instead of
10985 $(objpfx)syscall-list.d.
10986 (generated): Change syscall-list.h and syscall-list.d to
10987 bits/syscall.h and bits/syscall.d.
10989 2012-03-14 Roland McGrath <roland@hack.frob.com>
10992 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10994 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10997 * math/s_csqrt.c: Include <float.h>.
10998 (__csqrt): Scale large or subnormal inputs.
10999 * math/s_csqrtf.c: Likewise.
11000 * math/s_csqrtl.c: Likewise.
11001 * math/libm-test.inc (csqrt_test): Add more tests.
11002 * sysdeps/i386/fpu/libm-test-ulps: Update.
11003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006 * math/libm-test.inc (hypot_test): Add more tests.
11008 2012-03-13 David S. Miller <davem@davemloft.net>
11011 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11012 double-precision for the calculation instead of scaling.
11014 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11016 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11017 manipulate bits before adding and subtracting TWO52[sx].
11018 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11019 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11021 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11023 2012-03-13 David S. Miller <davem@davemloft.net>
11025 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11026 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11028 rtld-global-offsets.h
11029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11031 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11036 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11037 'err' in the ifdef scope in which it is actually used.
11039 * nss/nss_db/db-init.c: Include string.h
11041 2012-03-12 David S. Miller <davem@davemloft.net>
11043 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11044 masking out of the most significant byte of random value used.
11045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11046 Fix coding style in previous change.
11048 * sysdeps/unix/sysv/linux/kernel-features.h
11049 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11050 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11052 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11055 2012-03-11 David S. Miller <davem@davemloft.net>
11057 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11058 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11060 for 'resultvar' otherwise things get truncated on 64-bit.
11062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11063 Fix masking out of the most significant byte of random value used.
11065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11067 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11071 2012-03-09 David S. Miller <davem@davemloft.net>
11073 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11074 variables with appropriate CPP guards.
11075 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11076 frame pointer, not the stack pointer. Correct layout comments. Fix test
11077 on resulting framesize and the management of the outregs buffer for pltexit.
11078 Preserve floating point return values across _dl_call_pltexit call.
11079 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11080 framesize and the management of the outregs buffer for pltexit.
11081 Preserve floating point return values across _dl_call_pltexit
11083 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11084 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11085 (print_exit): Fix format string for return register value.
11087 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11089 * sunrpc/Makefile (others): Add rpcgen.
11090 ($(objpfx)rpcgen): Remove special build rule and dependency on
11092 * sunrpc/rpcgen.c: New file.
11094 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11097 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11098 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11099 * sysdeps/i386/crti.S: Likewise.
11100 * sysdeps/i386/crtn.S: Likewise.
11101 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11103 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11104 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11105 * sysdeps/sh/crti.S: Likewise.
11106 * sysdeps/sh/crtn.S: Likewise.
11107 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11110 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11112 * locale/programs/locfile-kw.gperf: Likewise.
11113 * locale/programs/charmap-kw.h: Regenerated.
11114 * locale/programs/locfile-kw.h: Likewise.
11117 * intl/plural.y: Replace FSF snail mail address with URL.
11118 * intl/plural.c: Regenerated.
11120 2012-03-09 Richard Henderson <rth@twiddle.net>
11122 * include/math_private.h: Remove file.
11123 * math/math_private.h: Move file ...
11124 * sysdeps/generic/math_private.h: ... here.
11126 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11127 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11128 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11130 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11131 and <math_private.h>.
11132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11187 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11188 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11191 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11220 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11237 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11238 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11239 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11240 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11242 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11245 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11248 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11249 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11250 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11251 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11253 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11255 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11256 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11257 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11259 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11260 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11261 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11262 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11263 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11264 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11265 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11266 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11267 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11268 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11269 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11270 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11271 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11273 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11274 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11275 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11276 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11277 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11278 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11280 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11281 * sysdeps/ieee754/k_standard.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11385 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11415 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11416 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11417 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11418 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11419 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11420 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11421 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11423 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11424 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11427 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11429 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11430 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11431 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11436 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11439 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11442 * sysdeps/ieee754/s_lib_version.c: Likewise.
11443 * sysdeps/ieee754/s_matherr.c: Likewise.
11444 * sysdeps/ieee754/s_signgam.c: Likewise.
11445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11447 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11448 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11449 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11450 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11451 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11452 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11453 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11454 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11455 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11456 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11457 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11458 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11459 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11460 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11462 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11467 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11469 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11470 * sunrpc/rpc_main.c: Likewise.
11471 * sunrpc/rpc_svcout.c: Likewise.
11473 2012-03-09 David S. Miller <davem@davemloft.net>
11475 * include/math_private.h: New file.
11477 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11479 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11480 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11481 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11482 from <bits/socket_type.h>.
11483 (enum __socket_type): Don't define here.
11484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11486 bits/socket_type.h.
11489 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11490 checking __USE_GNU.
11492 * Makerules ($(inst_includedir)/%.h): New rule.
11493 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11494 (install-others): Remove variable setting.
11495 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11497 2012-03-08 Richard Henderson <rth@twiddle.net>
11499 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11500 from macro to inline function; merge with the
11501 !__LIBC_INTERNAL_MATH_INLINES version.
11502 (__ieee754_sqrtf): Likewise.
11504 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11505 to inline function.
11506 (__rintf, __floor, __floorf): Likewise.
11508 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11509 macro to inline function.
11510 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11513 not <math/math_private.h>.
11515 2012-03-08 David S. Miller <davem@davemloft.net>
11517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11519 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11521 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11523 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11525 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11526 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11528 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11530 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11531 be defined individually, they must be defined as a block. Define
11532 S for printing a string instead of hidint the different by using a
11533 macro for adding the 'l'.
11534 * stdio-common/tst-fphex-wide.c: Adjust.
11536 2012-03-07 Marek Polacek <polacek@redhat.com>
11538 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11540 2012-03-08 Marek Polacek <polacek@redhat.com>
11543 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11544 * stdio-common/tst-fphex.c: Define a few macros to make the
11545 test reusable. Use them.
11546 * stdio-common/tst-fphex-wide.c: New file.
11548 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11551 * manual/macros.texi (gnusystems): New macro.
11552 (nongnusystems): Likewise.
11553 (gnulinuxhurdsystems): Likewise.
11554 (gnuhurdsystems): Likewise..
11555 (gnulinuxsystems): Likewise.
11556 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11557 variants of the GNU system, not "GNU system".
11558 * manual/conf.texi: Likewise.
11559 * manual/errno.texi: Likewise. Update example of errno macro
11561 * manual/filesys.texi: Likewise.
11562 (getumask): Document as specific to GNU/Hurd.
11563 * manual/install.texi: Likewise. Reword some references to
11565 * manual/intro.texi: Likewise.
11566 * manual/io.texi: Likewise.
11567 (File Name Portability): Detail which constraints are inapplicable
11568 to all GNU systems and which are only inapplicable to GNU/Hurd.
11569 * manual/job.texi: Likewise.
11570 * manual/llio.texi: Likewise.
11571 (O_NOCTTY): Document as present on GNU/Linux.
11572 * manual/maint.texi: Likewise.
11573 * manual/memory.texi: Likewise.
11574 * manual/pattern.texi: Likewise.
11575 * manual/pipe.texi: Likewise.
11576 * manual/process.texi: Likewise.
11577 * manual/resource.texi: Likewise.
11578 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11580 * manual/setjmp.texi: Likewise.
11581 * manual/signal.texi: Likewise.
11582 * manual/startup.texi: Likewise.
11583 * manual/stdio.texi: Likewise.
11584 * manual/terminal.texi: Likewise.
11585 (ONLCR): Document as POSIX.
11586 (OXTABS): Document availability on GNU/Linux as XTABS.
11587 (ONOEOT): Document availability separately from other bits.
11588 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11589 * manual/time.texi: Likewise.
11590 * manual/users.texi: Likewise.
11591 * INSTALL: Regenerated.
11592 * sysdeps/gnu/errlist.c: Regenerated.
11594 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11595 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11596 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11598 * configure: Regenerated.
11600 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11602 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11603 default includes instead of AC_HEADER_CHECK.
11604 * sysdeps/i386/configure: Regenerated.
11607 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11608 * math/s_cacoshf.c (__cacoshf): Likewise.
11609 * math/s_cacoshl.c (__cacoshl): Likewise.
11610 * math/s_casinh.c (__casinh): Set signs of result from argument.
11611 * math/s_casinhf.c (__casinhf): Likewise.
11612 * math/s_casinhl.c (__casinhl): Likewise.
11613 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11614 (casinh_test): Add more tests.
11615 * sysdeps/i386/fpu/libm-test-ulps: Update.
11616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11618 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11620 * po/zh_TW.po: Update from translation team.
11622 * login/Makefile (distribute): Remove variable.
11623 * catgets/Makefile: Likewise.
11624 * mach/Makefile: Likewise.
11625 * malloc/Makefile: Likewise.
11626 * misc/Makefile: Likewise.
11627 * iconv/Makefile: Likewise.
11628 * nscd/Makefile: Likewise.
11629 * hurd/Makefile: Likewise.
11630 * manual/Makefile: Likewise.
11631 * locale/Makefile: Likewise.
11632 * intl/Makefile: Likewise.
11633 * conform/Makefile: Likewise.
11634 * nss/Makefile: Likewise.
11635 * time/Makefile: Likewise.
11636 * soft-fp/Makefile: Likewise.
11637 * dirent/Makefile: Likewise.
11638 * gmon/Makefile: Likewise.
11639 * po/Makefile: Likewise.
11640 * rt/Makefile: Likewise.
11641 * socket/Makefile: Likewise.
11642 * math/Makefile: Likewise.
11643 * signal/Makefile: Likewise.
11644 * debug/Makefile: Likewise.
11645 * elf/Makefile: Likewise.
11646 * timezone/Makefile: Likewise.
11647 * stdlib/Makefile: Likewise.
11648 * iconvdata/Makefile: Likewise.
11649 * sunrpc/Makefile: Likewise.
11650 * io/Makefile: Likewise.
11651 * argp/Makefile: Likewise.
11652 * inet/Makefile: Likewise.
11653 * hesiod/Makefile: Likewise.
11654 * grp/Makefile: Likewise.
11655 * csu/Makefile: Likewise.
11656 * wctype/Makefile: Likewise.
11657 * crypt/Makefile: Likewise.
11658 * libio/Makefile: Likewise.
11659 * string/Makefile: Likewise.
11660 * nis/Makefile: Likewise.
11661 * resolv/Makefile: Likewise.
11662 * stdio-common/Makefile: Likewise.
11663 * wcsmbs/Makefile: Likewise.
11664 * dlfcn/Makefile: Likewise.
11665 * posix/Makefile: Likewise.
11668 * timezone/Makefile: Don't install timezone files, just the programs
11671 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11673 * nss/databases.def: Add missing gshadow entry.
11675 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11677 2012-03-06 Marek Polacek <polacek@redhat.com>
11680 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11681 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11682 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11683 * stdio-common/tst-long-dbl-fphex.c: New file.
11685 2012-03-06 David S. Miller <davem@davemloft.net>
11687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11688 (set_obp_int): New function.
11689 (get_obp_int): New function.
11690 (__get_clockfreq_via_dev_openprom): Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11692 Avoid unused variable warnings on 'val' and use builtin_expect.
11693 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11695 (INLINE_CLONE_SYSCALL): Likewise.
11697 2012-03-05 David S. Miller <davem@davemloft.net>
11699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11701 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11706 only for |x| >= 40.
11707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11709 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11712 Replace gettimeofday with __vdso_gettimeofday.
11714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11715 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11716 __vdso_clock_gettime and __vdso_getcpu.
11718 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11719 time with __vdso_time.
11721 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11723 * manual/lang.texi (size_t): Note types to which size_t may be
11724 equivalent with the GNU C Library, but do not describe when
11725 differences between them are significant.
11727 2012-03-05 Andreas Jaeger <aj@suse.de>
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11731 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11735 (__ieee754_pow): Save and restore rounding mode and use
11736 round-to-nearest for main computations.
11737 * math/libm-test.inc (pow_test_tonearest): New function.
11738 (pow_test_towardzero): Likewise.
11739 (pow_test_downward): Likewise.
11740 (pow_test_upward): Likewise.
11741 (main): Call the new functions.
11742 * sysdeps/i386/fpu/libm-test-ulps: Update.
11743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11746 * math/libm-test.inc (cosh_test_tonearest): New function.
11747 (cosh_test_towardzero): Likewise.
11748 (cosh_test_downward): Likewise.
11749 (cosh_test_upward): Likewise.
11750 (sinh_test_tonearest): Likewise.
11751 (sinh_test_towardzero): Likewise.
11752 (sinh_test_downward): Likewise.
11753 (sinh_test_upward): Likewise.
11754 (main): Call the new functions.
11755 * sysdeps/i386/fpu/libm-test-ulps: Update.
11756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758 2012-03-05 Tom de Vries <tom@codesourcery.com>
11760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11761 default stack guard is set in last bytes.
11762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11764 2012-03-05 Kees Cook <keescook@chromium.org>
11766 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11769 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11770 possibly allocate from heap instead of stack.
11771 * stdio-common/bug-vfprintf-nargs.c: New file.
11772 * stdio-common/Makefile (tests): Add nargs overflow test.
11774 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11778 2012-03-03 Marek Polacek <polacek@redhat.com>
11780 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11781 * math/math_private.h: Likewise.
11782 * stdlib/tst-strtod.c: Likewise.
11783 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11784 * sysdeps/x86_64/bits/atomic.h: Likewise.
11786 2012-03-02 David S. Miller <davem@davemloft.net>
11788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11792 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11793 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11794 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11795 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11797 2012-03-02 Roland McGrath <roland@hack.frob.com>
11800 * manual/examples/README: New file, says the example source files
11801 can be used under GPL>=2.
11802 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11803 line containing just "*/".
11804 * manual/examples/add.c: Add copyright header (GPL>=2).
11805 * manual/examples/argp-ex1.c: Likewise.
11806 * manual/examples/argp-ex2.c: Likewise.
11807 * manual/examples/argp-ex3.c: Likewise.
11808 * manual/examples/argp-ex4.c: Likewise.
11809 * manual/examples/atexit.c: Likewise.
11810 * manual/examples/db.c: Likewise.
11811 * manual/examples/dir.c: Likewise.
11812 * manual/examples/dir2.c: Likewise.
11813 * manual/examples/execinfo.c: Likewise.
11814 * manual/examples/filecli.c: Likewise.
11815 * manual/examples/filesrv.c: Likewise.
11816 * manual/examples/fmtmsgexpl.c: Likewise.
11817 * manual/examples/genpass.c: Likewise.
11818 * manual/examples/inetcli.c: Likewise.
11819 * manual/examples/inetsrv.c: Likewise.
11820 * manual/examples/isockad.c: Likewise.
11821 * manual/examples/longopt.c: Likewise.
11822 * manual/examples/memopen.c: Likewise.
11823 * manual/examples/memstrm.c: Likewise.
11824 * manual/examples/mkfsock.c: Likewise.
11825 * manual/examples/mkisock.c: Likewise.
11826 * manual/examples/mygetpass.c: Likewise.
11827 * manual/examples/pipe.c: Likewise.
11828 * manual/examples/popen.c: Likewise.
11829 * manual/examples/rprintf.c: Likewise.
11830 * manual/examples/search.c: Likewise.
11831 * manual/examples/select.c: Likewise.
11832 * manual/examples/setjmp.c: Likewise.
11833 * manual/examples/sigh1.c: Likewise.
11834 * manual/examples/sigusr.c: Likewise.
11835 * manual/examples/stpcpy.c: Likewise.
11836 * manual/examples/strdupa.c: Likewise.
11837 * manual/examples/strftim.c: Likewise.
11838 * manual/examples/strncat.c: Likewise.
11839 * manual/examples/subopt.c: Likewise.
11840 * manual/examples/swapcontext.c: Likewise.
11841 * manual/examples/termios.c: Likewise.
11842 * manual/examples/testopt.c: Likewise.
11843 * manual/examples/testpass.c: Likewise.
11844 * manual/examples/timeval_subtract.c: Likewise.
11847 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11849 * manual/timeval_subtract.c.texi: ... here, new file.
11851 2012-03-02 David S. Miller <davem@davemloft.net>
11853 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11855 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11858 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11859 (__sin): Save and restore rounding mode and use round-to-nearest
11860 for all computations.
11861 (__cos): Save and restore rounding mode and use round-to-nearest
11862 for all computations.
11863 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11865 (tan): Save and restore rounding mode and use round-to-nearest for
11867 * math/libm-test.inc (cos_test_tonearest): New function.
11868 (cos_test_towardzero): Likewise.
11869 (cos_test_downward): Likewise.
11870 (cos_test_upward): Likewise.
11871 (sin_test_tonearest): Likewise.
11872 (sin_test_towardzero): Likewise.
11873 (sin_test_downward): Likewise.
11874 (sin_test_upward): Likewise.
11875 (tan_test_tonearest): Likewise.
11876 (tan_test_towardzero): Likewise.
11877 (tan_test_downward): Likewise.
11878 (tan_test_upward): Likewise.
11879 (main): Call the new functions.
11880 * sysdeps/i386/fpu/libm-test-ulps: Update.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11884 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11885 small n, then large n, before computing and testing k+n.
11886 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11891 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11892 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11899 * math/libm-test.inc (scalbn_test): Add more tests.
11900 (scalbln_test): Likewise.
11902 * manual/filesys.texi (mode_t): Describe constraints on size and
11903 signedness, not exact equivalence to a particular type.
11905 (ino64_t): Likewise.
11907 (nlink_t): Likewise.
11908 (blkcnt_t): Likewise.
11909 (blkcnt64_t): Likewise.
11910 * manual/llio.texi (off_t): Likewise.
11913 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11914 (__ieee754_exp): Save and restore rounding mode and use
11915 round-to-nearest for all computations.
11916 * math/libm-test.inc (exp_test_tonearest): New function.
11917 (exp_test_towardzero): Likewise.
11918 (exp_test_downward): Likewise.
11919 (exp_test_upward): Likewise.
11920 (main): Call the new functions.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924 2012-03-01 Chris Demetriou <cgd@google.com>
11926 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11927 have predictable order.
11929 2012-03-01 David S. Miller <davem@davemloft.net>
11931 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11933 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11934 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11935 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11936 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11938 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11939 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11940 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11942 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11943 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11944 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11945 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11946 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11951 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11954 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11956 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11957 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11958 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11963 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11964 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11970 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11971 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11972 * sysdeps/sparc/elf/configure: Regenerated.
11974 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11976 * configure.in (AS, LD): Require binutils 2.20 or later.
11977 * configure: Regenerated.
11978 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11979 as required minimum version.
11980 * INSTALL: Regenerated.
11984 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11985 before squaring exponent.
11986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11987 bottom long double and 27 bits of top long double before squaring
11989 * math/libm-test.inc (erfc_test): Add more tests.
11990 * sysdeps/i386/fpu/libm-test-ulps: Update.
11991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 2012-03-01 Kai Tietz <ktietz@redhat.com>
11996 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11997 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11998 containing bit-fields.
11999 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12000 * soft-fp/single.h (_FP_UNION_S): Likewise.
12001 * soft-fp/double.h (_FP_UNION_D): Likewise.
12003 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12006 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12007 not include ../strcmp.S.
12008 [USE_AS_STRNCASECMP_L]: Likewise.
12009 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12010 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12011 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12012 (__strncasecmp_l_ia32): Define as alias to
12013 __strncasecmp_l_nonascii.
12016 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12017 * sysdeps/i386/fpu/libm-test-ulps: Update.
12018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12023 2012-02-29 Jeff Law <law@redhat.com>
12025 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12026 out of bounds read.
12028 2012-02-29 Marek Polacek <polacek@redhat.com>
12031 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12032 * elf/Makefile: Add rules to run tst-unused-dep.out.
12034 2012-02-28 David S. Miller <davem@davemloft.net>
12036 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12037 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12040 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12041 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12043 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12045 * math/libm-test.inc (llround_test): Move one test from
12046 lround_test. Use TEST_f_L in moved test.
12047 (lround_test): Move misplaced test to llround_test. Add testcase
12050 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12052 * sysdeps/x86_64/fpu/e_expf.S: New file.
12053 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12055 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12058 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12059 of remain_len that may cause incomplete multi-byte character and
12061 * posix/bug-regex33.c: New file.
12062 * posix/Makefile (tests): Add bug-regex33.
12064 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12066 * manual/macros.texi: New file.
12067 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12068 * manual/libc.texinfo: Include macros.texi.
12069 * manual/creatute.texi: Likewise.
12070 * manual/install.texi: Likewise.
12071 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12072 @glibcadj{} in references to the GNU C Library.
12073 * manual/charset.texi: Likewise.
12074 * manual/conf.texi: Likewise.
12075 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12076 when not using those macros.
12077 * manual/creature.texi: Likewise.
12078 * manual/crypt.texi: Likewise.
12079 * manual/errno.texi: Likewise.
12080 * manual/filesys.texi: Likewise.
12081 * manual/header.texi: Likewise.
12082 * manual/install.texi: Likewise.
12083 * manual/intro.texi: Likewise.
12084 * manual/io.texi: Likewise.
12085 * manual/job.texi: Likewise.
12086 * manual/lang.texi: Likewise.
12087 * manual/libc.texiinfo: Likewise.
12088 * manual/llio.texi: Likewise.
12089 * manual/locale.texi: Likewise.
12090 * manual/maint.texi: Likewise.
12091 * manual/math.texi: Likewise.
12092 * manual/memory.texi: Likewise.
12093 * manual/message.texi: Likewise.
12094 * manual/nss.texi: Likewise.
12095 * manual/pattern.texi: Likewise.
12096 * manual/process.texi: Likewise.
12097 * manual/resource.texi: Likewise.
12098 * manual/search.texi: Likewise.
12099 * manual/setjmp.texi: Likewise.
12100 * manual/signal.texi: Likewise.
12101 * manual/socket.texi: Likewise.
12102 * manual/startup.texi: Likewise.
12103 * manual/stdio.texi: Likewise.
12104 * manual/string.texi: Likewise.
12105 * manual/sysinfo.texi: Likewise.
12106 * manual/syslog.texi: Likewise.
12107 * manual/terminal.texi: Likewise.
12108 * manual/time.texi: Likewise.
12109 * manual/users.texi: Likewise.
12110 * INSTALL: Regenerated.
12111 * NOTES: Regenerated.
12112 * sysdeps/gnu/errlist.c: Regenerated.
12114 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12116 * include/dirent.h: Include <dirstream.h> before
12119 2012-02-28 David S. Miller <davem@davemloft.net>
12121 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12122 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12123 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12124 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12126 2012-02-27 David S. Miller <davem@davemloft.net>
12128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12130 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12131 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12134 frame pointer instead of stack pointer relative arg slot.
12135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12136 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12137 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12139 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12142 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12144 2012-02-27 David S. Miller <davem@davemloft.net>
12146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12152 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12155 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12157 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12158 later. Allow versions 5-9.
12159 * configure: Regenerated.
12160 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12161 required minimum version and 4.6 as recommended version. Do not
12162 mention bugs in GCC 2.7 and 2.8.
12163 * INSTALL: Regenerated.
12165 2012-02-27 David S. Miller <davem@davemloft.net>
12167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12171 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12173 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12177 manipulate bits before adding and subtracting TWO112[sx].
12178 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12180 2012-02-27 Roland McGrath <roland@hack.frob.com>
12183 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12184 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12185 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12186 being in POSIX, because they are in 1003.1-2008.
12188 * rt/tst-aio.c: Include <fcntl.h>.
12189 * rt/tst-aio7.c: Likewise.
12190 * rt/tst-aio64.c: Likewise.
12192 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12194 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12196 * manual/install.texi (--with-headers): Describe headers as
12197 interface headers, not private headers.
12198 (Specific advice for GNU/Linux systems): Describe use of headers
12199 from "make headers_install", not private headers from older
12201 * INSTALL: Regenerated.
12202 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12204 * sysdeps/unix/sysv/linux/configure: Regenerated.
12206 * manual/llio.texi (fclean): Remove documentation.
12208 * manual/Makefile (libc-texi-generated): New variable. Include
12210 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12211 $(libc-texi-generated), not duplicated list of files.
12212 (version.texi, stamp-version): New rules.
12213 (realclean): Remove $(libc-texi-generated), not individual files
12214 from that list. Do not remove dir-add.texinfo.
12215 * manual/libc.texinfo: Comment out uses of edition numbers and
12216 references to printed manual. Remove last-updated dates.
12217 (EDITION): Comment out.
12219 (VERSION, UPDATED): Remove.
12220 (version.texi): Include.
12222 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12224 * sysdeps/posix/spawni.c: Include <signal.h>.
12225 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12226 * sysdeps/pthread/aio_fsync.c: Likewise.
12228 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12230 * conform/Makefile (tests): Run only when not cross-compiling and
12231 when fast-check is not defined.
12233 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12234 * conform/data/limits.h-data: Fixes for POSIX2008.
12235 * conform/run-conformtest.sh: Run all tests.
12236 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12238 * include/bits/dlfcn.h: Likewise.
12239 * include/langinfo.h: Likewise.
12240 * include/monetary.h: Likewise.
12241 * include/sys/poll.h: Likewise.
12243 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12245 * posix/spawn.h: Define __need_sigset_t.
12246 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12247 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12248 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12249 to get sigevent_t only.
12250 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12251 only for __USE_GNU.
12252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12253 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12254 process_vm_writev only for __USE_GNU.
12255 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12257 * conform/Makefile: For now ignore errors from run-conformtest.
12258 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12259 POSIX to avoid namespace pollution. Don't prepend headers.
12260 * conform/data/aio.h-data: Fixes for POSIX testing.
12261 * conform/data/fcntl.h-data: Likewise.
12262 * conform/data/glob.h-data: Likewise.
12263 * conform/data/grp.h-data: Likewise.
12264 * conform/data/pthread.h-data: Likewise.
12265 * conform/data/pwd.h-data: Likewise.
12266 * conform/data/signal.h-data: Likewise.
12267 * conform/data/spawn.h-data: Likewise.
12268 * conform/data/stdio.h-data: Likewise.
12269 * conform/data/stdlib.h-data: Likewise.
12270 * conform/data/stropts.h-data: Likewise.
12271 * conform/data/sys/mman.h-data: Likewise.
12272 * conform/data/sys/stat.h-data: Likewise.
12273 * conform/data/sys/types.h-data: Likewise.
12274 * conform/data/sys/wait.h-data: Likewise.
12275 * conform/data/time.h-data: Likewise.
12276 * conform/data/unistd.h-data: Likewise.
12277 * conform/data/utime.h-data: Likewise.
12279 * io/sys/stat.h: fchmod was always in POSIX.
12280 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12281 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12282 * rt/aio.h: Define __need_timespec before including <time.h>.
12283 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12284 struct. Add forward declaration of pthread_attr_t and use it in
12286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12288 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12289 always remove CLK_TCK definition.
12291 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12293 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12295 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12297 * conform/run-conformtest.sh: New file.
12298 * conform/Makefile: Run run-conformtest for tests.
12299 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12302 * conform/data/uchar.h-data: New file.
12303 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12304 * conform/data/arpa/inet.h-data: Likewise.
12305 * conform/data/assert.h-data: Likewise.
12306 * conform/data/complex.h-data: Likewise.
12307 * conform/data/cpio.h-data: Likewise.
12308 * conform/data/ctype.h-data: Likewise.
12309 * conform/data/dirent.h-data: Likewise.
12310 * conform/data/dlfcn.h-data: Likewise.
12311 * conform/data/errno.h-data: Likewise.
12312 * conform/data/fcntl.h-data: Likewise.
12313 * conform/data/float.h-data: Likewise.
12314 * conform/data/fmtmsg.h-data: Likewise.
12315 * conform/data/fnmatch.h-data: Likewise.
12316 * conform/data/ftw.h-data: Likewise.
12317 * conform/data/glob.h-data: Likewise.
12318 * conform/data/grp.h-data: Likewise.
12319 * conform/data/iconv.h-data: Likewise.
12320 * conform/data/inttypes.h-data: Likewise.
12321 * conform/data/langinfo.h-data: Likewise.
12322 * conform/data/libgen.h-data: Likewise.
12323 * conform/data/limits.h-data: Likewise.
12324 * conform/data/locale.h-data: Likewise.
12325 * conform/data/math.h-data: Likewise.
12326 * conform/data/monetary.h-data: Likewise.
12327 * conform/data/mqueue.h-data: Likewise.
12328 * conform/data/ndbm.h-data: Likewise.
12329 * conform/data/net/if.h-data: Likewise.
12330 * conform/data/netdb.h-data: Likewise.
12331 * conform/data/netinet/in.h-data: Likewise.
12332 * conform/data/nl_types.h-data: Likewise.
12333 * conform/data/poll.h-data: Likewise.
12334 * conform/data/pthread.h-data: Likewise.
12335 * conform/data/pwd.h-data: Likewise.
12336 * conform/data/regex.h-data: Likewise.
12337 * conform/data/sched.h-data: Likewise.
12338 * conform/data/search.h-data: Likewise.
12339 * conform/data/semaphore.h-data: Likewise.
12340 * conform/data/setjmp.h-data: Likewise.
12341 * conform/data/signal.h-data: Likewise.
12342 * conform/data/spawn.h-data: Likewise.
12343 * conform/data/stdarg.h-data: Likewise.
12344 * conform/data/stdio.h-data: Likewise.
12345 * conform/data/stdlib.h-data: Likewise.
12346 * conform/data/string.h-data: Likewise.
12347 * conform/data/strings.h-data: Likewise.
12348 * conform/data/stropts.h-data: Likewise.
12349 * conform/data/sys/ipc.h-data: Likewise.
12350 * conform/data/sys/mman.h-data: Likewise.
12351 * conform/data/sys/msg.h-data: Likewise.
12352 * conform/data/sys/resource.h-data: Likewise.
12353 * conform/data/sys/select.h-data: Likewise.
12354 * conform/data/sys/sem.h-data: Likewise.
12355 * conform/data/sys/shm.h-data: Likewise.
12356 * conform/data/sys/socket.h-data: Likewise.
12357 * conform/data/sys/stat.h-data: Likewise.
12358 * conform/data/sys/statvfs.h-data: Likewise.
12359 * conform/data/sys/time.h-data: Likewise.
12360 * conform/data/sys/timeb.h-data: Likewise.
12361 * conform/data/sys/times.h-data: Likewise.
12362 * conform/data/sys/types.h-data: Likewise.
12363 * conform/data/sys/uio.h-data: Likewise.
12364 * conform/data/sys/un.h-data: Likewise.
12365 * conform/data/sys/utsname.h-data: Likewise.
12366 * conform/data/sys/wait.h-data: Likewise.
12367 * conform/data/syslog.h-data: Likewise.
12368 * conform/data/tar.h-data: Likewise.
12369 * conform/data/termios.h-data: Likewise.
12370 * conform/data/utime.h-data: Likewise.
12371 * conform/data/utmpx.h-data: Likewise.
12372 * conform/data/varargs.h-data: Likewise.
12373 * conform/data/wchar.h-data: Likewise.
12374 * conform/data/wctype.h-data: Likewise.
12375 * conform/data/wordexp.h-data: Likewise.
12377 * include/stropts.h: New file.
12378 * include/uchar.h: New file.
12379 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12380 * include/assert.h: Likewise.
12381 * include/ctype.h: Likewise.
12382 * include/dirent.h: Likewise.
12383 * include/dlfcn.h: Likewise.
12384 * include/fcntl.h: Likewise.
12385 * include/fnmatch.h: Likewise.
12386 * include/glob.h: Likewise.
12387 * include/grp.h: Likewise.
12388 * include/libio.h: Likewise.
12389 * include/locale.h: Likewise.
12390 * include/math.h: Likewise.
12391 * include/net/if.h: Likewise.
12392 * include/netdb.h: Likewise.
12393 * include/netinet/in.h: Likewise.
12394 * include/pthread.h: Likewise.
12395 * include/pwd.h: Likewise.
12396 * include/regex.h: Likewise.
12397 * include/sched.h: Likewise.
12398 * include/search.h: Likewise.
12399 * include/setjmp.h: Likewise.
12400 * include/signal.h: Likewise.
12401 * include/stdio.h: Likewise.
12402 * include/stdlib.h: Likewise.
12403 * include/string.h: Likewise.
12404 * include/sys/cdefs.h: Likewise.
12405 * include/sys/mman.h: Likewise.
12406 * include/sys/msg.h: Likewise.
12407 * include/sys/resource.h: Likewise.
12408 * include/sys/select.h: Likewise.
12409 * include/sys/socket.h: Likewise.
12410 * include/sys/stat.h: Likewise.
12411 * include/sys/statvfs.h: Likewise.
12412 * include/sys/time.h: Likewise.
12413 * include/sys/times.h: Likewise.
12414 * include/sys/uio.h: Likewise.
12415 * include/sys/utsname.h: Likewise.
12416 * include/sys/wait.h: Likewise.
12417 * include/termios.h: Likewise.
12418 * include/time.h: Likewise.
12419 * include/ulimit.h: Likewise.
12420 * include/unistd.h: Likewise.
12421 * include/utime.h: Likewise.
12422 * include/wchar.h: Likewise.
12423 * include/wctype.h: Likewise.
12424 * include/wordexp.h: Likewise.
12426 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12428 * time/time.h: TIME_UTC must be a macro.
12429 Make timespec_get available for ISO C11 only as well.
12431 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12433 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12434 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12436 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12438 * configure.in: Use -o not -a in test for unsupported multi-arch.
12440 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12442 * manual/texinfo.tex: Update to version 2012-01-19.16.
12444 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12446 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12448 2012-02-24 Roland McGrath <roland@hack.frob.com>
12451 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12452 * manual/fdl-1.3.texi: New file.
12453 * manual/fdl-1.1.texi: File removed.
12456 * manual/libc.texinfo (FDL_VERSION): New @set.
12457 Use it for mention of FDL in cover text.
12458 (Documentation License): Use it in @include file name.
12460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12461 Roland McGrath <roland@hack.frob.com>
12464 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12465 not LONG_LONG_MAX and LONG_LONG_MIN.
12466 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12467 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12469 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12471 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12475 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12476 manipulate bits before adding and subtracting TWO23[sx].
12477 * math/libm-test.inc (nearbyint_test): Add more tests.
12479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12482 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12483 bits before adding and subtracting TWO23[sx].
12484 * math/libm-test.inc (rint_test): Add more tests.
12485 (rint_test_tonearest): Likewise.
12486 (rint_test_towardzero): Likewise.
12487 (rint_test_downward): Likewise.
12488 (rint_test_upward: Likewise.
12490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12493 * include/stdc-predef.h: New file. Extracted from features.h.
12494 * include/features.h: Include stdc-predef.h.
12495 * Makefile (headers): Add stdc-predef.h.
12496 * CONFORMANCE (Compiler limitations): Update.
12498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12500 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12502 2012-02-21 David S. Miller <davem@davemloft.net>
12504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12507 2012-02-20 David S. Miller <davem@davemloft.net>
12509 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12510 using a normal save/restore sequence, rather than allocating a
12511 dummy stack frame just to store a frame pointer and restore.
12512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12514 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12516 * manual/install.texi: Fix stray word in line-wrapped comment.
12518 2012-02-20 David S. Miller <davem@davemloft.net>
12520 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12521 both binutils and gcc support GOTDATA.
12523 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12524 "rd %pc" in the PIC register setup sequences.
12526 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12527 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12528 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12529 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12530 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12532 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12535 (SYSCALL_ERROR_HANDLER): Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12539 (SYSCALL_ERROR_HANDLER): Likewise.
12541 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12542 (HAVE_GCC_GOTDATA): New.
12543 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12544 relocation support in both binutils and gcc.
12545 * sysdeps/sparc/elf/configure: Regenerate.
12547 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12548 * sysdeps/sparc/sparc32/elf/configure: Delete.
12549 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12550 * sysdeps/sparc/sparc64/elf/configure: Delete.
12551 * sysdeps/sparc/elf/configure.in: New file.
12552 * sysdeps/sparc/elf/configure: Generate.
12554 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12555 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12556 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12557 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12558 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12560 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12562 * manual/install.texi: Do not mention specific glibc version
12564 * manual/libc.texinfo (VERSION, UPDATED): Update.
12565 (@copying): Use @copyright{} and range of years.
12567 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12570 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12571 [crti.S not in sysdirs] (generated): Do not append.
12572 [crti.S not in sysdirs] (omit-deps): Likewise.
12573 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12574 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12575 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12576 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12577 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12579 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12580 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12581 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12582 * csu/defs.awk: Remove file.
12583 * sysdeps/generic/initfini.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12586 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12589 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12591 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12592 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12593 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12596 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12598 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12599 (__EPOLL_PACKED): Define to empty if not defined by
12601 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12605 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12607 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12608 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12610 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12612 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12616 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12622 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12625 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12628 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12630 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12632 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12633 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12635 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12637 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12640 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12642 * math/w_acos.c: Use non-signaling floating-point comparisons.
12643 * math/w_acosf.c: Likewise.
12644 * math/w_acosh.c: Likewise.
12645 * math/w_acoshf.c: Likewise.
12646 * math/w_acoshl.c: Likewise.
12647 * math/w_acosl.c: Likewise.
12648 * math/w_asin.c: Likewise.
12649 * math/w_asinf.c: Likewise.
12650 * math/w_asinl.c: Likewise.
12651 * math/w_atanh.c: Likewise.
12652 * math/w_atanhf.c: Likewise.
12653 * math/w_atanhl.c: Likewise.
12654 * math/w_exp2.c: Likewise.
12655 * math/w_exp2f.c: Likewise.
12656 * math/w_exp2l.c: Likewise.
12657 * math/w_j0.c: Likewise.
12658 * math/w_j0f.c: Likewise.
12659 * math/w_j0l.c: Likewise.
12660 * math/w_j1.c: Likewise.
12661 * math/w_j1f.c: Likewise.
12662 * math/w_j1l.c: Likewise.
12663 * math/w_jn.c: Likewise.
12664 * math/w_jnf.c: Likewise.
12665 * math/w_log.c: Likewise.
12666 * math/w_log10.c: Likewise.
12667 * math/w_log10f.c: Likewise.
12668 * math/w_log10l.c: Likewise.
12669 * math/w_log2.c: Likewise.
12670 * math/w_log2f.c: Likewise.
12671 * math/w_log2l.c: Likewise.
12672 * math/w_logf.c: Likewise.
12673 * math/w_logl.c: Likewise.
12674 * math/w_sqrt.c: Likewise.
12675 * math/w_sqrtf.c: Likewise.
12676 * math/w_sqrtl.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12680 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12681 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12683 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12686 * manual/string.texi (strnlen): Use correct parameter name in
12687 equivalent expression.
12689 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12692 * manual/users.texi (seteuid): Consistently use neweuid for
12695 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12698 * manual/nss.texi (Services in the NSS configuration): Correct
12699 list of services in example configuration file.
12701 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12704 * manual/arith.texi: Remove statements about negative zero
12705 behaving identically to zero.
12707 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12710 * manual/install.texi: Do not document upgrading from libc5.
12712 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12715 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12717 2012-02-18 David S. Miller <davem@davemloft.net>
12719 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12720 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12721 %o7 across the call.
12722 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12725 SETUP_PIC_REG_LEAF.
12726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12727 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12728 * sysdeps/sparc/crtn.S: Likewise.
12730 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12732 * aout/Makefile: Remove.
12734 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12737 * manual/examples/argp-ex1.c (main): Format definition in GNU
12739 * manual/examples/argp-ex2.c (main): Likewise.
12740 * manual/examples/argp-ex3.c (main): Likewise.
12741 * manual/examples/argp-ex4.c (main): Likewise.
12742 * manual/examples/longopt.c (main): Use new-style prototype
12744 * manual/examples/strncat.c (main): Specify return type and use
12745 (void) for arguments.
12746 * manual/examples/subopt.c (main): Use char **argv argument.
12748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12751 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12754 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12757 * manual/string.texi (strchr): Change when strchrnul is
12760 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12763 * manual/locale.texi (setlocale): Document LOCPATH.
12765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12768 * manual/process.texi (execle): Move @dots{} before last argument.
12770 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12773 * manual/charset.texi (Generic Charset Conversion): Fix typo
12774 (LC_TYPE -> LC_CTYPE).
12776 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12779 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12780 (scalbnf): Likewise.
12781 (scalbnl): Likewise.
12782 (scalbln): Likewise.
12783 (scalblnf): Likewise.
12784 (scalblnl): Likewise.
12785 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12786 (vwarnx): Likewise.
12789 * manual/filesys.texi (telldir): Use braces around return type.
12790 * manual/llio.texi (mmap): Add space after comma.
12791 (mmap64): Likewise.
12792 * manual/math.texi (jn): Use @var{} on parameter names.
12798 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12800 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12802 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12803 (sched_get_priority_max): Likewise.
12804 * manual/signal.texi (sigvec): Add space after comma.
12805 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12807 (if_indextoname): Likewise.
12808 (if_freenameindex): Likewise.
12809 (sendto): Use ',' instead of '.' in prototype.
12810 * manual/startup.texi (syscall): Use @dots{} instead of literal
12812 * manual/stdio.texi (__fpending): Separate initial words of
12813 paragraph from @deftypefun line.
12814 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12816 (vsyslog): Use @var{} on parameter names.
12817 * manual/terminal.texi (stty): Use @var{} on parameter names.
12818 * manual/users.texi (getutmp): Use @var{} on parameter names.
12819 (getutmpx): Likewise.
12821 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12824 * manual/stdio.texi (fopen): Fix typos in description of
12827 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12830 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12831 get clock_id definition.
12833 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12836 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12837 (madvise): Cast every argument to void on its own.
12839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12842 * manual/startup.texi (Exit Status): Fix typo.
12844 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12847 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12848 * manual/examples/argp-ex2.c: Likewise.
12849 * manual/examples/argp-ex3.c: Likewise.
12851 2012-02-16 Richard Henderson <rth@redhat.com>
12853 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12854 * sysdeps/s390/s390-32/initfini.c: Remove.
12855 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12856 * sysdeps/s390/s390-64/initfini.c: Remove.
12858 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12860 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12861 compiler output for sysdeps/generic/initfini.c.
12862 * sysdeps/sh/elf/initfini.c: Remove file.
12864 2012-02-16 David S. Miller <davem@davemloft.net>
12867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12869 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12870 * sysdeps/sparc/crti.S: New file.
12871 * sysdeps/sparc/crtn.S: New file.
12872 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12873 * sysdeps/sparc/sparc64/Makefile: Likewise.
12875 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12878 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12880 2012-02-15 Roland McGrath <roland@hack.frob.com>
12883 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12885 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12886 (write, read, close): Likewise.
12887 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12889 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12891 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12892 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12893 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12894 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12896 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12900 2012-02-14 Marek Polacek <polacek@redhat.com>
12902 * sysdeps/x86_64/crti.S: New file.
12903 * sysdeps/x86_64/crtn.S: New file.
12904 * sysdeps/x86_64/elf/initfini.c: Remove file.
12906 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12908 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12909 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12911 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12913 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12917 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12919 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12920 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12921 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12922 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12924 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12928 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12930 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12931 __feraiseexcept instead of feraiseexcept.
12933 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12934 nanosleep invocations.
12935 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12936 strings, and add error checking for a nanosleep invocations.
12938 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12940 Replace FSF snail mail address with URLs, as per GNU coding standards.
12941 Most of the snail mail addresses were wrong anyway, and omitting
12942 them makes the source code easier to maintain. Almost all of the
12943 changes are to license notices and to locale LC_IDENTIFICATION
12944 addresses, except for this one:
12945 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12946 not its snail mail address.
12948 2012-02-09 Richard Henderson <rth@twiddle.net>
12950 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12951 of kernel-features.h.
12953 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12955 2012-02-08 Marek Polacek <polacek@redhat.com>
12957 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12958 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12959 * sysdeps/gnu/_G_config.h: Likewise.
12960 * sysdeps/generic/_G_config.h: Likewise.
12962 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12964 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12968 * sysdeps/powerpc/powerpc32/crti.S: New file.
12969 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12970 * sysdeps/powerpc/powerpc64/crti.S: New file.
12971 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12973 * Makeconfig (have-initfini): Don't set.
12974 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12975 * configure.in (nopic_initfini): Don't substitute.
12976 * config.h.in (HAVE_INITFINI): Don't #undef.
12977 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12978 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12980 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12982 Support crti.S and crtn.S provided directly by architectures.
12983 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12984 [crti.S in sysdirs] (omit-deps): Likewise.
12985 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12986 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12987 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12988 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12989 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12990 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12991 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12992 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12993 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12994 compiler output for sysdeps/generic/initfini.c.
12995 * sysdeps/i386/elf/Makefile: Remove file.
12996 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12998 2012-02-07 Marek Polacek <polacek@redhat.com>
13000 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13001 * sysdeps/gnu/_G_config.h: Likewise.
13002 * sysdeps/mach/hurd/_G_config.h: Likewise.
13004 2012-02-07 Marek Polacek <polacek@redhat.com>
13006 * math/Makefile (tests): Add tst-CMPLX2.
13007 * math/tst-CMPLX2.c: New file.
13009 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13011 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13013 * math/libm-test.inc (jn_test): Add missing L suffix.
13015 2012-02-06 Marek Polacek <polacek@redhat.com>
13017 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13018 * sysdeps/i386/fpu/e_powf.S: Likewise.
13019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13020 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13021 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13022 * sysdeps/i386/fpu/e_pow.S: Likewise.
13023 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13024 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13025 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13026 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13027 * sysdeps/i386/fpu/e_log2.S: Likewise.
13028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13029 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13030 * sysdeps/i386/fpu/e_powl.S: Likewise.
13031 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13032 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13033 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13034 * sysdeps/i386/fpu/e_logl.S: Likewise.
13035 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13036 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13037 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13038 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13039 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13040 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13041 * sysdeps/i386/fpu/e_log.S: Likewise.
13042 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13044 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13045 * sysdeps/i386/fpu/e_logf.S: Likewise.
13046 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13047 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13048 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13049 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13050 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13051 * sysdeps/i386/fpu/e_log10.S: Likewise.
13052 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13054 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13055 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13057 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13058 * sysdeps/i386/asm-syntax.h: Likewise.
13059 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13060 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13061 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13062 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13063 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13065 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13066 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13068 * sysdeps/powerpc/sysdep.h: Likewise.
13069 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13070 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13072 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13075 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13077 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13079 * sysdeps/i386/sysdep.h: Include <features.h>.
13080 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13083 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13085 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13087 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13090 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13092 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13093 (SETUP_PIC_REG): Use GET_PC_THUNK.
13094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13099 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13100 for non-PIC compilation.
13101 (SETUP_PIC_REG): Add .p2align directive.
13102 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13103 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13110 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13111 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13112 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13113 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13114 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13115 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13116 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13117 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13118 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13119 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13120 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13121 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13124 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13125 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13130 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13131 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13132 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13134 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13135 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13136 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13137 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13138 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13139 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13140 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13141 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13142 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13144 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13146 * math/tst-CMPLX.c: Include <stdio.h>.
13148 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13150 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13152 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13153 * sysdeps/sparc/bits/mathdef.h: Likewise.
13155 2012-01-31 Marek Polacek <polacek@redhat.com>
13157 * libio/libio.h: Don't define _PARAMS.
13158 * locale/programs/config.h: Don't define PARAMS.
13159 * stdlib/strtol_l.c: Likewise.
13160 (__strtol_l): Remove PARAMS from the prototype.
13162 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13164 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13165 names. Just use the correct names. Remove unnecessary wrapper
13167 * malloc/arena.c: Likewise.
13168 * malloc/hooks.c: Likewise.
13170 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13171 ARENA_TEST says not to. Simplify test for creation of a new arena.
13172 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13174 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13176 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13178 (update_get_addr): New function.
13179 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13180 GET_ADDR_MODULE parameter.
13182 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13184 * crypt/cert.c: Remove __STDC__ conditionals.
13185 * crypt/crypt-entry.c: Likewise.
13186 * crypt/crypt_util.c: Likewise.
13187 * libio/filedoalloc.c: Likewise.
13188 * libio/fileops.c: Likewise.
13189 * libio/genops.c: Likewise.
13190 * libio/iofclose.c: Likewise.
13191 * libio/iofdopen.c: Likewise.
13192 * libio/iofopen.c: Likewise.
13193 * libio/iofopen64.c: Likewise.
13194 * libio/iogetdelim.c: Likewise.
13195 * libio/iopopen.c: Likewise.
13196 * libio/obprintf.c: Likewise.
13197 * libio/oldfileops.c: Likewise.
13198 * libio/oldiofclose.c: Likewise.
13199 * libio/oldiofdopen.c: Likewise.
13200 * libio/oldiofopen.c: Likewise.
13201 * libio/oldiopopen.c: Likewise.
13202 * libio/wfiledoalloc.c: Likewise.
13203 * libio/wgenops.c: Likewise.
13204 * locale/programs/xmalloc.c: Likewise.
13205 * misc/syslog.c: Likewise.
13206 * stdio-common/xbug.c: Likewise.
13207 * string/memchr.c: Likewise.
13208 * string/memcmp.c: Likewise.
13209 * string/memrchr.c: Likewise.
13210 * string/rawmemchr.c: Likewise.
13211 * sysdeps/posix/getcwd.c: Likewise.
13212 * time/strftime_l.c: Likewise.
13214 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13216 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13217 * config.make.in (config-cflags-sse2avx): Define.
13218 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13221 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13223 * scripts/config.guess: Update from upstream config git repository.
13224 * scripts/config.sub: Likewise.
13226 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13228 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13230 (R_TILEPRO_*, R_TILEGX_*): New macros.
13232 * scripts/firstversions.awk: Fix bug in version range handling.
13234 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13236 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13238 * include/sys/epoll.h: New file.
13239 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13242 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13244 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13245 Avoid unnecessary __WORDSIZE == 64 test.
13246 (fmaxf): Use VEX format if possible.
13251 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13252 * math/math_private.h: Remove libc_fegetround* and
13254 * sysdeps/i386/configure.in: Check for -msse2avx.
13255 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13256 also if SSE2AVX is defined.
13257 Remove libc_fegetround* and libc_fesetround*.
13258 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13259 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13268 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13270 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13274 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13276 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13279 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13281 * Makeconfig (libm): Define.
13282 * elf/Makefile: Add rules to build and run tst-relsort1.
13283 * elf/tst-relsort1.c: New file.
13284 * elf/tst-relsort1mod1.c: New file.
13285 * elf/tst-relsort1mod2.c: New file.
13287 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13289 * math/s_ldexp.c: Remove __STDC__ conditionals.
13290 * math/s_ldexpf.c: Likewise.
13291 * math/s_ldexpl.c: Likewise.
13292 * math/s_nextafter.c: Likewise.
13293 * math/s_nexttowardf.c: Likewise.
13294 * math/s_significand.c: Likewise.
13295 * math/s_significandf.c: Likewise.
13296 * math/s_significandl.c: Likewise.
13297 * math/w_jnl.c: Likewise.
13298 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13299 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13300 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13301 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13302 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13320 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13322 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13323 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13325 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13327 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13328 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13329 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13330 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13332 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13333 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13334 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13335 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13336 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13337 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13338 * sysdeps/ieee754/k_standard.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13400 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13405 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13418 * sysdeps/ieee754/s_matherr.c: Likewise.
13419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13424 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13426 * crypt/md5.h: Remove __STDC__ conditionals.
13427 * libio/libioP.h: Likewise.
13428 * locale/programs/config.h: Likewise.
13429 * sysdeps/generic/sysdep.h: Likewise.
13430 * sysdeps/i386/asm-syntax.h: Likewise.
13431 * sysdeps/s390/asm-syntax.h: Likewise.
13432 * sysdeps/unix/sysdep.h: Likewise.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13436 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13438 * libio/libio.h: Remove __STDC__ conditionals.
13439 * malloc/obstack.h: Likewise.
13440 * math/complex.h: Likewise.
13441 * math/math.h: Likewise.
13442 * sysdeps/generic/_G_config.h: Likewise.
13443 * sysdeps/gnu/_G_config.h: Likewise.
13444 * sysdeps/mach/hurd/_G_config.h: Likewise.
13445 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13446 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13447 * sysdeps/sparc/bits/mathdef.h: Likewise.
13449 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13452 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13453 Clean up HAS_* macros.
13454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13455 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13460 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13462 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13465 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13467 * elf/tst-unique3.cc (gets): Remove declaration.
13468 * elf/tst-unique3lib.cc (gets): Likewise.
13469 * elf/tst-unique3lib2.cc (gets): Likewise.
13470 * elf/tst-unique4.cc (gets): Likewise.
13472 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13474 * include/stdio.h: Add C++ protection. Add gets declarations and
13476 * debug/tst-chk1.c: Don't declare gets here.
13477 * stdio-common/tst-gets.c: Likewise.
13479 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13481 * posix/glob: Remove directory.
13483 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13485 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13487 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13489 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13490 of the non-standard EPFNOSUPPORT.
13492 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13494 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13495 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13496 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13498 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13500 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13502 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13504 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13506 * nscd/grpcache.c (cache_addgr): Likewise.
13507 * nscd/hstcache.c (cache_addhst): Likewise.
13508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13509 * nscd/pwdcache.c (cache_addpw): Likewise.
13510 * nscd/servicescache.c (cache_addserv): Likewise.
13512 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13514 * malloc/malloc.c: Various cleanups.
13515 * malloc/hooks.c: Likewise.
13517 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13518 * stdlib/bug-fmtmsg1.c: New file.
13520 * stdlib/fmtmsg.c (init): Add missing unlock.
13521 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13523 2012-01-12 Marek Polacek <polacek@redhat.com>
13525 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13528 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13530 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13532 macro to ensure uniqueness of label name.
13533 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13534 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13536 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13540 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13541 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13545 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13547 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13549 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13550 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13553 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13556 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13560 * math/bits/math-finite.h: Add ldexp support.
13562 2012-01-10 Marek Polacek <polacek@redhat.com>
13564 * locale/programs/localedef.h (show_archive_content): Add noreturn
13567 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13571 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13573 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13575 * io/Makefile (headers): Add bits/poll2.h.
13577 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13580 typo #include statement.
13582 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13584 * include/sys/cdefs.h: Define __attribute_alloc_size.
13585 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13586 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13587 * elf/pldd.c: Likewise.
13588 * iconv/iconv_charmap.c: Likewise.
13589 * iconv/iconvconfig.c: Likewise.
13590 * iconv/strtab.c: Likewise.
13591 * locale/programs/locale.c: Likewise.
13592 * locale/programs/localedef.h: Likewise.
13593 * locale/programs/simple-hash.c: Likewise.
13594 * nscd/nscd.h: Likewise.
13595 * nss/makedb.c: Likewise.
13596 * sysdeps/generic/ldconfig.h: Likewise.
13597 * locale/programs/localedef.c: Remove xmalloc prototype.
13598 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13600 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13605 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13607 * math/Makefile (tests): Add tst-CMPLX.
13608 * math/tst-CMPLX.c: New file.
13610 * math/complex.h (CMPLXL): Fix typo.
13612 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13613 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13615 * debug/tst-chk1.c: Add poll and ppoll tests.
13616 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13617 * include/sys/poll.h: Add hidden proto for ppoll.
13618 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13619 * sysdeps/mach/hurd/ppoll.c: Likewise.
13620 * io/ppoll.c: Likewise.
13621 * debug/poll_chk.c: New file.
13622 * debug/ppoll_chk.c: New file.
13623 * include/bits/poll2.h: New file.
13624 * io/bits/poll2.h: New file.
13627 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13629 * configure.in: static is always set to yes. Remove.
13630 * config.make.in: Don't set build-static.
13631 * Makeconfig: Remove use of build-static.
13632 * dlfcn/Makefile: Likewise.
13633 * elf/Makefile: Likewise.
13634 * math/Makefile: Likewise.
13635 * misc/Makefile: Likewise.
13636 * nptl/Makefile: Likewise.
13637 * sysdeps/mach/hurd/Makefile: Likewise.
13639 * configure.in: PWD_P is not used anymore.
13640 * config.make.in: Remove PWD_P entry.
13642 * configure.in: Remove last remnants of RANLIB.
13643 No need to check for signed size_t anymore.
13644 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13646 Remove __builtin_expect test because we require at least gcc 3.4.
13647 * aclocal.m4: Likewise.
13649 * wcsmbs/mbrtoc16.c: Implement using towc function.
13650 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13651 * wcsmbs/wcsmbsload.c: Likewise.
13652 * iconv/gconv_simple.c: Likewise.
13653 * iconv/gconv_int.h: Likewise.
13654 * iconv/gconv_builtin.h: Likewise.
13655 * iconv/iconv_prog.c: Remove CHAR16 handling.
13657 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13659 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13661 * configure.in: Remove --with-elf and --enable-bounded options.
13662 Dont set base_machine for ia64. More non-ELF conditions removed.
13663 Remove testing and setting of leading underscore information.
13664 * config.make.in (build-bounded): Set to no.
13665 * config.h.in: Remove NO_UNDERSCORES entry.
13666 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13668 * csu/start.c: Remove !NO_UNDERSCORE code.
13669 * locale/localeinfo.h: Likewise.
13670 * sysdeps/generic/machine-gmon.h: Likewise.
13671 * sysdeps/generic/sysdep.h: Likewise.
13672 * sysdeps/i386/sysdep.h: Likewise.
13673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13674 * sysdeps/mach/sysdep.h: Likewise.
13675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13677 * sysdeps/sh/sysdep.h: Likewise.
13678 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13679 * sysdeps/unix/i386/sysdep.S: Likewise.
13680 * sysdeps/unix/sparc/start.c: Likewise.
13681 * sysdeps/unix/sparc/sysdep.S: Likewise.
13682 * sysdeps/unix/sparc/sysdep.h: Likewise.
13683 * sysdeps/unix/start.c: Likewise.
13684 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13685 * sysdeps/x86_64/sysdep.h: Likewise.
13687 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13690 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13692 * argp/argp-fmtstream.h: Use const instead __const.
13693 * argp/argp.h: Likewise.
13694 * assert/assert.h: Likewise.
13695 * bits/fenv.h: Likewise.
13696 * bits/sched.h: Likewise.
13697 * bits/sigset.h: Likewise.
13698 * bits/sigthread.h: Likewise.
13699 * catgets/nl_types.h: Likewise.
13700 * conform/data/pthread.h-data: Likewise.
13701 * crypt/crypt-private.h: Likewise.
13702 * crypt/crypt.h: Likewise.
13703 * crypt/crypt_util.c: Likewise.
13704 * ctype/ctype.h: Likewise.
13705 * debug/execinfo.h: Likewise.
13706 * debug/mbsnrtowcs_chk.c: Likewise.
13707 * debug/mbsrtowcs_chk.c: Likewise.
13708 * debug/wcsnrtombs_chk.c: Likewise.
13709 * debug/wcsrtombs_chk.c: Likewise.
13710 * debug/wcstombs_chk.c: Likewise.
13711 * dirent/dirent.h: Likewise.
13712 * dlfcn/dlfcn.h: Likewise.
13713 * elf/neededtest4.c: Likewise.
13714 * grp/grp.h: Likewise.
13715 * gshadow/gshadow.h: Likewise.
13716 * iconv/gconv.h: Likewise.
13717 * iconv/gconv_int.h: Likewise.
13718 * iconv/gconv_simple.c: Likewise.
13719 * iconv/iconv.h: Likewise.
13720 * iconv/loop.c: Likewise.
13721 * iconv/skeleton.c: Likewise.
13722 * include/aio.h: Likewise.
13723 * include/aliases.h: Likewise.
13724 * include/argz.h: Likewise.
13725 * include/arpa/inet.h: Likewise.
13726 * include/assert.h: Likewise.
13727 * include/dirent.h: Likewise.
13728 * include/dlfcn.h: Likewise.
13729 * include/execinfo.h: Likewise.
13730 * include/fcntl.h: Likewise.
13731 * include/fenv.h: Likewise.
13732 * include/glob.h: Likewise.
13733 * include/grp.h: Likewise.
13734 * include/libintl.h: Likewise.
13735 * include/mntent.h: Likewise.
13736 * include/netdb.h: Likewise.
13737 * include/pwd.h: Likewise.
13738 * include/rpc/netdb.h: Likewise.
13739 * include/sched.h: Likewise.
13740 * include/search.h: Likewise.
13741 * include/shadow.h: Likewise.
13742 * include/signal.h: Likewise.
13743 * include/stdio.h: Likewise.
13744 * include/stdlib.h: Likewise.
13745 * include/string.h: Likewise.
13746 * include/sys/socket.h: Likewise.
13747 * include/sys/stat.h: Likewise.
13748 * include/sys/statfs.h: Likewise.
13749 * include/sys/statvfs.h: Likewise.
13750 * include/sys/syslog.h: Likewise.
13751 * include/sys/time.h: Likewise.
13752 * include/sys/uio.h: Likewise.
13753 * include/time.h: Likewise.
13754 * include/unistd.h: Likewise.
13755 * include/utmp.h: Likewise.
13756 * include/wchar.h: Likewise.
13757 * include/wctype.h: Likewise.
13758 * inet/aliases.h: Likewise.
13759 * inet/arpa/inet.h: Likewise.
13760 * inet/netinet/ether.h: Likewise.
13761 * inet/netinet/in.h: Likewise.
13762 * intl/libintl.h: Likewise.
13763 * io/bits/fcntl2.h: Likewise.
13764 * io/fcntl.h: Likewise.
13765 * io/ftw.h: Likewise.
13766 * io/sys/poll.h: Likewise.
13767 * io/sys/stat.h: Likewise.
13768 * io/sys/statfs.h: Likewise.
13769 * io/sys/statvfs.h: Likewise.
13770 * io/utime.h: Likewise.
13771 * libio/bits/stdio.h: Likewise.
13772 * libio/bits/stdio2.h: Likewise.
13773 * libio/libio.h: Likewise.
13774 * libio/libioP.h: Likewise.
13775 * libio/stdio.h: Likewise.
13776 * locale/lc-ctype.c: Likewise.
13777 * locale/locale.h: Likewise.
13778 * login/utmp.h: Likewise.
13779 * malloc/arena.c: Likewise.
13780 * malloc/malloc.c: Likewise.
13781 * malloc/malloc.h: Likewise.
13782 * malloc/mcheck.c: Likewise.
13783 * malloc/mtrace.c: Likewise.
13784 * math/bits/mathcalls.h: Likewise.
13785 * math/fenv.h: Likewise.
13786 * math/math_private.h: Likewise.
13787 * misc/bits/error.h: Likewise.
13788 * misc/bits/syslog.h: Likewise.
13789 * misc/err.h: Likewise.
13790 * misc/error.h: Likewise.
13791 * misc/fstab.h: Likewise.
13792 * misc/mntent.h: Likewise.
13793 * misc/regexp.h: Likewise.
13794 * misc/search.h: Likewise.
13795 * misc/sgtty.h: Likewise.
13796 * misc/sys/mman.h: Likewise.
13797 * misc/sys/syslog.h: Likewise.
13798 * misc/sys/uio.h: Likewise.
13799 * misc/sys/xattr.h: Likewise.
13800 * misc/ttyent.h: Likewise.
13801 * nis/rpcsvc/ypclnt.h: Likewise.
13802 * nss/nss.h: Likewise.
13803 * posix/bits/unistd.h: Likewise.
13804 * posix/fnmatch.h: Likewise.
13805 * posix/glob.h: Likewise.
13806 * posix/sched.h: Likewise.
13807 * posix/spawn.h: Likewise.
13808 * posix/sys/wait.h: Likewise.
13809 * posix/unistd.h: Likewise.
13810 * posix/wordexp.h: Likewise.
13811 * pwd/pwd.h: Likewise.
13812 * resolv/netdb.h: Likewise.
13813 * resource/sys/resource.h: Likewise.
13814 * rt/aio.h: Likewise.
13815 * rt/bits/mqueue2.h: Likewise.
13816 * rt/mqueue.h: Likewise.
13817 * shadow/shadow.h: Likewise.
13818 * signal/signal.h: Likewise.
13819 * socket/send.c: Likewise.
13820 * socket/sendto.c: Likewise.
13821 * socket/sys/socket.h: Likewise.
13822 * stdio-common/printf.h: Likewise.
13823 * stdlib/bits/stdlib.h: Likewise.
13824 * stdlib/fmtmsg.h: Likewise.
13825 * stdlib/monetary.h: Likewise.
13826 * stdlib/stdlib.h: Likewise.
13827 * stdlib/ucontext.h: Likewise.
13828 * streams/stropts.h: Likewise.
13829 * string/argz.h: Likewise.
13830 * string/bits/string2.h: Likewise.
13831 * string/string.h: Likewise.
13832 * string/strings.h: Likewise.
13833 * sunrpc/rpc/auth.h: Likewise.
13834 * sunrpc/rpc/auth_des.h: Likewise.
13835 * sunrpc/rpc/clnt.h: Likewise.
13836 * sunrpc/rpc/netdb.h: Likewise.
13837 * sunrpc/rpc/pmap_clnt.h: Likewise.
13838 * sunrpc/rpc/xdr.h: Likewise.
13839 * sysdeps/generic/inttypes.h: Likewise.
13840 * sysdeps/generic/net/if.h: Likewise.
13841 * sysdeps/generic/sys/swap.h: Likewise.
13842 * sysdeps/gnu/net/if.h: Likewise.
13843 * sysdeps/gnu/utmpx.h: Likewise.
13844 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13845 * sysdeps/i386/i486/bits/string.h: Likewise.
13846 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13847 * sysdeps/s390/bits/string.h: Likewise.
13848 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13849 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13850 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13851 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13852 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13853 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13854 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13855 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13856 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13857 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13858 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13859 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13860 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13861 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13862 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13863 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13864 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13868 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13869 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13870 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13871 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13872 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13873 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13874 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13876 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13877 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13878 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13879 * sysvipc/sys/ipc.h: Likewise.
13880 * sysvipc/sys/msg.h: Likewise.
13881 * sysvipc/sys/sem.h: Likewise.
13882 * sysvipc/sys/shm.h: Likewise.
13883 * termios/termios.h: Likewise.
13884 * time/sys/time.h: Likewise.
13885 * time/time.h: Likewise.
13886 * wcsmbs/bits/wchar2.h: Likewise.
13887 * wcsmbs/uchar.h: Likewise.
13888 * wcsmbs/wchar.h: Likewise.
13889 * wctype/wctype.h: Likewise.
13892 * Makeconfig: Remove all but ELF support including AIX support.
13893 * Makerules: Likewise.
13894 * config.h.in: Likewise.
13895 * config.make.in: Likewise.
13896 * configure: Likewise.
13897 * configure.in: Likewise.
13898 * csu/Makefile: Likewise.
13899 * csu/version.c: Likewise.
13900 * debug/Makefile: Likewise.
13901 * dlfcn/Makefile: Likewise.
13902 * elf/Makefile: Likewise.
13903 * extra-lib.mk: Likewise.
13904 * iconv/Makefile: Likewise.
13905 * include/libc-symbols.h: Likewise.
13906 * include/shlib-compat.h: Likewise.
13907 * resolv/Makefile: Likewise.
13908 * resolv/res_libc.c: Likewise.
13909 * rt/Makefile: Likewise.
13910 * sysdeps/i386/asm-syntax.h: Likewise.
13911 * sysdeps/i386/sysdep.h: Likewise.
13912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13913 * sysdeps/mach/sysdep.h: Likewise.
13914 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13915 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13916 * sysdeps/s390/asm-syntax.h: Likewise.
13917 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13919 * sysdeps/sh/sysdep.h: Likewise.
13920 * sysdeps/unix/sparc/sysdep.h: Likewise.
13921 * sysdeps/wordsize-32/divdi3.c: Likewise.
13922 * sysdeps/x86_64/sysdep.h: Likewise.
13924 * argp/Versions: Remove _argp_unlock_xxx.
13927 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13928 * abilist/libBrokenLocale.abilist: Likewise.
13929 * abilist/libanl.abilist: Likewise.
13930 * abilist/libc.abilist: Likewise.
13931 * abilist/libcrypt.abilist: Likewise.
13932 * abilist/libdl.abilist: Likewise.
13933 * abilist/libm.abilist: Likewise.
13934 * abilist/libnsl.abilist: Likewise.
13935 * abilist/libpthread.abilist: Likewise.
13936 * abilist/libresolv.abilist: Likewise.
13937 * abilist/librt.abilist: Likewise.
13938 * abilist/libthread_db.abilist: Likewise.
13939 * abilist/libutil.abilist: Likewise.
13940 * abilist/libnss_db.abilist: New file.
13942 * scripts/abilist.awk: Add support for indirect functions.
13944 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13946 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13948 * shlib-versions: Remove entries for ports architectures.
13950 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13952 * elf/stackguard-macros.h: Remove support for IA-64.
13953 * elf/tst-auditmod1.c: Likewise.
13954 * sysdeps/generic/ldsodefs.h: Likewise.
13956 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13957 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13961 * configure.in: Remove --enable-omitfp support.
13963 * config.make.in: Likewise.
13964 * Makeconfig: Likewise.
13965 * manual/install.texi: Likewise.
13967 In case anyone cares, the IA-64 architecture could move to ports.
13968 * sysdeps/ia64/*: Removed.
13969 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13970 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13973 * configure.in: Remove entries for unsupported architectures.
13976 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13977 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13979 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13980 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13981 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13982 fall back to using wcrtomb.
13983 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13984 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13986 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13987 * wcsmbs/tst-c16c32-1.c: New file.
13989 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13992 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13994 * elf/tst-unique3.cc: Add explicit declaration of gets.
13995 * elf/tst-unique3lib.cc: Likewise.
13996 * elf/tst-unique3lib2.cc: Likewise.
13997 * elf/tst-unique4.cc: Likewise.
13999 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14001 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14004 * assert/assert.h (static_assert): Don't define for C++.
14005 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14006 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14008 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14010 * iconv/loop.c (single loop): Fix assertion in storing of
14013 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14015 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14017 * posix/getconf.c: Update copyright year.
14018 * nss/getent.c: Likewise.
14019 * nss/makedb.c: Likewise.
14020 * iconv/iconvconfig.c: Likewise.
14021 * iconv/iconv_prog.c: Likewise.
14022 * elf/ldconfig.c: Likewise.
14023 * elf/pldd.c: Likewise.
14024 * elf/sotruss.ksh: Likewise.
14025 * catgets/gencat.c: Likewise.
14026 * csu/version.c: Likewise.
14027 * elf/ldd.bash.in: Likewise.
14028 * elf/sprof.c (print_version): Likewise.
14029 * locale/programs/locale.c: Likewise.
14030 * locale/programs/localedef.c: Likewise.
14031 * login/programs/pt_chown.c: Likewise.
14032 * nscd/nscd.c (print_version): Likewise.
14033 * debug/xtrace.sh: Likewise.
14034 * malloc/memusage.sh: Likewise.
14035 * malloc/mtrace.pl: Likewise.
14036 * debug/catchsegv.sh: Likewise.
14038 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14040 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14043 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14046 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14047 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14049 * iconv/gconv_int.h: Likewise.
14050 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14051 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14052 from libc for GLIBC_2.16.
14053 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14054 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14055 * wcsmbs/uchar.h: Really define mbstate_t.
14056 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14057 * wcsmbs/c16rtomb.c: New file.
14058 * wcsmbs/mbrtoc16.c: New file.
14059 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14060 for C/POSIX locale.
14061 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14062 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14064 * wcsmbs/wchar.h: Add missing __restrict.
14066 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14069 * time/Makefile (routines): Add timespec_get.
14070 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14071 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14072 timespec for ISO C11.
14073 * time/timespec_get.c: New file.
14074 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14075 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14078 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14079 * stdlib/stdlib.h: Declare aligned_alloc.
14080 * Versions.def: Add GLIBC_2.16 for libc.
14081 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14084 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14087 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14091 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14094 * assert/assert.h (static_assert): Define.
14096 * version.h: Update for 2.16 development version.
14099 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14102 * version.h (RELEASE): Bump for 2.15 release.
14103 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14105 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14106 Patch by Marek Polacek <mpolacek@redhat.com>.
14108 * bits/byteswap.h: Protect long long constants with __extension__.
14109 * sysdeps/i386/bits/byteswap.h: Likewise.
14110 * sysdeps/ia64/bits/byteswap.h: Likewise.
14111 * sysdeps/s390/bits/byteswap.h: Likewise.
14112 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14114 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14118 destination buffer.
14119 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14121 2011-12-23 Marek Polacek <polacek@redhat.com>
14123 * elf/dl-addr.c (determine_info): Add inline keyword.
14124 * elf/tst-auditmod4b.c (check_avx): Likewise.
14125 * elf/tst-auditmod6b.c (check_avx): Likewise.
14126 * elf/tst-auditmod6c.c (check_avx): Likewise.
14127 * elf/tst-auditmod7b.c (check_avx): Likewise.
14129 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14131 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14134 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14137 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14138 processing for last bytes.
14140 2011-08-06 Bruno Haible <bruno@clisp.org>
14143 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14144 U+0385, not to U+1FEE.
14147 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14148 entry for U+00A5 U+0301.
14150 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14153 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14154 buffer for the output is too small.
14156 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14160 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14161 SSE flags if possible.
14163 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14167 processing for last bytes.
14169 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14172 (syscall-list-default-options, syscall-list-default-condition)
14173 (syscall-list-includes): Define.
14174 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14175 list of ABIs and options and #if conditions for each ABI. Do not
14176 handle common syscalls between ABIs specially.
14177 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14179 (syscall-list-variants, syscall-list-32bit-options)
14180 (syscall-list-32bit-condition, syscall-list-64bit-options)
14181 (syscall-list-64bit-condition): Define.
14182 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14183 (syscall-list-variants, syscall-list-32bit-options)
14184 (syscall-list-32bit-condition, syscall-list-64bit-options)
14185 (syscall-list-64bit-condition): Define.
14186 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14188 (syscall-list-variants, syscall-list-32bit-options)
14189 (syscall-list-32bit-condition, syscall-list-64bit-options)
14190 (syscall-list-64bit-condition): Define.
14191 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14193 (syscall-list-variants, syscall-list-32bit-options)
14194 (syscall-list-32bit-condition, syscall-list-64bit-options)
14195 (syscall-list-64bit-condition): Define.
14197 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14199 * locale/iso-639.def: Add brx entry.
14202 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14203 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14205 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14206 __feraiseexcept_renamed.
14208 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14211 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14212 EPOLLET with unsigned values.
14213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14216 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14217 to large cancellation.
14218 * math/s_cacoshf.c: Likewise.
14219 * math/s_cacoshl.c: Likewise.
14221 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14225 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14226 * math/s_cacoshf.c: Likewise.
14227 * math/s_cacoshl.c: Likewise.
14229 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14232 * iconv/gconv.h: Define __GCONV_SWAP.
14233 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14234 * iconvdata/utf-16.c: Likewise.
14235 * iconvdata/utf-32.c: Likewise.
14237 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14241 numerator after shifting it by one limb.
14243 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14246 under [__USE_EXTERN_INLINES].
14248 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14251 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14253 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14255 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14256 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14258 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14259 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14260 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14261 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14262 for strncasecmp/strncasecmp_l compilation.
14263 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14264 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14266 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14269 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14275 * time/tzfile.c (__tzfile_read): Check values from file header.
14277 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14279 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14280 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14281 * powerpc/powerpc32/dl-start.S: Likewise.
14282 * powerpc/powerpc32/elf/start.S: Likewise.
14283 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14284 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14285 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14286 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14287 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14288 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14289 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14290 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14291 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14292 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14293 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14294 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14295 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14296 * powerpc/powerpc32/memset.S: Likewise.
14297 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14298 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14299 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14300 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14301 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14302 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14303 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14304 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14305 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14306 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14307 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14308 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14309 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14311 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14313 * math/libm-test.inc: Added more nearbyint tests.
14314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14315 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14319 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14321 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14324 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14326 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14327 Add wcscpy-ssse3 wcscpy-c.
14328 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14329 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14330 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14331 * sysdeps/x86_64/wcschr.S: New file.
14332 * sysdeps/x86_64/wcsrchr.S: New file.
14333 * string/test-strcmp.c: Remove checking of wcscmp function for
14335 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14336 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14337 wcsrchr-sse2 wcsrchr-c.
14338 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14339 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14340 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14341 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14342 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14343 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14344 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14345 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14346 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14347 * wcsmbc/wcschr.c (WCSCHR): New macro.
14349 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14351 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14352 * wcsmbs/test-wcsrchr.c: New file.
14353 * string/test-strrchr.c: Add wcsrchr support.
14355 * wcsmbs/test-wcscpy.c: New file.
14356 * string/test-strcpy.c: Add wcscpy support.
14359 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14364 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14367 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14369 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14372 Minor optimizations.
14374 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14375 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14376 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14378 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14380 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14381 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14382 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14383 for gcc to avoid warnings.
14384 * inet/Makefile (tests): Add tst-checks.
14385 * inet/tst-checks.c: New file.
14387 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14390 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14393 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14394 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14396 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14398 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14400 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14403 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14405 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14408 conditional on GCC version.
14409 (__arch_compare_and_exchange_val_8_acq)
14410 (__arch_compare_and_exchange_val_16_acq)
14411 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14412 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14413 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14415 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14417 * sysdeps/sh/backtrace.c: New file.
14419 2011-12-02 Andreas Schwab <schwab@redhat.com>
14421 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14424 2011-12-01 Andreas Schwab <schwab@redhat.com>
14426 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14427 falling back to utime.
14429 2011-11-30 Andreas Schwab <schwab@redhat.com>
14431 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14432 expectations for float.
14434 2011-11-29 Andreas Schwab <schwab@redhat.com>
14436 * locale/weight.h (findidx): Add parameter len.
14437 * locale/weightwc.h (findidx): Likewise.
14438 * posix/fnmatch_loop.c (FCT): Adjust caller.
14439 * posix/regcomp.c (build_equiv_class): Likewise.
14440 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14441 * posix/regexec.c (check_node_accept_bytes): Likewise.
14442 * string/strcoll_l.c (STRCOLL): Likewise.
14443 * string/strxfrm_l.c (STRXFRM): Likewise.
14445 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14447 * Makefile.in: Remove CVSOPT handling.
14448 * configure.in: Remove use of AC_REVISION.
14449 * iconvdata/Makefile (distribute): No need to filter out CVS.
14450 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14453 2011-11-16 Andreas Schwab <schwab@redhat.com>
14455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14456 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14457 [USE_AS_STRNCASECMP_L]: Likewise.
14458 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14459 NO_TLS_DIRECT_SEG_REFS.
14460 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14461 Fix argument offsets for non-PIC.
14462 [USE_AS_STRNCASECMP_L]: Likewise.
14463 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14464 NO_TLS_DIRECT_SEG_REFS.
14466 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14468 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14470 * locale/loadlocale.c (_nl_load_locale): Likewise.
14472 2011-11-15 Andreas Schwab <schwab@redhat.com>
14474 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14475 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14477 (SYSCALL_GETTIME): Set errno on error.
14479 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14480 count references to noai6ai_cached.
14482 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14484 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14486 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14487 FD_CLOEXEC for /proc/self/maps.
14489 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14490 FD_CLOEXEC for /proc/meminfo.
14492 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14495 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14496 FD_CLOEXEC for given file.
14498 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14500 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14501 FD_CLOEXEC for /etc/hosts.
14502 (_gethtent): Likewise.
14504 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14506 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14507 cancellation and set FD_CLOEXEC for /etc/netgroup.
14509 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14510 reading /etc/publickey.
14512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14513 allow cancellation when reading /etc/group.
14515 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14517 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14519 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14520 when using data file.
14522 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14524 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14525 (write_nis_obj): Use "c" and "e" in fopen.
14527 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14529 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14531 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14533 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14535 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14538 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14540 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14542 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14544 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14545 file parsing and set FD_CLOEXEC.
14547 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14549 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14551 2011-11-14 Andreas Schwab <schwab@redhat.com>
14553 * malloc/arena.c (arena_get2): Don't call reused_arena when
14554 _int_new_arena failed.
14556 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14558 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14559 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14564 to compile strcasecmp and strncasecmp.
14565 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14566 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14570 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14572 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14573 locale-defines.sym to gen-as-const-headers.
14574 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14575 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14577 to compile strcasecmp and strncasecmp.
14578 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14579 strcasecmp_l and strncasecmp_l.
14580 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14581 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14582 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14583 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14584 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14585 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14586 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14587 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14588 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14589 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14590 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14592 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14594 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14595 result of SYSDEP_GETTIME_CPU to retval.
14596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14597 parameter list to macro. Remove trailing semicolon. Adjust users.
14599 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14602 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14604 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14607 from unused variable.
14609 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14611 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14614 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14617 * sunrpc/rpc_prot.c (rejected): Fix case value.
14619 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14620 unsigned long long int to avoid warnings in shift.
14622 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14624 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14628 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14629 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14631 * nis/nis_table.c (nis_list): Use variable of correct type for
14632 result of __follow_path call.
14634 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14636 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14637 of math functions ceil, trunc, floor, round, and sqrt, when
14638 avaliable on the platform.
14639 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14641 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14642 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14643 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14645 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14647 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14648 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14650 2011-11-11 Roland McGrath <roland@hack.frob.com>
14652 * include/unistd.h: Fix __readlink return type.
14653 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14655 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14657 * stdlib/ucontext.h: Undo last change for makecontext.
14659 2011-11-11 Andreas Schwab <schwab@redhat.com>
14661 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14663 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14664 * setjmp/setjmp.h: Mark functions as non-leaf.
14665 * setjmp/bits/setjmp2.h: Likewise.
14666 * stdlib/ucontext.h: Likewise.
14668 2011-11-10 Andreas Schwab <schwab@redhat.com>
14670 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14671 (reused_arena): Don't check arena limit.
14672 (arena_get2): Atomically check arena limit.
14674 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14676 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14677 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14682 2011-11-07 Andreas Schwab <schwab@redhat.com>
14684 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14685 handler when locking.
14687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14688 Fix size of allocated buffer.
14690 2011-11-04 Andreas Schwab <schwab@redhat.com>
14693 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14694 declarations for long double functions.
14695 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14697 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14699 2011-11-03 Andreas Schwab <schwab@redhat.com>
14701 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14704 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14707 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14709 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14711 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14713 * include/alloca.h (stackinfo_alloca_round): Define.
14714 (extend_alloca): Use it.
14715 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14716 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14719 * scripts/check-local-headers.sh: Ignore libaudit.h.
14721 * nscd/Makefile (extra-objs): Make recursively expanded.
14723 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14725 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14728 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14729 * posix/tst-rfc3484-2.c: Likewise.
14730 * posix/tst-rfc3484-3.c: Likewise.
14732 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14734 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14736 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14737 process_vm_writev from libc using GLIBC_2.15 version.
14739 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14741 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14743 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14746 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14749 * nss/getent.c (initgroups_keys): Show error message in case no group
14752 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14753 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14754 __bump_nl_timestamp.
14755 * nscd/connections (nscd_init): When host database is served open
14756 netlink socket and request notification about configuration changes.
14757 (main_loop_poll): Track netlink file descriptor and bump timestamp
14758 in case data becomes available.
14759 (main_loop_epoll): Likewise.
14760 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14761 (database_pers_head): Add extra_data fileds.
14762 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14763 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14764 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14767 in6ai data, call __free_in6ai.
14768 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14769 Add -DHAVE_NETLINK.
14770 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14771 interface information. Reuse previous data if netlink timestamp
14773 (__bump_nl_timestamp): New function.
14774 (__free_in6ai): New function.
14776 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14779 close_not_cancel_no_status here.
14780 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14785 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14788 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14789 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14790 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14792 2011-07-03 Andreas Jaeger <aj@suse.de>
14795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14796 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14797 * math/libm-test.inc (sin_test): Add test case.
14799 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14802 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14803 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14805 * elf/chroot_canon.c (chroot_canon): Cleanups.
14807 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14810 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14811 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14813 * string/test-strchr.c: Make usable for strchrnul testing.
14814 * string/test-strchrnul.c: New file.
14815 * string/Makefile (strop-tests): Add strchrnul.
14817 * po/it.po: Update from translation team.
14818 * po/es.po: Likewise.
14820 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14823 the three constants needed as parameters. Drop the others.
14824 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14825 __m128i_strloadu_tolower.
14826 Create and initialize variable zero and use it in all the places
14827 where _mm_setzero_si128 was used.
14829 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14830 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14831 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14834 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14835 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14836 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14837 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14838 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14839 __mpranred, __mptan.
14840 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14841 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14842 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14843 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14844 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14845 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14848 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14850 2011-10-28 Andreas Schwab <schwab@redhat.com>
14852 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14853 redefine if SHARED.
14854 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14857 wide char related routines to wcsmbs subdir.
14859 2011-10-27 Andreas Schwab <schwab@redhat.com>
14862 * misc/sys/cdefs.h (__THROWNL): Define.
14863 * posix/unistd.h: Use __THREADNL instead of __THREAD
14864 for memory synchronization functions.
14866 2011-10-26 Roland McGrath <roland@hack.frob.com>
14869 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14871 * manual/stdio.texi (Obstack Streams): Node removed.
14873 2011-10-26 Andreas Schwab <schwab@redhat.com>
14875 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14877 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14879 * math/math_private.h (math_force_eval): Allow non-addressable
14881 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14883 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14886 file is not needed.
14888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14895 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14897 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14898 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14899 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14900 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14901 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14902 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14903 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14907 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14908 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14911 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14912 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14913 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14915 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14917 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14918 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14921 place. Use VEX encoding when compiling for AVX.
14923 2011-10-25 Andreas Schwab <schwab@redhat.com>
14925 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14926 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14928 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14930 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14932 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14933 useless if() expression.
14934 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14943 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14954 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14956 2011-10-25 Andreas Schwab <schwab@redhat.com>
14958 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14962 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14964 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14965 .text section. Avoid duplicate constants.
14966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14968 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14974 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14975 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14976 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14977 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14978 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14979 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14980 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14982 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14983 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14993 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14996 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14997 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14999 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15000 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15001 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15002 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15004 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15005 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15008 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15009 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15010 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15012 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15014 * sysdeps/x86_64/dla.h: Move to ...
15015 * sysdeps/x86_64/fpu/dla.h: ...here.
15016 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15017 situations. Use __builtin_fma only for gcc 4.6 and up.
15019 * config.make.in: Add have-mfma4 entry.
15020 * configure.in: Substitute libc_cv_cc_fma4.
15021 * math/Makefile (dbl-only-routines): Add sincostab.
15022 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15023 Use __sincostab not sincos.
15024 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15026 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15031 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15032 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15033 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15034 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15036 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15037 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15039 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15040 define aliases when function name is a macro.
15041 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15042 sysdeps/ieee754/dbl-64/sincos.tbl.
15043 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15044 fma4-enabled routines.
15045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15046 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15047 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15048 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15050 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15051 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15052 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15054 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15055 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15056 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15057 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15067 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15072 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15074 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15076 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15087 2011-10-24 Andreas Schwab <schwab@redhat.com>
15089 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15091 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15095 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15099 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15100 Remove unused variable magic_bits.
15101 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15103 * string/strnlen.c: Define and use STRNLEN macro.
15104 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15105 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15107 * wcsmbs/wcslen.c: Define and use WCSLEN.
15108 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15109 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15110 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15111 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15112 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15113 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15114 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15116 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15119 strnlen-sse2-no-bsf.
15120 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15121 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15123 Add strnlen support.
15124 (USE_AS_STRNLEN): New macro.
15125 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15127 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15128 * sysdeps/x86_64/wcslen.S: New file.
15130 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15133 XMM-moves are used for copying on small sizes.
15135 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15137 * wcsmbs/Makefile (strop-tests): Add wcschr.
15138 * wcsmbs/test-wcschr.c: New file.
15139 * string/test-strchr.c: Update.
15140 Add wcschr support.
15143 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15145 * wcsmbs/Makefile (strop-tests): Add wcslen.
15146 * wcsmbs/test-wcslen.c: New file.
15147 * string/test-strlen.c: Update.
15148 Add wcslen support.
15151 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15153 * po/it.po: Update from translation team.
15155 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15157 * sysdeps/x86_64/wcscmp.S: Update.
15158 Fix wrong comparison semantics.
15159 wcscmp shall use signed comparison not unsigned.
15160 Don't use substraction to avoid overflow bug.
15161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15162 * wcsmbc/wcscmp.c: Likewise.
15163 * string/test-strcmp.c: Likewise.
15164 Add new tests to check cases with negative values.
15166 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15168 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15169 * sysdeps/x86_64/dla.h: ...here. New file.
15170 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15180 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15183 __ynl_finite aliases.
15185 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15189 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15191 [DLA_FMA] (EMULV): Use DLA_FMA.
15192 [DLA_FMA] (MUL12): Use EMULV.
15193 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15194 that are not needed.
15195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15203 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15205 * math/s_nan.c: Undef __nan.
15206 * math/s_nanf.c: Undef __nanf.
15207 * math/s_nanl.c: Undef __nanl.
15208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15211 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15213 * math/s_catan.c: Add branch predictions.
15214 * math/s_catanf.c: Likewise.
15215 * math/s_catanh.c: Likewise.
15216 * math/s_catanhf.c: Likewise.
15217 * math/s_catanhl.c: Likewise.
15218 * math/s_catanl.c: Likewise.
15219 * math/s_cexp.c: Likewise.
15220 * math/s_cexpf.c: Likewise.
15221 * math/s_cexpl.c: Likewise.
15222 * math/s_clog.c: Likewise.
15223 * math/s_clog10.c: Likewise.
15224 * math/s_clog10f.c: Likewise.
15225 * math/s_clog10l.c: Likewise.
15226 * math/s_clogf.c: Likewise.
15227 * math/s_clogl.c: Likewise.
15228 * math/s_csqrt.c: Likewise.
15229 * math/s_csqrtf.c: Likewise.
15230 * math/s_csqrtl.c: Likewise.
15231 * math/s_ctanf.c: Likewise.
15232 * math/s_ctanh.c: Likewise.
15233 * math/s_ctanhf.c: Likewise.
15234 * math/s_ctanhl.c: Likewise.
15235 * math/s_ctanl.c: Likewise.
15237 * math/math_private.h: Define __nan, __nanf, __nanl.
15238 * math/s_cacosh.c: Include <math_private.h>.
15239 * math/s_cacoshl.c: Likewise.
15240 * math/s_casinh.c: Likewise.
15241 * math/s_casinhf.c: Likewise.
15242 * math/s_casinhl.c: Likewise.
15243 * math/s_ccos.c: Rely entire on ccosh.
15244 * math/s_ccosf.c: Rely entire on ccoshf.
15245 * math/s_ccosl.c: Rely entirely on ccoshl.
15246 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15247 Remove tests for FE_INVALID.
15248 * math/s_ccoshf.c: Likewise.
15249 * math/s_ccoshl.c: Likewise.
15250 * math/s_csin.c: Likewise.
15251 * math/s_csinf.c: Likewise.
15252 * math/s_csinh.c Likewise.
15253 * math/s_csinhf.c: Likewise.
15254 * math/s_csinhl.c: Likewise.
15255 * math/s_csinl.c: Likewise.
15256 * math/s_ctan.c: Likewise.
15257 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15258 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15259 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15261 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15264 compilation problems.
15266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15269 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15271 * sysdeps/i386/configure.in: Test for -mfma4 option.
15272 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15273 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15274 COMMON_CPUID_INDEX_80000001.
15275 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15276 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15277 use it if FMA3 is not supported.
15278 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15280 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15281 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15283 2011-10-20 Andreas Schwab <schwab@redhat.com>
15286 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15287 it would create a cycle with a link time dependency.
15289 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15291 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15293 * string/Makefile (strop-tests): Add rawmemchr.
15294 * string/test-rawmemchr.c: New file.
15296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15298 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15299 when compiling str{,n}casecmp and when AVX is available. Hook up
15300 new optimized code in initializers.
15302 2011-10-19 Andreas Schwab <schwab@redhat.com>
15304 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15305 __feraiseexcept instead of feraiseexcept.
15307 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15309 * math/math_private.h: Define defaults for libc_fetestexcept and
15311 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15312 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15313 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15314 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15316 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15317 libc_fetestexcept and libc_feupdateenv.
15319 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15320 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15321 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15322 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15323 libc_feholdexcept_setround.
15325 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15326 Add s_nearbyint-c and s_nearbyintf-c.
15327 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15328 nearbyintf inlines.
15329 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15330 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15332 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15334 * math/math_private.h: Define defaults for libc_fegetround,
15335 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15336 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15337 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15339 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15340 standard functions.
15341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15342 Remove comments and hacks for old compiler versions.
15343 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15344 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15345 libc_feholdexceptl.
15347 2011-10-18 Andreas Schwab <schwab@redhat.com>
15349 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15350 (__feraiseexcept_renamed): Add __NTH.
15351 (feraiseexcept): Add __NTH. Rename local variables to fix
15352 namespace violations.
15354 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15360 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15361 recently added interfaces.
15362 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15364 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15365 about macro parameter expansion.
15367 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15368 __NO_MATH_INLINES is defined. Cleanups.
15370 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15371 and __floorf is target has SSE4.1.
15372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15373 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15375 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15377 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15379 (floorf): Likewise.
15381 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15383 2011-10-17 Andreas Schwab <schwab@redhat.com>
15385 * misc/sys/cdefs.h: Fix last change.
15387 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15390 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15392 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15394 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15400 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15401 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15402 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15403 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15404 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15405 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15406 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15407 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15408 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15409 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15410 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15411 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15412 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15413 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15414 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15415 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15417 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15418 ceil, ceilf, floor, floorf.
15420 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15421 Perform IRELATIVE relocations last.
15423 * elf/do-rel.h: Add another parameter nrelative, replacing the
15424 local variable with the same name. Change name of the function
15425 to end in Rel or Rela (uppercase).
15426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15427 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15428 elf_dynamic_do_##reloc function.
15430 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15432 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15433 is sufficient, at least on modern CPUs.
15435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15437 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15440 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15442 * math/bits/math-finite.h: Add entries for exp.
15443 * math/e_expl.c: Add __*_finite alias.
15444 * sysdeps/i386/fpu/e_exp.S: Likewise.
15445 * sysdeps/i386/fpu/e_expf.S: Likewise.
15446 * sysdeps/i386/fpu/e_expl.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15448 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15452 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15453 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15455 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15456 is sufficient, at least on modern CPUs.
15458 * ctype/ctype-info.c (__ctype_init): Define.
15459 * include/ctype.h (__ctype_init): Declare.
15460 (__ctype_b_loc): The variable is always initialized.
15461 (__ctype_toupper_loc): Likewise.
15462 (__ctype_tolower_loc): Likewise.
15463 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15464 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15466 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15468 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15470 * configure.in: Also look in $cxxmachine/include for C++ system
15473 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15475 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15476 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15477 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15478 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15480 (USE_AS_WMEMCMP): New macro.
15482 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15483 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15484 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15485 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15487 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15488 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15489 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15490 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15491 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15493 (USE_AS_WMEMCMP): New macro.
15494 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15495 * sysdeps/string/test-memcmp.c: Update.
15496 Fix simple_wmemcmp.
15498 * wcsmbs/wmemcmp.c: Update.
15499 (WMEMCMP): New macro.
15502 2011-10-12 Andreas Jaeger <aj@suse.de>
15505 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15507 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15509 * libio/iofwide.c (do_length): Avoid warning.
15511 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15513 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15515 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15517 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15518 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15519 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15520 * sysdeps/i386/i686/fpu/e_log.S: New file.
15521 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15522 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15524 * ctype/ctype.h: Add support for inlined isXXX functions when
15525 compiling C++ code.
15527 2011-10-14 Andreas Schwab <schwab@redhat.com>
15529 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15533 2011-10-13 Roland McGrath <roland@hack.frob.com>
15536 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15538 2011-10-13 Andreas Schwab <schwab@redhat.com>
15540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15541 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15544 * sysdeps/x86_64/memrchr.S: Check for zero size.
15546 * string/stratcliff.c: Add memrchr tests.
15548 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15551 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15552 rawmemchr-sse2 rawmemchr-sse2-bsf.
15553 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15554 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15555 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15556 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15557 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15558 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15559 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15560 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15561 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15562 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15563 * string/memrchr.c (MEMRCHR): New macro.
15565 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15567 Add integration with gcc's -ffinite-math-only and optimize wrapper
15569 * Versions.def: Define GLIBC_2.15 version for libm.
15570 * math/Makefile (headers): Add bits/math-finite.h.
15571 * math/bits/math-finite.h: New file.
15572 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15573 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15574 * math/e_acoshl.c: Add __*_finite alias.
15575 * math/e_acosl.c: Likewise.
15576 * math/e_asinl.c: Likewise.
15577 * math/e_atan2l.c: Likewise.
15578 * math/e_atanhl.c: Likewise.
15579 * math/e_coshl.c: Likewise.
15580 * math/e_exp10.c: Likewise.
15581 * math/e_exp10f.c: Likewise.
15582 * math/e_exp10l.c: Likewise.
15583 * math/e_exp2l.c: Likewise.
15584 * math/e_fmodl.c: Likewise.
15585 * math/e_gammal_r.c: Likewise.
15586 * math/e_hypotl.c: Likewise.
15587 * math/e_j0l.c: Likewise.
15588 * math/e_j1l.c: Likewise.
15589 * math/e_jnl.c: Likewise.
15590 * math/e_lgammal_r.c: Likewise.
15591 * math/e_log10l.c: Likewise.
15592 * math/e_log2l.c: Likewise.
15593 * math/e_logl.c: Likewise.
15594 * math/e_powl.c: Likewise.
15595 * math/e_sinhl.c: Likewise.
15596 * math/e_sqrtl.c: Likewise.
15597 * math/e_scalb.c: Completely rewritten and optimized.
15598 * math/e_scalbf.c: Likewise.
15599 * math/e_scalbl.c: Likewise.
15600 * math/w_acos.c: Likewise.
15601 * math/w_acosf.c: Likewise.
15602 * math/w_acosl.c: Likewise.
15603 * math/w_acosh.c: Likewise.
15604 * math/w_acoshf.c: Likewise.
15605 * math/w_acoshl.c: Likewise.
15606 * math/w_asin.c: Likewise.
15607 * math/w_asinf.c: Likewise.
15608 * math/w_asinl.c: Likewise.
15609 * math/w_atan2.c: Likewise.
15610 * math/w_atan2f.c: Likewise.
15611 * math/w_atan2l.c: Likewise.
15612 * math/w_atanh.c: Likewise.
15613 * math/w_atanhf.c: Likewise.
15614 * math/w_atanhl.c: Likewise.
15615 * math/w_exp10.c: Likewise.
15616 * math/w_exp10f.c: Likewise.
15617 * math/w_exp10l.c: Likewise.
15618 * math/w_fmod.c: Likewise.
15619 * math/w_fmodf.c: Likewise.
15620 * math/w_fmodl.c: Likewise.
15621 * math/w_j0.c: Likewise.
15622 * math/w_j0f.c: Likewise.
15623 * math/w_j0l.c: Likewise.
15624 * math/w_j1.c: Likewise.
15625 * math/w_j1f.c: Likewise.
15626 * math/w_j1l.c: Likewise.
15627 * math/w_jn.c: Likewise.
15628 * math/w_jnf.c: Likewise.
15629 * math/w_log.c: Likewise.
15630 * math/w_logf.c: Likewise.
15631 * math/w_logl.c: Likewise.
15632 * math/w_log10.c: Likewise.
15633 * math/w_log10f.c: Likewise.
15634 * math/w_log10l.c: Likewise.
15635 * math/w_log2.c: Likewise.
15636 * math/w_log2f.c: Likewise.
15637 * math/w_log2l.c: Likewise.
15638 * math/w_pow.c: Likewise.
15639 * math/w_powf.c: Likewise.
15640 * math/w_powl.c: Likewise.
15641 * math/w_remainder.c: Likewise.
15642 * math/w_remainderf.c: Likewise.
15643 * math/w_remainderl.c: Likewise.
15644 * math/w_scalb.c: Likewise.
15645 * math/w_scalbf.c: Likewise.
15646 * math/w_scalbl.c: Likewise.
15647 * math/w_sqrt.c: Likewise.
15648 * math/w_sqrtf.c: Likewise.
15649 * math/w_sqrtl.c: Likewise.
15650 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15651 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15653 * math/math_private.h: Declare __kernel_standard_f.
15654 * math/w_cosh.c: Remove cruft and optimize a bit.
15655 * math/w_coshf.c: Likewise.
15656 * math/w_coshl.c: Likewise.
15657 * math/w_exp2.c: Likewise.
15658 * math/w_exp2f.c: Likewise.
15659 * math/w_exp2l.c: Likewise.
15660 * math/w_hypot.c: Likewise.
15661 * math/w_hypotf.c: Likewise.
15662 * math/w_hypotl.c: Likewise.
15663 * math/w_lgamma.c: Likewise.
15664 * math/w_lgamma_r.c: Likewise.
15665 * math/w_lgammaf.c: Likewise.
15666 * math/w_lgammaf_r.c: Likewise.
15667 * math/w_lgammal.c: Likewise.
15668 * math/w_lgammal_r.c: Likewise.
15669 * math/w_sinh.c: Likewise.
15670 * math/w_sinhf.c: Likewise.
15671 * math/w_sinhl.c: Likewise.
15672 * math/w_tgamma.c: Likewise.
15673 * math/w_tgammaf.c: Likewise.
15674 * math/w_tgammal.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15676 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15677 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15678 Minor optimizations. Pretty printing. Remove cruft.
15679 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15683 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15684 * sysdeps/i386/fpu/e_asin.S: Likewise.
15685 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15686 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15687 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15688 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15689 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15690 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15692 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15693 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15694 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15695 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15696 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15697 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15698 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15699 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15700 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15701 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15702 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15703 * sysdeps/i386/fpu/e_log.S: Likewise.
15704 * sysdeps/i386/fpu/e_log10.S: Likewise.
15705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15706 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15707 * sysdeps/i386/fpu/e_log2.S: Likewise.
15708 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15709 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15710 * sysdeps/i386/fpu/e_logf.S: Likewise.
15711 * sysdeps/i386/fpu/e_logl.S: Likewise.
15712 * sysdeps/i386/fpu/e_pow.S: Likewise.
15713 * sysdeps/i386/fpu/e_powf.S: Likewise.
15714 * sysdeps/i386/fpu/e_powl.S: Likewise.
15715 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15716 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15717 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15719 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15720 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15721 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15722 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15723 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15729 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15730 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15745 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15748 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15749 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15750 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15751 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15752 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15753 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15754 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15757 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15758 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15759 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15760 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15761 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15762 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15763 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15764 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15765 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15807 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15808 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15809 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15812 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15815 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15817 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15820 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15821 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15822 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15823 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15824 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15825 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15826 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15827 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15829 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15832 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15833 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15834 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15835 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15836 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15837 (__isnanf): Likewise.
15838 (__isinf_ns): Likewise.
15839 (__isinf_nsf): Likewise.
15840 (__finite): Likewise.
15841 (__finitef): Likewise.
15842 (__ieee754_sqrt): Define as macro.
15843 (__ieee754_sqrtf): Define as macro.
15844 (__ieee754_sqrtl): Define as macro.
15845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15847 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15848 __FINITE_MATH_ONLY__ consistent.
15849 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15851 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15853 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15856 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15858 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15860 * po/ja.po: Update from translation team.
15862 2011-10-08 Roland McGrath <roland@hack.frob.com>
15864 * locale/programs/locarchive.c (prepare_address_space): New function.
15865 (create_archive, enlarge_archive, open_archive): Use it.
15867 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15868 inside [SHARED], where it is used.
15870 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15872 * nss/getent.c (netgroup_keys): Remove unused variable.
15873 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15875 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15877 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15878 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15881 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15882 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15883 * math/Makefile (libm-calls): Add s_isinf_ns.
15884 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15885 * math/multc3.c: Likewise.
15886 * math/s_casin.c: Likewise.
15887 * math/s_casinf.c: Likewise.
15888 * math/s_casinl.c: Likewise.
15889 * math/s_ccos.c: Likewise.
15890 * math/s_ccosf.c: Likewise.
15891 * math/s_ccosl.c: Likewise.
15892 * math/s_ctan.c: Likewise.
15893 * math/s_ctanf.c: Likewise.
15894 * math/s_ctanh.c: Likewise.
15895 * math/s_ctanhf.c: Likewise.
15896 * math/s_ctanhl.c: Likewise.
15897 * math/s_ctanl.c: Likewise.
15898 * math/w_fmod.c: Likewise.
15899 * math/w_fmodf.c: Likewise.
15900 * math/w_fmodl.c: Likewise.
15901 * math/w_remainder.c: Likewise.
15902 * math/w_remainderf.c: Likewise.
15903 * math/w_remainderl.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15905 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15908 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15909 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15910 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15911 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15913 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15915 * stdio-common/printf_fphex.c: Likewise.
15916 * stdio-common/printf_size.c: Likewise.
15918 * math/e_exp10.c: Include math_private.h using <...> not "...".
15919 * math/e_exp10f.c: Likewise.
15920 * math/e_exp10l.c: Likewise.
15921 * math/e_exp2l.c: Likewise.
15922 * math/e_j0l.c: Likewise.
15923 * math/e_j1l.c: Likewise.
15924 * math/e_jnl.c: Likewise.
15925 * math/e_lgammal_r.c: Likewise.
15926 * math/e_rem_pio2l.c: Likewise.
15927 * math/e_scalb.c: Likewise.
15928 * math/e_scalbf.c: Likewise.
15929 * math/e_scalbl.c: Likewise.
15930 * math/k_cosl.c: Likewise.
15931 * math/k_sinl.c: Likewise.
15932 * math/k_tanl.c: Likewise.
15933 * math/s_cacoshf.c: Likewise.
15934 * math/s_catan.c: Likewise.
15935 * math/s_catanf.c: Likewise.
15936 * math/s_catanh.c: Likewise.
15937 * math/s_catanhf.c: Likewise.
15938 * math/s_catanhl.c: Likewise.
15939 * math/s_catanl.c: Likewise.
15940 * math/s_ccosh.c: Likewise.
15941 * math/s_ccoshf.c: Likewise.
15942 * math/s_ccoshl.c: Likewise.
15943 * math/s_cexp.c: Likewise.
15944 * math/s_cexpf.c: Likewise.
15945 * math/s_cexpl.c: Likewise.
15946 * math/s_clog.c: Likewise.
15947 * math/s_clog10.c: Likewise.
15948 * math/s_clog10f.c: Likewise.
15949 * math/s_clog10l.c: Likewise.
15950 * math/s_clogf.c: Likewise.
15951 * math/s_clogl.c: Likewise.
15952 * math/s_csin.c: Likewise.
15953 * math/s_csinf.c: Likewise.
15954 * math/s_csinh.c: Likewise.
15955 * math/s_csinhf.c: Likewise.
15956 * math/s_csinhl.c: Likewise.
15957 * math/s_csinl.c: Likewise.
15958 * math/s_csqrt.c: Likewise.
15959 * math/s_csqrtf.c: Likewise.
15960 * math/s_csqrtl.c: Likewise.
15961 * math/s_ctan.c: Likewise.
15962 * math/s_ctanf.c: Likewise.
15963 * math/s_ctanh.c: Likewise.
15964 * math/s_ctanhf.c: Likewise.
15965 * math/s_ctanhl.c: Likewise.
15966 * math/s_ctanl.c: Likewise.
15967 * math/s_ldexp.c: Likewise.
15968 * math/s_ldexpf.c: Likewise.
15969 * math/s_ldexpl.c: Likewise.
15970 * math/s_significand.c: Likewise.
15971 * math/s_significandf.c: Likewise.
15972 * math/s_significandl.c: Likewise.
15973 * math/w_acos.c: Likewise.
15974 * math/w_acosf.c: Likewise.
15975 * math/w_acosh.c: Likewise.
15976 * math/w_acoshf.c: Likewise.
15977 * math/w_acoshl.c: Likewise.
15978 * math/w_acosl.c: Likewise.
15979 * math/w_asin.c: Likewise.
15980 * math/w_asinf.c: Likewise.
15981 * math/w_asinl.c: Likewise.
15982 * math/w_atan2.c: Likewise.
15983 * math/w_atan2f.c: Likewise.
15984 * math/w_atan2l.c: Likewise.
15985 * math/w_atanh.c: Likewise.
15986 * math/w_atanhf.c: Likewise.
15987 * math/w_atanhl.c: Likewise.
15988 * math/w_cosh.c: Likewise.
15989 * math/w_coshf.c: Likewise.
15990 * math/w_coshl.c: Likewise.
15991 * math/w_dremf.c: Likewise.
15992 * math/w_exp10.c: Likewise.
15993 * math/w_exp10f.c: Likewise.
15994 * math/w_exp10l.c: Likewise.
15995 * math/w_exp2.c: Likewise.
15996 * math/w_exp2f.c: Likewise.
15997 * math/w_fmod.c: Likewise.
15998 * math/w_fmodf.c: Likewise.
15999 * math/w_fmodl.c: Likewise.
16000 * math/w_hypot.c: Likewise.
16001 * math/w_hypotf.c: Likewise.
16002 * math/w_hypotl.c: Likewise.
16003 * math/w_j0.c: Likewise.
16004 * math/w_j0f.c: Likewise.
16005 * math/w_j0l.c: Likewise.
16006 * math/w_j1.c: Likewise.
16007 * math/w_j1f.c: Likewise.
16008 * math/w_j1l.c: Likewise.
16009 * math/w_jn.c: Likewise.
16010 * math/w_jnf.c: Likewise.
16011 * math/w_jnl.c: Likewise.
16012 * math/w_lgamma.c: Likewise.
16013 * math/w_lgamma_r.c: Likewise.
16014 * math/w_lgammaf.c: Likewise.
16015 * math/w_lgammaf_r.c: Likewise.
16016 * math/w_lgammal.c: Likewise.
16017 * math/w_lgammal_r.c: Likewise.
16018 * math/w_log.c: Likewise.
16019 * math/w_log10.c: Likewise.
16020 * math/w_log10f.c: Likewise.
16021 * math/w_log10l.c: Likewise.
16022 * math/w_log2.c: Likewise.
16023 * math/w_log2f.c: Likewise.
16024 * math/w_log2l.c: Likewise.
16025 * math/w_logf.c: Likewise.
16026 * math/w_logl.c: Likewise.
16027 * math/w_pow.c: Likewise.
16028 * math/w_powf.c: Likewise.
16029 * math/w_powl.c: Likewise.
16030 * math/w_remainder.c: Likewise.
16031 * math/w_remainderf.c: Likewise.
16032 * math/w_remainderl.c: Likewise.
16033 * math/w_scalb.c: Likewise.
16034 * math/w_scalbf.c: Likewise.
16035 * math/w_scalbl.c: Likewise.
16036 * math/w_sinh.c: Likewise.
16037 * math/w_sinhf.c: Likewise.
16038 * math/w_sinhl.c: Likewise.
16039 * math/w_sqrt.c: Likewise.
16040 * math/w_sqrtf.c: Likewise.
16041 * math/w_sqrtl.c: Likewise.
16042 * math/w_tgamma.c: Likewise.
16043 * math/w_tgammaf.c: Likewise.
16044 * math/w_tgammal.c: Likewise.
16046 * po/ja.po: Update from translation team.
16048 2011-09-29 Andreas Jaeger <aj@suse.de>
16051 * sunrpc/netname.c (netname2host): Fix logic.
16055 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16057 * math/w_remainder.c (__remainder): Likewise.
16058 * math/w_remainderf.c (__remainderf): Likewise.
16059 * math/libm-test.inc (remainder_test): Add test cases.
16061 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16063 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16066 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16068 * string/test-memcmp.c: Avoid unncessary #defines.
16069 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16071 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16073 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16074 Use new sse2 version for core i3 - i7 as it's faster
16075 than sse42 version.
16076 (bit_Prefer_PMINUB_for_stringop): New.
16077 * sysdeps/x86_64/rawmemchr.S: Update.
16078 Replace with faster SSE2 version.
16079 * sysdeps/x86_64/memrchr.S: New file.
16080 * sysdeps/x86_64/memchr.S: Update.
16081 Replace with faster SSE2 version.
16083 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16085 * elf/dl-load.c (lose): Add cast to avoid warning.
16087 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16089 * po/ca.po: Update from translation team.
16091 * inet/getnetgrent_r.c: Hook up nscd.
16092 * nscd/Makefile (routines): Add nscd_netgroup.
16093 (nscd-modules): Add netgroupcache.
16094 (CFLAGS-netgroupcache.c): Define.
16095 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16096 (cache_search): Add const to second parameter.
16097 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16099 (dbs): Add netgrdb entry.
16100 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16101 (verify_persistent_db): Handle netgrdb.
16102 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16103 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16105 (netgroup_response_header): Define.
16106 (innetgroup_response_header): Define.
16107 (datahead): Add netgroup_response_header and innetgroup_response_header
16109 * nscd/nscd.conf: Add entries for netgroup cache.
16110 * nscd/nscd.h (dbtype): Add netgrdb.
16111 (_PATH_NSCD_NETGROUP_DB): Define.
16112 (netgroup_iov_disabled): Declare.
16113 (xmalloc, xcalloc, xrealloc): Move declarations here.
16114 (cache_search): Adjust prototype.
16115 Add netgroup-related prototypes.
16116 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16117 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16118 (__nscd_innetgr): Declare.
16119 * nscd/selinux.c (perms): Use access_vector_t as element type and
16120 add netgroup-related initializers.
16121 * nscd/netgroupcache.c: New file.
16122 * nscd/nscd_netgroup.c: New file.
16123 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16124 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16125 For four parameters use innetgr.
16126 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16127 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16128 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16129 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16131 * nscd/connections.c (register_traced_file): Don't register file
16132 for disabled databases.
16134 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16136 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16138 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16139 from tree and freeing node.
16141 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16143 * nss/nsswitch.c (__nss_database_lookup): Handle
16144 nss_parse_service_list out of memory case.
16146 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16148 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16149 out of memory case.
16151 2011-10-04 Andreas Schwab <schwab@redhat.com>
16153 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16154 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16156 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16157 elf_machine_rela, elf_machine_lazy_rel.
16158 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16159 (ELF_DYNAMIC_DO_REL): Likewise.
16160 (ELF_DYNAMIC_DO_RELA): Likewise.
16161 (ELF_DYNAMIC_RELOCATE): Likewise.
16162 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16163 to ELF_DYNAMIC_DO_REL.
16164 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16165 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16166 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16169 skip_ifunc, don't call ifunc function if non-zero.
16170 (elf_machine_rela): Likewise.
16171 (elf_machine_lazy_rel): Likewise.
16172 (elf_machine_lazy_rela): Likewise.
16173 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16174 (elf_machine_lazy_rel): Likewise.
16175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16177 (elf_machine_lazy_rel): Likewise.
16178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16180 (elf_machine_lazy_rel): Likewise.
16181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16182 (elf_machine_lazy_rel): Likewise.
16183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16184 (elf_machine_lazy_rel): Likewise.
16185 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16186 (elf_machine_lazy_rel): Likewise.
16187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16188 (elf_machine_lazy_rel): Likewise.
16189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16190 (elf_machine_lazy_rel): Likewise.
16191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16192 (elf_machine_lazy_rel): Likewise.
16194 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16196 * nss/nss_files/files-init.c (_nss_files_init): Use static
16197 initialization for all the *_traced_file variables.
16199 2011-09-28 Andreas Schwab <schwab@redhat.com>
16201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16203 2011-09-27 Roland McGrath <roland@hack.frob.com>
16206 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16208 2011-09-27 Andreas Schwab <schwab@redhat.com>
16210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16211 Reread the line before reparsing it.
16213 2011-09-26 Andreas Schwab <schwab@redhat.com>
16215 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16217 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16218 Maxim Kuvyrkov <maxim@codesourcery.com>
16219 Joseph Myers <joseph@codesourcery.com>
16221 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16222 if needed for __stack_chk_guard.
16224 2011-09-19 Roland McGrath <roland@hack.frob.com>
16226 * sysdeps/posix/spawni.c (script_execute): Always define it.
16227 It will be optimized away if unused.
16228 (maybe_script_execute): New function.
16229 (__spawni): Call it.
16231 * Makerules: Don't include tls.make.
16232 (config-tls): Always set to thread.
16233 * tls.make.c: File removed.
16235 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16237 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16238 * config.make.in (CPPFLAGS-config): New substituted variable.
16240 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16245 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16246 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16248 2011-09-15 Roland McGrath <roland@hack.frob.com>
16250 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16251 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16253 (CALL_FAIL): Likewise.
16254 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16255 (CALL_FAIL): Macro removed.
16256 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16258 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16261 for __FINITE_MATH_ONLY__ == 1.
16263 2011-09-15 Andreas Schwab <schwab@redhat.com>
16265 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16266 __ieee754_sqrt instead of sqrt.
16267 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16268 __ieee754_sqrtf instead of sqrtf.
16269 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16270 __floorf instead of floorf.
16271 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16272 __floorf, __truncf instead of floorf, truncf.
16274 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16276 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16278 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16279 __extern_always_inline.
16280 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16283 2011-09-14 Andreas Schwab <schwab@redhat.com>
16285 * elf/rtld.c (dl_main): Also relocate in dependency order when
16286 doing symbol dependency testing.
16288 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16291 Always define `refsym'.
16293 2011-09-13 Andreas Schwab <schwab@redhat.com>
16295 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16296 (__FD_ELT): Renamed from __FDELT.
16297 * misc/bits/select2.h (__FD_ELT): Likewise.
16298 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16299 __FD_MASK instead of __FDELT, __FDMASK.
16300 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16302 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16305 * elf/Makefile (gen-ldd): Fix pattern.
16307 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16308 (init_tls): Likewise.
16310 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16314 2011-09-12 Andreas Schwab <schwab@redhat.com>
16316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16317 `struct cmsghdr *' instead of `void *'.
16318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16321 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16323 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16325 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16326 ldd_rewrite_script.
16328 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16330 * configure.in: Remove --with-tls option.
16331 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16332 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16333 out in case it is missing.
16334 * sysdeps/ia64/elf/configure.in: Likewise.
16335 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16336 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16337 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16338 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16339 * sysdeps/sh/elf/configure.in: Likewise.
16340 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16341 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16342 * sysdeps/x86_64/elf/configure.in: Likewise.
16343 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16344 * sysdeps/mach/hurd/tls.h: Likewise.
16347 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16350 * configure.in: Fix use of AC_INIT.
16352 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16354 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16356 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16358 * malloc/hooks.c: Likewise.
16361 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16362 variables statically.
16363 (narenas): Initialize.
16364 (list_lock): Initialize.
16365 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16366 initializtion of main_arena and list_lock. Small cleanups.
16367 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16368 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16369 Add initializers to main_arena and mp_.
16370 (malloc_state): Remove pagesize member. Change all users to use
16373 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16374 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16375 is always initialized.
16377 * malloc/malloc.c: Removed unused configurations and dead code.
16378 * malloc/arena.c: Likewise.
16379 * malloc/hooks.c: Likewise.
16380 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16382 * include/tls.h: Removed. USE___THREAD must always be defined.
16383 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16384 * elf/dl-libc.c: Likewise.
16385 * elf/dl-tsd.c: Likewise.
16386 * include/errno.h: Likewise.
16387 * include/netdb.h: Likewise.
16388 * include/resolv.h: Likewise.
16389 * inet/herrno-loc.c: Likewise.
16390 * inet/herrno.c: Likewise.
16391 * malloc/arena.c: Likewise.
16392 * malloc/hooks.c: Likewise.
16393 * malloc/malloc.c: Likewise.
16394 * resolv/res-state.c: Likewise.
16395 * resolv/res_libc.c: Likewise.
16396 * sysdeps/i386/dl-machine.h: Likewise.
16397 * sysdeps/ia64/dl-machine.h: Likewise.
16398 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16399 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16400 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16401 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16402 * sysdeps/sh/dl-machine.h: Likewise.
16403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16405 * sysdeps/unix/i386/sysdep.S: Likewise.
16406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16407 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16412 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16417 * sysdeps/x86_64/dl-machine.h: Likewise.
16418 * tls.make.c: Likewise.
16420 * configure.in: Remove --with-__thread option. Make tests for
16421 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16422 tls_model attribute fail if no support is available. Remove
16424 * Makeconfig: Adjust for dropped configure option. All features are
16426 * Makerules: Likewise.
16427 * Versions.def: Likewise.
16428 * argp/argp-fmtstream.c: Likewise.
16429 * argp/argp-fmtstream.h: Likewise.
16430 * argp/argp-help.c: Likewise.
16431 * assert/assert.c: Likewise.
16432 * config.h.in: Likewise.
16433 * config.make.in: Likewise.
16434 * configure: Likewise.
16435 * configure.in: Likewise.
16436 * csu/Versions: Likewise.
16437 * csu/init.c: Likewise.
16438 * elf/tst-audit2.c: Likewise.
16439 * elf/tst-tls10.c: Likewise.
16440 * elf/tst-tls10.h: Likewise.
16441 * elf/tst-tls11.c: Likewise.
16442 * elf/tst-tls12.c: Likewise.
16443 * elf/tst-tls14.c: Likewise.
16444 * elf/tst-tlsmod11.c: Likewise.
16445 * elf/tst-tlsmod12.c: Likewise.
16446 * elf/tst-tlsmod13.c: Likewise.
16447 * elf/tst-tlsmod13a.c: Likewise.
16448 * elf/tst-tlsmod14a.c: Likewise.
16449 * elf/tst-tlsmod15b.c: Likewise.
16450 * elf/tst-tlsmod16a.c: Likewise.
16451 * elf/tst-tlsmod16b.c: Likewise.
16452 * elf/tst-tlsmod7.c: Likewise.
16453 * elf/tst-tlsmod8.c: Likewise.
16454 * elf/tst-tlsmod9.c: Likewise.
16455 * gmon/gmon.c: Likewise.
16456 * grp/fgetgrent_r.c: Likewise.
16457 * grp/putgrent.c: Likewise.
16458 * hurd/fopenport.c: Likewise.
16459 * include/libc-symbols.h: Likewise.
16460 * include/tls.h: Likewise.
16461 * intl/gettextP.h: Likewise.
16462 * intl/loadinfo.h: Likewise.
16463 * locale/global-locale.c: Likewise.
16464 * locale/localeinfo.h: Likewise.
16465 * mach/devstream.c: Likewise.
16466 * malloc/arena.c: Likewise.
16467 * malloc/set-freeres.c: Likewise.
16468 * misc/err.c: Likewise.
16469 * misc/getttyent.c: Likewise.
16470 * misc/mntent_r.c: Likewise.
16471 * posix/getopt.c: Likewise.
16472 * posix/wordexp.c: Likewise.
16473 * pwd/fgetpwent_r.c: Likewise.
16474 * resolv/Versions: Likewise.
16475 * resolv/res_hconf.c: Likewise.
16476 * shadow/fgetspent_r.c: Likewise.
16477 * shadow/putspent.c: Likewise.
16478 * stdio-common/printf_fphex.c: Likewise.
16479 * stdio-common/tmpfile.c: Likewise.
16480 * stdlib/abort.c: Likewise.
16481 * stdlib/fmtmsg.c: Likewise.
16482 * sunrpc/auth_unix.c: Likewise.
16483 * sunrpc/clnt_perr.c: Likewise.
16484 * sunrpc/clnt_tcp.c: Likewise.
16485 * sunrpc/clnt_udp.c: Likewise.
16486 * sunrpc/clnt_unix.c: Likewise.
16487 * sunrpc/openchild.c: Likewise.
16488 * sunrpc/svc_simple.c: Likewise.
16489 * sunrpc/svc_tcp.c: Likewise.
16490 * sunrpc/svc_udp.c: Likewise.
16491 * sunrpc/svc_unix.c: Likewise.
16492 * sunrpc/xdr.c: Likewise.
16493 * sunrpc/xdr_array.c: Likewise.
16494 * sunrpc/xdr_rec.c: Likewise.
16495 * sunrpc/xdr_ref.c: Likewise.
16496 * sunrpc/xdr_stdio.c: Likewise.
16498 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16500 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16502 2011-07-03 Andreas Jaeger <aj@suse.de>
16504 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16505 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16506 regenerate with gen-libm-tests.pl.
16508 2010-05-12 Petr Baudis <pasky@suse.cz>
16511 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16512 around j0() zero points by switching to j1().
16513 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16516 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16520 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16522 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16525 Patch in part by Pavel Roskin <proski@gnu.org>.
16528 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16530 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16531 Free memory block if necessary.
16534 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16535 be NULL. Don't lock in this case.
16537 2011-09-09 Roland McGrath <roland@hack.frob.com>
16539 * elf/elf.h (ELFOSABI_GNU): New macro.
16540 (ELFOSABI_LINUX): Define to that.
16542 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16544 * string/strncat.c (strncat): Undef the symbol in case it has been
16545 defined in bits/string.h.
16547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16549 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16551 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16554 2011-08-17 Andreas Jaeger <aj@suse.de>
16556 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16558 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16559 Ian Lance Taylor <iant@google.com>
16561 * math/libm-test.inc (lround_test): New testcase.
16562 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16564 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16566 * Makefile: Remove support for automatic cvs check-ins.
16567 * Makerules: Likewise.
16568 * config.make.in: Likewise.
16569 * configure.in: Likewise.
16570 * intl/Makefile: Likewise.
16571 * locale/Makefile: Likewise.
16572 * po/Makefile: Likewise.
16573 * posix/Makefile: Likewise.
16574 * sysdeps/gnu/Makefile: Likewise.
16575 * sysdeps/mach/hurd/Makefile: Likewise.
16576 * sysdeps/sparc/sparc32/Makefile: Likewise.
16579 * posix/Makefile (bug-regex32-ENV): Define.
16580 Patch by John Stanley <jpsinthemix@verizon.net>.
16582 * misc/Makefile (headers): Add bits/select2.h.
16583 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16584 * misc/bits/select2.h: New file.
16585 * include/bits/select2.h: New file.
16586 * debug/Makefile (routines): Add fdelt_chk.
16587 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16588 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16590 * debug/fdelt_chk.c: New file.
16592 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16593 * wcsmbs/test-wmemcmp.c: Likewise.
16594 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16595 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16597 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16599 * string/Makefile (strop-tests): Add memcmp.
16600 * string/test-wmemcmp.c: New file.
16601 * string/test-memcmp.c: Add wmemcmp support.
16603 2011-09-08 Roland McGrath <roland@hack.frob.com>
16606 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16609 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16610 garbage value in a __mach_port_mod_refs call in the cases of the
16611 task-self and thread-self ports.
16613 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16615 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16617 2011-09-08 Andreas Schwab <schwab@redhat.com>
16619 * elf/dl-load.c (lose): Check for non-null L.
16621 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16623 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16625 * elf/dl-libc.c (dlerror_run): Pass back error code from
16629 * elf/dl-load.c (lose): Free l_origin if it is valid.
16631 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16634 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16638 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16640 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16642 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16643 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16644 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16645 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16646 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16647 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16648 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16649 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16650 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16651 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16653 2011-08-15 Alan Modra <amodra@gmail.com>
16656 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16657 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16658 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16659 ppc_mcount to static-only-routines.
16660 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16662 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16663 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16665 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16668 for finite and infinity parameters.
16670 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16673 and add nop instructions for throughput optimization.
16674 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16676 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16679 aligned copy for power7 with vector-scalar instructions.
16680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16682 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16687 2011-09-07 Andreas Schwab <schwab@redhat.com>
16690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16693 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16695 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16696 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16697 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16698 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16701 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16703 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16704 Forgot to demangle the pointer.
16706 * sysdeps/i386/sysdep.h: Define atom_text_section.
16707 * sysdeps/x86_64/sysdep.h: Likewise.
16708 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16709 section with atom_text_section.
16710 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16712 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16714 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16716 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16717 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16718 already be defined. Change to take two parameters and don't assign
16719 result to variable. Adjust all users.
16720 Define INTERNAL_GETTIME if not already defined.
16721 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16724 HAVE_CLOCK_GETTIME_VSYSCALL.
16725 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16728 gettimeofday vsyscall, just use time.
16730 2011-09-06 Andreas Schwab <schwab@redhat.com>
16732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16735 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16737 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16741 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16743 syscall if possible.
16745 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16747 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16748 e_ident. Don't pass to find_mapsXX.
16749 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16754 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16755 * sysdeps/x86_64/multiarch/strchr.S: Update.
16756 Check bit_slow_BSF bit.
16757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16758 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16761 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16764 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16766 (tryshell): Define.
16767 (__spawni): Change last parameter to be flag. Test
16768 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16769 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16770 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16771 * posix/spawni.c: Likewise.
16772 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16773 * posix/spawnp.c: Likewise. Change normal version to use
16774 SPAWN_XFLAGS_USE_PATH.
16775 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16776 SPAWN_XFLAGS_TRY_SHELL.
16779 * posix/glob.h: Remove gcc 1.x support.
16782 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16784 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16787 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16789 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16790 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16791 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16793 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16796 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16798 * sysdeps/x86_64/wcscmp.S: New file.
16800 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16801 wcscmp-c wcscmp-sse2
16802 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16803 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16804 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16805 * wcsmbs/wcscmp.c: Allow renaming.
16807 2011-09-05 David S. Miller <davem@davemloft.net>
16809 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16810 stack slot, rather than the struct return pointer slot.
16811 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16812 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16814 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16816 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16818 * po/ja.po: Update from translation team.
16821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16822 kernel in 64-bit binaries.
16824 2011-09-01 David S. Miller <davem@davemloft.net>
16826 * elf/elf.h (HWCAP_SPARC_*): Move to..
16827 * sysdeps/sparc/sysdep.h: this new file and add new values.
16828 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16829 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16830 _DL_HWCAP_COUNT to 24.
16831 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16833 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16834 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16835 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16837 instead of magic constants.
16838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16840 2011-08-31 David S. Miller <davem@davemloft.net>
16842 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16844 Reimplement to do errno handling inline.
16845 (SYSCALL_ERROR_HANDLER): New macro.
16846 (__SYSCALL_STRING): Do not do errno handling in asm.
16847 (__CLONE_SYSCALL_STRING): Delete.
16848 (__INTERNAL_SYSCALL_STRING): Delete.
16849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16850 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16851 (PSEUDO): Reimplement to do errno handling inline.
16852 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16853 (SYSCALL_ERROR_HANDLER): New macro.
16854 (__SYSCALL_STRING): Do not do errno handling in asm.
16855 (__CLONE_SYSCALL_STRING): Delete.
16856 (__INTERNAL_SYSCALL_STRING): Delete.
16857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16858 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16860 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16861 (inline_syscall*): Add 'err' argument.
16862 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16863 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16864 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16865 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16867 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16868 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16870 2011-08-30 Andreas Schwab <schwab@redhat.com>
16872 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16874 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16876 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16879 2011-08-24 David S. Miller <davem@davemloft.net>
16881 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16883 2011-08-24 Andreas Schwab <schwab@redhat.com>
16885 * elf/Makefile: Add rules to build and run unload8 test.
16886 * elf/unload8.c: New file.
16887 * elf/unload8mod1.c: New file.
16888 * elf/unload8mod1x.c: New file.
16889 * elf/unload8mod2.c: New file.
16890 * elf/unload8mod3.c: New file.
16892 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16895 2011-08-23 David S. Miller <davem@davemloft.net>
16897 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16898 subtract stack bias.
16899 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16900 %sp not %fp in calculations.
16901 (_JMPBUF_UNWINDS_ADJ): Likewise.
16903 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16904 (aio_suspend): Call it to force an exception region around the
16905 AIO_MISC_WAIT() invocation.
16907 2011-08-23 Andreas Schwab <schwab@redhat.com>
16909 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16912 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16914 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16916 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16917 and <dl-machine.h>.
16918 (Elf64_FuncDesc): Remove.
16920 2011-08-22 David S. Miller <davem@davemloft.net>
16922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16923 sigaltstack check, add missing cfi directives.
16924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16925 missing cfi directives, and sigaltstack handling.
16927 2011-08-16 Andreas Schwab <schwab@redhat.com>
16930 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16931 object is seen twice.
16932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16934 * elf/Makefile (distribute): Add tst-initorder2.c.
16935 (tests): Add tst-initorder2.
16936 (modules-names): Add tst-initorder2a tst-initorder2b
16937 tst-initorder2c tst-initorder2d. Add rules to build them.
16938 ($(objpfx)tst-initorder2.out): New rule.
16939 * elf/tst-initorder2.c: New file.
16940 * elf/tst-initorder2.exp: New file.
16942 2011-08-22 Andreas Schwab <schwab@redhat.com>
16944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16946 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16947 dependencies back to end of function.
16949 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16950 $(elfobjdir)/ld.so.
16952 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16955 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16957 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16958 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16959 of __vdso_gettimeofday.
16960 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16961 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16963 (_libc_vdso_platform_setup): Remove initialization of
16964 __vdso_gettimeofday and __vdso_time.
16966 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16968 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16969 and fgetc_unlocked.
16970 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16973 * elf/dl-open.c (add_to_global): Report additions to the global scope
16974 for LD_DEBUG=scopes.
16975 (dl_open_worker): Also print scope of newly loaded dependencies.
16976 (_dl_show_scope): Indicate if there is no scope.
16979 * stdio-common/Makefile (tests): Add bug24.
16980 * stdio-common/bug24.c: New file.
16982 2011-08-19 Andreas Jaeger <aj@suse.de>
16985 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16986 non-existant file when using close-on-exec mode.
16988 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16991 the very first instruction.
16993 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16994 the CFI state in the end.
16995 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16996 inclusion of dl-trampoline.h.
16997 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16999 2011-08-19 Andreas Schwab <schwab@redhat.com>
17001 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17002 expectations for long double.
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17005 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17007 2011-08-14 David S. Miller <davem@davemloft.net>
17009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17010 artificual limit depends upon the system page size.
17012 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17014 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17015 * resolv/Makefile: Define CFLAGS-libresolv.
17017 2011-08-17 Andreas Schwab <schwab@redhat.com>
17019 * nss/makedb.c (compute_tables): Make variables used in nested
17022 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17024 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17025 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17026 if buffer was too small.
17028 * elf/pldd.c (main): Attach to all threads in the process.
17029 Rewrite /proc handling to use *at functions.
17031 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17033 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17034 specifies first scope to show.
17035 (dl_open_worker): Update callers. Move printing scope of new
17036 object to before the relocation.
17037 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17038 * sysdeps/generic/ldsodefs.h: Update declaration.
17040 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17041 string for the scope number.
17043 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17045 * nscd/servicescache.c (cache_addserv): Make sure written is always
17048 2011-08-14 Roland McGrath <roland@hack.frob.com>
17050 * sysdeps/i386/i486/bits/atomic.h
17051 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17052 statement expression, so as to suppress "set but not used" warning.
17053 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17055 * string/strncat.c (STRNCAT): Use prototype definition.
17057 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17058 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17060 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17061 (localedef-modules): Add localedef.
17062 (locale-modules): Add locale.
17064 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17065 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17066 to avoid a warning.
17068 2011-08-14 David S. Miller <davem@davemloft.net>
17070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17071 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17073 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17075 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17076 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17077 * elf/rtld.c (dl_main): Set l_name of vDSO.
17078 Call _dl_show_scope when DL_DEBUG_SCOPES.
17079 (process_dl_debug): Recognize scopes flag and also set it for all.
17080 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17081 Declare _dl_show_scope.
17083 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17084 (do_dlopen): Pass caller_dlopen to dl_open.
17085 (__libc_dlopen_mode): Initialize caller_dlopen.
17087 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17088 of libc. Make tolower call locale-independent. Optimize a bit by
17089 using isdigit instead of isalnum.
17090 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17092 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17094 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17095 was a dependency or dynamically loaded.
17097 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17099 * intl/l10nflist.c: Allow architecture-specific pop function.
17100 * sysdeps/x86_64/l10nflist.c: New file.
17102 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17105 2011-08-10 Andreas Schwab <schwab@redhat.com>
17107 * include/dirent.h: Add libc_hidden_proto for scandirat and
17108 scandirat64. Don't declare __scandirat64.
17109 * dirent/scandirat.c: Add libc_hidden_def.
17110 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17111 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17113 2011-08-10 David S. Miller <davem@davemloft.net>
17115 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17121 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17123 * Versions.def [libc]: Add GLIBC_2.15.
17124 * dirent/Makefile (routines): Add scandirat and scandirat64.
17125 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17127 * dirent/dirent.h: Declare scandirat and scandirat64.
17128 * dirent/scandirat.c: New file.
17129 * dirent/scandirat64.c: New file.
17130 * sysdeps/wordsize-64/scandirat.c: New file.
17131 * sysdeps/wordsize-64/scandirat64.c: New file.
17132 * dirent/opendir.c: Define opendirat.
17133 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17135 * dirent/scandir64.c: Adjust for scandir.c change.
17136 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17137 __scandirat64, and __scandir_cancel_handler.
17138 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17139 additional parameter and use openat instead of open (outside of ld.so).
17140 Add new __opendir as wrapper around __opendirat.
17141 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17142 here without requiring old scandirat implementation.
17144 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17146 * dirent/scandir.c (cancel_handler): Renamed to
17147 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17148 defined. Adjust users.
17149 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17152 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17154 * string/test-string.h (IMPL): Use __STRING to expand name and then
17157 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17160 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17162 * string/Makefile: Update.
17163 (strop-tests): Append strncat.
17164 * string/test-wcscmp.c: New file.
17165 New comprehensive test for wcscmp.
17166 * string/test-strcmp.c: Update.
17167 (WIDE): New define.
17169 2011-07-22 Andreas Schwab <schwab@redhat.com>
17171 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17174 2011-07-26 Andreas Schwab <schwab@redhat.com>
17176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17177 encoding to ACE if AI_IDN.
17179 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17182 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17187 Fix overflow bug in strncat.
17188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17190 * string/test-strncat.c: Update.
17191 Add new tests for checking overflow bugs.
17193 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17196 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17197 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17198 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17199 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17200 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17201 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17202 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17203 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17205 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17206 (USE_AS_STRCAT): Define.
17207 Add strcat and strncat support.
17208 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17210 2011-07-25 Andreas Schwab <schwab@redhat.com>
17212 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17213 __n bigger than INT_MAX+1.
17214 (__strncmp_g): Likewise.
17216 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17218 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17219 * libio/stido.h: Likewise.
17221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17226 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17229 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17233 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17238 (_dl_x86_64_save_sse): Likewise.
17240 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17244 (_dl_x86_64_save_sse): Likewise.
17246 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17248 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17250 2011-07-21 Andreas Schwab <schwab@redhat.com>
17252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17254 (_dl_x86_64_save_sse): Use correct AVX check.
17256 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17259 bug in strncpy/strncat.
17260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17262 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17264 * string/tester.c (test_strcat): Add tests for different alignments
17265 of source and destination.
17266 (test_strncat): Likewise.
17268 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17271 * posix/glob.c (glob): Check passed in values before using them in
17272 expressions to avoid some overflows.
17273 (glob_in_dir): Likewise.
17276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17277 check for AVX enablement so that we don't crash with old kernels and
17279 * elf/tst-audit4.c: Add same checks here.
17280 * elf/tst-audit6.c: Likewise.
17282 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17284 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17286 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17288 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17290 * po/cs.po: Update from translation team.
17291 * po/bg.po: Likewise.
17293 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17295 * misc/sys/cdefs.h: Add support for const attribute.
17296 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17297 to gnu_dev_{major,minor,makedev} functions.
17299 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17301 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17303 2011-07-20 Andreas Schwab <schwab@redhat.com>
17305 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17308 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17311 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17312 register in order to avoid conflicts with the soft frame pointer
17313 being held in r11 when necessary.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17315 (INTERNAL_VSYSCALL_NCS): Likewise.
17317 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17319 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17320 * elf/dl-fini.c (_dl_fini): Adjust caller.
17321 * elf/dl-close.c (_dl_close_worker): Likewise.
17322 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17324 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17326 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17327 "aux_cache->nlibs < 0".
17329 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17330 in the reload-count case.
17332 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17335 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17336 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17338 * sysdeps/x86_64/multiarch/strcat.S: New file.
17339 * sysdeps/x86_64/multiarch/strncat.S: New file.
17340 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17341 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17342 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17343 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17345 (USE_AS_STRCAT): Define.
17346 Add strcat and strncat support.
17347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17349 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17350 * string/strncat.c: Update.
17351 (USE_AS_STRNCAT): Define.
17352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17353 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17355 * sysdeps/x86_64/multiarch/init-arch.h
17356 (bit_Prefer_PMINUB_for_stringop): New.
17357 (index_Prefer_PMINUB_for_stringop): Likewise.
17358 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17359 bit_Prefer_PMINUB_for_stringop.
17361 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17363 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17365 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17366 of casting of buffer.
17367 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17368 buffer32 and buffer64.
17369 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17370 writes instead of casting of buffer.
17371 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17373 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17376 2011-07-19 Andreas Schwab <schwab@redhat.com>
17378 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17382 * nscd/nscd.c (termination_handler): Don't do anything for a database
17383 if it has not yet been initialized.
17385 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17387 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17389 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17391 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17393 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17395 * po/nl.po: Update from translation team.
17396 * po/sv.po: Likewise.
17398 2011-07-16 Roland McGrath <roland@hack.frob.com>
17400 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17401 now disallowed by GCC.
17403 * configure.in (use-default-link): Default to yes if a test -shared
17404 link meets our qualifications.
17405 * configure: Regenerated.
17407 * config.make.in (output-format): New variable.
17408 * configure.in: Check for ld --print-output-format support.
17409 * configure: Regenerated.
17410 * Makerules ($(common-objpfx)format.lds)
17411 [$(output-format) != unknown]: Just use $(output-format),
17412 instead of the linker-script munging.
17414 2011-07-14 Roland McGrath <roland@hack.frob.com>
17416 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17417 of $(common-objpfx)shlib.lds.
17418 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17420 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17421 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17423 * configure.in (-z relro check): Adjust test code to add a large
17424 writable data section after it.
17425 * configure: Regenerated.
17427 2011-07-11 Roland McGrath <roland@hack.frob.com>
17429 * configure.in (-z relro check): Fix test code to make the variable
17431 * configure: Regenerated.
17433 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17435 * nscd/nscd.h (struct traced_file): Define.
17436 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17437 elements. Add traced_files.
17438 (inotify_fd): Declare.
17439 (register_traced_file): Declare.
17440 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17441 (inotify_fd): Export.
17442 (resolv_conf_descr): Remove.
17443 (nscd_init): Move inotify descriptor creation to main.
17444 Don't register files for notification here.
17445 (register_traced_file): New function.
17446 (invalidate_cache): Don't use reset_res to determine whether to call
17447 res_init, go through the list of registered files.
17448 (main_loop_poll): The inotify descriptors are now stored in the
17449 structures for the traced files.
17450 (main_loop_epoll): Likewise
17451 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17452 to __nss_disable_nscd.
17453 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17454 for a database anymore. Check the records for all the registered
17456 * nss/Makefile (libnss_files-routines): Add files-init.
17457 (libnss_db-routines): Add db-init.
17458 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17459 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17460 * nss/nss_db/db-init.c: New file.
17461 * nss/nss_files/files-init.c: New file.
17462 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17463 __nss_lookup_function.
17464 (__nss_lookup_function): Call nss_load_library.
17465 (nss_load_all_libraries): New function.
17466 (__nss_disable_nscd): Take parameter with callback function for files
17467 to register. Set is_nscd. Load all the DSOs for the NSS modules
17468 used for the cached services.
17469 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17470 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17471 options for features to all the files in nscd.
17473 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17475 2011-07-10 Roland McGrath <roland@hack.frob.com>
17477 * csu/elf-init.c (__libc_csu_init): Comment typo.
17479 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17481 * po/pl.po: Update from translation team.
17482 * po/ja.po: Likewise.
17483 * po/ru.po: Likewise.
17484 * po/ko.po: Likewise.
17485 * po/fr.po: Likewise.
17487 2011-07-09 Roland McGrath <roland@hack.frob.com>
17489 * configure.in (.ctors/.dtors header and trailer check):
17490 Use an empirical test on a built program.
17491 * configure: Regenerated.
17493 * configure.in (-z relro check): Use an empirical test on a built DSO.
17494 Detect, but do not require, on ia64.
17495 * configure: Regenerated.
17497 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17498 Update tests that use readelf to use $READELF instead.
17499 * configure: Regenerated.
17501 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17503 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17504 if the result is not used.
17506 2011-07-05 Andreas Jaeger <aj@suse.de>
17509 * stdlib/tst-strtod.c: Add testcase.
17511 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17513 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17514 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17515 The latter has a higher limit. Take additional parameter to pass to
17517 (__pathconf): Pass file to __statfs_link_max.
17518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17520 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17524 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17528 (__statfs_filesize_max): Likewise.
17529 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17531 2011-07-05 Andreas Jaeger <aj@suse.de>
17533 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17535 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17537 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17539 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17542 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17544 * Makefile (strop-tests): Add strncat.
17545 * string/test-strncat.c: New file.
17547 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17549 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17551 2011-06-21 Andreas Jaeger <aj@suse.de>
17553 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17554 Copy rule from iconvdata/Makefile.
17556 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17559 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17560 but no long options are defined, just return 'W'.
17562 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17565 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17567 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17569 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17571 (innetgr): Likewise.
17573 2011-07-05 Roland McGrath <roland@hack.frob.com>
17575 * config.make.in (install_root): Default to $(DESTDIR).
17577 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17579 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17581 2011-07-02 Roland McGrath <roland@hack.frob.com>
17583 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17585 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17586 containing directory rather than embedding absolute directory names.
17588 * scripts/check-local-headers.sh: Rewritten using awk.
17589 Match by word, not by line. Print error messages for matches.
17590 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17592 * Makerules [shlib-lds-flags empty]:
17593 ($(common-objpfx)libc_pic.opts): New target.
17594 ($(common-objpfx)libc_pic.os.clean): New target.
17595 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17597 * config.make.in (OBJCOPY): New variable.
17598 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17599 * configure: Regenerated.
17601 * config.make.in (use-default-link): New variable.
17602 * configure.in (use_default_link): Grok --with-default-link to set it.
17603 * configure: Regenerated.
17604 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17605 (shlib-lds, shlib-lds-flags): Define to empty.
17607 * Makerules (shlib-lds): New variable.
17608 (shlib-lds-flags): New variable.
17609 (build-shlib, build-moduile, build-module-asneeded): Use it.
17610 ($(common-objpfx)libc.so): Use $(shlib-lds).
17611 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17612 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17614 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17615 DT_FLAGS/DT_FLAGS_1 with zero flags.
17617 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17618 linker script munging.
17620 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17622 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17624 * crypt/sha512.c (sha512_process_block): Perform total addition using
17625 128-bit if possible.
17626 (__sha512_finish_ctx): Likewise.
17627 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17629 * crypt/sha256.c (SWAP64): Define.
17630 (sha256_process_block): Perform total addition using 64-bit if
17632 (__sha256_finish_ctx): Likewise.
17634 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17636 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17638 * nscd/hstcache.c (cache_addhst): Likewise.
17639 * nscd/grpcache.c (cache_addgr): Likewise.
17640 * nscd/aicache.c (addhstaiX): Likewise
17641 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17643 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17645 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17647 * nscd/hstcache.c (cache_addhst): Likewise.
17648 * nscd/grpcache.c (cache_addgr): Likewise.
17649 * nscd/aicache.c (addhstaiX): Likewise
17651 2011-07-01 Andreas Schwab <schwab@redhat.com>
17653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17654 domain only when needed.
17656 2011-06-30 Andreas Schwab <schwab@redhat.com>
17658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17659 is always restored.
17661 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17663 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17664 are re-adding the entry.
17665 * nscd/servicescache.c (cache_addserv): Likewise.
17667 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17669 * sysdeps/generic/dl-irel.h: fix protection against multiple
17671 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17673 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17676 * malloc/memusage.sh: Fix quoting in message.
17677 * debug/xtrace.sh: Likewise.
17679 * configure.in: Remove support for --experimental-malloc option, make
17681 * config.make.in: Likewise.
17682 * malloc/Makefile: Likewise.
17684 2011-06-27 Andreas Schwab <schwab@redhat.com>
17686 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17687 two-byte characters.
17689 2011-06-27 Roland McGrath <roland@hack.frob.com>
17691 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17692 AC_CACHE_CHECK invocation.
17693 * configure: Regenerated.
17695 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17697 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17700 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17701 bit from old_res_options.
17703 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17705 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17706 value type for setfct.
17708 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17711 __gettimeofday instead of gettimeofday.
17713 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17715 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17717 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17724 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17727 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17728 strcpy-sse2-unaligned strncpy-sse2-unaligned
17729 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17730 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17731 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17732 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17733 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17736 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17737 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17738 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17739 (STRCPY): Support SSE2 and SSSE3 versions.
17741 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17745 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17746 kernels which artificially limit size of requests.
17748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17751 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17752 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17753 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17754 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17755 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17756 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17757 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17758 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17760 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17761 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17762 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17763 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17764 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17766 Enable unaligned load optimization for Intel Core i3, i5 and i7
17768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17770 (index_Fast_Unaligned_Load): Define.
17771 (HAS_FAST_UNALIGNED_LOAD): Define.
17773 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17775 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17777 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17780 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17781 until it is clear that the information is realy needed.
17782 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17784 2011-06-22 Andreas Schwab <schwab@redhat.com>
17786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17788 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17791 /sys/devices/system/cpu/online if it is usable.
17793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17794 reading the information from the /proc filesystem to once a second.
17796 2011-06-21 Andreas Jaeger <aj@suse.de>
17798 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17799 NULL after inclusion of kernel headers.
17801 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17803 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17804 calls to internal_setent.
17807 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17808 addresses using gethostbyname4_r ignore IPv4 addresses.
17810 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17811 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17813 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17815 2011-06-20 David S. Miller <davem@davemloft.net>
17817 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17819 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17821 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17822 (elf_irel): Use it.
17823 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17824 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17825 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17826 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17827 * sysdeps/x86_64/dl-irel.h: Likewise.
17829 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17830 * elf/dl-sym.c: Likewise.
17832 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17834 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17835 need to dereference resplen2.
17837 2011-06-14 Andreas Schwab <schwab@redhat.com>
17839 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17841 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17843 * Makeconfig: Define vardbdir and inst_vardbdir.
17844 * nss/Makefile: Add rules to install db-Makefile.
17846 * nss/nss_db/db-XXX.c: Cleanup.
17848 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17849 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17851 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17852 * nss/makedb.c: Implement -g option to specify that value strings
17853 are generated and should not be added to table iterated over for
17855 * nss/nss_db/db-initgroups.c: New file.
17857 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17860 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17861 (internal_getgrouplist): Adjust to name change.
17862 Update use_initgroups_entry if this is not the first call.
17863 * nss/databases.def: Add initgroups entry.
17865 * nss/makedb.c (compute_tables): Check result of multiple hash table
17866 sizes to minimize maximum chain length.
17868 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17870 * Versions.def: Add entry for libnss_db.
17871 * shlib-versions: Likewise.
17872 * nss/Makefile: Add rules to build libnss_db.
17873 * nss/Versions: Add libnss_db information. Organize libnss_files
17875 * nss/db-Makefile: Add gshadow support. Change rules for the new
17876 makedb progra. Some minor improvements to generate smaller files.
17877 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17879 * nss/makedb.c: ...here.
17880 Improve database format to be smaller and require less memory at
17882 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17884 * nss/nss_db/db-netgrp.c: Likewise.
17885 * nss/nss_db/db-open.c: Likewise.
17886 * nss/nss_files/flies-XXX.x: Adjust comments.
17887 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17888 * nss/nss_files/files-grp.c: Likewise.
17889 * nss/nss_files/files-hosts.c: Likewise.
17890 * nss/nss_files/files-network.c: Likewise.
17891 * nss/nss_files/files-proto.c: Likewise.
17892 * nss/nss_files/files-pwd.c: Likewise.
17893 * nss/nss_files/files-rpc.c: Likewise.
17894 * nss/nss_files/files-service.c: Likewise.
17895 * nss/nss_files/files-sgrp.c: Likewise.
17896 * nss/nss_files/files-spwd.c: Likewise.
17897 * nss/nss_db/db-alias.c: Removed.
17898 * nss/nss_db/dummy-db.h: Removed.
17900 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17902 * nss/makedb.c: Rewritten to not use database library.
17903 * nss/Makefile: Update to build new makedb program.
17905 2011-06-14 Andreas Jaeger <aj@suse.de>
17907 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17908 memset declaration.
17910 2011-06-10 Andreas Schwab <schwab@redhat.com>
17912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17915 2011-06-10 Roland McGrath <roland@hack.frob.com>
17917 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17918 * elf/Makefile ($(objpfx)ld.so): Likewise.
17920 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17921 Don't list ld.so twice in dependencies.
17923 * posix/bug-regex31.c: Include <stdlib.h>.
17925 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17927 * nis/nss_compat/compat-spwd.c
17928 (getspent_next_nss_netgr): Remove unused variable.
17929 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17931 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17932 nonmembers" output to use the right array.
17934 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17936 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17938 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17939 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17940 * catgets/gencat.c (read_input_file): Likewise.
17941 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17943 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17944 variable definition inside #if's controlling its use.
17946 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17948 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17950 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17952 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17955 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17957 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17958 * configure: Regenerated.
17960 * Makerules: Revert last change.
17961 * elf/Makefile: Likewise.
17963 2011-06-09 Roland McGrath <roland@hack.frob.com>
17965 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17966 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17967 (reloc-link): Likewise.
17969 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17971 * elf/Makefile: Add rules to build pldd.
17972 * elf/pldd.c: New file.
17973 * elf/pldd-xx.c: New file.
17975 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17977 * version.h: Update for 2.15 development version.
17979 2011-06-07 David S. Miller <davem@davemloft.net>
17981 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17984 elf_machine_lazy_rel): Likewise.
17985 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17987 elf_machine_lazy_rel): Likewise.
17988 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17989 dl_hwcap via passed in argument.
17990 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17993 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17995 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17997 2011-06-06 Roland McGrath <roland@hack.frob.com>
18000 * manual/fdl-1.1.texi: New file, verbatim from:
18001 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18002 * manual/lgpl-2.1.texi: New file, verbatim from:
18003 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18004 * manual/Makefile (licenses): New variable, list those new file names.
18006 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18008 * manual/fdl.texi: File removed.
18009 * manual/lesser.texi: File removed.
18010 * manual/libc.texinfo (Copying, Documentation License):
18011 Use new @include file names, put @appendix directive before @include.
18013 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18016 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18017 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18018 (mq_open): Add __NTH.
18020 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18023 Assume Intel Core i3/i5/i7 processor if AVX is available.
18025 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18030 2011-05-31 Andreas Schwab <schwab@redhat.com>
18032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18033 memory. Use alloca_account. Fix memory leak when retrying.
18035 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18037 * version.h (RELEASE): Bump for 2.14 release.
18038 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18040 * config.make.in (RANLIB): Remove entry.
18042 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18044 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18045 (libc.pot): Work around missing support for .ksh extension in xgettext.
18048 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18049 if both request failed.
18050 (send_dg): In case of server errors clear resplen or *resplen2.
18053 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18054 when there are multiple maps.
18055 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18056 (_dl_fini): Remove test here.
18058 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18060 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18063 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18064 bit from old_res_options.
18065 (gaih_inet): Likewise.
18068 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18071 * resolv/res_init.c (res_setoptions): Make the code more compact.
18074 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18078 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18080 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18083 * malloc/malloc.h: Declare malloc hook variables as volatile.
18085 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18089 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18090 raise in the comment.
18091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18092 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18093 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18095 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18098 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18099 grow the buffers more if it already has to be sufficient.
18100 (build_wcs_upper_buffer): Likewise.
18101 * posix/regexec.c (check_matching): Likewise.
18102 (clean_state_log_if_needed): Likewise.
18103 (extend_buffers): Don't enlarge buffers beyond size of the input
18105 Patches mostly by Emil Wojak <emil@wojak.eu>.
18106 * posix/bug-regex32.c: New file.
18107 * posix/Makefile (tests): Add bug-regex32.
18109 * locale/findlocale.c (_nl_find_locale): Return right away if
18110 _nl_explode_name failed.
18111 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18115 * debug/xtrace.sh: Unify messages.
18116 * malloc/memusage.sh: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18120 time symbol from vDSO. Substitute with vsyscall if not available.
18121 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18124 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18125 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18126 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18127 Add sendmmsg and internal_sendmmsg.
18128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18132 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18133 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18136 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18139 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18140 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18146 * iconvdata/Makefile (tests): Add bug-iconv9.
18147 * iconvdata/bug-iconv9.c: New file.
18149 2011-05-27 Andreas Schwab <schwab@redhat.com>
18152 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18154 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18157 (struct user_regs_struct): Change intcs field back to cs.
18159 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18161 * po/ja.po: Update from translation team.
18163 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18166 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18167 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18169 2011-05-20 Andreas Schwab <schwab@redhat.com>
18171 * stdlib/longlong.h: Update from GCC.
18173 2011-05-23 Andreas Schwab <schwab@redhat.com>
18175 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18177 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18178 Add parameter name.
18179 (__sysconf): Pass it down.
18181 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18184 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18186 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18187 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18188 add in in __libc_use_alloca calls. Adjust callers.
18189 (glob): Use malloc in some situations.
18191 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18192 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18195 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18197 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18198 and CLOCK_BOOTTIME_ALARM.
18201 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18204 * string/_strerror.c (__strerror_r): Print negative errors as signed
18208 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18209 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18210 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18212 * configure.in: Fix typo in redirection and correct removal of test
18213 files in two cases.
18216 * locale/setlocale.c (new_composite_name): Fix test to check for
18217 identical name of all categories.
18220 * libio/filedoalloc.c (local_isatty): New function.
18221 (_IO_file_doallocate): Use local_isatty.
18222 * stdio-common/perror.c (perror): In case a new stream is used
18223 forward the stream error.
18224 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18227 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18232 * include/alloca.h (extend_alloca_account): Define.
18235 * posix/regex.h: Fix comments with documentation of user-accessible
18236 fields after compilation and describe correct free'ing of pattern
18237 after re_compile_pattern.
18238 Patch by Reuben Thomas <rrt@sc3d.org>.
18240 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18242 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18243 and -mno-altivec to prevent the compiler from using Altivec and/or
18244 VSX instructions when the corresponding registers are not available.
18246 2011-05-19 Andreas Schwab <schwab@redhat.com>
18248 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18250 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18252 * libio/freopen.c (freopen): Use __dup2, not dup2.
18253 * libio/freopen64.c (freopen64): Likewise.
18255 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18258 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18259 * math/Makefile (tests): Add test-powl.
18260 (CFLAGS-test-powl.c): Define.
18261 * math/test-powl.c: New file.
18263 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18265 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18267 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18270 * iconvdata/gb18030.c: Update to GB18020-2005.
18272 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18274 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18275 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18276 Patch by Aharon Robbins <arnold@skeeve.com>.
18279 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18283 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18284 through underflows.
18287 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18288 point to strings before performing equality test for error_one_per_line
18292 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18296 (struct user_fpregs_struct): Avoid __uint*_t types.
18299 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18300 symbol info. Use it instead of calling _dl_addr locally.
18301 (lock_and_info): New function.
18302 (tr_freehook): Call lock_and_info and pass symbol info as additional
18303 parameter to tr_where.
18304 (tr_mallochook): Likewise.
18305 (tr_reallochook): Likewise.
18306 (tr_memalignhook): Likewise.
18308 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18309 used and couldn't be at all thread-safe.
18311 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18313 * libio/freopen.c (freopen): Don't close old file descriptor
18314 before the new one is opened. Instead dup the new file descriptor
18315 to the old one after the new stream is created.
18316 * libio/freopen64.c (freopen64): Likewise.
18317 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18318 * libio/fileops.c (_IO_new_file_close_it): Handle new
18319 _IO_FLAGS2_NOCLOSE flag.
18320 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18321 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18322 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18323 _IO_FLAGS2_NOCLOSE flag.
18324 * include/unistd.h: Add hidden_proto for dup3.
18325 Define __have_dup3.
18326 * io/dup3.c: Define hidden symbol.
18327 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18330 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18331 when an incomplete long option is used.
18332 * posix/tst-getopt_long1.c: New file.
18333 * posix/Makefile (tests): Add tst-getopt_long1.
18336 * scripts/config.guess: Update from autoconf-2.68.
18337 * scripts/config.sub: Likewise.
18340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18342 (has_cpuclock): ...this. New function.
18343 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18344 macro here based on has_cpuclock code.
18347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18348 First byte (not low byte) is now always NUL.
18349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18352 Use non-cancelable interfaces.
18355 * locale/iso-639.def: Add entry for Sorani.
18358 * include/stdlib.h: Move include protection to the right place.
18359 Define abort_msg_s. Declare __abort_msg with it.
18360 * stdlib/abort.c (__abort_msg): Adjust type.
18361 * assert/assert.c (__assert_fail_base): New function. Majority
18362 of code from __assert_fail. Allocate memory for __abort_msg with
18364 (__assert_fail): Now call __assert_fail_base.
18365 * assert/assert-perr.c: Remove bulk of implementation. Use
18366 __assert_fail_base.
18367 * include/assert.hL Declare __assert_fail_base.
18368 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18370 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18372 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18376 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18377 until all modules are registered in the DTV.
18378 * elf/Makefile: Add rules to build and run tst-tls19.
18379 * elf/tst-tls19.c: New file.
18380 * elf/tst-tls19mod1.c: New file.
18381 * elf/tst-tls19mod2.c: New file.
18382 * elf/tst-tls19mod3.c: New file.
18383 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18386 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18390 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18391 two-byte sequence errors.
18392 * iconvdata/Makefile (tests): Add bug-iconv8.
18393 * iconvdata/bug-iconv8.c: New file.
18396 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18399 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18402 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18403 (dummy_getcfa): New function.
18404 (init): Get _Unwind_GetCFA address, use dummy if not found.
18405 (backtrace_helper): In recursion check, also check whether CFA changes.
18406 (__backtrace): Completely initialize arg.
18408 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18409 storing incomplete byte sequence in state object. Avoid testing for
18410 guaranteed too small input if we know there is enough data available.
18412 2011-05-11 Andreas Schwab <schwab@redhat.com>
18414 * Makeconfig (+link-pie): Indent.
18415 * Rules (binaries-pie): Define if $(have-fpie) and
18417 (binaries-shared): Also filter out $(binaries-pie).
18418 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18419 * nscd/Makefile (others-pie): Add nscd.
18420 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18421 ($(objpfx)nscd): Remove command override.
18422 * login/Makefile (others-pie): Add pt_chown.
18423 ($(objpfx)pt_chown): Remove command override.
18424 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18425 remove command overrides.
18427 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18429 * libio/tst_putwc.c: Fix error messages.
18432 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18433 currently writing and seek to current position when not.
18434 * libio/Makefile (tests): Add bug-fclose1.
18435 * libio/bug-fclose1.c: New file.
18437 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18440 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18441 don't set DF_1_NODELETE here.
18442 (do_lookup_x): When entering new entry test for copy relocation
18443 and if necessary set DF_1_NODELETE flag.
18444 * elf/tst-unique4.cc: New file.
18445 * elf/tst-unique4.h: New file.
18446 * elf/tst-unique4lib.cc: New file.
18447 * elf/Makefile: Add rules to build and run tst-unique4.
18448 Patch by Piotr Bury <pbury@goahead.com>.
18450 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18453 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18456 * misc/mntent_r.c (addmntent): Flush the stream after the output
18459 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18460 (is_trusted_path_normalize): Skip initial colon. Append slash
18461 to empty buffer. Duplicate is_trusted_path code but allow
18462 constructed patch to be prefix.
18463 (is_dst): Allow $ORIGIN followed by /.
18464 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18465 Correct testing of result of is_trusted_path_normalize
18466 (decompose_rpath): Fix warning.
18468 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18471 * grp/initgroups.c (internal_getgrouplist): When we found the service
18472 list through the initgroups entry in nsswitch.conf do not always
18473 continue on a successful lookup. Don't always use the
18474 __nss_group_database value if it is set.
18475 * nss/nsswitch.conf (initgroups): Change action for successful db
18476 lookup to continue for compatibility.
18478 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18481 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18483 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18485 * iconvdata/tst-tables.sh: Likewise.
18486 * iconvdata/cp770.c: New file.
18487 * iconvdata/cp771.c: New file.
18488 * iconvdata/cp772.c: New file.
18489 * iconvdata/cp773.c: New file.
18490 * iconvdata/cp774.c: New file.
18491 * iconvdata/testdata/CP770: New file.
18492 * iconvdata/testdata/CP770..UTF8: New file.
18493 * iconvdata/testdata/CP771: New file.
18494 * iconvdata/testdata/CP771..UTF8: New file.
18495 * iconvdata/testdata/CP772: New file.
18496 * iconvdata/testdata/CP772..UTF8: New file.
18497 * iconvdata/testdata/CP773: New file.
18498 * iconvdata/testdata/CP773..UTF8: New file.
18499 * iconvdata/testdata/CP774: New file.
18500 * iconvdata/testdata/CP774..UTF8: New file.
18502 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18504 * iconvdata/gen-8bit-gap.sh: Likewise.
18505 * iconvdata/gen-8bit.sh: Likewise.
18507 * locale/iso-639.def: Add ary entry.
18510 * locale/C-translit.h.in: Add U20A1 transliteration.
18513 * locale/iso-639.def: Add wae entry.
18514 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18517 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18521 * locale/C-translit.h.in: Add entry for U20B9.
18522 Patch by pravin.d.s@gmail.com.
18524 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18527 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18528 ENAMETOOLONG use generic getcwd.
18529 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18530 in rtld. Use *stat64.
18531 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18532 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18533 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18534 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18535 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18536 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18537 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18538 __fstatat64 macros.
18539 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18540 * dirent/rewinddir.c: Add libc_hidden_def.
18541 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18542 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18544 * include/dirent.h (__alloc_dir): Add flags parameter.
18545 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18546 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18548 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18549 from fdopendir if O_CLOEXEC is already set.
18551 2011-03-15 Alan Modra <amodra@gmail.com>
18553 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18554 l_tls_firstbyte_offset non-zero. Save padding offset in
18555 l_tls_firstbyte_offset for later use.
18556 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18557 freeing static tls block.
18559 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18561 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18562 where #ifdef was intended. The intent is to prevent ARG_MAX from
18563 being defined by the kernel headers.
18565 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18568 * resolv/resolv.h: Define RES_NOTLDQUERY.
18569 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18570 no-tld-query and set RES_NOTLDQUERY.
18571 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18572 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18573 modern BIND to search name as TLD unless forbidden.
18575 2011-05-07 Petr Baudis <pasky@suse.cz>
18576 Ulrich Drepper <drepper@gmail.com>
18579 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18580 (is_trusted_path): ...to here.
18581 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18582 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18583 using is_trusted_path_normalize() in setuid scripts.
18585 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18587 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18588 __BEGIN/__END_DECLS.
18590 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18593 NSS_STATUS_NOTFOUND if no record was found.
18595 2011-05-05 Andreas Schwab <schwab@redhat.com>
18597 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18598 (headers-not-in-tirpc): Remove rpc/netdb.h
18599 * resolv/netdb.h: Revert last change.
18601 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18603 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18604 circular dependency between libgcc.a and libc.a.
18606 2011-05-05 Andreas Schwab <schwab@redhat.com>
18608 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18609 * nis/Makefile: Don't install rpcsvc/*.
18610 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18611 instead of <rpc/types.h>.
18612 (MAXHOSTNAMELEN): Define.
18614 2011-05-03 Andreas Schwab <schwab@redhat.com>
18616 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18618 2011-04-28 Maciej Babinski <mbabinski@google.com>
18621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18622 gethostbyname4_r when IPv6 results are possible.
18624 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18627 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18628 _PC_PIPE_BUF handling.
18630 2011-04-30 Bruno Haible <bruno@clisp.org>
18633 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18634 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18636 * inet/getnameinfo.c (getnameinfo): Likewise.
18638 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18640 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18641 to groups setting in database lookup.
18642 * nss/nsswitch.conf: Add initgroups entry.
18644 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18647 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18649 Patch by Eric Blake <eblake@redhat.com>.
18651 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18653 * sunrpc/Makefile (need-export-routines): Add svc_run.
18654 (routines): Remove svc_run.
18655 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18656 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18657 * sunrpc/svc_run.c (svc_run): Likewise.
18658 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18660 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18663 problem in reallocation in last patch.
18665 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18667 * sunrpc/Makefile: Move inclusion of Rules.
18669 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18671 * nss/nss_files/files-initgroups.c: New file.
18672 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18673 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18674 _nss_files_initgroups_dyn.
18676 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18678 * elf/elf.h (R_ARM_IRELATIVE): Define.
18680 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18682 * po/ru.po: Update from translation team.
18684 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18686 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18689 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18693 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18698 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18700 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18702 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18703 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18706 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18709 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18711 * stdlib/bug-getcontext.c: New file.
18712 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18714 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18716 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18717 instructions into .machine "z9-109".
18718 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18719 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18721 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18723 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18724 between environment variables and auxiliary vector.
18726 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18728 * Makefile: Add rules to build linkobj/libc.so.
18729 * include/libc-symbols.h: Define libc_hidden_nolink.
18730 * include/rpc/auth.h: Mark functions which are to be hidden.
18731 * include/rpc/auth_des.h: Likewise.
18732 * include/rpc/auth_unix.h: Likewise.
18733 * include/rpc/clnt.h: Likewise.
18734 * include/rpc/des_crypt.h: Likewise.
18735 * include/rpc/key_prot.h: Likewise.
18736 * include/rpc/pmap_clnt.h: Likewise.
18737 * include/rpc/pmap_prot.h: Likewise.
18738 * include/rpc/pmap_rmt.h: Likewise.
18739 * include/rpc/rpc_msg.h: Likewise.
18740 * include/rpc/svc.h: Likewise.
18741 * include/rpc/svc_auth.h: Likewise.
18742 * include/rpc/xdr.h: Likewise.
18743 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18744 * nss/Makefile: Likewise.
18745 * sunrpc/Makefile: Don't install headers. Build library with normal
18746 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18747 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18748 for the compat linking library. Remove use of INTDEF/INTUSE.
18749 * sunrpc/auth_none.c: Likewise.
18750 * sunrpc/auth_unix.c: Likewise.
18751 * sunrpc/authdes_prot.c: Likewise.
18752 * sunrpc/authuxprot.c: Likewise.
18753 * sunrpc/clnt_gen.c: Likewise.
18754 * sunrpc/clnt_perr.c: Likewise.
18755 * sunrpc/clnt_raw.c: Likewise.
18756 * sunrpc/clnt_simp.c: Likewise.
18757 * sunrpc/clnt_tcp.c: Likewise.
18758 * sunrpc/clnt_udp.c: Likewise.
18759 * sunrpc/clnt_unix.c: Likewise.
18760 * sunrpc/des_crypt.c: Likewise.
18761 * sunrpc/des_soft.c: Likewise.
18762 * sunrpc/get_myaddr.c: Likewise.
18763 * sunrpc/key_call.c: Likewise.
18764 * sunrpc/key_prot.c: Likewise.
18765 * sunrpc/netname.c: Likewise.
18766 * sunrpc/pm_getmaps.c: Likewise.
18767 * sunrpc/pm_getport.c: Likewise.
18768 * sunrpc/pmap_clnt.c: Likewise.
18769 * sunrpc/pmap_prot.c: Likewise.
18770 * sunrpc/pmap_prot2.c: Likewise.
18771 * sunrpc/pmap_rmt.c: Likewise.
18772 * sunrpc/publickey.c: Likewise.
18773 * sunrpc/rpc_cmsg.c: Likewise.
18774 * sunrpc/rpc_common.c: Likewise.
18775 * sunrpc/rpc_dtable.c: Likewise.
18776 * sunrpc/rpc_prot.c: Likewise.
18777 * sunrpc/rpc_thread.c: Likewise.
18778 * sunrpc/rtime.c: Likewise.
18779 * sunrpc/svc.c: Likewise.
18780 * sunrpc/svc_auth.c: Likewise.
18781 * sunrpc/svc_authux.c: Likewise.
18782 * sunrpc/svc_raw.c: Likewise.
18783 * sunrpc/svc_run.c: Likewise.
18784 * sunrpc/svc_simple.c: Likewise.
18785 * sunrpc/svc_tcp.c: Likewise.
18786 * sunrpc/svc_udp.c: Likewise.
18787 * sunrpc/svc_unix.c: Likewise.
18788 * sunrpc/svcauth_des.c: Likewise.
18789 * sunrpc/xcrypt.c: Likewise.
18790 * sunrpc/xdr.c: Likewise.
18791 * sunrpc/xdr_array.c: Likewise.
18792 * sunrpc/xdr_float.c: Likewise.
18793 * sunrpc/xdr_intXX_t.c: Likewise.
18794 * sunrpc/xdr_mem.c: Likewise.
18795 * sunrpc/xdr_rec.c: Likewise.
18796 * sunrpc/xdr_ref.c: Likewise.
18797 * sunrpc/xdr_sizeof.c: Likewise.
18798 * sunrpc/xdr_stdio.c: Likewise.
18800 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18803 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18804 * sysdeps/ia64/dl-tls.h: Likewise.
18805 * sysdeps/powerpc/dl-tls.h: Likewise.
18806 * sysdeps/s390/dl-tls.h: Likewise.
18807 * sysdeps/sh/dl-tls.h: Likewise.
18808 * sysdeps/sparc/dl-tls.h: Likewise.
18809 * sysdeps/x86_64/dl-tls.h: Likewise.
18810 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18812 2011-03-14 Andreas Schwab <schwab@redhat.com>
18814 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18815 rpath element also skip the following colon.
18816 (expand_dynamic_string_token): Add is_path parameter and pass
18817 down to DL_DST_REQUIRED and _dl_dst_substitute.
18818 (decompose_rpath): Call expand_dynamic_string_token with
18819 non-zero is_path. Ignore empty rpaths.
18820 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18823 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18828 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18831 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18832 Patch by Filipe David Manana <fdmanana@apache.org>.
18834 2011-04-07 Andreas Schwab <schwab@redhat.com>
18836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18837 Maintain aligned stack.
18838 (CHECK_RSP): Remove unused macro.
18840 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18842 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18845 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18847 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18849 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18851 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18855 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18856 * sysdeps/x86_64/memmove.c: New file.
18857 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18858 (memcpy): Renamed to ...
18859 (__new_memcpy): This.
18860 (memcpy): Provide GLIBC_2_14 memcpy.
18861 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18862 (memcpy): Provide GLIBC_2_2_5 memcpy.
18864 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18867 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18869 2011-03-30 Andreas Schwab <schwab@redhat.com>
18871 * misc/syncfs.c: New file.
18872 * misc/Makefile (routines): Add syncfs.
18873 * posix/unistd.h: Declare syncfs.
18874 * sysdeps/unix/syscalls.list: Add syncfs.
18876 2011-04-01 Andreas Schwab <schwab@redhat.com>
18878 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18885 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18891 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18892 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18898 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18899 sync_file_range.c with -fexceptions.
18900 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18901 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18902 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18903 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18904 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18905 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18907 sync_file_range as cancellation point
18908 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18909 now a wrapper around __call_sync_file_range with cancellation handling.
18910 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18912 function name to __call_sync_file_range.
18913 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18914 Add call_sync_file_range.
18916 2011-04-01 Andreas Schwab <schwab@redhat.com>
18918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18921 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18923 * iconv/iconv.h: Fix typo in comment.
18924 * io/fcntl.h: Likewise.
18925 * libio/stdio.h: Likewise.
18926 * posix/spawn.h: Likewise.
18927 * posix/unistd.h: Likewise.
18928 * stdlib/stdlib.h: Likewise.
18929 * time/time.h: Likewise.
18930 * wcsmbs/wchar.h: Likewise.
18932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18933 open_by_handle): Add.
18934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18935 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18936 Augment a few comments.
18937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18942 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18945 * io/fcntl.h (AT_EMPTY_PATH): Define.
18947 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18949 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18950 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18951 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18953 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18954 * Versions.def: Add GLIBC_2.14.
18955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18958 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18960 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18962 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18964 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18967 * string/test-strncmp.c (do_page_test): New function.
18968 (check2): Likewise.
18969 (test_main): Call check2.
18970 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18972 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18976 Handle cache information in CPU leaf 4.
18977 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18979 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18982 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18983 character representation.
18984 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18986 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18988 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18989 END(__isnan) to END(__isnanf) to match function entry point/label
18990 EALIGN(__isnanf,...).
18992 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18994 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18996 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18999 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19000 copy from the symbol referenced in the relocation to initialize the
19002 Patch by Piotr Bury <pbury@goahead.com>.
19003 * elf/Makefile: Add rules to build and tst-unique3.
19004 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19005 * elf/tst-unique3.cc: New file.
19006 * elf/tst-unique3.h: New file.
19007 * elf/tst-unique3lib.cc: New file.
19008 * elf/tst-unique3lib2.cc: New file.
19010 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19012 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19014 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19015 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19018 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19020 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19021 to-be-loaded object along a path to loader is ld.so.
19023 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19024 Ulrich Drepper <drepper@gmail.com>
19026 * sysdeps/x86_64/memset.S: After aligning destination, code
19027 branches to different locations depending on the value of
19028 misalignment, when multiarch is enabled. Fix this.
19030 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19032 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19033 Set _x86_64_preferred_memory_instruction for AMD processsors.
19034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19035 Set bit_Prefer_SSE_for_memop for AMD processors.
19037 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19039 * libio/fmemopen.c (fmemopen): Optimize a bit.
19041 2011-03-03 Andreas Schwab <schwab@redhat.com>
19043 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19045 2011-03-03 Roland McGrath <roland@redhat.com>
19047 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19049 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19051 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19052 __bzero_ultra1 instead of __memset_ultra1.
19054 2011-02-23 Andreas Schwab <schwab@redhat.com>
19055 Ulrich Drepper <drepper@gmail.com>
19058 * include/link.h (struct link_map): Add l_orig_initfini.
19059 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19060 returning unsuccessfully.
19061 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19062 close of a file loaded at startup, restore the original l_initfini
19064 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19065 list, store the pointer.
19066 * elf/Makefile ($(objpfx)noload-mem): New rule.
19067 (noload-ENV): Define.
19068 (tests): Add $(objpfx)noload-mem.
19069 * elf/noload.c: Include <memcheck.h>.
19070 (main): Call mtrace. Close all opened handles.
19072 2011-02-17 Andreas Schwab <schwab@redhat.com>
19075 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19076 dependencies are missing.
19078 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19080 Fix __if_freereq crash: Unlike the generic version which uses free,
19082 * sysdeps/mach/hurd/ifreq.h: New file.
19084 2011-01-27 Petr Baudis <pasky@suse.cz>
19085 Ulrich Drepper <drepper@gmail.com>
19088 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19089 to extend_alloca().
19090 * stdio-common/bug23.c: New file.
19091 * stdio-common/Makefile (tests): Add bug23.
19093 2010-09-28 Andreas Schwab <schwab@redhat.com>
19094 Ulrich Drepper <drepper@gmail.com>
19097 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19098 before performing relro protection. At old place add assertion
19099 to make sure nothing changed.
19101 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19102 Glauber de Oliveira Costa <glommer@gmail.com>
19104 * elf/elf.h: Add new ARM TLS relocs.
19106 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19109 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19111 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19113 * sysdeps/wordsize-64/tst-writev.c: New file.
19115 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19117 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19118 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19119 insns in _dl_start to prevent a TOC reference before relocs are
19122 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19125 * Makeconfig: Remove RANLIB definition.
19126 * Makerules: Don't use RANLIB.
19127 * aclocal.m4: Remove ranlib test.
19128 * configure.in: No need to check for ranlib.
19129 * elf/rtld-Rules: Don't use RANLIB.
19131 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19133 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19135 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19136 inclusion protection macro.
19138 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19139 SIGRTMIN and SIGRTMAX and print information in that case only when
19140 SIGRTMIN is defined.
19142 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19144 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19145 arginfo fn returning -1.
19147 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19148 and thousands string is zero terminated.
19150 2011-02-03 Andreas Schwab <schwab@redhat.com>
19152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19153 sysdeps/unix/sysv/linux/bits/socket.h.
19155 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19157 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19158 (__CPU_COUNT): Remove old macros.
19159 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19160 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19161 (__CPU_ALLOC, __CPU_FREE): Add macros.
19162 (__sched_cpualloc, __sched_cpufree): Add declarations.
19164 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19166 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19167 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19168 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19169 (readdhstai): Return value of addhstaiX call.
19170 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19171 (addgrbyX): Return value returned by cache_addgr.
19172 (readdgrbyname): Return value returned by addgrbyX.
19173 (readdgrbygid): Likewise.
19174 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19175 (addpwbyX): Return value returned by cache_addpw.
19176 (readdpwbyname): Return value returned by addhstbyX.
19177 (readdpwbyuid): Likewise.
19178 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19179 (addservbyX): Return value returned by cache_addserv.
19180 (readdservbyname): Return value returned by addservbyX:
19181 (readdservbyport): Likewise.
19182 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19183 (addhstbyX): Return value returned by cache_addhst.
19184 (readdhstbyname): Return value returned by addhstbyX.
19185 (readdhstbyaddr): Likewise.
19186 (readdhstbynamev6): Likewise.
19187 (readdhstbyaddrv6): Likewise.
19188 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19189 (readdinitgroups): Return value returned by addinitgroupsX.
19190 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19191 (prune_cache): Keep track of timeout value of re-added entries.
19192 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19193 * nscd/nscd.h: Adjust prototypes of readd* functions.
19195 2011-02-04 Roland McGrath <roland@redhat.com>
19197 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19198 (nis_stats): Likewise.
19199 * nis/nis_modify.c (nis_modify): Likewise.
19200 * nis/nis_remove.c (nis_remove): Likewise.
19201 * nis/nis_add.c (nis_add): Likewise.
19203 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19205 * posix/fnmatch_loop.c: Add some consts.
19207 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19209 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19212 * config.make.in (config-cflags-novzeroupper): Define.
19213 * configure.in: Substitute libc_cv_cc_novzeroupper.
19214 * elf/Makefile (AVX-CFLAGS): Define.
19215 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19216 (CFLAGS-tst-auditmod4a.c): Likewise.
19217 (CFLAGS-tst-auditmod4b.c): Likewise.
19218 (CFLAGS-tst-auditmod6b.c): Likewise.
19219 (CFLAGS-tst-auditmod6c.c): Likewise.
19220 (CFLAGS-tst-auditmod7b.c): Likewise.
19221 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19223 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19225 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19226 function to the callback.
19227 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19229 2011-02-02 Andreas Schwab <schwab@redhat.com>
19231 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19234 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19237 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19239 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19241 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19244 * elf/Makefile: Add rules to build and run new test.
19245 * elf/tst-initorder.c: New file.
19246 * elf/tst-initorder.exp: New file.
19247 * elf/tst-initordera1.c: New file.
19248 * elf/tst-initordera2.c: New file.
19249 * elf/tst-initordera3.c: New file.
19250 * elf/tst-initordera4.c: New file.
19251 * elf/tst-initorderb1.c: New file.
19252 * elf/tst-initorderb2.c: New file.
19253 * elf/tst-order-a1.c: New file.
19254 * elf/tst-order-a2.c: New file.
19255 * elf/tst-order-a3.c: New file.
19256 * elf/tst-order-a4.c: New file.
19257 * elf/tst-order-b1.c: New file.
19258 * elf/tst-order-b2.c: New file.
19259 * elf/tst-order-main.c: New file.
19260 New test case by George Gensure <werkt0@gmail.com>.
19262 2010-10-01 Andreas Schwab <schwab@redhat.com>
19264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19265 decoding ACE if AI_CANONIDN.
19267 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19269 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19271 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19273 * version.h (RELEASE): Bump for 2.13 release.
19274 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19276 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19280 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19281 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19285 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19287 * posix/getconf.c: Update copyright year.
19288 * catgets/gencat.c: Likewise.
19289 * csu/version.c: Likewise.
19290 * debug/catchsegv.sh: Likewise.
19291 * debug/xtrace.sh: Likewise.
19292 * elf/ldconfig.c: Likewise.
19293 * elf/ldd.bash.in: Likewise.
19294 * elf/sprof.c (print_version): Likewise.
19295 * iconv/iconv_prog.c: Likewise.
19296 * iconv/iconvconfig.c: Likewise.
19297 * locale/programs/locale.c: Likewise.
19298 * locale/programs/localedef.c: Likewise.
19299 * malloc/memusage.sh: Likewise.
19300 * malloc/mtrace.pl: Likewise.
19301 * nscd/nscd.c (print_version): Likewise.
19302 * nss/getent.c: Likewise.
19304 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19305 PF_CAIF, and PF_ALG.
19306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19308 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19310 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19311 (modules-names): Use them.
19312 (ifunc-test-modules, ifunc-pie-tests): Define.
19313 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19314 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19315 (test-extras): Likewise.
19316 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19317 $(compile-command.c).
19318 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19319 (all-built-dso): Define.
19320 (check-textrel.out, check-execstack.out): Depend on it.
19322 * configure.in: Don't override --enable-multi-arch.
19324 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19327 * nscd/hstcache.c (tryagain): Define.
19328 (cache_addhst): Return tryagain not notfound for temporary errors.
19329 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19332 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19336 to make the syscall.
19337 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19340 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19341 and fall back to matching as normal character if the string ends before
19342 the matching ']' is found. This is what POSIX requires.
19343 * posix/testfnm.c: Adjust test result.
19344 * posix/globtest.sh: Adjust test result. Add new test.
19345 * posix/tst-fnmatch.input: Likewise.
19346 * posix/tst-fnmatch2.c: Add new test.
19348 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19350 * elf/Makefile (check-execstack): Revert last change. Depend on
19352 (check-execstack.h): New target.
19353 (generated): Add check-execstack.h.
19354 * elf/check-execstack.c: Include "check-execstack.h".
19355 (main): Revert last change.
19356 (handle_file): Return zero if GNU_STACK is absent and
19357 DEFAULT_STACK_PERMS doesn't include PF_X.
19359 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19361 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19362 in child fails because the descriptor is already closed.
19363 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19364 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19365 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19368 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19372 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19373 temporary buffer used to handle multi lookups locally.
19374 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19376 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19378 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19381 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19383 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19384 alignment for SSE2.
19386 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19389 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19390 characters. When rounding increased number of integer digits recompute
19392 * stdio-common/tst-grouping.c: New file.
19393 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19395 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19397 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19398 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19400 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19402 * bits/select.h: Likewise.
19404 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19406 * po/ja.po: Update from translation team.
19408 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19411 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19412 implementation just like for lxstat, fxstatat, et al.
19414 2010-12-27 Jim Meyering <meyering@redhat.com>
19417 * posix/regexec.c (build_trtable): Return failure indication upon
19418 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19420 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19423 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19424 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19425 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19429 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19432 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19433 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19435 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19437 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19438 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19439 script has SORT_BY_INIT_PRIORITY.
19440 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19441 NO_CTORS_DTORS_SECTIONS is defined.
19442 * elf/soinit.c: Likewise.
19443 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19444 NO_CTORS_DTORS_SECTIONS is defined.
19445 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19446 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19447 * sysdeps/sh/init-first.c: Likewise.
19448 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19450 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19452 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19453 always use the slow path.
19455 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19457 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19458 similar rule which adds the sysdep directories to the header search in
19459 order to pick up the correct platform stackinfo.h.
19460 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19461 perform test if it is, otherwise return successfully without testing.
19462 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19463 DEFAULT_STACK_PERMS define in stackinfo.h.
19464 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19465 defined in stackinfo.h.
19466 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19467 DEFAULT_STACK_PERMS defined in stackinfo.h.
19468 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19469 * sysdeps/ia64/stackinfo.h: Likewise.
19470 * sysdeps/s390/stackinfo.h: Likewise.
19471 * sysdeps/sh/stackinfo.h: Likewise.
19472 * sysdeps/sparc/stackinfo.h: Likewise.
19473 * sysdeps/x86_64/stackinfo.h: Likewise.
19474 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19475 PF_X for powerpc64. Retain PF_X for powerpc32.
19477 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19479 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19481 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19482 GETDENTS_64BIT_ALIGNED.
19484 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19486 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19488 2010-12-10 Andreas Schwab <schwab@redhat.com>
19490 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19493 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19494 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19496 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19497 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19499 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19502 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19505 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19507 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19509 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19511 * po/it.po: Update from translation team.
19513 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19518 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19520 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19522 2010-11-24 Andreas Schwab <schwab@redhat.com>
19524 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19526 (gaih_getanswer_slice): Likewise.
19528 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19532 2010-05-31 Petr Baudis <pasky@suse.cz>
19535 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19536 silently even in the chroot mode.
19538 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19540 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19541 last patch a bit. Pretty printing
19543 2010-05-31 Petr Baudis <pasky@suse.cz>
19546 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19547 initialization of skip_initgroups_dyn.
19549 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19551 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19554 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19556 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19558 2010-11-11 Andreas Schwab <schwab@redhat.com>
19560 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19561 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19562 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19563 ($(objpfx)tst-fnmatch-mem): New rule.
19564 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19565 * posix/tst-fnmatch.c (main): Call mtrace.
19567 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19570 Support Intel processor model 6 and model 0x2c.
19572 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19574 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19577 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19580 * string/test-strncasecmp.c (check_result): New function.
19581 (do_one_test): Use it.
19582 (check1): New function.
19583 (test_main): Use it.
19584 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19585 Support strcasecmp and strncasecmp.
19587 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19590 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19593 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19595 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19599 * sysdeps/x86_64/multiarch/bzero.S: New file.
19600 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19601 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19602 * sysdeps/x86_64/multiarch/memset.S: New file.
19603 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19605 Set bit_Prefer_SSE_for_memop for Intel processors.
19606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19608 (index_Prefer_SSE_for_memop): Define.
19609 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19611 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19613 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19616 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19620 (__x86_64_raw_data_cache_size_half): Likewise.
19621 (__x86_64_raw_shared_cache_size): Likewise.
19622 (__x86_64_raw_shared_cache_size_half): Likewise.
19624 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19625 (__x86_64_raw_data_cache_size_half): Likewise.
19626 (__x86_64_raw_shared_cache_size): Likewise.
19627 (__x86_64_raw_shared_cache_size_half): Likewise.
19628 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19629 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19630 and __x86_64_raw_shared_cache_size_half. Round
19631 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19632 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19633 to multiple of 256 bytes.
19635 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19639 of inacessible symlinks. Verify result of symlink before returning it.
19640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19641 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19643 2010-10-28 Erich Ritz <erichritz@gmail.com>
19645 * math/math.h (isinf): Fix typo in comment.
19647 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19649 * po/da.po: Update from translation team.
19651 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19653 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19654 is added to the list.
19656 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19657 Ulrich Drepper <drepper@gmail.com>
19659 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19660 the global list here. Move code to...
19661 (_dl_add_to_namespace_list): ...here. New function.
19662 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19663 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19664 * elf/dl-load.c (lose): Don't remove the element from the list.
19665 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19666 (_dl_map_object): Likewise.
19668 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19671 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19672 into all bytes of SSE register.
19673 Patch by Richard Li <richardpku@gmail.com>.
19675 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19678 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19681 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19683 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19684 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19685 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19691 2010-10-22 Andreas Schwab <schwab@redhat.com>
19693 * include/dlfcn.h (__RTLD_SECURE): Define.
19694 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19695 mode & __RTLD_SECURE instead.
19696 (open_path): Rename preloaded parameter to secure.
19697 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19698 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19699 * elf/dl-deps.c (openaux): Likewise.
19700 * elf/rtld.c (struct map_args): Remove is_preloaded.
19701 (map_doit): Don't use it.
19702 (dl_main): Likewise.
19703 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19704 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19706 2010-09-09 Andreas Schwab <schwab@redhat.com>
19708 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19709 (sysd-rules-targets): Remove duplicates.
19710 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19711 rtld-%.$o dependency.
19713 2010-10-18 Andreas Schwab <schwab@redhat.com>
19715 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19716 _dl_map_object do it.
19718 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19720 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19721 fast fma builtins, define the macros in the C99 standard.
19722 (FP_FAST_FMAF): Likewise.
19723 (FP_FAST_FMAL): Likewise.
19724 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19726 * bits/mathdef.h: Update copyright year.
19727 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19729 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19731 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19732 builtins, define the macros in the C99 standard.
19733 (FP_FAST_FMAF): Likewise.
19734 (FP_FAST_FMAL): Likewise.
19735 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19737 (FP_FAST_FMAF): Likewise.
19739 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19742 * math/libm-test.inc (fma_test): Some new testcases.
19743 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19745 y and infinite z. Do multiplication by C already in long double.
19746 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19748 y and infinite z. Do bitwise or of inexact bit into u.d.
19749 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19750 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19751 * sysdeps/i386/fpu/s_fma.S: Removed.
19752 * sysdeps/i386/fpu/s_fmal.S: Removed.
19754 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19757 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19759 computation is not scheduled after fetestexcept. Fix value
19760 of minimum denormal long double.
19762 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19765 * math/libm-test.inc (fma_test): Add some more tests.
19766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19769 2010-10-15 Andreas Schwab <schwab@redhat.com>
19771 * scripts/data/localplt-s390-linux-gnu.data: New file.
19772 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19774 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19777 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19778 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19780 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19782 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19784 if one of x and y is very large and the other is subnormal.
19785 * sysdeps/s390/fpu/s_fmaf.c: New file.
19786 * sysdeps/s390/fpu/s_fma.c: New file.
19787 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19788 * sysdeps/powerpc/fpu/s_fma.S: New file.
19789 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19790 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19791 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19793 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19796 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19799 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19800 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19801 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19802 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19803 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19806 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19809 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19810 * posix/bug-regex31.input: Add test case.
19812 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19814 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19815 * posix/bug-regex31.input: New file.
19818 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19819 (parse_sub_exp): Fix last change, use postorder.
19821 * posix/bug-regex31.c: New file.
19822 * posix/Makefile: Add rules to build and run bug-regex31.
19824 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19827 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19830 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19831 to have entries in sys_siglist.
19834 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19837 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19840 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19841 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19842 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19843 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19844 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19845 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19846 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19847 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19848 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19849 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19850 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19851 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19852 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19853 * math/ftestexcept.c (fetestexcept): Likewise.
19854 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19855 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19856 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19857 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19858 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19859 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19860 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19862 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19865 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19868 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19870 * string/bug-strstr1.c: New file.
19871 * string/Makefile: Add rules to build and run bug-strstr1.
19873 2010-10-05 Eric Blake <eblake@redhat.com>
19876 * string/str-two-way.h (two_way_long_needle): Always clear memory
19877 when skipping input due to the shift table.
19879 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19882 * malloc/mcheck.c: Handle large requests.
19885 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19886 for strncmp and strncasecmp.
19887 * string/stratcliff.c: Add tests for strcmp and strncmp.
19888 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19890 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19892 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19895 2010-09-30 Andreas Jaeger <aj@suse.de>
19897 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19898 (CGROUP_SUPER_MAGIC): Define.
19899 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19900 Handle btrfs and cgroup file systems.
19901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19904 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19906 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19907 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19909 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19912 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19913 trying to locate the ELF header.
19915 2010-09-27 Andreas Schwab <schwab@redhat.com>
19918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19919 Mask out sign-bit copies when constructing f_fsid.
19921 2010-09-24 Petr Baudis <pasky@suse.cz>
19923 * debug/stack_chk_fail_local.c: Add missing licence exception.
19924 * debug/warning-nop.c: Likewise.
19926 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19929 implementing getdents64 using getdents syscall, set d_type if
19930 __ASSUME_GETDENTS32_D_TYPE.
19932 2010-09-16 Andreas Schwab <schwab@redhat.com>
19934 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19935 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19937 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19940 * posix/unistd.h: Undo change of feature selection for ftruncate from
19943 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19945 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19948 2010-09-20 Andreas Schwab <schwab@redhat.com>
19950 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19952 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19954 2010-09-14 Andreas Schwab <schwab@redhat.com>
19956 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19957 variables after CHECK_SP call.
19958 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19960 2010-09-13 Andreas Schwab <schwab@redhat.com>
19961 Ulrich Drepper <drepper@redhat.com>
19963 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19964 re-relocationg ld.so.
19965 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19966 _dl_init_paths call.
19967 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19970 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19972 * resolv/res_init.c (__res_vinit): Count the default server we added.
19974 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19975 Ulrich Drepper <drepper@redhat.com>
19978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19979 (____longjmp_chk): Use %ebx for saving value across system call.
19982 2010-09-06 Andreas Schwab <schwab@redhat.com>
19984 * manual/Makefile: Don't mix pattern rules with normal rules.
19986 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19988 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19990 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19991 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19992 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19993 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19997 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20000 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20001 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20003 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20005 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20006 * sysdeps/x86_64/addmul_1.S: Likewise.
20007 * sysdeps/x86_64/lshift.S: Likewise.
20008 * sysdeps/x86_64/mul_1.S: Likewise.
20009 * sysdeps/x86_64/rshift.S: Likewise.
20010 * sysdeps/x86_64/sub_n.S: Likewise.
20011 * sysdeps/x86_64/submul_1.S: Likewise.
20013 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20015 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20016 Define __sched_param instead of SCHED_* and sched_param when
20017 <bits/sched.h> is included with __need_schedparam defined.
20018 * bits/sched.h [__need_schedparam]
20019 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20020 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20021 (__defined_schedparam): Define to 1.
20022 (__sched_param): New structure, identical to sched_param.
20023 (__need_schedparam): Undefine.
20025 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20028 (epoll_create1): Declare.
20030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20032 2010-08-31 Andreas Schwab <schwab@redhat.com>
20035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20036 shifting retval into place.
20038 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20040 * nis/rpcsvc/nis.h: Update copyright notice.
20041 * nis/rpcsvc/nis.x: Likewise.
20042 * nis/rpcsvc/nis_callback.h: Likewise.
20043 * nis/rpcsvc/nis_callback.x: Likewise.
20044 * nis/rpcsvc/nis_object.x: Likewise.
20045 * nis/rpcsvc/nis_tags.h: Likewise.
20046 * nis/rpcsvc/yp.h: Likewise.
20047 * nis/rpcsvc/yp.x: Likewise.
20048 * nis/rpcsvc/ypupd.h: Likewise.
20049 * nis/yp_xdr.c: Likewise.
20050 * nis/ypupdate_xdr.c: Likewise.
20052 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20053 mainly the body of pmap_getport. Add parameters to specify timeouts.
20054 (pmap_getport): Use __libc_rpc_getport.
20055 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20056 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20057 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20059 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20064 2010-08-27 Roland McGrath <roland@redhat.com>
20066 * sysdeps/i386/i686/multiarch/Makefile
20067 (CFLAGS-varshift.c): New variable.
20069 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20071 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20072 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20076 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20078 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20080 * sysdeps/x86_64/strlen.S: Unroll the loop.
20081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20082 strlen-sse2 strlen-sse2-bsf.
20083 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20084 __strlen_no_bsf if bit_Slow_BSF is set.
20085 (__strlen_sse42): Removed.
20086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20087 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20089 2010-08-25 Roland McGrath <roland@redhat.com>
20091 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20092 * sysdeps/x86_64/multiarch/varshift.c: New file.
20093 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20094 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20095 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20096 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20098 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20101 strlen-sse2 strlen-sse2-bsf.
20102 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20103 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20104 (__strlen_sse2): Removed.
20105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20108 bit_Slow_BSF for Atom.
20109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20110 (index_Slow_BSF): Define.
20111 (HAS_SLOW_BSF): Define.
20113 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20116 * resolv/res_init.c (__res_vinit): When no server address at all
20117 is given default to loopback.
20119 2010-08-24 Roland McGrath <roland@redhat.com>
20121 * configure.in: Remove config-name.h generation.
20122 * configure: Regenerated.
20123 * config-name.in: File removed.
20124 * scripts/config-uname.sh: New file.
20125 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20126 ($(objdir)config-name.h): New target.
20128 * sunrpc/rpc_parse.h: Avoid nested comment.
20130 2010-08-24 Richard Henderson <rth@redhat.com>
20131 Ulrich Drepper <drepper@redhat.com>
20132 H.J. Lu <hongjiu.lu@intel.com>
20134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20136 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20137 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20138 _mm_alignr_epi8 with _mm_loadu_si128.
20139 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20140 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20141 (__m128i_shift_right): Removed.
20142 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20143 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20144 * sysdeps/x86_64/multiarch/varshift.h: New file.
20145 * sysdeps/x86_64/multiarch/varshift.S: New file.
20147 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20149 * configure.in: Move assembler checks to before sysdep dir checking.
20151 2010-08-20 Petr Baudis <pasky@suse.cz>
20153 * LICENSES: Sync the sunrpc license.
20155 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20157 * sunrpc/auth_des.c: Update copyright notice once again.
20158 * sunrpc/auth_none.c: Likewise.
20159 * sunrpc/auth_unix.c: Likewise.
20160 * sunrpc/authdes_prot.c: Likewise.
20161 * sunrpc/authuxprot.c: Likewise.
20162 * sunrpc/bindrsvprt.c: Likewise.
20163 * sunrpc/clnt_gen.c: Likewise.
20164 * sunrpc/clnt_perr.c: Likewise.
20165 * sunrpc/clnt_raw.c: Likewise.
20166 * sunrpc/clnt_simp.c: Likewise.
20167 * sunrpc/clnt_tcp.c: Likewise.
20168 * sunrpc/clnt_udp.c: Likewise.
20169 * sunrpc/clnt_unix.c: Likewise.
20170 * sunrpc/des_crypt.c: Likewise.
20171 * sunrpc/des_soft.c: Likewise.
20172 * sunrpc/get_myaddr.c: Likewise.
20173 * sunrpc/getrpcport.c: Likewise.
20174 * sunrpc/key_call.c: Likewise.
20175 * sunrpc/key_prot.c: Likewise.
20176 * sunrpc/openchild.c: Likewise.
20177 * sunrpc/pm_getmaps.c: Likewise.
20178 * sunrpc/pm_getport.c: Likewise.
20179 * sunrpc/pmap_clnt.c: Likewise.
20180 * sunrpc/pmap_prot.c: Likewise.
20181 * sunrpc/pmap_prot2.c: Likewise.
20182 * sunrpc/pmap_rmt.c: Likewise.
20183 * sunrpc/rpc/auth.h: Likewise.
20184 * sunrpc/rpc/auth_unix.h: Likewise.
20185 * sunrpc/rpc/clnt.h: Likewise.
20186 * sunrpc/rpc/des_crypt.h: Likewise.
20187 * sunrpc/rpc/key_prot.h: Likewise.
20188 * sunrpc/rpc/netdb.h: Likewise.
20189 * sunrpc/rpc/pmap_clnt.h: Likewise.
20190 * sunrpc/rpc/pmap_prot.h: Likewise.
20191 * sunrpc/rpc/pmap_rmt.h: Likewise.
20192 * sunrpc/rpc/rpc.h: Likewise.
20193 * sunrpc/rpc/rpc_des.h: Likewise.
20194 * sunrpc/rpc/rpc_msg.h: Likewise.
20195 * sunrpc/rpc/svc.h: Likewise.
20196 * sunrpc/rpc/svc_auth.h: Likewise.
20197 * sunrpc/rpc/types.h: Likewise.
20198 * sunrpc/rpc/xdr.h: Likewise.
20199 * sunrpc/rpc_clntout.c: Likewise.
20200 * sunrpc/rpc_cmsg.c: Likewise.
20201 * sunrpc/rpc_common.c: Likewise.
20202 * sunrpc/rpc_cout.c: Likewise.
20203 * sunrpc/rpc_dtable.c: Likewise.
20204 * sunrpc/rpc_hout.c: Likewise.
20205 * sunrpc/rpc_main.c: Likewise.
20206 * sunrpc/rpc_parse.c: Likewise.
20207 * sunrpc/rpc_parse.h: Likewise.
20208 * sunrpc/rpc_prot.c: Likewise.
20209 * sunrpc/rpc_sample.c: Likewise.
20210 * sunrpc/rpc_scan.c: Likewise.
20211 * sunrpc/rpc_scan.h: Likewise.
20212 * sunrpc/rpc_svcout.c: Likewise.
20213 * sunrpc/rpc_tblout.c: Likewise.
20214 * sunrpc/rpc_util.c: Likewise.
20215 * sunrpc/rpc_util.h: Likewise.
20216 * sunrpc/rpcinfo.c: Likewise.
20217 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20218 * sunrpc/rpcsvc/key_prot.x: Likewise.
20219 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20220 * sunrpc/rpcsvc/mount.x: Likewise.
20221 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20222 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20223 * sunrpc/rpcsvc/rex.x: Likewise.
20224 * sunrpc/rpcsvc/rstat.x: Likewise.
20225 * sunrpc/rpcsvc/rusers.x: Likewise.
20226 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20227 * sunrpc/rpcsvc/spray.x: Likewise.
20228 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20229 * sunrpc/rtime.c: Likewise.
20230 * sunrpc/svc.c: Likewise.
20231 * sunrpc/svc_auth.c: Likewise.
20232 * sunrpc/svc_authux.c: Likewise.
20233 * sunrpc/svc_raw.c: Likewise.
20234 * sunrpc/svc_run.c: Likewise.
20235 * sunrpc/svc_simple.c: Likewise.
20236 * sunrpc/svc_tcp.c: Likewise.
20237 * sunrpc/svc_udp.c: Likewise.
20238 * sunrpc/svc_unix.c: Likewise.
20239 * sunrpc/svcauth_des.c: Likewise.
20240 * sunrpc/xcrypt.c: Likewise.
20241 * sunrpc/xdr.c: Likewise.
20242 * sunrpc/xdr_array.c: Likewise.
20243 * sunrpc/xdr_float.c: Likewise.
20244 * sunrpc/xdr_mem.c: Likewise.
20245 * sunrpc/xdr_rec.c: Likewise.
20246 * sunrpc/xdr_ref.c: Likewise.
20247 * sunrpc/xdr_sizeof.c: Likewise.
20248 * sunrpc/xdr_stdio.c: Likewise.
20250 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20253 2010-08-19 Andreas Schwab <schwab@redhat.com>
20255 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20257 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20259 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20260 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20261 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20262 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20263 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20264 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20265 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20266 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20268 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20269 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20270 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20271 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20272 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20274 2010-07-26 Anton Blanchard <anton@samba.org>
20276 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20277 * malloc/arena.c (heap_trim): Likewise.
20279 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20281 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20284 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20286 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20288 * sysdeps/i386/elf/Makefile: New file.
20290 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20292 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20293 from fanotify_init.
20294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20297 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20299 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20301 * sysdeps/multiarch/strcmp.S: Likewise.
20303 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20305 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20306 strncase_l-nonascii.
20307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20308 Add strncase_l-ssse3.
20309 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20310 * sysdeps/x86_64/strcmp.S: Likewise.
20311 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20312 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20313 * sysdeps/x86_64/strncase.S: New file.
20314 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20315 * sysdeps/x86_64/strncase_l.S: New file.
20316 * string/Makefile (strop-tests): Add strncasecmp.
20317 * string/test-strncasecmp.c: New file.
20319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20322 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20325 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20327 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20329 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20331 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20332 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20333 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20335 2010-05-01 Alan Modra <amodra@gmail.com>
20337 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20338 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20339 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20340 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20341 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20342 tidying. Don't tail-call __sigjmp_save for static lib.
20343 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20345 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20346 (CALL_MCOUNT): Add eh info, and nop after bl.
20347 (TAIL_CALL_SYSCALL_ERROR): New macro.
20348 (PSEUDO_RET): Use it.
20349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20350 Correct save location of integer regs and cr.
20351 (_dl_profile_resolve): Correct cr save location. Delete nops
20352 after bl when SHARED. Reduce cfi size a little by better
20353 placement of cfi directives.
20354 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20355 make a stack frame. Instead use parm save area as a temp.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20357 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20359 Don't make a stack frame for parent, use parm save area.
20360 Increase child stack frame to 112 bytes. Don't save unused reg,
20361 and adjust reg usage. Set up cfi on error recovery and
20362 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20364 (__makecontext): Add dummy nop after jump to exit.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20366 Use correct parm save area and cr save, reduce stack frame.
20367 Correct cfi for possible PSEUDO_RET frame setup.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20369 Branch to local label emitted by PSEUDO_RET rather than
20372 2010-08-12 Andreas Schwab <schwab@redhat.com>
20375 * locale/programs/locale.c (print_assignment): New function.
20376 (show_locale_vars): Use it.
20378 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20380 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20382 (struct statfs64): Likewise.
20383 (_STATFS_F_FLAGS): Define.
20384 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20386 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20387 (ST_VALID): Define locally.
20388 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20389 __statvfs_getflags, use the provided value.
20390 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20391 __ASSUME_STATFS_F_FLAGS.
20393 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20395 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20396 Add sys/fanotify.h.
20397 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20398 fanotify_mask for GLIBC_2.13.
20399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20400 fanotify_init and fanotify_mark.
20401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20402 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20406 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20407 prlimit64 for GLIBC_2.13.
20408 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20415 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20418 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20421 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20422 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20424 * nss/Makefile: Add rules to build and run tst-nss-test1.
20425 * shlib-versions: Add entry for libnss_test1.
20426 * nss/nss_test1.c: New file.
20427 * nss/tst-nss-test1.c: New file.
20429 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20430 (__nss_configure_lookup): Set appropriate entry in
20431 __nss_configure_lookup to true.
20432 * nss/nsswitch.h: Define enum with indeces of databases in
20433 databases and __nss_database_custom arrays. Declare
20434 __nss_database_custom.
20435 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20436 to avoid using nscd when custom rules are installed.
20437 * nss/getXXbyYY_r.c: Likewise.
20438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20440 * nss/nss_files/files-parse.c: Whitespace fixes.
20442 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20445 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20446 * posix/fnmatch_loop.c: Likewise.
20448 2010-07-17 Andi Kleen <ak@linux.intel.com>
20450 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20451 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20452 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20453 * Versions.def [GLIBC_2.13]: Add.
20455 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20458 Also fail if tpwd after pwuid call is NULL.
20460 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20462 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20463 when converting to ms.
20465 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20467 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20468 EOPNOTSUPP errors with ENOTTY.
20469 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20470 EOPNOTSUPP errors with ENOTTY.
20472 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20474 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20475 Add strcasecmp_l-ssse3.
20476 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20478 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20479 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20480 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20482 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20484 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20486 * string/Makefile (strop-tests): Add strcasecmp.
20487 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20488 strcasecmp_l-nonascii.
20489 (gen-as-const-headers): Add locale-defines.sym.
20490 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20491 * sysdeps/x86_64/strcasecmp.S: New file.
20492 * sysdeps/x86_64/strcasecmp_l.S: New file.
20493 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20494 * sysdeps/x86_64/locale-defines.sym: New file.
20495 * string/test-strcasecmp.c: New file.
20497 * string/test-strcasestr.c: Test both ends of the range of characters.
20498 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20500 2010-07-29 Roland McGrath <roland@redhat.com>
20503 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20505 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20507 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20510 2010-07-27 Andreas Schwab <schwab@redhat.com>
20512 * manual/memory.texi (Malloc Tunable Parameters): Document
20515 2010-07-26 Roland McGrath <roland@redhat.com>
20518 * configure.in (-fgnu89-inline check): Set and substitute
20519 gnu89_inline, not libc_cv_gnu89_inline.
20520 * configure: Regenerated.
20521 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20523 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20525 * string/test-strnlen.c: New file.
20526 * string/Makefile (strop-tests): Add strnlen.
20527 * string/tester.c (test_strnlen): Add a few more test cases.
20528 * string/tst-strlen.c: Better error reporting.
20530 * sysdeps/x86_64/strnlen.S: New file.
20532 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20535 lower-latency instructions.
20537 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20539 * string/test-strcasestr.c: New file.
20540 * string/test-strstr.c: New file.
20541 * string/Makefile (strop-tests): Add strstr and strcasestr.
20542 * string/str-two-way.h: Don't undefine MAX.
20543 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20545 2010-07-21 Andreas Schwab <schwab@redhat.com>
20547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20548 strcasestr-nonascii.
20549 (CFLAGS-strcasestr-nonascii.c): Define.
20550 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20552 Remove unused attribute.
20554 2010-07-20 Roland McGrath <roland@redhat.com>
20556 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20557 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20558 ld.so.cache was broken. With it, there is no way to disable dsocaps
20559 like LD_HWCAP_MASK can disable hwcaps.
20561 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20563 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20565 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20567 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20568 call in strcasestr.
20569 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20570 __strcasestr_sse42_nonascii.
20571 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20572 strcasestr-nonascii.c.
20573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20575 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20578 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20580 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20582 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20587 2010-07-06 Andreas Schwab <schwab@redhat.com>
20590 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20593 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20595 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20596 _PC_PIPE_BUF using F_GETPIPE_SZ.
20598 2010-07-05 Roland McGrath <roland@redhat.com>
20600 * manual/arith.texi (Rounding Functions): Fix rint description
20601 implicit in round description.
20603 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20605 * elf/Makefile: Fix linking for a few tests to make recent linker
20608 2010-06-30 Andreas Schwab <schwab@redhat.com>
20610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20611 $(common-objpfx)libc_nonshared.a.
20613 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20615 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20616 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20617 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20618 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20619 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20620 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20621 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20622 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20637 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20638 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20639 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20640 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20641 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20642 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20643 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20644 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20645 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20646 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20647 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20648 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20664 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20666 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20667 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20668 * string/memmove.c (memmove): Renamed to ...
20669 (MEMMOVE): ...this. Default to memmove.
20670 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20671 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20674 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20675 mempcpy-ssse3-back memmove-ssse3-back.
20676 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20679 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20680 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20681 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20682 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20683 * sysdeps/x86_64/multiarch/memmove.c: New file.
20684 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20685 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20686 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20687 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20688 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20691 (index_Fast_Copy_Backward): Define.
20692 (HAS_ARCH_FEATURE): Define.
20693 (HAS_FAST_REP_STRING): Define.
20694 (HAS_FAST_COPY_BACKWARD): Define.
20696 2010-06-21 Andreas Schwab <schwab@redhat.com>
20698 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20699 Restore proper fallback handling.
20701 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20704 * posix/group_member.c (__group_member): Correct checking loop.
20706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20707 OOM in getpwuid_r correctly. Return error number when the caller
20708 should return, otherwise -1.
20709 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20710 call returning > 0 value.
20711 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20713 2010-06-07 Andreas Schwab <schwab@redhat.com>
20715 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20716 libc_nonshared.a from targets in modules-names.
20718 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20720 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20723 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20730 2010-06-02 Andreas Schwab <schwab@redhat.com>
20732 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20734 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20745 2010-06-14 Roland McGrath <roland@redhat.com>
20747 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20749 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20751 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20752 __REDIRECT followed by __THROW.
20753 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20754 * posix/getopt.h (getopt): Likewise.
20756 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20758 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20759 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20760 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20762 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20763 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20765 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20769 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20773 Properly check family and model.
20775 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20777 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20779 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20781 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20783 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20785 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20788 2010-05-19 Andreas Schwab <schwab@redhat.com>
20790 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20793 2010-05-21 Andreas Schwab <schwab@redhat.com>
20795 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20796 and internal_recvmmsg.
20797 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20798 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20799 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20800 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20802 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20803 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20804 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20806 2010-05-20 Andreas Schwab <schwab@redhat.com>
20808 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20810 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20812 POWER7 optimizations.
20813 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20814 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20816 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20818 * version.h: Update for 2.13 development version.
20820 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20822 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20823 exceptions. Return 0.
20825 2010-05-07 Roland McGrath <roland@redhat.com>
20827 * elf/ldconfig.c (main): Add a const.
20829 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20831 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20832 (args_options): Add no-idn option.
20833 (ahosts_keys_int): Add idn_flags to ai_flags.
20834 (parse_option): Handle 'i' option to clear idn_flags.
20836 * malloc/malloc.c (_int_free): Possible race in the most recently
20837 added check. Only act on the data if no current modification
20840 See ChangeLog.17 for earlier changes.