1 2012-10-25 David S. Miller <davem@davemloft.net>
3 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7 2012-10-25 Roland McGrath <roland@hack.frob.com>
9 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14 Jim Blandy <jimb@codesourcery.com>
16 * scripts/cross-test-ssh.sh: New file.
17 * manual/install.texi (Configuring and compiling): Document use of
19 * INSTALL: Regenerated.
21 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28 * Makeconfig (run-program-prefix): Fix comment.
30 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31 Jim Blandy <jimb@codesourcery.com>
33 * Makeconfig (test-wrapper): New variable,
34 (test-wrapper-env): Likewise.
35 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36 (run-built-tests): Define to yes.
37 (run-program-prefix): Use $(test-wrapper).
38 (built-program-cmd): Likewise.
39 * Rules (make-test-out): Use $(test-wrapper-env) and
40 $(host-built-program-cmd).
41 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45 $(test-wrapper-env) to tst-rtld-load-self.sh.
46 ($(objpfx)order2.out): Use $(test-wrapper).
47 ($(objpfx)tst-initorder.out): Likewise.
48 ($(objpfx)tst-initorder2.out): Likewise.
49 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51 (test_wrapper_env): New variable. Use it to run ld.so.
52 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54 (test_wrapper_env): Likewise.
55 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56 $(test-wrapper) to run-iconv-test.sh.
57 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58 (ICONV): Use $test_wrapper.
59 * posix/Makefile ($(objpfx)globtest.out): Pass
60 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61 globtest.sh, not $(run-program-prefix).
62 * posix/globtest.sh (run_via_rtld_prefix): New variable.
63 (test_wrapper): Likewise.
64 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65 set together with run_via_rtld_prefix.
66 (run_program_prefix): Define in terms of test_wrapper and
69 2012-10-24 Roland McGrath <roland@hack.frob.com>
71 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
76 * include/time.h: Remove librt_hidden_proto (clock_gettime).
77 Declare __clock_getres, __clock_gettime, __clock_settime,
78 __clock_nanosleep, and __clock_getcpuclockid.
79 * rt/clock_gettime.c: Define __clock_gettime as an alias.
80 Remove librt_hidden_def (clock_gettime).
81 * sysdeps/unix/clock_gettime.c: Likewise.
82 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
83 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
84 * rt/clock_getres.c: Define __clock_getres as an alias.
85 * sysdeps/posix/clock_getres.c: Likewise.
86 * rt/clock_settime.c: Define __clock_settime as an alias.
87 * sysdeps/unix/clock_settime.c: Likewise.
88 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
89 * sysdeps/unix/clock_nanosleep.c: Likewise.
90 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
91 * rt/clock-compat.c: New file.
92 * rt/Makefile (librt-routines): Add clock-compat and move
93 $(clock-routines) to ...
94 (routines): ... here, new variable.
95 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
96 Don't add get_clockfreq here.
97 * rt/Versions (libc: GLIBC_2.17): New version set.
98 Add clock_* symbols here.
99 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
101 (GLIBC_2.17): Add clock_* symbols.
102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
113 * NEWS: Mention the move.
115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
116 Use __open, __read, __close rather than their public counterparts.
117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
118 (__get_clockfreq_via_cpuinfo): Likewise.
119 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
120 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
122 * config.h.in (HAVE_IFUNC): New #undef.
123 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
125 * configure: Regenerated.
127 2012-10-24 Mike Frysinger <vapier@gentoo.org>
129 * configure.in: Move READELF check to start of file.
130 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
131 libc_cv_asm_gnu_indirect_function in the process.
132 * configure: Regenerated.
134 2012-10-24 Mike Frysinger <vapier@gentoo.org>
136 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
137 send the output to /dev/null.
138 (libc_cv_cc_with_libunwind): Likewise.
139 (libc_cv_as_noexecstack): Likewise.
140 * configure: Regenerate.
142 2012-10-24 Joseph Myers <joseph@codesourcery.com>
144 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
146 * posix/globtest.sh (TMPDIR): Do not set.
147 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
150 2012-10-24 Andreas Jaeger <aj@suse.de>
152 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
153 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
154 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
155 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
156 posix_fadvise64, posix_fallocate64.
158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
159 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
160 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
162 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
164 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
167 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
168 <bits/fcntl-linux.h>.
169 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
172 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
173 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
174 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
175 [__WORDSIZE != 64]: Likewise.
177 2012-10-23 Joseph Myers <joseph@codesourcery.com>
179 * Makeconfig (run-built-tests): New variable.
180 * Rules [$(cross-compiling) = yes]: Change condition to
181 [$(run-built-tests) = no].
182 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
183 to [$(run-built-tests) = yes].
184 * elf/Makefile [$(cross-compiling) = no]: Likewise
185 * grp/Makefile [$(cross-compiling) = no]: Likewise.
186 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
187 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
188 * intl/Makefile [$(cross-compiling) = no]: Likewise.
189 * io/Makefile [$(cross-compiling) = no]: Likewise.
190 * libio/Makefile [$(cross-compiling) = no]: Likewise.
191 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
192 * misc/Makefile [$(cross-compiling) = no]: Likewise.
193 * posix/Makefile [$(cross-compiling) = no]: Likewise.
194 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
195 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
196 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
197 * string/Makefile [$(cross-compiling) = no]: Likewise.
199 * posix/Makefile ($(objpfx)globtest.out): Pass
200 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
201 $(rtld-installed-name).
202 * posix/globtest.sh (elf_objpfx): Remove variable.
203 (rtld_installed_name): Likewise.
204 (library_path): Likewise.
205 (run_program_prefix): New variable. Use for running globtest
208 2012-10-23 Jim Blandy <jimb@codesourcery.com>
209 Joseph Myers <joseph@codesourcery.com>
211 * Makeconfig (host-built-program-cmd): New variable.
212 * elf/Makefile (tst-stackguard1-ARGS): Use
213 $(host-built-program-cmd).
214 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
215 (tst-spawn-ARGS): Likewise.
216 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
218 2012-10-23 Joseph Myers <joseph@codesourcery.com>
219 Jim Blandy <jimb@codesourcery.com>
221 * Makeconfig (run-via-rtld-prefix): New variable.
222 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
223 (built-program-cmd): Likewise.
225 2012-10-22 Andreas Jaeger <aj@suse.de>
227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
228 __O_RSYNC if it exists, otherwise to O_SYNC.
230 2012-10-22 Jim Blandy <jimb@codesourcery.com>
231 Joseph Myers <joseph@codesourcery.com>
233 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
235 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
237 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
240 2012-10-22 Andreas Jaeger <aj@suse.de>
242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
250 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
257 2012-10-21 Jim Blandy <jimb@codesourcery.com>
258 Joseph Myers <joseph@codesourcery.com>
260 * config.make.in (NM): New variable.
262 2012-10-21 Andreas Jaeger <aj@suse.de>
264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
265 definitions and declarations that are provided by
266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
268 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
271 * elf/Makefile (tests-static): Add tst-leaks1-static.
272 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
273 ($(objpfx)tst-leaks1-static): New rule.
274 ($(objpfx)tst-leaks1-static-mem): Likewise.
275 (tst-leaks1-static-ENV): New macro.
276 * elf/dl-open.c (dl_open_worker): Check the main application
277 only if SHARED is defined.
278 * elf/tst-leaks1-static.c: New file.
280 2012-10-20 Andreas Jaeger <aj@suse.de>
282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
283 generic values for Linux.
284 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
285 and declarations that are provided by <bits/fcntl-linux.h> and
286 include <bits/fcntl-linux.h>.
287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
290 2012-10-20 Roland McGrath <roland@hack.frob.com>
292 * io/fcntl.h: Move include of <bits/types.h> to the top and
293 include it unconditionally.
295 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
297 * wcsmbs/Makefile (tests-ifunc): New variable.
298 (tests): Add $(tests-ifunc).
299 * wcsmbs/test-wcschr-ifunc.c: New file.
300 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
301 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
302 * wcsmbs/test-wcslen-ifunc.c: Likewise.
303 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
304 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
306 * string/Makefile (tests-ifunc): New variable.
307 (tests): Add $(tests-ifunc).
308 * string/test-memccpy.c (TEST_NAME): New macro.
309 * string/test-memchr.c (TEST_NAME): Likewise.
310 * string/test-memcmp.c (TEST_NAME): Likewise.
311 * string/test-memcpy.c (TEST_NAME): Likewise.
312 * string/test-memmem.c (TEST_NAME): Likewise.
313 * string/test-memmove.c (TEST_NAME): Likewise.
314 * string/test-memset.c (TEST_NAME): Likewise.
315 * string/test-rawmemchr.c (TEST_NAME): Likewise.
316 * string/test-stpcpy.c (TEST_NAME): Likewise.
317 * string/test-stpncpy.c (TEST_NAME): Likewise.
318 * string/test-strcasecmp.c (TEST_NAME): Likewise.
319 * string/test-strcasestr.c (TEST_NAME): Likewise.
320 * string/test-strcat.c (TEST_NAME): Likewise.
321 * string/test-strchr.c (TEST_NAME): Likewise.
322 * string/test-strcmp.c(TEST_NAME): Likewise.
323 * string/test-strcpy.c (TEST_NAME): Likewise.
324 * string/test-strcspn.c (TEST_NAME): Likewise.
325 * string/test-strlen.c (TEST_NAME): Likewise.
326 * string/test-strncasecmp.c (TEST_NAME): Likewise.
327 * string/test-strncmp.c (TEST_NAME): Likewise.
328 * string/test-strncpy.c (TEST_NAME): Likewise.
329 * string/test-strnlen.c (TEST_NAME): Likewise.
330 * string/test-strpbrk.c (TEST_NAME): Likewise.
331 * string/test-strrchr.c (TEST_NAME): Likewise.
332 * string/test-strspn.c (TEST_NAME): Likewise.
333 * string/test-strstr.c (TEST_NAME): Likewise.
334 * string/test-bcopy-ifunc.c: New file.
335 * string/test-bzero-ifunc.c: Likewise.
336 * string/test-memccpy-ifunc.c: Likewise.
337 * string/test-memchr-ifunc.c: Likewise.
338 * string/test-memcmp-ifunc.c: Likewise.
339 * string/test-memcpy-ifunc.c: Likewise.
340 * string/test-memmem-ifunc.c: Likewise.
341 * string/test-memmove-ifunc.c: Likewise.
342 * string/test-mempcpy-ifunc.c: Likewise.
343 * string/test-memset-ifunc.c: Likewise.
344 * string/test-rawmemchr-ifunc.c: Likewise.
345 * string/test-stpcpy-ifunc.c: Likewise.
346 * string/test-stpncpy-ifunc.c: Likewise.
347 * string/test-strcasecmp-ifunc.c: Likewise.
348 * string/test-strcasestr-ifunc.c: Likewise.
349 * string/test-strcat-ifunc.c: Likewise.
350 * string/test-strchr-ifunc.c: Likewise.
351 * string/test-strchrnul-ifunc.c: Likewise.
352 * string/test-strcmp-ifunc.c: Likewise.
353 * string/test-strcpy-ifunc.c: Likewise.
354 * string/test-strcspn-ifunc.c: Likewise.
355 * string/test-strlen-ifunc.c: Likewise.
356 * string/test-strncasecmp-ifunc.c: Likewise.
357 * string/test-strncat-ifunc.c: Likewise.
358 * string/test-strncmp-ifunc.c: Likewise.
359 * string/test-strncpy-ifunc.c: Likewise.
360 * string/test-strnlen-ifunc.c: Likewise.
361 * string/test-strpbrk-ifunc.c: Likewise.
362 * string/test-strrchr-ifunc.c: Likewise.
363 * string/test-strspn-ifunc.c: Likewise.
364 * string/test-strstr-ifunc.c: Likewise.
366 * debug/Makefile (tests-ifunc): New variable.
367 (tests): Add $(tests-ifunc).
368 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
369 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
370 * debug/test-stpcpy_chk-ifunc.c: New file.
371 * debug/test-strcpy_chk-ifunc.c: Likewise.
373 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
376 * elf/dl-load.c (open_verify): Retry read if the entire ELF
377 header is not read in.
379 2012-10-19 Joseph Myers <joseph@codesourcery.com>
381 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
382 script to $(SHELL) as $<. Pass $(common-objpfx) to script
383 directly. Pass built executable to script as
384 $(built-program-cmd).
385 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
386 $testprogram without using LD_LIBRARY_PATH and $ldso.
388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
389 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
390 $(rtld-installed-name).
391 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
392 (rtld_installed_name): Likewise.
393 (library_path): Likewise.
394 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
395 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
396 $(run-program-prefix) to tst-tables.sh.
397 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
398 it to run tst-table-from and tst-table-to.
399 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
400 Pass it to tst-table.sh.
401 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
402 $(run-program-prefix) to tst-gettext.sh.
403 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
405 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
407 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
409 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
411 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
413 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
414 $(run-program-prefix) to tst-mtrace.sh.
415 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
417 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
418 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
419 $(rtld-installed-name).
420 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
421 (rtld_installed_name): Likewise.
422 (run_program_prefix): New variable. Use it to run wordexp-test.
424 * Makeconfig (ARCH): Remove all definitions.
426 [ARCH]: Remove conditional code.
427 [!objdir]: Give error.
428 [!objdir] (objpfx): Remove.
429 [!objdir] (common-objpfx): Likewise.
430 [!objdir] (common-objdir): Likewise.
431 * configure.in (config_makefile): Remove. Hardcode Makefile in
432 AC_CONFIG_FILES call.
433 * configure: Regenerated.
436 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
440 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
441 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
442 $(rtld-installed-name).
443 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
444 (rtld_installed_name): Likwise.
445 (runit): Remove function.
446 (run_getconf): New variable, Use it for running getconf binary.
448 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
451 * string/test-memmem.c (check_result): New function.
452 (do_one_test): Use it.
453 (check1): New function.
456 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
458 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
460 2012-10-18 Joseph Myers <joseph@codesourcery.com>
462 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
463 (_G_LSEEK64): Likewise.
464 (_G_MMAP64): Likewise.
465 (_G_FSTAT64): Likewise.
466 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
467 (_G_LSEEK64): Likewise.
468 (_G_MMAP64): Likewise.
469 (_G_FSTAT64): Likewise.
470 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
471 unconditional. Call __mmap64 directly.
472 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
473 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
475 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
476 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
478 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
479 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
481 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
482 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
484 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
485 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
487 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
488 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
490 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
491 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
493 (freopen64) [!_G_OPEN64]: Remove conditional code.
494 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
496 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
497 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
499 (ftello64) [!_G_LSEEK64]: Remove conditional code.
500 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
502 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
503 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
505 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
506 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
508 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
509 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
511 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
512 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
514 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
516 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
519 * manual/memory.texi (Malloc Tunable Parameters): Add note
520 about free list pointers overwriting some perturb bytes.
521 Wording suggested by Roland McGrath.
523 2012-10-17 Joseph Myers <joseph@codesourcery.com>
525 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
526 (lgamma_test): Likewise.
527 (tgamma_test): Likewise.
529 2012-10-16 Florian Weimer <fweimer@redhat.com>
532 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
533 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
535 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
537 * NEWS: Mention BZ #14716.
538 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
539 when removing AVAILABLE1_USES_J macro.
541 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
543 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
544 (__bswap_64): __uint64_t for unsigned 64-bit int.
546 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
548 * include/string.h (memmem): Declare libc hidden alias.
549 * string/memmem.c (memmem): Define libc hidden alias.
550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
551 __read, __close instead of open, read, close.
553 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
556 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
558 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
559 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
560 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
562 (__rawmemchr_sse2): Likewise.
563 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
565 (__strchr_sse2): Likewise.
566 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
567 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
568 (__strcasecmp_sse2): Likewise.
569 (__strncasecmp_sse2): Likewise.
570 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
571 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
572 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
573 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
574 (__strrchr_sse2): Likewise.
575 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
577 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
578 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
579 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
581 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
582 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
585 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
586 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
587 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
588 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
589 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
590 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
591 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
592 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
593 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
594 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
595 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
596 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
597 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
598 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
599 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
600 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
601 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
602 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
603 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
604 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
605 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
606 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
608 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
610 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
611 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
612 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
613 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
615 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
617 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
618 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
619 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
620 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
622 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
623 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
624 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
631 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
635 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
636 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
638 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
639 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
642 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
647 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
648 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
649 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
650 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
651 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
652 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
653 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
654 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
664 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
665 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
666 * include/ifunc-impl-list.h: New file.
667 * misc/ifunc-impl-list.c: Likewise.
668 * misc/Makefile (routines): Add ifunc-impl-list.
669 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
670 * string/test-string.h: Include <ifunc-impl-list.h>.
671 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
672 impl_array): New variables.
673 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
675 (test_init): Call __libc_ifunc_impl_list to initialize
676 func_list if TEST_IFUNC and TEST_NAME are defined.
678 * string/Makefile (strop-tests): Add bcopy and bzero.
679 * string/test-bcopy.c: New file.
680 * string/test-bzero.c: Likewise.
681 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
683 * string/test-memset.c: Support bzero test if TEST_BZERO is
685 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
687 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
689 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
692 2012-10-10 Joseph Myers <joseph@codesourcery.com>
694 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
695 * configure: Regenerated.
697 * Makeconfig (+link-static-before-libc): Don't include
700 * libio/libio.h (_IO_pos_t): Remove.
702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
704 * NEWS: Add note about FIPS mode. Wording suggested by Roland
707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
709 * crypt/crypt-entry.c: Include fips-private.h.
710 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
711 * crypt/md5c-test.c (main): Tolerate disabled MD5.
712 * sysdeps/unix/sysv/linux/fips-private.h: New file.
713 * sysdeps/generic/fips-private.h: New file, dummy fallback.
715 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
717 * crypt/crypt-private.h: Include stdbool.h.
718 (_ufc_setup_salt_r): Return bool.
719 * crypt/crypt-entry.c: Include errno.h.
720 (__crypt_r): Return NULL with EINVAL for bad salt.
721 * crypt/crypt_util.c (bad_for_salt): New.
722 (_ufc_setup_salt_r): Check that salt is long enough and within
723 the specified alphabet.
724 * crypt/badsalttest.c: New file.
725 * crypt/Makefile (tests): Add it.
726 ($(objpfx)badsalttest): New.
728 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
730 * NEWS: Add entry for BZ #14602.
732 2012-10-09 Joseph Myers <joseph@codesourcery.com>
734 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
736 * math/libm-test.inc: Update comment listing what functions and
738 (isgreater_test): New function.
739 (isgreaterequal_test): Likewise.
740 (isless_test): Likewise.
741 (islessequal_test): Likewise.
742 (islessgreater_test): Likewise.
743 (isunordered_test): Likewise.
744 (main): Call the new functions.
746 2012-10-09 Roland McGrath <roland@hack.frob.com>
748 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
749 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
750 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
751 * sysdeps/i386/configure: Regenerated.
752 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
753 * sysdeps/mach/configure: Regenerated.
754 * sysdeps/mach/hurd/configure: Regenerated.
755 * sysdeps/powerpc/configure: Regenerated.
756 * sysdeps/powerpc/powerpc32/configure: Regenerated.
757 * sysdeps/powerpc/powerpc64/configure: Regenerated.
758 * sysdeps/s390/s390-32/configure: Regenerated.
759 * sysdeps/s390/s390-64/configure: Regenerated.
760 * sysdeps/sh/configure: Regenerated.
761 * sysdeps/sparc/configure: Regenerated.
762 * sysdeps/unix/sysv/linux/configure: Regenerated.
763 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
764 * sysdeps/x86_64/configure: Regenerated.
766 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
767 defined. Don't check if MAP is NULL.
769 2012-10-09 Joseph Myers <joseph@codesourcery.com>
771 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
772 (_G_stat64): Likewise.
773 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
774 (_G_stat64): Likewise.
775 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
776 instead of struct _G_stat64.
777 * libio/fileops.c (mmap_remap_check): Likewise.
778 (decide_maybe_mmap): Likewise.
779 (_IO_new_file_seekoff): Likewise.
780 (_IO_file_stat): Likewise.
781 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
783 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
784 instead of struct _G_stat64.
785 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
787 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
790 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
792 (CHECK_EOL): New macro.
793 (two_way_short_needle): Check beginning of haystack for EOL. Use
795 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
796 Replace with CHECK_EOL.
797 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
798 Replace with CHECK_EOL.
800 2012-10-08 Joseph Myers <joseph@codesourcery.com>
802 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
804 * math/libm-test.inc: Update comment listing what functions and
806 (finite_test): New function.
807 (isinf_test): Likewise.
808 (isnan_test): Likewise.
809 (fpclassify_test): Test subnormal input.
810 (isfinite_test): Likewise.
811 (isnormal_test): Likewise.
812 (main): Call the new functions.
814 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
817 * Makerules (%.dynsym): Force C locale when running
818 $(OBJDUMP) --dynamic-syms.
820 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
822 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
825 2012-10-06 David S. Miller <davem@davemloft.net>
827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
828 upper 32-bits of the length value in %o2 since we use branch-on-register
829 tests which consider the entire 64-bit register.
831 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
833 * string/test-strstr.c (check2): Add a test for page boundary.
835 2012-10-05 David S. Miller <davem@davemloft.net>
837 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
840 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
843 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
844 and bzero when HWCAP_SPARC_CRYPTO is present.
846 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
849 * string/test-strstr.c (check2): New function.
850 (test_main): Call check2.
852 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
854 * string/bug-strcasestr1.c (do_test): Moved to ...
855 * string/test-strcasestr.c (check1): Here. New function.
856 (do_one_test): Break out result checking code into ...
857 (check_result): This. New function.
858 (do_one_test): Call check_result.
859 (test_main): Call check1.
860 * string/bug-strchr1.c (do_test): Moved to ...
861 * string/test-strchr.c (check1): Here. New function.
862 (do_one_test): Break out result checking code into ...
863 (check_result): This. New function.
864 (do_one_test): Call check_result.
865 (test_main): Call check1.
866 * string/bug-strstr1.c (main): Moved to ...
867 * string/test-strchr.c (check1): Here. New function.
868 (do_one_test): Break out result checking code into ...
869 (check_result): This. New function.
870 (do_one_test): Call check_result.
871 (test_main): Call check1.
872 * string/bug-strcasestr1.c: Removed.
873 * string/bug-strchr1.c: Likewise.
874 * string/bug-strstr1.c: Likewise.
876 * elf/Makefile (dl-routines): Add hwcaps.
877 * elf/dl-support.c (_dl_important_hwcaps): Removed.
878 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
879 (_dl_important_hwcaps): Moved to ...
880 * elf/dl-hwcaps.c: Here. New file.
881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
884 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
885 if IS_IN_rtld isn't defined.
887 * elf/dl-support.c (_dl_sysinfo_map): New.
888 Include "get-dynamic-info.h" and "setup-vdso.h".
889 (_dl_non_dynamic_init): Call setup_vdso.
890 * elf/dynamic-link.h: Don't include <assert.h>.
891 (elf_get_dynamic_info): Moved to ...
892 * elf/get-dynamic-info.h: Here. New file.
893 * elf/dynamic-link.h: Include "get-dynamic-info.h".
894 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
895 * elf/setup-vdso.h: Here. New file.
896 * elf/rtld.c: Include "setup-vdso.h".
897 (dl_main): Call setup_vdso.
899 2012-10-05 Joseph Myers <joseph@codesourcery.com>
901 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
902 creal in comment listing functions tested. List finite, isinf,
903 isnan, isless, islessequal, isgreater, isgreaterequal,
904 islessgreater, isunordered, lgamma_r and pow10 as functions and
905 macros not tested. Mention which functions not tested are aliases
906 for other functions. Fix typo. Note that signs of NaNs are not
909 * scripts/config.guess: Update from config.git.
910 * scripts/config.sub: Likewise.
912 2012-10-04 Roland McGrath <roland@hack.frob.com>
914 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
915 * misc/madvise.c (madvise): Renamed to __madvise.
916 Make madvise a weak alias.
917 * include/sys/mman.h: Declare __madvise.
918 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
919 * sysdeps/unix/syscalls.list
920 (madvise): Make __madvise the strong name, and madvise a weak alias.
921 * sysdeps/unix/sysv/linux/syscalls.list
922 (madvise, mmap): Remove redundant entries.
923 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
924 * malloc/malloc.c (mtrim): Likewise.
925 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
927 2012-10-03 Roland McGrath <roland@hack.frob.com>
929 * sysdeps/mach/hurd/dl-cache.c: File removed.
930 * config.h.in (USE_LDCONFIG): New #undef.
931 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
932 * configure: Regenerated.
933 * elf/Makefile (dl-routines): Add dl-cache only under
934 [$(use-ldconfig) = yes].
935 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
936 cache on [USE_LDCONFIG].
937 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
939 * elf/rtld.c (dl_main): Likewise.
941 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
943 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
944 _SC_LEVEL4_CACHE_LINESIZE.
946 2012-10-03 Roland McGrath <roland@hack.frob.com>
948 * sysdeps/unix/bsd/confstr.h: File removed.
950 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
952 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
955 2012-10-02 Roland McGrath <roland@hack.frob.com>
957 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
958 Make 'mapoff' field ElfW(Off) rather than off_t.
960 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
962 * nscd/Makefile: Remove nscd-cflags and all its users.
963 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
964 (CFLAGS-nonlib): Add compiler flags for nscd modules.
967 * malloc.c (malloc_printerr): Clarify error message.
969 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
973 Set bit_FMA_Usable if FMA is supported.
974 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
976 (bit_FMA4_Usable): Updated.
977 (index_FMA_Usable): New macro.
978 (CPUID_FMA): Likewise
979 (HAS_FMA): Defined with bit_FMA_Usable.
981 2012-10-01 Roland McGrath <roland@hack.frob.com>
983 * bits/types.h (__swblk_t): Type removed.
984 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
985 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
987 (__SWBLK_T_TYPE): Likewise.
988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
989 (__SWBLK_T_TYPE): Likewise.
990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
991 (__SWBLK_T_TYPE): Likewise.
992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
993 (__SWBLK_T_TYPE): Likewise.
995 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
996 Honza Horak <hhorak@redhat.com>
998 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
999 (xdr_mapname): Use YPMAXMAP as maxsize.
1000 (xdr_peername): Use YPMAXPEER as maxsize.
1001 (xdr_keydat): Use YPAXRECORD as maxsize.
1002 (xdr_valdat): Use YPMAXRECORD as maxsize.
1004 2012-10-01 Roland McGrath <roland@hack.frob.com>
1006 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1008 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1009 * csu/init-first.c: ... here.
1010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1011 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1012 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1014 * sysdeps/i386/init-first.c: File removed.
1015 * sysdeps/sh/init-first.c: File removed.
1017 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1021 if x * y might underflow to zero and z is zero.
1022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1024 * math/libm-test.inc (min_subnorm_value): New variable.
1025 (fma_test): Add more tests.
1026 (fma_test_towardzero): Likewise.
1027 (fma_test_downward): Likewise
1028 (fma_test_upward): Likewise.
1029 (initialize): Set min_subnorm_value.
1031 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1037 mode for addition resulting in exact zero.
1038 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1043 * math/libm-test.inc (fma_test): Add more tests.
1044 (fma_test_towardzero): New function.
1045 (fma_test_downward): Likewise.
1046 (fma_test_upward): Likewise.
1047 (main): Call the new functions.
1049 2012-09-28 David S. Miller <davem@davemloft.net>
1051 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1053 2012-09-28 Roland McGrath <roland@hack.frob.com>
1055 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1058 * sysdeps/gnu/_G_config.h: Moved to ...
1059 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1060 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1061 * sysdeps/generic/_G_config.h: ... here.
1063 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1065 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1067 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1068 Conditionalize target on [libnss_test1.so-version].
1070 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1072 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1073 (elfobjdir): Move out of conditionals.
1075 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1076 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1077 (__nss_lookup_function): Conditionalize label remove_from_tree on
1078 [!DO_STATIC_NSS || SHARED], matching its only use.
1080 2012-09-28 David S. Miller <davem@davemloft.net>
1082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1085 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1089 when HWCAP_SPARC_CRYPTO is present.
1091 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1093 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1095 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1098 * stdio-common/vfprintf.c (process_string_arg): Revert
1101 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1103 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1105 * stdio-common/tst-sprintf.c: Include <locale.h>
1106 (main): Test sprintf's handling of incomplete multibyte
1109 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1111 * elf/dl-runtime.c (VERSYMIDX): Removed.
1112 * elf/dl-version.c (VERSYMIDX): Likewise.
1113 * elf/do-rel.h (VERSYMIDX): Likewise.
1115 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1116 * elf/rtld.c (VALIDX): Likewise.
1117 (ADDRIDX): Likewise.
1118 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1119 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1120 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1121 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1123 (ADDRIDX): Likewise.
1125 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1127 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1129 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1132 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1134 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1135 addresses are in the same scope as 192.0.2/24.
1136 * posix/gai.conf: Document new scope table defaults.
1138 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1141 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1142 for ftell. Compute offsets from write pointers instead.
1143 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1145 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1148 * libio/Makefile (tests): New test case tst-fseek.
1149 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1150 combination works in wide mode.
1151 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1152 state when the external buffer state changes.
1154 2012-09-27 David S. Miller <davem@davemloft.net>
1157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1158 pass reloc->r_addend in as the 'high' argument to
1159 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1163 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1165 * rt/tst-aio2.c: Include <pthread.h>.
1166 * rt/tst-aio3.c: Likewise.
1168 2012-09-27 Steve Ellcey <sellcey@mips.com>
1170 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1172 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1174 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1175 contents on [SHARED].
1177 2012-09-26 Marek Polacek <polacek@redhat.com>
1181 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1182 for C++ and GCC <4.3 as well as for non GCC compilers.
1184 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1188 2012-09-25 Roland McGrath <roland@hack.frob.com>
1190 * Makefile.in (all, install): Declare with .PHONY.
1191 Reported by Michael Hope <michael.hope@linaro.org>.
1193 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1195 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1196 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1198 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1200 (sydep_routines): Add the new and the internal functions.
1201 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1204 (GLIBC_2.17): Add the new function.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1206 (GLIBC_2.17): Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1208 (GLIBC_2.17): Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1210 (GLIBC_2.17): Likewise.
1211 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1213 2012-09-25 Alan Modra <amodra@gmail.com>
1215 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1216 Add release barrier before setting once_control to say
1217 initialisation is done. Add hints on lwarx. Use macro in
1219 (clear_once_control): Add release barrier.
1221 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1224 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1226 * math/s_clog10.c (__clog10): Likewise.
1227 * math/s_clog10f.c (__clog10f): Likewise.
1228 * math/s_clog10l.c (__clog10l): Likewise.
1229 * math/s_clogf.c (__clogf): Likewise.
1230 * math/s_clogl.c (__clogl): Likewise.
1231 * math/Makefile (libm-calls): Add x2y2m1.
1232 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1233 (__x2y2m1): Likewise.
1234 (__x2y2m1l): Likewise.
1235 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1236 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1239 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1240 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1241 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1242 * sysdeps/i386/fpu/libm-test-ulps: Update.
1243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1246 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1247 int as type of variable DEPTH.
1248 (glob): Use size_t instead of int as type of variables NEWCOUNT
1251 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1256 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1257 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1258 macros for using routine as __sincosf_ia32.
1259 Use macro for function declaration and weak_alias.
1260 * sysdeps/i386/fpu/libm-test-ulps: Update.
1262 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1265 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1267 * math/s_cexpf.c (__cexpf): Likewise.
1268 * math/s_csinf.c (__csinf): Likewise.
1269 * math/s_csinhf.c (__csinhf): Likewise.
1270 * math/s_ctanf.c (__ctanf): Likewise.
1271 * math/s_ctanhf.c (__ctanhf): Likewise.
1272 * math/s_ccosh.c (__ccoshf): Likewise.
1273 * math/s_cexp.c (__cexpl): Likewise.
1274 * math/s_csin.c (__csin): Likewise.
1275 * math/s_csinh.c (__csinh): Likewise.
1276 * math/s_ctan.c (__ctan): Likewise.
1277 * math/s_ctanh.c (ctanh): Likewise.
1278 * math/s_ccoshl.c (__ccoshl): Likewise.
1279 * math/s_cexpl.c (__cexpl): Likewise.
1280 * math/s_csinl.c (__csinl): Likewise.
1281 * math/s_csinhl.c (__csinhl): Likewise.
1282 * math/s_ctanl.c (__ctanl): Likewise.
1283 * math/s_ctanhl.c (__ctanhl): Likewise.
1285 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1287 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1288 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1289 (_IO_off_t): Define to __off_t, not _G_off_t.
1290 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1291 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1292 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1293 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1294 type of __dummy and __dummy2 fields.
1295 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1296 (_G_ssize_t): Likewise.
1297 (_G_off_t): Likewise.
1298 (_G_pid_t): Likewise.
1299 (_G_uid_t): Likewise.
1300 (_G_wchar_t): Likewise.
1301 (_G_wint_t): Likewise.
1302 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1303 (_G_ssize_t): Likewise.
1304 (_G_off_t): Likewise.
1305 (_G_pid_t): Likewise.
1306 (_G_uid_t): Likewise.
1307 (_G_wchar_t): Likewise.
1308 (_G_wint_t): Likewise.
1309 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1310 (_G_ssize_t): Likewise.
1311 (_G_off_t): Likewise.
1312 (_G_pid_t): Likewise.
1313 (_G_uid_t): Likewise.
1314 (_G_wchar_t): Likewise.
1315 (_G_wint_t): Likewise.
1317 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1319 * malloc/arena.c: Include malloc-sysdep.h.
1320 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1321 is sufficient to shrink the heap or an unmap is needed.
1322 * sysdeps/generic/malloc-sysdep.h: New file. Define
1323 new function check_may_shrink_heap.
1324 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1325 new function check_may_shrink_heap.
1327 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1329 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1332 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1334 * catgets/test-gencat.sh: Add "set -e".
1335 * elf/tst-pathopt.sh: Likewise.
1336 * grp/tst_fgetgrent.sh: Likewise.
1337 * iconvdata/run-iconv-test.sh: Likewise.
1338 * intl/tst-gettext.sh: Likewise.
1339 * intl/tst-gettext2.sh: Likewise.
1340 * intl/tst-gettext4.sh: Likewise.
1341 * intl/tst-gettext6.sh: Likewise.
1342 * intl/tst-translit.sh: Likewise.
1343 * io/ftwtest-sh: Likewise.
1344 * libio/test-freopen.sh: Likewise.
1345 * malloc/tst-mtrace.sh: Likewise.
1346 * posix/globtest.sh: Likewise.
1347 * posix/tst-getconf.sh: Likewise.
1348 * posix/wordexp-tst.sh: Likewise.
1349 * stdio-common/tst-printf.sh: Likewise.
1350 * stdio-common/tst-unbputc.sh: Likewise.
1351 * stdlib/tst-fmtmsg.sh: Likewise.
1352 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1353 * catgets/Makefile: Do not specify -e option when running
1354 testsuite shell scripts.
1355 * elf/Makefile: Likewise.
1356 * grp/Makefile: Likewise.
1357 * iconvdata/Makefile: Likewise.
1358 * intl/Makefile: Likewise.
1359 * io/Makefile: Likewise.
1360 * libio/Makefile: Likewise.
1361 * malloc/Makefile: Likewise.
1362 * posix/Makefile: Likewise.
1363 * stdio-common/Makefile: Likewise.
1364 * stdlib/Makefile: Likewise.
1365 * sysdeps/x86_64/Makefile: Likewise.
1367 * io/ftwtest-sh: Add copyright header.
1368 * posix/globtest.sh: Likewise.
1369 * posix/tst-getconf.sh: Likewise.
1370 * posix/wordexp-tst.sh: Likewise.
1371 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1373 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1376 * Makeconfig (+link): Defined as $(+link-static) if
1377 $(build-shared) isn't yes.
1378 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1380 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1382 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1385 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1386 new chunk size with MALLOC_ALIGN_MASK.
1388 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1391 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1393 (__printf_fphex): Determine rounding using get_rounding_mode and
1395 * stdio-common/tst-printf-round.c (struct hex_test): New
1397 (hex_tests): New variable.
1398 (test_hex_in_one_mode): New function.
1399 (do_test): Also run tests for hex float output.
1401 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1403 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1405 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1406 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1408 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1409 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1412 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1414 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1415 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1416 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1417 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1419 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1422 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1424 * elf/tst-rtld-load-self.sh: New test.
1425 * elf/Makefile: Run it.
1427 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1429 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1430 (tst-writev-ENV): Remove.
1431 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1433 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1435 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1437 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1439 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1441 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1443 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1444 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1445 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1448 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1451 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1452 * config.make.in (have-cpp-asm-debuginfo): Removed.
1453 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1454 * configure: Regenerated.
1456 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1459 * stdio-common/printf_fp.c: Include <stdbool.h> and
1461 (___printf_fp): Determine rounding using get_rounding_mode and
1463 * stdio-common/tst-printf-round.c: New file.
1464 * stdio-common/Makefile (tests): Add tst-printf-round.
1465 (link-libm): New variable.
1466 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1468 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1471 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1472 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1474 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1477 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1479 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1480 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1481 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1484 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1487 * include/rounding-mode.h: New file.
1488 * sysdeps/generic/get-rounding-mode.h: Likewise.
1489 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1490 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1491 (MAX_VALUE): New macro.
1492 (MIN_VALUE): Likewise.
1493 (overflow_value): New function.
1494 (underflow_value): Likewise.
1495 (round_and_return): Use overflow_value and underflow_value to
1496 determine return values in overflow and underflow cases. Use
1497 round_away to determine rounding depending on rounding mode.
1498 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1499 determine return values in overflow and underflow cases.
1500 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1501 (struct test_results): New structure.
1502 (struct test): Use struct test_results to store expected results
1503 for all rounding modes.
1504 (TEST): Include expected results for all rounding modes.
1505 (test_in_one_mode): New function.
1506 (do_test): Use test_in_one_mode to compute and check results.
1507 Check results for all rounding modes.
1508 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1511 2012-12-09 Allan McRae <allan@archlinux.org>
1513 * sysdeps/i386/fpu/libm-test-ulps: Update
1515 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1517 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1518 (_G_int32_t): Likewise.
1519 (_G_uint16_t): Likewise.
1520 (_G_uint32_t): Likewise.
1521 (_G_HAVE_BOOL): Likewise.
1522 (_G_HAVE_ATEXIT): Likewise.
1523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1524 (_G_HAVE_IO_FILE_OPEN): Likewise.
1525 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1526 (_G_int32_t): Likewise.
1527 (_G_uint16_t): Likewise.
1528 (_G_uint32_t): Likewise.
1529 (_G_HAVE_BOOL): Likewise.
1530 (_G_HAVE_ATEXIT): Likewise.
1531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1532 (_G_HAVE_IO_FILE_OPEN): Likewise.
1533 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1534 (_G_int32_t): Likewise.
1535 (_G_uint16_t): Likewise.
1536 (_G_uint32_t): Likewise.
1537 (_G_HAVE_BOOL): Likewise.
1538 (_G_HAVE_ATEXIT): Likewise.
1539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1540 (_G_HAVE_IO_FILE_OPEN): Likewise.
1542 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1544 * csu/libc-tls.c: Update copyright years.
1546 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1548 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1549 [!_G_USING_THUNKS]: Remove conditional code.
1550 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1551 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1553 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1554 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1555 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1556 (_G_VTABLE_LABEL_PREFIX): Likewise.
1557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1558 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1559 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1560 (_G_VTABLE_LABEL_PREFIX): Likewise.
1561 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1562 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1564 (_G_VTABLE_LABEL_PREFIX): Likewise.
1565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1567 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1569 * libio/Makefile: Include ../Makeconfig before tests.
1570 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1571 only if $(build-shared) is yes.
1573 * iconv/gconv_db.c: Update copyright years.
1575 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1578 unwind info if defined PIC. Fix special cases description.
1579 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1581 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1583 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1585 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1587 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1589 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1592 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1593 (LDLIBS-tst-chk4): This.
1594 (LDFLAGS-tst-chk5): Renamed to ...
1595 (LDLIBS-tst-chk5): This.
1596 (LDFLAGS-tst-chk6): Renamed to ...
1597 (LDLIBS-tst-chk6): This.
1598 (LDFLAGS-tst-lfschk4): Renamed to ...
1599 (LDLIBS-tst-lfschk4): This.
1600 (LDFLAGS-tst-lfschk5): Renamed to ...
1601 (LDLIBS-tst-lfschk5): This.
1602 (LDFLAGS-tst-lfschk6): Renamed to ...
1603 (LDLIBS-tst-lfschk6): This.
1605 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1606 on $(common-objpfx)soversions.mk.
1608 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1611 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1614 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 * malloc/arena.c (arena_get_retry): New function that gets
1617 another arena for the caller to try its request on.
1618 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1619 current arena cannot fulfill the request.
1620 (__libc_memalign): Likewise.
1621 (__libc_memalign): Likewise.
1622 (__libc_pvalloc): Likewise.
1623 (__libc_calloc): Likewise.
1625 2012-09-05 John Tobey <john.tobey@gmail.com>
1628 * manual/arith.texi (Operations on Complex): Fix description
1631 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1634 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1638 * manual/memory.texi (Memory): Make order of menu items match
1641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1643 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1644 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1645 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1647 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1649 * csu/libc-tls.c (static_dtv): Renamed to ...
1650 (_dl_static_dtv): This. Make it global.
1651 (_dl_initial_dtv): Removed.
1652 (__libc_setup_tls): Updated.
1653 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1654 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1657 2012-09-06 Petr Machata <pmachata@redhat.com>
1659 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1660 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1661 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1662 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1664 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1667 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1668 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1674 * Makeconfig (link-static-before-libc): Replace $(+prector)
1676 (link-static-after-libc): Replace $(+postctor) with
1678 (link-bounded): Replace $(+prector)/$(+postctor) with
1679 $(+prectorT)/$(+postctorT).
1680 (+prectorT): New macro.
1681 (+postctorT): Likewise.
1683 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1685 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1686 (round_str): Handle values above the maximum for IBM long double
1688 * stdlib/tst-strtod-round.c (tests): Regenerated.
1690 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1692 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1694 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1695 zarch_nohighgprs around the zarch optimized routines.
1696 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1697 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1701 2012-09-05 David S. Miller <davem@davemloft.net>
1703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1705 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1706 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1707 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1713 * malloc/arena.c: Fold copyright years.
1714 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1720 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1722 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1726 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1727 change internal state upon failure.
1729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1731 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1732 * malloc/memusage.c (mmap): Likewise.
1733 (mmap64, mremap): Likewise. Adjust name in comment.
1735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1737 * libio/fileops.c: Fix typos in comments.
1738 * libio/oldfileops.c: Likewise.
1739 * libio/wfileops.c: Likewise.
1741 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1744 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1745 (tst-malloc-usable-ENV): Set environment for test case.
1746 * malloc/hooks.c (malloc_check_get_size): New function to get
1748 * malloc/malloc.c (musable): Use malloc_check_get_size.
1749 * malloc/tst-malloc-usable.c: New test case.
1751 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1753 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1755 2012-09-05 Allan McRae <allan@archlinux.org>
1758 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1759 determine header location.
1760 * configure: Regenerated.
1762 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1764 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1766 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1767 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1771 2012-09-04 David S. Miller <davem@davemloft.net>
1773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1777 2012-09-04 Florian Weimer <fweimer@redhat.com>
1779 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1782 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1784 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1787 * libio/iogetdelim.c: Include <limits.h>.
1788 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1789 + len + 1 would overflow.
1791 2012-09-03 Andreas Jaeger <aj@suse.de>
1793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1796 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1798 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1799 Add s_sinf-sse2, s_conf-sse2.
1801 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1802 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1803 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1804 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1806 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1807 for using routine as __sinf_ia32.
1808 Use macro for function declaration and weak_alias.
1809 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1810 for using routine as __cosf_ia32.
1811 Use macro for function declaration and weak_alias.
1813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1814 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1816 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1817 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1820 * math/libm-test.inc (cos_test): Add more test cases.
1821 (sin_test): Likewise.
1822 (sincos_test): Likewise.
1824 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1827 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1831 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1834 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1835 first element of the GOT.
1836 (elf_machine_load_address): Return the difference between
1837 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1839 2012-09-01 Allan McRae <allan@archlinux.org>
1842 * configure.in (AWK): Require gawk version 3.0 or later.
1843 * configure: Regenerated.
1845 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1847 * sysdeps/unix/sysv/linux/kernel-features.h
1848 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1849 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1850 [__NR_clock_getres]: Make code unconditional.
1851 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1852 (clock_getcpuclockid): Remove code left unreachable by removal of
1854 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1856 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1858 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1859 Make code unconditional.
1860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1862 * sysdeps/unix/sysv/linux/clock_settime.c
1863 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1865 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1868 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1871 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1872 scripts/test-installation.pl.
1874 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1875 and $ld_so_version if it is set.
1877 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1881 failure if reading from procfs failed.
1882 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1884 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/unix/sysv/linux/kernel-features.h
1887 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1888 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1889 Remove conditional code.
1890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1891 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1892 Remove conditional code.
1893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1894 * sysdeps/unix/sysv/linux/i386/fxstat.c
1895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1897 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1900 * sysdeps/unix/sysv/linux/i386/lxstat.c
1901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1903 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1904 Remove conditional code.
1905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1906 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1907 Remove conditional code.
1908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1910 <kernel-features.h>.
1911 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1913 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1914 Remove conditional code.
1915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1916 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1919 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1922 * NEWS: Add fixed bug number.
1924 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1927 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1928 underflowing exponent in case of negative sign.
1929 * stdlib/tst-strtod-round-data: Add more tests.
1930 * stdlib/tst-strtod-round.c (tests): Regenerated.
1933 * stdlib/strtod_l.c (NDIG): Remove.
1934 (HEXNDIG): Likewise.
1935 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1936 smallest representable value.
1937 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1938 lie within an exact representation of 1/2 ulp of the result.
1939 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1941 (TENS_P9_IDX): Define unconditionally.
1942 (TENS_P9_SIZE): Likewise.
1943 (TENS_P10_IDX): Likewise.
1944 (TENS_P10_SIZE): Likewise.
1945 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1946 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1947 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1948 entries for 10^2^13 and 10^2^14.
1949 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1950 (TENS_P13_IDX): Define.
1951 (TENS_P13_SIZE): Likewise.
1952 (TENS_P14_IDX): Likewise.
1953 (TENS_P14_SIZE): Likewise.
1954 (_fpioconst_pow10): Change array size to
1955 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1957 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1958 1024]: Add entries for 10^2^13 and 10^2^14.
1959 [LAST_POW10 > _LAST_POW10]: Remove #error.
1960 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1961 (_fpioconst_pow10): Change array size to
1962 FPIOCONST_POW10_ARRAY_SIZE.
1963 * stdlib/gen-fpioconst.c: New file.
1964 * stdlib/gen-tst-strtod-round.c: Likewise.
1965 * stdlib/tst-strtod-round-data: Likewise.
1966 * stdlib/tst-strtod-round.c: Likewise.
1967 * stdlib/Makefile (tests): Add tst-strtod-round.
1970 * stdlib/strtod_l.c: Include <stdint.h>.
1971 (NDEBUG): Do not define.
1972 (round_and_return): Change EXPONENT parameter to type intmax_t.
1973 Rearrange calculations to avoid internal overflow possibilities.
1974 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1975 Rearrange calculations to avoid internal overflow possibilities.
1976 Assert that number fits inside MPNSIZE limbs.
1977 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1978 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1979 calculations and add assertions to avoid internal overflow
1980 possibilities. Add casts to avoid signed/unsigned operations.
1981 * stdlib/tst-strtod-overflow.c: New file.
1982 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1984 2012-08-25 Marek Polacek <polacek@redhat.com>
1986 * time/time.h: Fix some typos in comments.
1988 2012-08-23 Roland McGrath <roland@hack.frob.com>
1990 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1991 * posix/tst-rfc3484-2.c: Likewise.
1992 * posix/tst-rfc3484-3.c: Likewise.
1994 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1996 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1997 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1999 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2001 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2002 #include of fxstatat64.c.
2004 2012-08-22 Roland McGrath <roland@hack.frob.com>
2006 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2007 * shadow/getspent_r.c: Likewise.
2008 * shadow/getspnam.c: Likewise.
2009 * shadow/getspnam_r.c: Likewise.
2010 * gshadow/getsgent.c: Likewise.
2011 * gshadow/getsgent_r.c: Likewise.
2012 * gshadow/getsgnam.c: Likewise.
2013 * gshadow/getsgnam_r.c: Likewise.
2014 * inet/getnetbyad.c: Likewise.
2015 * inet/getnetbyad_r.c: Likewise.
2016 * inet/getnetbynm.c: Likewise.
2017 * inet/getnetbynm_r.c: Likewise.
2018 * inet/getnetent.c: Likewise.
2019 * inet/getnetent_r.c: Likewise.
2020 * inet/getproto.c: Likewise.
2021 * inet/getproto_r.c: Likewise.
2022 * inet/getprtent.c: Likewise.
2023 * inet/getprtent_r.c: Likewise.
2024 * inet/getprtname.c: Likewise.
2025 * inet/getprtname_r.c: Likewise.
2026 * inet/getrpcbyname.c: Likewise.
2027 * inet/getrpcbyname_r.c: Likewise.
2028 * inet/getrpcbynumber.c: Likewise.
2029 * inet/getrpcbynumber_r.c: Likewise.
2030 * inet/getrpcent.c: Likewise.
2031 * inet/getrpcent_r.c: Likewise.
2032 * inet/getaliasent.c: Likewise.
2033 * inet/getaliasent_r.c: Likewise.
2034 * inet/getaliasname.c: Likewise.
2035 * inet/getaliasname_r.c: Likewise.
2036 * nscd/getgrgid_r.c: Likewise.
2037 * nscd/getgrnam_r.c: Likewise.
2038 * nscd/gethstbyad_r.c: Likewise.
2039 * nscd/gethstbynm3_r.c: Likewise.
2040 * nscd/getpwnam_r.c: Likewise.
2041 * nscd/getpwuid_r.c: Likewise.
2042 * nscd/getsrvbynm_r.c: Likewise.
2043 * nscd/getsrvbypt_r.c: Likewise.
2044 * nscd/gai.c: Likewise.
2046 * configure.in (build_nscd): New substituted variable, set
2047 by --disable-build-nscd and defaults to $use_nscd.
2048 * configure: Regenerated.
2049 * config.make.in (build-nscd): New substituted variable.
2050 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2051 Change conditional to require [$(build-nscd) = yes] as well.
2052 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2055 * configure.in (use_nscd): New substituted variable, set by
2056 --disable-nscd. If enabled, define USE_NSCD.
2057 * configure: Regenerated.
2058 * config.h.in: Add USE_NSCD.
2059 * config.make.in (use-nscd): New substituted variable.
2060 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2061 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2062 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2063 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2064 (CFLAGS-getgrnam_r.c): Likewise.
2065 (CFLAGS-initgroups.c): Likewise.
2066 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2067 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2069 * inet/getnetgrent_r.c
2070 (nscd_setnetgrent): New function, broken out of ...
2071 (setnetgrent): ... here. Call it.
2072 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2073 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2074 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2075 * nscd/Makefile (routines, aux): Move definitions after include of
2076 Makeconfig. Conditionalize on [$(use-nscd) != no].
2077 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2078 Conditionalize on [USE_NSCD].
2079 (is_nscd, nscd_init_cb): Likewise.
2080 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2081 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2082 * nss/nss_db/db-init.c: Likewise.
2083 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2085 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2086 (make_request): Use it.
2087 (cache_valid_p): New function.
2088 (__check_pf): Use it.
2089 * NEWS: Add item for --disable-nscd.
2091 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2093 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2094 to support sed >= 4.2.1-20-ga9bf076.
2095 * configure: Regenerated.
2097 2012-08-22 Roland McGrath <roland@hack.frob.com>
2099 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2100 Conditionalize whole body on [IREL].
2102 2012-08-22 Jeff Law <law@redhat.com>
2105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2106 if the family is PF_UNSPEC.
2108 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2110 * Makerules (lib-version): Rename from V.
2111 (install-lib-nosubdir): Change V to lib-version.
2113 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2116 * powerpc32/power6/wcschr.c: New file.
2117 * powerpc32/power6/wcscpy.c: New file.
2118 * powerpc32/power6/wcsrchr.c: New file.
2119 * powerpc64/power6/wcschr.c: New file.
2120 * powerpc64/power6/wcscpy.c: New file.
2121 * powerpc64/power6/wcsrchr.c: New file.
2123 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2125 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2126 (two_way_short_needle): Use it.
2127 * string/strstr.c (AVAILABLE1_USES_J): Define.
2128 * string/strcasestr.c: Likewise.
2130 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2132 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2135 * NEWS: Add an entry.
2136 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2137 define their defaults.
2138 (two_way_short_needle): Detect end-of-string on-the-fly.
2139 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2140 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2141 * string/bug-strcasestr1.c: New test.
2142 * string/Makefile: Run it.
2144 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2147 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2148 the first character.
2150 2012-08-21 Roland McGrath <roland@hack.frob.com>
2152 * csu/elf-init.c (__libc_csu_irel): Function removed.
2153 * csu/libc-start.c (apply_irel): New function.
2154 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2156 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2158 * sysdeps/unix/sysv/linux/kernel-features.h
2159 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2160 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2161 <kernel-features.h>.
2162 [__NR_fadvise64_64]: Make code unconditional.
2163 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2164 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2165 !__NR_fadvise64_64)]: Likewise.
2166 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2167 !__NR_fadvise64_64))]: Likewise.
2168 [__NR_fadvise64]: Make code unconditional.
2169 [!__NR_fadvise64]: Remove conditional code.
2170 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2171 <kernel-features.h>.
2172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2177 not include <kernel-features.h>.
2178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2182 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2183 include <kernel-features.h>.
2184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2189 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2192 slight instruction rearrangements per scrollpipe analysis.
2193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2195 2012-08-20 Roland McGrath <roland@hack.frob.com>
2197 * manual/syslog.texi (syslog; vsyslog, closelog):
2198 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2199 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2201 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2202 DSOCAPS to match condition on defining it.
2204 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2206 * sysdeps/unix/sysv/linux/kernel-features.h
2207 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2218 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2219 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2221 * sysdeps/unix/sysv/linux/kernel-features.h
2222 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2223 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2225 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2227 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2228 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2229 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2230 Make code unconditional.
2231 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2232 (__mmap64) [!__NR_mmap2]: Likewise.
2233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2237 [__NR_mmap2]: Make code unconditional.
2238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2239 (__mmap64) [!__NR_mmap2]: Likewise.
2241 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2243 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2245 2012-08-18 Andreas Jaeger <aj@suse.de>
2247 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2249 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2251 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2252 * include/unistd.h (__have_sock_cloexec): Likewise.
2253 (__have_pipe2): Likewise.
2254 (__have_dup3): Likewise.
2256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2259 * include/unistd.h (__have_pipe2): Change define into an extern int.
2260 (__have_dup3): Likewise.
2261 * socket/have_sock_cloexec.c: Include fcntl.h.
2262 (__have_pipe2): New variable.
2263 (__have_dup3): Likewise.
2265 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2267 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2269 2012-08-17 Marek Polacek <polacek@redhat.com>
2271 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2272 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2274 2012-08-17 Roland McGrath <roland@hack.frob.com>
2276 * configure.in: Add AC_SUBST for sysheaders.
2277 * configure: Regenerated.
2278 * config.make.in (sysheaders): New substituted variable.
2280 * sysdeps/unix/mkfifo.c: Moved ...
2281 * sysdeps/posix/mkfifo.c: ... here.
2282 * sysdeps/unix/mkfifoat.c: Moved ...
2283 * sysdeps/posix/mkfifoat.c: ... here.
2285 * sysdeps/unix/utime.c: Moved ...
2286 * sysdeps/posix/utime.c: ... here.
2288 * sysdeps/unix/time.c: Moved ...
2289 * sysdeps/posix/time.c: ... here.
2290 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2291 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2293 * sysdeps/unix/nice.c: Moved ...
2294 * sysdeps/posix/nice.c: ... here.
2296 * sysdeps/unix/alarm.c: Moved ...
2297 * sysdeps/posix/alarm.c: ... here.
2299 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2301 2012-08-17 Jeff Law <law@redhat.com>
2303 * intl/Makefile (codeset_mo): New variable.
2304 ($(codeset_mo)): New target.
2305 (tst-codeset.out): Depend on that. Remove explicit rule.
2306 (tst-gettext3.out, tst-gettext5.out): Likewise.
2307 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2308 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2309 * intl/tst-codeset.sh: Remove.
2310 * intl/tst-gettext3.sh: Likewise.
2311 * intl/tst-gettext5.sh: Likewise.
2313 2012-08-17 Roland McGrath <roland@hack.frob.com>
2315 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2316 * sysdeps/unix/syscalls.list: ... here.
2318 * sysdeps/posix/getaddrinfo.c
2319 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2320 (gaiconf_init, gaiconf_reload): Use them.
2322 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2323 Define using time_t rather than struct timespec.
2325 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2326 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2328 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2330 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2331 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2334 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2335 __libc_cleanup_push argument.
2337 * bits/param.h: New file.
2338 * misc/sys/param.h: New file.
2339 * include/sys/param.h: New file.
2340 * misc/Makefile (headers): Add bits/param.h.
2341 * sysdeps/generic/sys/param.h: File removed.
2342 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2343 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2344 * sysdeps/mach/hurd/bits/param.h: New file.
2345 * sysdeps/mach/hurd/sys/param.h: New file.
2347 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2350 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2352 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2353 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2356 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2357 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2358 rather than -D_IO_MTSAFE_IO conditionally.
2359 * stdio-common/Makefile (CPPFLAGS): Likewise.
2360 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2361 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2362 Use $(libio-mtsafe).
2363 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2365 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2366 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2367 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2368 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2369 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2370 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2371 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2372 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2373 (CFLAGS-fread_u_chk.c): Likewise.
2374 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2375 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2376 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2377 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2378 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2379 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2380 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2381 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2382 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2384 * libio/Makefile: Test [$(libc-reentrant) = yes]
2385 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2388 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2389 * sysdeps/pthread/configure: File removed.
2390 * sysdeps/pthread/Makeconfig: New file.
2391 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2392 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2394 2012-08-16 Gary Benson <gbenson@redhat.com>
2396 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2397 unmapping the first object in a namespace.
2399 2012-08-16 Roland McGrath <roland@hack.frob.com>
2401 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2402 (__internal_setnetgrent): ... this. Add internal_function to
2403 definition. Add libc_hidden_def.
2404 (setnetgrent): Update caller.
2405 (internal_endnetgrent): Renamed to ...
2406 (__internal_endnetgrent): ... this. Add internal_function to
2407 definition. Add libc_hidden_def.
2408 (endnetgrent): Update caller.
2409 (internal_getnetgrent_r): Renamed to ...
2410 (__internal_getnetgrent_r): ... this. Add internal_function to
2411 definition. Add libc_hidden_def.
2412 (__getnetgrent_r): Update caller.
2413 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2415 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2417 * stdlib/longlong.h: Update from GCC.
2419 2012-08-16 Roland McGrath <roland@hack.frob.com>
2421 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2422 on _QL, which is set by umul_ppmm but never used.
2423 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2424 variables, which are set by GMP macros but never used.
2425 * stdio-common/_itowa.c (_itowa): Likewise.
2426 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2427 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2429 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2431 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2432 struct La_sh_regs is not constant.
2433 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2434 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2435 and struct La_sparc64_regs are not constant.
2437 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2439 * sysdeps/unix/sysv/linux/kernel-features.h
2440 (__ASSUME_POSIX_TIMERS): Remove.
2441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2443 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2444 Make code unconditional.
2445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2446 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2447 Make code unconditional.
2448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2449 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2450 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2452 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2453 Make code unconditional.
2454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2455 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2456 (__libc_missing_posix_timers): Remove.
2458 2012-08-15 Roland McGrath <roland@hack.frob.com>
2460 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2461 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2463 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2465 * elf/dl-sym.c: Include <stdlib.h>.
2467 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2468 constants, which avoids warnings in 32-bit builds.
2470 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2471 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2473 * misc/lseek.c: File moved to ...
2474 * io/lseek.c: ... here.
2476 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2478 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2479 shifting LEN more than 31 bits at once.
2481 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2484 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2485 segmentation fault for a case of two empty input strings.
2486 * string/test-strncasecmp.c (check1): Renamed to...
2488 (bz14195): Add new testcase for two empty input strings and N > 0.
2489 (test_main): Call new testcase, adapt for renamed function.
2491 2012-08-15 Andreas Jaeger <aj@suse.de>
2494 * crypt/md5test2.c: New test, based on test supplied by Serge
2495 Belyshev <belyshev@depni.sinp.msu.ru>.
2496 * crypt/Makefile (xtests): Add md5test-giant..
2497 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2499 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2502 * crypt/md5.c (md5_process_block): Don't assume the buffer
2503 length is less than 2**32.
2504 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2505 length is less than 2**64.
2507 2012-08-15 Roland McGrath <roland@hack.frob.com>
2509 * string/str-two-way.h: Include <sys/param.h>.
2510 (MAX): Macro removed.
2512 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2513 Move #define and #undef of memmove to just before and after
2514 including <string.h>.
2516 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2517 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2518 and after including <string.h>. Move declarations of
2519 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2520 to before #include "string/memmove.c".
2522 * include/dirent.h: Declare __getdirentries.
2524 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2525 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2527 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2529 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2530 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2531 * sysdeps/i386/configure: Regenerated.
2532 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2533 STABS_CURRENT_FILE, and STABS_FUN.
2534 (END): Remove call to STABS_FUN_END.
2535 (STABS_CURRENT_FILE1): Delete.
2536 (STABS_CURRENT_FILE): Likewise.
2537 (STABS_FUN): Likewise.
2538 (STABS_FUN_END): Likewise.
2539 (STABS_FUN2): Likewise.
2540 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2541 * sysdeps/x86_64/configure: Regenerated.
2543 2012-08-14 Roland McGrath <roland@hack.frob.com>
2545 * elf/dl-open.c: Include <atomic.h>.
2546 * elf/dl-lookup.c: Likewise.
2548 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2550 * sysdeps/unix/sysv/linux/kernel-features.h
2551 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2552 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2554 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2556 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2557 condition on __ASSUME_CLONE_THREAD_FLAGS.
2559 2012-08-14 Andreas Jaeger <aj@suse.de>
2561 * sysdeps/i386/fpu/libm-test-ulps: Update.
2563 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2565 * include/atomic.h (atomic_exchange_and_add): Split into ...
2566 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2569 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2573 2012-08-13 Jeff Law <law@redhat.com>
2575 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2576 null byte in the output string.
2578 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/unix/sysv/linux/kernel-features.h
2581 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2582 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2583 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2585 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2586 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2587 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2589 2012-08-09 Jeff Law <law@redhat.com>
2592 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2593 When avoid_arena is set, don't retry in the that arena. Pick the
2594 next one, whatever it might be.
2595 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2596 (arena_lock): Pass in new parameter to arena_get2.
2597 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2599 (__libc_malloc): Unify retrying after main arena failure with
2600 __libc_memalign version.
2601 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2603 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2606 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2607 to __redirect_strstr.
2608 (__strstr_sse42): Use typeof __redirect_strstr.
2609 (__strstr_ia32): Likewise.
2610 (__libc_strstr): New prototype.
2611 (strstr): Renamed to ...
2612 (__libc_strstr): This.
2613 (strstr): New strong alias of __libc_strstr.
2614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2618 (__libc_time): New prototype.
2619 (time_ifunc): Replace time with __libc_time.
2620 (time): New strong alias and hidden definition of __libc_time.
2621 (__GI_time): Remove strong alias.
2622 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2624 (memmove): Redefined to __redirect_memmove.
2625 (__memmove_sse2): Use typeof __redirect_memmove.
2626 (__memmove_ssse3): Likewise.
2627 (__memmove_ssse3_back): Likewise.
2628 (__libc_memmove): New prototype.
2629 (memmove): Renamed to ...
2630 (__libc_memmove): This.
2631 (memmove): New strong alias of __libc_memmove.
2633 2012-08-08 Mark Salter <msalter@redhat.com>
2636 (R_MN10300_TLS_GD): Define.
2637 (R_MN10300_TLS_LD): Likewise.
2638 (R_MN10300_TLS_LDO): Likewise.
2639 (R_MN10300_TLS_GOTIE): Likewise.
2640 (R_MN10300_TLS_IE): Likewise.
2641 (R_MN10300_TLS_LE): Likewise.
2642 (R_MN10300_TLS_DTPMOD): Likewise.
2643 (R_MN10300_TLS_DTPOFF): Likewise.
2644 (R_MN10300_TLS_TPOFF): Likewise.
2645 (R_MN10300_SYM_DIFF): Likewise.
2646 (R_MN10300_ALIGN): Likewise.
2647 (R_MN10300_NUM): Update.
2649 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2654 2012-08-08 Roland McGrath <roland@hack.frob.com>
2656 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2658 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2659 sysdeps/unix -> sysdeps/posix move.
2660 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2662 2012-08-07 Allan McRae <allan@archlinux.org>
2665 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2666 (SUNOS_CPP): Likewise.
2667 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2669 (open_input): Call CPP using execvp.
2671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2673 * sysdeps/unix/sysv/linux/kernel-features.h
2674 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2675 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2676 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2677 (__ASSUME_WAITID_SYSCALL): Likewise.
2678 * sysdeps/unix/sysv/linux/dl-execstack.c
2679 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2681 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2684 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2685 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2687 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2689 [__ASSUME_WAITID_SYSCALL]: Likewise.
2690 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2692 2012-08-07 Roland McGrath <roland@hack.frob.com>
2694 * sysdeps/unix/closedir.c: Renamed to ...
2695 * sysdeps/posix/closedir.c: ... here.
2696 * sysdeps/unix/dirfd.c: Renamed to ...
2697 * sysdeps/posix/dirfd.c: ... here.
2698 * sysdeps/unix/dirstream.h: Renamed to ...
2699 * sysdeps/posix/dirstream.h: ... here.
2700 * sysdeps/unix/fdopendir.c: Renamed to ...
2701 * sysdeps/posix/fdopendir.c: ... here.
2702 * sysdeps/unix/opendir.c: Renamed to ...
2703 * sysdeps/posix/opendir.c: ... here.
2704 * sysdeps/unix/readdir.c: Renamed to ...
2705 * sysdeps/posix/readdir.c: ... here.
2706 * sysdeps/unix/readdir_r.c: Renamed to ...
2707 * sysdeps/posix/readdir_r.c: ... here.
2708 * sysdeps/unix/rewinddir.c: Renamed to ...
2709 * sysdeps/posix/rewinddir.c: ... here.
2710 * sysdeps/unix/seekdir.c: Renamed to ...
2711 * sysdeps/posix/seekdir.c: ... here.
2712 * sysdeps/unix/telldir.c: Renamed to ...
2713 * sysdeps/posix/telldir.c: ... here.
2714 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2715 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2716 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2717 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2720 * bits/fcntl.h: ... here.
2722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2724 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2725 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2726 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2727 (struct flock): Move l_start, l_len to the beginning.
2728 Use __pid_t for l_pid.
2729 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2730 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2731 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2732 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2733 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2734 [__USE_LARGEFILE64] (struct flock64): New type.
2735 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2738 * bits/dirent.h: ... here.
2740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2741 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2743 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2746 Change from 2.6.0 to 2.6.16.
2747 * sysdeps/unix/sysv/linux/configure: Regenerated.
2748 * sysdeps/unix/sysv/linux/kernel-features.h
2749 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2750 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2752 (__ASSUME_UTIMES): Likewise.
2753 (__ASSUME_CLONE_STOPPED): Remove.
2754 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2755 architectures, not kernel version.
2756 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2759 (__ASSUME_WAITID_SYSCALL): Likewise.
2760 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2761 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2762 * README: State 2.6.16 as minimum Linux kernel version. Do not
2763 refer to older versions.
2765 2012-08-06 Roland McGrath <roland@hack.frob.com>
2767 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2768 Define alphasort64 as an alias.
2769 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2770 Define versionsort64 as an alias.
2771 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2772 Define scandir64 as an alias.
2773 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2774 Define scandirat64 as an alias.
2775 * dirent/alphasort64.c (alphasort64):
2776 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2777 * dirent/versionsort64.c: Likewise.
2778 * dirent/scandir64.c: Likewise.
2779 * dirent/scandirat64.c: Likewise.
2780 * sysdeps/wordsize-64/alphasort.c: File removed.
2781 * sysdeps/wordsize-64/alphasort64.c: File removed.
2782 * sysdeps/wordsize-64/scandir.c: File removed.
2783 * sysdeps/wordsize-64/scandir64.c: File removed.
2784 * sysdeps/wordsize-64/scandirat.c: File removed.
2785 * sysdeps/wordsize-64/scandirat64.c: File removed.
2786 * sysdeps/wordsize-64/versionsort.c: File removed.
2787 * sysdeps/wordsize-64/versionsort64.c: File removed.
2788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2797 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2799 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2801 [defined __arch64__ || defined __sparcv9]
2802 (__INO_T_MATCHES_INO64_T): New macro.
2803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2804 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2805 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2806 * sysdeps/unix/sysv/linux/bits/dirent.h
2807 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2808 (_DIRENT_MATCHES_DIRENT64): New macro.
2810 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2811 Define lockf64 as an alias.
2812 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2813 Define fseeko64 as an alias.
2814 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2815 Define ftello64 as an alias.
2816 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2817 Define _IO_fgetpos64 and fgetpos64 as aliases.
2818 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2819 Define _IO_fsetpos64 and fsetpos64 as aliases.
2820 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2821 Conditionalize body on this.
2822 * libio/fseeko64.c: Likewise.
2823 * libio/ftello64.c: Likewise.
2824 * libio/iofgetpos64.c: Likewise.
2825 * libio/iofsetpos64.c: Likewise.
2826 * sysdeps/wordsize-64/lockf.c: File removed.
2827 * sysdeps/wordsize-64/lockf64.c: File removed.
2828 * sysdeps/wordsize-64/fseeko.c: File removed.
2829 * sysdeps/wordsize-64/fseeko64.c: File removed.
2830 * sysdeps/wordsize-64/ftello.c: File removed.
2831 * sysdeps/wordsize-64/ftello64.c: File removed.
2832 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2833 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2834 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2835 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2847 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2849 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2851 [defined __arch64__ || defined __sparcv9]
2852 (__OFF_T_MATCHES_OFF64_T): New macro.
2853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2854 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2856 (__OFF_T_MATCHES_OFF64_T): New macro.
2858 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2860 * stdlib/secure-getenv.c (__secure_getenv): Replace
2861 GLIBC_2_16 with GLIBC_2_17.
2863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2868 2012-08-03 David S. Miller <davem@davemloft.net>
2870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2872 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2876 (__ASSUME_CORRECT_SI_PID): Likewise.
2877 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2878 (__ASSUME_TMPFS_NAME): Likewise.
2879 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2880 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2881 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2882 (HAVE_AUX_SECURE): Make definition unconditional.
2883 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2884 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2886 2012-08-03 Roland McGrath <roland@hack.frob.com>
2888 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2889 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2890 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2891 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2892 __eloop_threshold instead of SYMLOOP_MAX.
2894 * sysdeps/generic/eloop-threshold.h: New file.
2895 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2897 * elf/chroot_canon.c (chroot_canon): Likewise.
2899 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2903 Change to 2.6.0 everywhere.
2904 * sysdeps/unix/sysv/linux/configure: Regenerated.
2905 * sysdeps/unix/sysv/linux/kernel-features.h
2906 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2907 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2909 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2910 (__ASSUME_FUTEX_REQUEUE): Remove.
2911 (__ASSUME_STATFS64): Define unconditionally.
2912 (__ASSUME_AT_SECURE): Likewise.
2913 (__ASSUME_CORRECT_SI_PID): Likewise.
2914 (__ASSUME_TGKILL): Define without depending on kernel version for
2916 (__ASSUME_UTIMES): Likewise.
2917 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2919 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2920 (__ASSUME_TMPFS_NAME): Likewise.
2921 * README: Update reference to Linux kernel versions.
2923 2012-08-02 Marek Polacek <polacek@redhat.com>
2926 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2927 libc_cv_asm_type_prefix with %.
2928 * configure: Regenerated.
2929 * include/libc-symbols.h: Remove comment about
2930 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2931 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2932 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2933 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2934 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2935 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2936 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2937 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2938 * elf/tst-unique2mod1.c: Likewise.
2939 * elf/tst-unique1mod2.c: Likewise.
2940 * elf/tst-unique1mod1.c: Likewise.
2941 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2942 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2943 Replace ASM_TYPE_DIRECTIVE with .type.
2944 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2945 * sysdeps/i386/sysdep.h: Likewise.
2946 * sysdeps/x86_64/sysdep.h: Likewise.
2947 * sysdeps/sh/sysdep.h: Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2949 Do not define ASM_TYPE_DIRECTIVE.
2950 * sysdeps/powerpc/sysdep.h: Likewise.
2951 * sysdeps/powerpc/powerpc32/sysdep.h:
2952 Replace ASM_TYPE_DIRECTIVE with .type.
2953 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2955 * sysdeps/i386/fpu/e_powf.S: Likewise.
2956 * sysdeps/i386/fpu/e_expl.S: Likewise.
2957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2959 * sysdeps/i386/fpu/e_pow.S: Likewise.
2960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2964 * sysdeps/i386/fpu/e_log2.S: Likewise.
2965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2967 * sysdeps/i386/fpu/e_powl.S: Likewise.
2968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2969 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2970 * sysdeps/i386/fpu/e_logl.S: Likewise.
2971 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2972 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2973 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2976 * sysdeps/i386/fpu/e_log.S: Likewise.
2977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2978 * sysdeps/i386/fpu/e_logf.S: Likewise.
2979 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2981 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2982 * sysdeps/i386/fpu/e_log10.S: Likewise.
2983 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2984 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2985 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2986 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2987 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2988 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2989 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2990 * sysdeps/i386/i686/strtok.S: Likewise.
2991 * sysdeps/i386/i386-mcount.S: Likewise.
2992 * sysdeps/i386/strtok.S: Likewise.
2993 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2997 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3002 * sysdeps/x86_64/_mcount.S: Likewise.
3003 * sysdeps/x86_64/strtok.S: Likewise.
3004 * sysdeps/sh/_mcount.S: Likewise.
3006 2012-08-01 Roland McGrath <roland@hack.frob.com>
3008 * libio/iofopen.c: Include <fcntl.h>.
3009 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3010 (_IO_fopen64, fopen64): Define as aliases.
3011 * libio/iofopen64.c: Include <fcntl.h>.
3012 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3013 Conditionalize body on this.
3014 * sysdeps/wordsize-64/iofopen.c: File removed.
3015 * sysdeps/wordsize-64/iofopen64.c: File removed.
3017 2012-08-01 Marek Polacek <polacek@redhat.com>
3019 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3020 Use dlfcn directly instead of a variable.
3021 (binfmt-subdir): Do not define.
3024 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3027 Remove all definitions.
3028 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3029 <kernel-features.h>.
3030 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3031 (miss_F_GETOWN_EX): Remove all definitions.
3032 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3034 [!__ASSUME_FCNTL64]: Remove conditional code.
3035 [__ASSUME_FCNTL64]: Make code unconditional.
3036 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3037 <kernel-features.h>.
3038 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3039 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3040 (lockf64) [__NR_fcntl64]: Make code unconditional.
3041 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3043 * sysdeps/unix/sysv/linux/kernel-features.h
3044 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3045 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3046 Make code unconditional.
3047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3050 [__NR_vfork]: Make code unconditional.
3051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3054 [__NR_vfork]: Make code unconditional.
3055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3058 2012-08-01 Roland McGrath <roland@hack.frob.com>
3060 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3061 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3063 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3064 Define mkstemp64 as an alias.
3065 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3066 Define mkstemps64 as an alias.
3067 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3068 Define mkostemp64 as an alias.
3069 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3070 Define mkostemps64 as an alias.
3071 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3072 Conditionalize body on this.
3073 * misc/mkostemp64.c: Likewise.
3074 * misc/mkostemps64.c: Likewise.
3075 * misc/mkstemps64.c: Likewise.
3076 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3077 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3078 * sysdeps/wordsize-64/mkostemp.c: File removed.
3079 * sysdeps/wordsize-64/mkstemp.c: File removed.
3080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3086 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3087 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3088 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3089 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3091 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3092 compat_symbol macros from <shlib-compat.h> rather than the underlying
3093 default_symbol_version and symbol_version macros, so that DEFAULT
3094 lines in shlib-versions are respected.
3095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3097 2012-08-01 Florian Weimer <fweimer@redhat.com>
3099 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3100 Declare with warn_unused_result.
3101 (setgid, setregid, setegid, setresgid): Likewise.
3102 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3104 * WUR-REPORT: Remove set*id functions.
3106 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3108 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3110 2012-07-31 Roland McGrath <roland@hack.frob.com>
3112 * include/sys/socket.h (__libc_accept, __libc_accept4):
3113 Add attribute_hidden.
3114 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3116 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3118 * inet/getnetgrent_r.c (setup): Likewise.
3120 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3122 2012-07-31 David S. Miller <davem@davemloft.net>
3124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3126 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3129 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3130 value between 1.0 and 2.0 and smaller part has absolute value less
3132 * math/s_clog10.c (__clog10): Likewise.
3133 * math/s_clog10f.c (__clog10f): Likewise.
3134 * math/s_clog10l.c (__clog10l): Likewise.
3135 * math/s_clogf.c (__clogf): Likewise.
3136 * math/s_clogl.c (__clogl): Likewise.
3137 * math/libm-test.inc (clog_test): Add more tests.
3138 (clog10_test): Likewise.
3139 * sysdeps/i386/fpu/libm-test-ulps: Update.
3140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3142 2012-07-31 Florian Weimer <fweimer@redhat.com>
3144 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3145 Exit with zero in case no suitable GID is found, and write a
3146 message to standard error.
3148 2012-07-30 Roland McGrath <roland@hack.frob.com>
3150 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3152 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3153 (MAXPATHLEN): Removed.
3154 (NOGROUP, NODEV): New macros.
3155 (setbit, clrbit, isset, isclr): New macros.
3156 (howmany, roundup, powerof2): New macros.
3157 (DEV_BSIZE): New macro.
3159 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3160 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3162 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3163 definition on [!__NO_LONG_DOUBLE_MATH].
3165 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3166 PTR_MANGLE and PTR_DEMANGLE.
3168 * socket/accept4.c (accept4): Rename to __libc_accept4.
3169 Define accept4 as a weak alias.
3171 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3172 on [_DIRENT_HAVE_D_TYPE].
3173 * io/ftw.c (ftw_dir): Likewise.
3175 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3177 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3179 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3180 Use the BSD numbers rather than the arbitrary ones we had.
3181 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3182 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3183 (SIGXCPU, SIGXFSZ): New macros.
3186 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3187 initializer on [_LIBC_REENTRANT].
3189 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3190 definitions inside [_POSIX_MAPPED_FILES].
3192 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3194 * dirent/opendir.c: Include <fcntl.h>.
3196 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3197 (__libc_getspecific): Likewise.
3198 (__libc_key_create): Likewise.
3200 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3201 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3202 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3203 (tmpfile64): Define as alias.
3204 * sysdeps/wordsize-64/tmpfile.c: File removed.
3205 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3209 * stdio-common/vfscanf.c: Include <stdbool.h>.
3210 * nss/makedb.c: Likewise.
3211 * stdio-common/_i18n_number.h: Likewise.
3212 * argp/argp-help.c: Likewise.
3213 * posix/wordexp.c: Likewise.
3214 * sysdeps/posix/spawni.c: Likewise.
3215 * nss/nss_files/files-initgroups.c: Likewise.
3216 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3217 * nss/nss_files/files-initgroups.c: Likewise.
3218 * nss/nss_db/db-netgrp.c: Likewise.
3219 * nss/nss_db/db-initgroups.c: Likewise.
3220 * io/fchmodat.c: Include <sys/stat.h>.
3222 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3223 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3225 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3228 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3229 Add multiple inclusion protection.
3231 2012-07-27 David S. Miller <davem@davemloft.net>
3233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3235 2012-07-27 Gary Benson <gbenson@redhat.com>
3238 * elf/rtld.c: Include <stap-probe.h>.
3239 (dl_main): Added static probes "init_start" and "init_complete".
3240 * elf/dl-load.c: Include <stap-probe.h>.
3241 (lose): Take new parameter "nsid".
3242 Added static probe "map_failed".
3243 (_dl_map_object_from_fd): Pass namespace id to lose.
3244 Added static probe "map_start".
3245 (open_verify): Pass namespace id to lose.
3246 * elf/dl-open.c: Include <stap-probe.h>.
3247 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3248 and "reloc_complete".
3249 * elf/dl-close.c: Include <stap-probe.h>.
3250 (_dl_close_worker): Added static probes "unmap_start" and
3252 * elf/rtld-debugger-interface.txt: New file documenting the above.
3254 2012-07-26 Roland McGrath <roland@hack.frob.com>
3256 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3257 rather than a string variable.
3258 * sunrpc/rpc_main.c (h_output): Likewise.
3259 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3261 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3263 * inet/check_native.c: New file.
3265 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3268 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3269 if larger part has absolute value 1.0.
3270 * math/s_clog10.c (__clog10): Likewise.
3271 * math/s_clog10f.c (__clog10f): Likewise.
3272 * math/s_clog10l.c (__clog10l): Likewise.
3273 * math/s_clogf.c (__clogf): Likewise.
3274 * math/s_clogl.c (__clogl): Likewise.
3275 * math/libm-test.inc (clog_test): Add more tests.
3276 (clog10_test): Likewise.
3277 * sysdeps/i386/fpu/libm-test-ulps: Update.
3278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3280 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3281 (pltexit): Likewise.
3282 (La_regs): Likewise.
3283 (La_retval): Likewise.
3284 (int_retval): Likewise.
3285 Update #error for removed macros to refer only to definitions in
3287 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3289 (pltexit): Likewise.
3290 (La_regs): Likewise.
3291 (La_retval): Likewise.
3292 (int_retval): Likewise.
3293 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3295 (pltexit): Likewise.
3296 (La_regs): Likewise.
3297 (La_retval): Likewise.
3298 (int_retval): Likewise.
3299 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3301 (pltexit): Likewise.
3302 (La_regs): Likewise.
3303 (La_retval): Likewise.
3304 (int_retval): Likewise.
3305 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3307 (pltexit): Likewise.
3308 (La_regs): Likewise.
3309 (La_retval): Likewise.
3310 (int_retval): Likewise.
3311 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3313 (pltexit): Likewise.
3314 (La_regs): Likewise.
3315 (La_retval): Likewise.
3316 (int_retval): Likewise.
3317 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3319 (pltexit): Likewise.
3320 (La_regs): Likewise.
3321 (La_retval): Likewise.
3322 (int_retval): Likewise.
3323 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3324 macro definitions in tst-audit.h.
3325 * sysdeps/i386/tst-audit.h: New file.
3326 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3327 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3328 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3329 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3330 * sysdeps/sh/tst-audit.h: Likewise.
3331 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3332 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3333 * sysdeps/x86_64/tst-audit.h: Likewise.
3335 2012-07-26 Andreas Jaeger <aj@suse.de>
3337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3340 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3341 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3342 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3344 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3346 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3348 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3351 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3353 (si_call_addr, si_syscall, si_arch): Define new macro.
3354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3356 (si_call_addr, si_syscall, si_arch): Define new marcro.
3357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3359 (si_call_addr, si_syscall, si_arch): Define new macro.
3360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3362 (si_call_addr, si_syscall, si_arch): Define new macro.
3364 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3368 Change to 2.4.21 where previously 2.4.1.
3369 * sysdeps/unix/sysv/linux/configure: Regenerated.
3370 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3371 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3372 Linux kernel version.
3373 (__ASSUME_STD_AUXV): Remove.
3374 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3376 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3377 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3378 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3379 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3380 (__ASSUME_NETLINK_SUPPORT): Likewise.
3381 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3382 (__no_netlink_support): Remove conditional definition.
3383 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3385 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3386 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3387 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3388 (if_nameindex_ioctl): Remove.
3389 (if_nameindex_netlink): Do not handle __no_netlink_support.
3390 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3392 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3393 Remove conditional code.
3394 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3396 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3398 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3399 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3400 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3402 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3403 [!__ASSUME_STD_AUXV]: Remove conditional code.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3405 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3406 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3409 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3418 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3421 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3424 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3426 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3428 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3430 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3433 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3435 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3438 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3440 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3442 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3444 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3447 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3449 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3451 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3453 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3456 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3458 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3460 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3461 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3462 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3463 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3464 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3465 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3466 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3467 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3468 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3469 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3470 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3471 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3473 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3474 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3478 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3482 2012-07-25 Florian Weimer <fweimer@redhat.com>
3484 * Versions.def: Add GLIBC_2.17.
3485 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3486 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3487 Introduce __libc_secure_getenv.
3488 * stdlib/Versions (2.17): Add secure_getenv
3489 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3490 * stdlib/secure-getenv.c: Rename __secure_getenv to
3491 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3492 symbol __secure_getenv for GLIBC_2.0.
3493 * stdlib/tst-secure-getenv.c: New.
3494 * stdlib/Makefile (tests): Add testcase.
3495 * manual/startup.texi (Environment Access): Document
3497 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3498 __libc_secure_getenv.
3499 * inet/ruserpass.c (ruserpass): Likewise.
3500 * malloc/mtrace.c (mtrace): Likewise.
3501 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3502 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3503 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3504 * sysdeps/posix/tempname.c: Likewise. Evaluate
3506 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3507 __secure_getenv to __libc_secure_getenv.
3508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3521 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3523 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3524 (struct La_i86_retval): Likewise.
3525 (struct La_x86_64_regs): Likewise.
3526 (struct La_x86_64_retval): Likewise.
3527 (struct La_x32_regs): Likewise.
3528 (struct La_x32_retval): Likewise.
3529 (struct La_ppc32_regs): Likewise.
3530 (struct La_ppc32_retval): Likewise.
3531 (struct La_ppc64_regs): Likewise.
3532 (struct La_ppc64_retval): Likewise.
3533 (struct La_sh_regs): Likewise.
3534 (struct La_sh_retval): Likewise.
3535 (struct La_s390_32_regs): Likewise.
3536 (struct La_s390_32_retval): Likewise.
3537 (struct La_s390_64_regs): Likewise.
3538 (struct La_s390_64_retval): Likewise.
3539 (struct La_sparc32_regs): Likewise.
3540 (struct La_sparc32_retval): Likewise.
3541 (struct La_sparc64_regs): Likewise.
3542 (struct La_sparc64_retval): Likewise.
3543 (struct audit_ifaces): Remove architecture-specific pltenter and
3545 * sysdeps/i386/ldsodefs.h: New file.
3546 * sysdeps/powerpc/ldsodefs.h: Likewise.
3547 * sysdeps/s390/ldsodefs.h: Likewise.
3548 * sysdeps/sh/ldsodefs.h: Likewise.
3549 * sysdeps/sparc/ldsodefs.h: Likewise.
3550 * sysdeps/x86_64/ldsodefs.h: Likewise.
3552 2012-07-25 Marek Polacek <polacek@redhat.com>
3555 * math/libm-test.inc (yn_test): Add another test.
3556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3557 to ERANGE when the result is +-Inf.
3558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3559 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3561 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3563 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3565 * conform/data/time.h-data (NULL): Use macro-constant. Require
3567 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3569 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3571 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3573 * configure.in <sysdeps resolving>: Correct printing
3575 * configure: Regenerate.
3577 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3579 * math/w_ilogb.c: Include <limits.h>.
3580 * math/w_ilogbl.c: Likewise.
3582 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3584 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3585 va_copy. Document allowing for unavailable va_copy only as
3586 pre-C99 compatibility.
3587 * manual/string.texi (Copying and Concatenation): Use va_copy
3588 instead of __va_copy in concat example.
3590 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3592 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3593 (__sendto): Use create_address_port. Initialize APORT and deallocate
3596 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3597 with O_NOLINK passed to __file_name_lookup.
3599 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3600 with O_NOLINK passed to __file_name_lookup.
3602 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3603 negative N or less than NGIDS.
3605 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3606 type to string_t. Set ERANGE as errno and return it if NAME is not big
3607 enough. Use memcpy instead of strncpy.
3609 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3611 * elf/Makefile (check-data): Remove.
3612 (localplt.data): New vpath directive.
3613 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3614 instead of $(check-data).
3615 * scripts/data/localplt-generic.data: Move to ...
3616 * sysdeps/generic/localplt.data: ... here.
3617 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3618 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3619 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3622 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3625 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3628 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3631 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3634 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3638 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3640 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3641 PPC32 and PPC64 files.
3642 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3643 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3645 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3647 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3648 __makecontext_ret to ...
3649 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3650 ... here and call exit if uc_link is NULL. New file.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3652 __makecontext_ret.S.
3653 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3654 __makecontext_ret to ...
3655 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3656 ... here and call exit if uc_link is NULL. New file.
3657 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3658 __makecontext_ret.S.
3660 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3662 * elf/elf.h (R_390_IRELATIVE): New definition.
3663 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3664 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3665 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3667 (elf_machine_lazy_rel): Likewise.
3668 * sysdeps/s390/dl-irel.h: New file.
3669 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3670 * sysdeps/s390/s390-64/memset.S: New asm code.
3671 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3672 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3674 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3675 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3676 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3678 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3679 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3680 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3681 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3682 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3683 * sysdeps/s390/s390-32/memset.S: New asm code.
3684 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3686 2012-07-17 Marek Polacek <polacek@redhat.com>
3689 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3690 * sysdeps/s390/s390-64/configure.in: Likewise.
3691 * sysdeps/sparc/configure.in: Likewise.
3692 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3693 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3694 * sysdeps/i386/configure.in: Likewise.
3695 * sysdeps/x86_64/configure.in: Likewise.
3696 * sysdeps/sh/configure.in: Likewise.
3697 * sysdeps/s390/s390-32/configure: Regenerated.
3698 * sysdeps/s390/s390-64/configure: Likewise.
3699 * sysdeps/x86_64/configure: Likewise.
3700 * sysdeps/sh/configure: Likewise.
3701 * sysdeps/powerpc/powerpc64/configure: Likewise.
3702 * sysdeps/powerpc/powerpc32/configure: Likewise.
3703 * sysdeps/sparc/configure: Likwise.
3704 * sysdeps/i386/configure: Likewise.
3706 * elf/dl-open.c: Comment fixes.
3708 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3710 * Makefile [CXX] (check-data): Remove.
3711 [CXX] (c++-types.data): New vpath directive.
3712 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3713 vpath. Do not allow for C++ type data being missing.
3714 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3715 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3716 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3717 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3718 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3719 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3720 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3723 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3726 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3729 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3732 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3735 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3738 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3741 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3744 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3745 definitions to architecture-specific files.
3749 * sysdeps/i386/tls-macros.h: New file.
3750 * sysdeps/powerpc/tls-macros.h: Likewise.
3751 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3752 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3753 * sysdeps/sh/tls-macros.h: Likewise.
3754 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3755 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3756 * sysdeps/x86_64/tls-macros.h: Likewise.
3758 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3760 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3761 zero value for regular exit case.
3763 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3764 (__start_context): Preserve zero value for regular exit case.
3766 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3767 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3769 * manual/setjmp.texi (setcontext): Clarify normal process
3770 termination when uc_link is the null pointer.
3771 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3774 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3776 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3777 preprocessor. Test for each exception mask separately.
3779 2012-07-16 Andreas Jaeger <aj@suse.de>
3781 * po/ru.po: Update from translation team.
3783 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3785 * conform/data/string.h-data (NULL): Use macro-constant. Require
3787 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3788 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3789 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3790 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3793 2012-07-13 Andreas Jaeger <aj@suse.de>
3795 * po/fr.po: Update from translation team.
3797 2012-07-12 Marek Polacek <polacek@redhat.com>
3800 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3804 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3808 Change to 2.4.1 where previously 2.4.0.
3809 * sysdeps/unix/sysv/linux/configure: Regenerated.
3810 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3811 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3813 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3814 (__ASSUME_AT_CLKTCK): Remove.
3815 (__ASSUME_AT_PAGESIZE): Likewise.
3816 (__ASSUME_AT_XID): Likewise.
3817 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3818 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3819 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3821 (HAVE_AUX_PAGESIZE): Likewise.
3822 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3823 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3824 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3826 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3830 the temporary buffer used to invoke __gethostbyname2_r,
3831 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3832 host_data / struct gaih_addrtuple.
3833 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3834 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3835 header file nss/nsswitch.h.
3836 * nss/nsswitch.h (global scope): Add definition of implementation
3837 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3838 resolv/nss_dns/dns-host.c).
3840 2012-07-11 Andreas Jaeger <aj@suse.de>
3842 * po/fr.po: Update from translation team.
3844 * po/sv.po: Update from translation team
3845 * po/fr.po: Another update from translation team.
3847 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3850 for subnormals or multiply small sinh result by itself.
3851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3854 2012-07-11 David S. Miller <davem@davemloft.net>
3856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3858 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3861 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3862 (INTERNAL_MARK): Shift it here.
3864 2012-07-10 Marek Polacek <polacek@redhat.com>
3867 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3868 libc_cv_asm_global_directive with .globl.
3869 * configure: Regenerated.
3870 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3872 * sysdeps/i386/configure: Regenerated.
3873 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3875 * sysdeps/x86_64/configure: Regenerated.
3876 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3877 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3878 * elf/tst-unique2mod2.c: Likewise.
3879 * elf/tst-unique2mod1.c: Likewise.
3880 * elf/tst-unique1mod2.c: Likewise.
3881 * elf/tst-unique1mod1.c: Likewise.
3882 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3883 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3884 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3886 * sysdeps/mach/sysdep.h: Likewise.
3887 * sysdeps/i386/sysdep.h: Likewise.
3888 * sysdeps/i386/i386-mcount.S: Likewise.
3889 * sysdeps/x86_64/_mcount.S: Likewise.
3890 * sysdeps/x86_64/sysdep.h: Likewise.
3891 * sysdeps/sh/_mcount.S: Likewise.
3892 * sysdeps/sh/sysdep.h: Likewise.
3893 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3897 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3900 * locale/localeinfo.h: Likewise.
3901 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3902 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3904 2012-07-09 Roland McGrath <roland@hack.frob.com>
3907 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3909 * manual/message.texi (The Uniforum approach): Likewise.
3910 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3911 (glibc iconv Implementation): Likewise.
3913 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3916 * math/s_clog.c (__clog): Avoid scaling a value down where that
3917 could result in underflow.
3918 * math/s_clog10.c (__clog10): Likewise.
3919 * math/s_clog10f.c (__clog10f): Likewise.
3920 * math/s_clog10l.c (__clog10l): Likewise.
3921 * math/s_clogf.c (__clogf): Likewise.
3922 * math/s_clogl.c (__clogl): Likewise.
3923 * math/libm-test.inc (clog_test): Add more tests.
3924 (clog10_test): Likewise.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3931 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3932 by 7 not 8 to examine high bit of fractional part.
3935 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3936 for call to __mcount_internal.
3937 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3938 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3939 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3941 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3944 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3945 approximation for values within 0x1p-13f of an odd multiple of
3947 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3948 exception. Add more tests.
3949 * sysdeps/i386/fpu/libm-test-ulps: Update.
3952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3953 inputs and return -1 for them. Do not check for +Inf in case not
3955 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3956 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3958 and return -1 for them. Do not check for +Inf in case not
3960 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3963 and return -1 for them. Do not check for +Inf in case not
3965 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3967 * sysdeps/i386/fpu/libm-test-ulps: Update.
3968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3970 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3972 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3974 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3978 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3979 could result in spurious underflow. Scale down values above
3980 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3981 * math/s_csqrtf.c (__csqrtf): Likewise.
3982 * math/s_csqrtl.c (__csqrtl): Likewise.
3983 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3988 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3990 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3992 * catgets/xopen-msg.awk: New file.
3993 * catgets/xopen-msg.sed: Removed.
3995 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3997 * intl/po2test.awk: New file.
3998 * intl/po2test.sed: Removed.
4000 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4003 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4004 or multiply small sinh result by itself.
4005 * math/s_ctanf.c (__ctanf): Likewise.
4006 * math/s_ctanh.c (__ctanh): Likewise.
4007 * math/s_ctanhf.c (__ctanhf): Likewise.
4008 * math/s_ctanhl.c (__ctanhl): Likewise.
4009 * math/s_ctanl.c (__ctanl): Likewise.
4010 * math/libm-test.inc (ctan_test_tonearest): New function.
4011 (ctan_test_towardzero): Likewise.
4012 (ctan_test_downward): Likewise.
4013 (ctan_test_upward): Likewise.
4014 (ctanh_test_tonearest): Likewise.
4015 (ctanh_test_towardzero): Likewise.
4016 (ctanh_test_downward): Likewise.
4017 (ctanh_test_upward): Likewise.
4018 (main): Call these new functions.
4019 * sysdeps/i386/fpu/libm-test-ulps: Update.
4020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4022 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4024 * .gitignore: Delete /ports entry.
4026 2012-07-03 Andreas Jaeger <aj@suse.de>
4028 * po/bg.po: Update from translation team.
4029 * po/cs.po: Likewise.
4030 * po/de.po: Likewise.
4031 * po/hr.po: Likewise.
4032 * po/nl.pl: Likewise.
4033 * po/pl.po: Likewise.
4034 * po/vi.po: Likewise.
4036 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4038 * Makeconfig [!+link] (+link-before-libc): New variable.
4039 [!+link] (+link-after-libc): Likewise.
4040 [!+link] (+link-tests): Likewise.
4041 [!+link] (+link): Define in terms of $(+link-before-libc) and
4042 $(+link-after-libc).
4043 [!+link-static] (+link-static-before-libc): New variable.
4044 [!+link-static] (+link-static-after-libc): Likewise.
4045 [!+link-static] (+link-static-tests): Likewise.
4046 [!+link-static] (+link-static): Define in terms of
4047 $(+link-static-before-libc) and $(+link-static-after-libc).
4048 [build-shared] (link-libc-before-gnulib): New variable.
4049 [build-shared] (link-libc-tests): Likewise.
4050 [build-shared] (link-libc): Define in terms of
4051 $(link-libc-before-gnulib).
4052 [!build-shared] (link-libc-tests): New variable.
4053 (link-libc-static-tests): New variable.
4054 [!gnulib] (gnulib-arch): New variable.
4055 [!gnulib] (gnulib-tests): Likewise.
4056 [!gnulib] (static-gnulib-arch): Likewise.
4057 [!gnulib] (static-gnulib-tests): Likewise.
4058 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4059 Define with "=" instead of ":=".
4060 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4061 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4062 * Rules (binaries-all-notests): New variable.
4063 (binaries-all-tests): Likewise.
4064 (binaries-static-notests): Likewise.
4065 (binaries-static-tests): Likewise.
4066 (binaries-all): Define using $(binaries-all-notests) and
4067 $(binaries-all-tests).
4068 (binaries-static): Define using $(binaries-static-notests) and
4069 $(binaries-static-tests).
4070 (binaries-shared-tests): New variable.
4071 (binaries-shared-notests): Likewise.
4072 (binaries-shared): Remove variable.
4073 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4074 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4075 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4076 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4077 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4078 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4079 * elf/Makefile (sln-modules): New variable.
4080 (extra-objs): Add $(sln-modules:=.o).
4081 (ldconfig-modules): Add static-stubs.
4082 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4083 * elf/static-stubs.c: New file.
4086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4087 by 7 not 8 to examine high bit of fractional part. Use volatile
4088 variables when splitting into final array of floats if
4089 __FLT_EVAL_METHOD__ != 0.
4090 * math/libm-test.inc (cos_test): Add another test.
4091 (sin_test): Likewise.
4092 * sysdeps/i386/fpu/libm-test-ulps: Update.
4095 * math/libm-test.inc (cosh_test): Add more tests.
4097 * version.h (RELEASE): Set to "development".
4098 (VERSION): Set to "2.16.90".
4100 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4102 * NEWS: Update copyright. Remove last-updated date.
4103 Mention math library bug fixes and timezone data changes.
4104 * README: Mention GNU/Hurd, x32, and HPPA support status.
4106 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4108 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4110 2012-06-27 Andreas Jaeger <aj@suse.de>
4112 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4114 2012-06-25 Andreas Jaeger <aj@suse.de>
4116 * sysdeps/s390/fpu/libm-test-ulps: Update.
4118 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4119 Thomas Schwinge <thomas@codesourcery.com>
4121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4122 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4126 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4128 * sysdeps/mach/start.c: Remove file.
4129 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4130 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4131 * sysdeps/sh/init-first.c: Likewise.
4133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4134 registers for frame unwinding purposes, add CFI directives.
4135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4137 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4140 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4141 __fortify_fail returning.
4142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4145 sysdeps/sh/____longjmp_chk.S.
4146 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4147 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4148 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4149 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4151 * sysdeps/sh/abort-instr.h: New file.
4152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4153 process in case exit returns.
4155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4156 initialize the GOT register before use.
4158 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4159 calculation of ARGC > 4.
4161 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4162 meaningful names to some local labels.
4164 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4165 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4167 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4168 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4169 (__arch_compare_and_exchange_val_16_acq): Likewise.
4170 (__arch_compare_and_exchange_val_32_acq): Likewise.
4171 (atomic_exchange_and_add): Fix gUSA sequence.
4172 (atomic_add): Likewise.
4173 (atomic_add_negative): Likewise.
4174 (atomic_add_zero): Likewise.
4175 (atomic_bit_test_set): Likewise.
4177 2012-06-22 Andreas Schwab <schwab@redhat.com>
4180 * include/link.h (struct link_map): Add l_free_initfini.
4181 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4183 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4184 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4185 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4188 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4190 * configure.in: Use AC_LANG_SOURCE.
4191 * configure: Regenerate.
4193 2012-06-22 Roland McGrath <roland@hack.frob.com>
4195 * configure.in (libc_cv_localstatedir): New substituted variable.
4196 * configure: Regenerated.
4197 * config.make.in (localstatedir): New variable, substituted from
4198 libc_cv_localstatedir.
4199 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4200 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4201 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4202 * sysdeps/gnu/configure: Regenerated.
4204 2012-06-21 Jeff Law <law@redhat.com>
4207 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4208 free. Simplify list management for _LIBC case.
4210 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4213 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4214 Clear sign bit of 64-bit integer value before comparing against
4217 * sysdeps/mach/configure: Regenerated.
4219 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4222 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4224 2012-06-21 Jeff Law <law@redhat.com>
4227 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4228 uint16_t for elements in the "seen" array to avoid char overflows.
4229 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4230 * elf/dl-open.c (dl_open_worker): Likewise.
4232 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4234 * scripts/list-sources.sh: Scan PORTS for translations.
4235 * po/libc.pot: Regenerated.
4237 2012-06-21 Andreas Jaeger <aj@suse.de>
4240 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4242 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4243 * bits/byteswap-16.h (__bswap_16): Likewise.
4244 * bits/byteswap.h (__bswap_constant_16): Likewise.
4246 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4249 * sysdeps/i386/fpu_control.h: Removed.
4250 * sysdeps/x86_64/fpu_control.h: Moved to ...
4251 * sysdeps/x86/fpu_control.h: Here.
4253 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4254 (_FPU_SETCW): Likewise.
4256 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4259 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4260 * sysdeps/x86/fpu/bits/mathinline.h: This.
4261 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4265 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4266 functions if __x86_64__ is defined.
4268 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4270 * string/endian.h: Add !__ASSEMBLER__ condition for including
4271 conversion interfaces.
4273 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4277 of ABS(x) in calculating zero to negative powers other than odd
4279 * math/libm-test.inc (pow_test): Add more tests.
4281 2012-06-15 Andreas Jaeger <aj@suse.de>
4283 * manual/contrib.texi (Contributors): Update entry of Liubov
4284 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4287 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4289 * string/string.h: Add __wur to GNU version of strerror_r.
4291 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4294 * string/Makefile (tests): Add tst-strtok_r.
4295 * string/tst-strtok_r.c: New file.
4296 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4297 RAX_LP/RDX_LP on SAVE_PTR.
4299 2012-06-14 Roland McGrath <roland@hack.frob.com>
4301 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4303 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4305 * libm_test.inc (csqrt_test): Allow more spurious underflow
4307 (j0_test): Likewise.
4308 (j1_test): Likewise.
4309 (y0_test): Likewise.
4310 (y1_test): Likewise.
4312 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4314 * po/Makefile (libc.pot): Use UTF-8 charset.
4316 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4319 Suppress sign-conversion warning from FD_SET.
4320 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4321 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4322 not unsigned long int.
4323 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4325 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4329 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4330 __extern_always_inline instead of __extern_inline.
4331 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4332 (__signbit): Likewise.
4333 (__signbitl): Support C++ namespace.
4334 (lrintf): New inline function.
4336 (llrintf): Likewise.
4348 (nearbyint): Likewise.
4349 (nearbyintf): Likewise.
4351 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4353 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4354 non-default versions.
4356 2012-06-11 Roland McGrath <roland@hack.frob.com>
4359 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4361 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4363 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4364 (FE_UPWARD, FE_DOWNWARD): Don't define.
4365 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4370 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4371 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4373 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4375 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4377 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4378 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4380 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4383 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4384 * sysdeps/i386/fpu/Implies: New file.
4385 * sysdeps/x86_64/fpu/Implies: Likewise.
4386 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4387 * sysdeps/x86/fpu/bits/fenv.h: This.
4389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4392 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4395 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4396 character 0xffff that matches the last element of the
4399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4404 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4407 values higher than 25.6283.
4409 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4412 subnormal exponent extraction and add some __builtin_expect.
4413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4414 Fix for subnormal mantissa calculation.
4416 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4418 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4419 cpu2 is -1 and errno is not ENOSYS.
4421 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4424 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4425 * sysdeps/x86/bits/string.h: This.
4426 * sysdeps/x86_64/bits/string.h: Removed.
4428 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4429 if not compiling for x86-64, but compiling for >= i486.
4431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4432 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4435 New macro from Linux kernel 3.4.0.
4436 (FP_XSTATE_MAGIC2): Likewise.
4437 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4438 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4439 (struct _fpx_sw_bytes): New struct.
4440 (struct _xsave_hdr): Likewise.
4441 (struct _ymmh_state): Likewise.
4442 (struct _xstate): Likewise.
4444 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4445 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4447 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4449 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4451 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4452 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4453 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4454 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4455 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4456 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4458 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4461 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4462 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4463 (sysdep_headers): Include sys/platform/ppc.h.
4464 * sysdeps/powerpc/test-gettimebase.c: Test for
4465 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4466 * manual/Makefile (appendices): Include platform.texi.
4467 * manual/contrib.texi (Contributors): Update @node pointers.
4468 * manual/maint.texi (Maintenance): Likewise.
4469 (Platform): New node.
4470 * manual/platform.texi: New file. Document the new features.
4472 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4473 Jakub Jelinek <jakub@redhat.com>
4476 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4477 where __builtin_expect is unavailable.
4479 2012-06-03 David S. Miller <davem@davemloft.net>
4481 * stdlib/longlong.h: Updated from GCC.
4483 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4486 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4487 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4490 (GLIBC_2.16): Likewise.
4492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4496 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4499 (default-abi): New variable.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4501 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4503 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4505 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4507 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4510 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4511 definition. Document in comment.
4513 2012-06-01 David S. Miller <davem@davemloft.net>
4515 * stdlib/longlong.h: Updated from GCC.
4517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4520 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4521 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4522 sys/debugreg.h sys/io.h here.
4523 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4524 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4526 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4527 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4528 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4529 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4530 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4531 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4533 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4534 Define only if __x86_64__ is defined.
4536 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4539 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4540 Use int64_t for variable i.
4541 * math/libm-test.inc (fmod_test): Add more tests.
4543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4544 z computation is not scheduled after fetestexcept.
4545 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4546 Use math_force_eval instead of asm to ensure calculation scheduled
4547 before exception test.
4548 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4549 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4551 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4554 computation is not scheduled after fetestexcept.
4556 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4559 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4560 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4562 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4564 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4565 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4567 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4572 (__WCHAR_MIN): Support __WORDSIZE == 64.
4573 (__WCHAR_MAX): Likewise.
4575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4580 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4583 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4587 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4589 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4590 Defined to 1 if __x86_64__ isn't defined.
4591 (_STAT_VER_LINUX_OLD): New.
4592 (st_atime): Remove duplicate.
4593 (st_mtime): Likewise.
4594 (st_ctime): Likewise.
4596 2012-05-31 David S. Miller <davem@davemloft.net>
4598 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4601 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4603 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4607 * elf/dl-reloc.c: Include <_itoa.h>.
4608 (_dl_reloc_bad_type): Remove use of INTUSE.
4609 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4610 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4611 * stdio-common/psiginfo.c (psiginfo): Likewise.
4612 * stdio-common/psignal.c (psignal): Likewise.
4613 * string/strsignal.c (strsignal): Likewise.
4614 * include/signal.h (_sys_siglist): Declare hidden proto.
4615 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4616 INTVARDEF with libc_hidden_data_def.
4617 * stdio-common/itoa-udigits.c: Likewise.
4618 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4619 (_itoa_lower_digits_internal): Remove declaration.
4620 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4621 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4622 (_sys_sigabbrev_internal): Remove aliases.
4623 (_sys_siglist): Define hidden alias.
4625 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4630 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4634 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4636 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4637 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4638 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4639 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4641 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4643 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4644 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4645 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4647 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4655 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4656 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4659 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4660 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4662 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4663 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4664 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4667 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4669 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4670 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4676 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4677 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4679 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4681 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4682 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4683 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4685 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4687 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4689 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4691 * math/math.h (M_El): Use two more decimal places.
4692 (M_LOG2El): Likewise.
4693 (M_LOG10El): Likewise.
4695 (M_LN10l): Likewise.
4697 (M_PI_2l): Likewise.
4698 (M_PI_4l): Likewise.
4699 (M_1_PIl): Likewise.
4700 (M_2_PIl): Likewise.
4701 (M_2_SQRTPIl): Likewise.
4702 (M_SQRT2l): Likewise.
4703 (M_SQRT1_2l): Likewise.
4705 2012-05-31 David S. Miller <davem@davemloft.net>
4707 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4708 values between float registers.
4709 * sysdeps/sparc/sparc64/memset.S: Likewise.
4710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4712 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4714 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4715 -D_FORTIFY_SOURCE=1.
4716 (CPPFLAGS-tst-longjmp_chk.c): Define.
4717 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4718 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4719 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4720 CFLAGS-tst-wchar-h.c.
4722 2012-05-31 Marek Polacek <polacek@redhat.com>
4725 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4726 __endmntent_internal): Remove declaration.
4727 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4728 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4729 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4731 2012-05-30 David S. Miller <davem@davemloft.net>
4733 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4734 (___Q_simulate_exceptions): Use real FP ops rather than writing
4736 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4739 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4742 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4743 * sysdeps/x86/bits/xtitypes.h: This.
4745 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4746 * sysdeps/x86/bits/wordsize.h: This.
4748 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4749 * sysdeps/x86/bits/huge_vall.h: This.
4751 * sysdeps/i386/bits/select.h: Removed.
4752 * sysdeps/x86_64/bits/select.h: Renamed to ...
4753 * sysdeps/x86/bits/select.h: This.
4755 * sysdeps/i386/bits/setjmp.h: Removed.
4756 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4757 * sysdeps/x86/bits/setjmp.h: This.
4759 * sysdeps/i386/bits/mathdef.h: Removed.
4760 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4761 * sysdeps/x86/bits/mathdef.h: This.
4763 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4766 * include/sys/socket.h (__connect_internal)
4767 (__libc_sa_len_internal): Remove declaration.
4768 (__connect, __libc_sa_len): Declare hidden_proto.
4769 (SA_LEN): Remove use of INTUSE.
4770 * socket/connect.c: Add libc_hidden_def.
4771 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4772 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4773 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4775 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4777 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4778 of adding _internal alias.
4780 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4783 * sysdeps/i386/bits/link.h: Removed.
4784 * sysdeps/i386/bits/linkmap.h: Likewise.
4785 * sysdeps/x86_64/bits/link.h: Renamed to ...
4786 * sysdeps/x86/bits/link.h: This.
4787 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4788 * sysdeps/x86/bits/linkmap.h: This.
4790 * sysdeps/i386/bits/endian.h: Removed.
4791 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4792 * sysdeps/x86/bits/endian.h: This.
4794 * sysdeps/i386/bits/byteswap.h: Removed.
4795 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4796 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4797 * sysdeps/x86/bits/byteswap.h: This.
4798 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4799 * sysdeps/x86/bits/byteswap-16.h: This.
4800 * sysdeps/i386/Implies: Add x86.
4801 * sysdeps/x86_64/Implies: Likewise.
4803 2012-05-30 David S. Miller <davem@davemloft.net>
4805 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4806 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4808 (FP_TRAPPING_EXCEPTIONS): Define.
4809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4810 (FP_TRAPPING_EXCEPTIONS): Define.
4811 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4812 subnormals only when inexact has been signalled or underflow
4813 exceptions are enabled.
4814 (_FP_PACK_CANONICAL): Likewise.
4816 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4820 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4822 2012-05-30 Richard Henderson <rth@twiddle.net>
4824 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4825 with #ifndef NOT_IN_libc.
4827 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4828 marked to avoid plt entry.
4830 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4833 * Makeconfig (default-abi): New macro.
4834 (abi-includes): Likewise.
4835 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4836 $(abi-$(default-abi)-lib-soname) for soname if defined.
4837 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4839 * Makefile (installed-stubs): Likewise.
4840 * include/stubs-biarch.h: Removed.
4841 * scripts/lib-names.awk: Only handle one library at a time.
4842 * scripts/soversions.awk: Remove WORDSIZE support.
4843 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4847 (syscall-list-default-condition): Likewise.
4848 (syscall-list-default-condition): Likewise.
4849 (syscall-list-includes): Likewise.
4850 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4851 syscall-list-* with abi-*. Handle undefined abi-variants.
4852 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4853 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4854 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4855 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4856 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4857 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4859 (syscall-list-32-options): Likewise.
4860 (syscall-list-32-condition): Likewise.
4861 (syscall-list-64-options): Likewise.
4862 (syscall-list-64-condition): Likewise.
4863 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4865 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4868 (abi-64-ld-soname): New macro.
4869 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4870 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4873 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4874 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4876 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4878 * sysdeps/unix/sysv/linux/kernel-features.h
4879 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4880 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4881 include <kernel-features.h>.
4882 [!__NR_ftruncate64]: Remove conditional code.
4883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4884 [__NR_ftruncate64]: Make code unconditional.
4885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4886 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4887 include <kernel-features.h>.
4888 [!__NR_ftruncate64]: Remove conditional code.
4889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4890 [__NR_ftruncate64]: Make code unconditional.
4891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4893 include <kernel-features.h>.
4894 [!__NR_ftruncate64]: Remove conditional code.
4895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4896 [__NR_ftruncate64]: Make code unconditional.
4897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4899 include <kernel-features.h>.
4900 [!__NR_ftruncate64]: Remove conditional code.
4901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4902 [__NR_ftruncate64]: Make code unconditional.
4903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4905 * configure.in (libc_cv_fpie): Weaken to a compile test using
4907 * configure: Regenerated.
4909 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4924 2012-05-27 David S. Miller <davem@davemloft.net>
4926 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4928 (__Q_simulate_exceptions): Return void. Change to simulate
4929 exceptions by writing into the %fsr.
4930 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4931 (__Qp_handle_exceptions): Likewise.
4933 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4934 __Qp_handle_exceptions.
4935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4936 __Qp_handle_exceptions.
4937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4938 as unused and give dummy FP_RND_NEAREST initializer.
4939 (FP_INHIBIT_RESULTS): Define.
4940 (___Q_simulate_exceptions): Update declaration.
4941 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4944 as unused and give dummy FP_RND_NEAREST initializer.
4945 (__Qp_handle_exceptions): Update declaration.
4946 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4949 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4951 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4952 the temporary FPU control word.
4953 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4954 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4957 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4958 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4959 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4961 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4962 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4963 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4965 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4970 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4972 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4973 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4974 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4975 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4977 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4978 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4981 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4983 * po/h.po: Update from translation team.
4985 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4987 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4989 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4990 handling of denormals.
4991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4992 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4993 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4994 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5000 2012-05-26 Marek Polacek <polacek@redhat.com>
5003 * math/libm-test.inc (fma_test): Don't always expect underflow
5006 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5009 * elf/tst-execstack.c: Include stackinfo.h.
5010 (do_test): Adjust test case to ensure that pthread_getattr_np
5011 behaviour remains the same after marking stack executable.
5013 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5015 * sysdeps/unix/sysv/linux/kernel-features.h
5016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5017 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5019 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5020 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5021 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5026 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5028 * configure.in: Define the default includes to being none.
5029 * configure: Regenerated.
5031 2012-05-25 Roland McGrath <roland@hack.frob.com>
5033 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5034 * sysdeps/x86_64/setjmp.S: Likewise.
5035 * sysdeps/i386/bsd-setjmp.S: Likewise.
5036 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5037 * sysdeps/i386/setjmp.S: Likewise.
5038 * sysdeps/i386/__longjmp.S: Likewise.
5039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5042 * include/stap-probe.h: New file.
5043 * configure.in: Handle --enable-systemtap.
5044 * configure: Regenerated.
5045 * config.h.in (USE_STAP_PROBE): New #undef.
5046 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5047 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5048 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5050 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5054 to 2.4.0 where earlier.
5055 * sysdeps/unix/sysv/linux/configure: Regenerated.
5056 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5057 <kernel-features.h>.
5058 [__ASSUME_32BITUIDS]: Make code unconditional.
5059 [!__ASSUME_32BITUIDS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5061 <kernel-features.h>.
5062 [__ASSUME_32BITUIDS]: Make code unconditional.
5063 [!__ASSUME_32BITUIDS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5065 [__ASSUME_32BITUIDS]: Make code unconditional.
5066 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5067 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5068 <kernel-features.h>.
5069 [__ASSUME_32BITUIDS]: Make code unconditional.
5070 [!__ASSUME_32BITUIDS]: Remove conditional code.
5071 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5072 <kernel-features.h>.
5073 [__ASSUME_32BITUIDS]: Make code unconditional.
5074 [!__ASSUME_32BITUIDS]: Remove conditional code.
5075 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5076 <kernel-features.h>.
5077 [__ASSUME_32BITUIDS]: Make code unconditional.
5078 [!__ASSUME_32BITUIDS]: Remove conditional code.
5079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5080 <kernel-features.h>.
5081 [__ASSUME_32BITUIDS]: Make code unconditional.
5082 [!__ASSUME_32BITUIDS]: Remove conditional code.
5083 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5084 <kernel-features.h>.
5085 [__ASSUME_32BITUIDS]: Make code unconditional.
5086 [!__ASSUME_32BITUIDS]: Remove conditional code.
5087 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5088 <kernel-features.h>.
5089 [__ASSUME_32BITUIDS]: Make code unconditional.
5090 [!__ASSUME_32BITUIDS]: Remove conditional code.
5091 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5092 <kernel-features.h>.
5093 [__ASSUME_32BITUIDS]: Make code unconditional.
5094 [!__ASSUME_32BITUIDS]: Remove conditional code.
5095 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5096 <kernel-features.h>.
5097 [__ASSUME_32BITUIDS]: Make code unconditional.
5098 [!__ASSUME_32BITUIDS]: Remove conditional code.
5099 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5100 <kernel-features.h>.
5101 [__ASSUME_32BITUIDS]: Make code unconditional.
5102 [!__ASSUME_32BITUIDS]: Remove conditional code.
5103 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5104 <kernel-features.h>.
5105 [__ASSUME_32BITUIDS]: Make code unconditional.
5106 [!__ASSUME_32BITUIDS]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5108 <kernel-features.h>.
5109 [__NR_setresgid] (__setresgid): Do not declare.
5110 [__ASSUME_32BITUIDS]: Make code unconditional.
5111 [!__ASSUME_32BITUIDS]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5113 <kernel-features.h>.
5114 [__NR_setresuid] (__setresuid): Do not declare.
5115 [__ASSUME_32BITUIDS]: Make code unconditional.
5116 [!__ASSUME_32BITUIDS]: Remove conditional code.
5117 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5118 <kernel-features.h>.
5119 [__ASSUME_32BITUIDS]: Make code unconditional.
5120 [!__ASSUME_32BITUIDS]: Remove conditional code.
5121 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5122 <kernel-features.h>.
5123 [__ASSUME_32BITUIDS]: Make code unconditional.
5124 [!__ASSUME_32BITUIDS]: Remove conditional code.
5125 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5126 <kernel-features.h>.
5127 [__ASSUME_32BITUIDS]: Make code unconditional.
5128 [!__ASSUME_32BITUIDS]: Remove conditional code.
5129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5130 <kernel-features.h>.
5131 [__ASSUME_32BITUIDS]: Make code unconditional.
5132 [!__ASSUME_32BITUIDS]: Remove conditional code.
5133 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5134 <kernel-features.h>.
5135 [__ASSUME_32BITUIDS]: Make code unconditional.
5136 [!__ASSUME_32BITUIDS]: Remove conditional code.
5137 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5138 <kernel-features.h>.
5139 [__ASSUME_32BITUIDS]: Make code unconditional.
5140 [!__ASSUME_32BITUIDS]: Remove conditional code.
5141 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5142 <kernel-features.h>.
5143 [__ASSUME_32BITUIDS]: Make code unconditional.
5144 [!__ASSUME_32BITUIDS]: Remove conditional code.
5145 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5146 <kernel-features.h>.
5147 [__ASSUME_32BITUIDS]: Make code unconditional.
5148 [!__ASSUME_32BITUIDS]: Remove conditional code.
5149 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5150 <kernel-features.h>.
5151 [__ASSUME_32BITUIDS]: Make code unconditional.
5152 [!__ASSUME_32BITUIDS]: Remove conditional code.
5153 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5154 <kernel-features.h>.
5155 [__ASSUME_32BITUIDS]: Make code unconditional.
5156 [!__ASSUME_32BITUIDS]: Remove conditional code.
5157 * sysdeps/unix/sysv/linux/kernel-features.h
5158 (__ASSUME_SETRESUID_SYSCALL): Remove.
5159 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5160 (__ASSUME_32BITUIDS): Likewise.
5161 (__ASSUME_LDT_WORKS): Likewise.
5162 (__ASSUME_O_DIRECTORY): Likewise.
5163 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5164 architecture but not kernel version.
5165 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5166 (__ASSUME_MMAP2_SYSCALL): Likewise.
5167 (__ASSUME_STAT64_SYSCALL): Likewise.
5168 (__ASSUME_IPC64): Likewise.
5169 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5170 <kernel-features.h>.
5171 [__ASSUME_32BITUIDS]: Make code unconditional.
5172 [!__ASSUME_32BITUIDS]: Remove conditional code.
5173 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5174 <kernel-features.h>.
5175 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5176 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5177 132096]: Remove conditional code.
5178 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5180 <kernel-features.h>.
5181 [__ASSUME_32BITUIDS]: Make code unconditional.
5182 [!__ASSUME_32BITUIDS]: Remove conditional code.
5183 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5184 <kernel-features.h>.
5185 [__ASSUME_32BITUIDS]: Make code unconditional.
5186 [!__ASSUME_32BITUIDS]: Remove conditional code.
5187 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5188 <kernel-features.h>.
5189 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5191 (__setresgid): Do not declare.
5192 [__ASSUME_32BITUIDS]: Make code unconditional.
5193 [!__ASSUME_32BITUIDS]: Remove conditional code.
5194 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5195 <kernel-features.h>.
5196 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5198 (__setresuid): Do not declare.
5199 [__ASSUME_32BITUIDS]: Make code unconditional.
5200 [!__ASSUME_32BITUIDS]: Remove conditional code.
5201 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5202 <kernel-features.h>.
5203 [__ASSUME_32BITUIDS]: Make code unconditional.
5204 [!__ASSUME_32BITUIDS]: Remove conditional code.
5205 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5206 <kernel-features.h>.
5207 [__ASSUME_32BITUIDS]: Make code unconditional.
5208 [!__ASSUME_32BITUIDS]: Remove conditional code.
5210 2012-05-25 Richard Henderson <rth@twiddle.net>
5212 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5213 dl_hwcap to ifunc resolver.
5214 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5216 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5217 dl_hwcap to ifunc resolver.
5218 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5220 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5224 for |x| <= 2**-26, not 2**-57.
5225 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5228 2012-05-24 Jeff Law <law@redhat.com>
5230 * stdio-common/Makefile (tests): Add bug25.
5231 * stdio-common/bug25.c: New test.
5233 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5236 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5237 multiple of MALLOC_ALIGNMENT in size.
5238 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5240 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5242 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5244 (FILENAME_MAX): Use macro-int-constant.
5245 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5246 (_IOFBF): Use macro-int-constant.
5249 (SEEK_CUR): Likewise.
5250 (SEEK_END): Likewise.
5251 (SEEK_SET): Likewise.
5252 (TMP_MAX): Likewise.
5253 (EOF): Use macro-int-constant. Require < 0.
5254 (NULL): Use macro-constant. Require == 0.
5255 (stdin): Require type to be FILE *.
5258 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5260 (EXIT_SUCCESS): Likewise.
5261 (NULL): Use macro-constant. Require == 0.
5262 (RAND_MAX): Use macro-int-constant.
5263 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5264 [C99-based standards] (strtof): Require function.
5265 [C99-based standards] (strtold): Likewise.
5266 [C99-based standards] (strtoll): Likewise.
5267 [C99-based standards] (strtoull): Likewise.
5268 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5269 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5270 [ISO || ISO99 || ISO11] (math.h): Likewise.
5271 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5272 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5275 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5278 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5279 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5280 * intl/dgettext.c (DCGETTEXT): Likewise.
5281 * intl/gettext.c (DCGETTEXT): Likewise.
5282 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5283 * posix/regex_internal.h (gettext): Likewise.
5284 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5286 * include/argz.h (__argz_count_internal)
5287 (__argz_stringify_internal): Remove declaration.
5288 (__argz_count, __argz_stringify): Declare hidden proto.
5289 * intl/dcgettext.c: Remove use of INTDEF.
5290 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5291 * string/argz-stringify.c: Likewise.
5292 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5293 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5294 Declare hidden proto.
5295 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5296 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5297 Declare hidden proto.
5298 * include/stdio.h (__asprintf_internal): Don't declare.
5299 (__asprintf): Don't define as macro. Declare hidden proto.
5300 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5301 (__fsetlocking): Declare hidden proto.
5302 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5303 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5305 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5306 (_IO_setlinebuf): Remove use of INTUSE.
5307 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5308 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5309 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5311 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5312 (_IO_do_flush): Remove use of INTUSE.
5313 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5314 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5315 (_IO_adjust_column, _IO_least_wmarker)
5316 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5317 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5318 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5319 (_IO_default_doallocate, _IO_wdefault_doallocate)
5320 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5321 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5322 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5323 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5324 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5325 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5326 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5327 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5328 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5329 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5330 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5331 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5332 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5334 (_IO_flush_all_internal, _IO_adjust_column_internal)
5335 (_IO_default_uflow_internal, _IO_default_finish_internal)
5336 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5337 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5338 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5339 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5340 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5341 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5342 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5343 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5344 (_IO_file_close_internal, _IO_file_close_it_internal)
5345 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5346 (_IO_file_init_internal, _IO_file_attach_internal)
5347 (_IO_file_fopen_internal, _IO_file_read_internal)
5348 (_IO_file_sync_internal, _IO_file_seek_internal)
5349 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5350 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5351 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5352 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5353 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5354 (_IO_list_all_internal, _IO_link_in_internal)
5355 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5356 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5357 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5358 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5359 (_IO_do_write_internal, _IO_padn_internal)
5360 (_IO_getline_info_internal, _IO_getline_internal)
5361 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5362 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5363 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5364 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5365 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5366 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5367 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5368 with libc_hidden_ver, remove use of INTUSE.
5369 * libio/genops.c: Likewise.
5370 * libio/freopen.c: Likewise.
5371 * libio/freopen64.c: Likewise.
5372 * libio/iofclose.c: Likewise.
5373 * libio/iofdopen.c: Likewise.
5374 * libio/iofflush.c: Likewise.
5375 * libio/iofflush_u.c: Likewise.
5376 * libio/iofgets.c: Likewise.
5377 * libio/iofgets_u.c: Likewise.
5378 * libio/iofopen.c: Likewise.
5379 * libio/iofopncook.c: Likewise.
5380 * libio/iofread.c: Likewise.
5381 * libio/iofread_u.c: Likewise.
5382 * libio/ioftell.c: Likewise.
5383 * libio/iofwrite.c: Likewise.
5384 * libio/iogetline.c: Likewise.
5385 * libio/iogets.c: Likewise.
5386 * libio/iogetwline.c: Likewise.
5387 * libio/iopadn.c: Likewise.
5388 * libio/iopopen.c: Likewise.
5389 * libio/ioseekoff.c: Likewise.
5390 * libio/ioseekpos.c: Likewise.
5391 * libio/iosetbuffer.c: Likewise.
5392 * libio/iosetvbuf.c: Likewise.
5393 * libio/ioungetc.c: Likewise.
5394 * libio/ioungetwc.c: Likewise.
5395 * libio/iovdprintf.c: Likewise.
5396 * libio/iovsprintf.c: Likewise.
5397 * libio/iovsscanf.c: Likewise.
5398 * libio/memstream.c: Likewise.
5399 * libio/obprintf.c: Likewise.
5400 * libio/oldfileops.c: Likewise.
5401 * libio/oldiofclose.c: Likewise.
5402 * libio/oldiofdopen.c: Likewise.
5403 * libio/oldiofopen.c: Likewise.
5404 * libio/oldiopopen.c: Likewise.
5405 * libio/oldstdfiles.c: Likewise.
5406 * libio/putc.c: Likewise.
5407 * libio/setbuf.c: Likewise.
5408 * libio/setlinebuf.c: Likewise.
5409 * libio/stdfiles.c: Likewise.
5410 * libio/strops.c: Likewise.
5411 * libio/vasprintf.c: Likewise.
5412 * libio/vscanf.c: Likewise.
5413 * libio/vsnprintf.c: Likewise.
5414 * libio/vswprintf.c: Likewise.
5415 * libio/wfiledoalloc.c: Likewise.
5416 * libio/wfileops.c: Likewise.
5417 * libio/wgenops.c: Likewise.
5418 * libio/wmemstream.c: Likewise.
5419 * libio/wstrops.c: Likewise.
5420 * libio/__fpurge.c: Likewise.
5421 * libio/__fsetlocking.c: Likewise.
5422 * assert/assert.c: Likewise.
5423 * debug/fgets_chk.c: Likewise.
5424 * debug/fgets_u_chk.c: Likewise.
5425 * debug/fread_chk.c: Likewise.
5426 * debug/fread_u_chk.c: Likewise.
5427 * debug/gets_chk.c: Likewise.
5428 * debug/obprintf_chk.c: Likewise.
5429 * debug/vasprintf_chk.c: Likewise.
5430 * debug/vdprintf_chk.c: Likewise.
5431 * debug/vsnprintf_chk.c: Likewise.
5432 * debug/vsprintf_chk.c: Likewise.
5433 * malloc/mtrace.c: Likewise.
5434 * misc/error.c: Likewise.
5435 * misc/syslog.c: Likewise.
5436 * stdio-common/asprintf.c: Likewise.
5437 * stdio-common/fxprintf.c: Likewise.
5438 * stdio-common/getw.c: Likewise.
5439 * stdio-common/isoc99_fscanf.c: Likewise.
5440 * stdio-common/isoc99_scanf.c: Likewise.
5441 * stdio-common/isoc99_vfscanf.c: Likewise.
5442 * stdio-common/isoc99_vscanf.c: Likewise.
5443 * stdio-common/isoc99_vsscanf.c: Likewise.
5444 * stdio-common/printf-prs.c: Likewise.
5445 * stdio-common/printf_fp.c: Likewise.
5446 * stdio-common/printf_fphex.c: Likewise.
5447 * stdio-common/printf_size.c: Likewise.
5448 * stdio-common/putw.c: Likewise.
5449 * stdio-common/scanf.c: Likewise.
5450 * stdio-common/sprintf.c: Likewise.
5451 * stdio-common/tmpfile.c: Likewise.
5452 * stdio-common/vfprintf.c: Likewise.
5453 * stdio-common/vfscanf.c: Likewise.
5454 * stdlib/strfmon_l.c: Likewise.
5455 * sunrpc/openchild.c: Likewise.
5456 * sunrpc/xdr_stdio.c: Likewise.
5457 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5458 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5460 2012-05-24 Roland McGrath <roland@hack.frob.com>
5462 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5464 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5465 in the third column, to generate for the shared library an IFUNC
5466 that uses _dl_vdso_vsym.
5467 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5468 * Makeconfig (object-suffixes-noshared): New variable.
5470 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5471 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5472 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5473 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5476 * include/sys/time.h (__gettimeofday): Remove macro.
5477 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5478 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5480 (__gettimeofday): Add libc_hidden_def.
5481 (gettimeofday): Add libc_hidden_weak.
5482 * sysdeps/mach/gettimeofday.c: Likewise.
5483 * sysdeps/posix/gettimeofday.c: Likewise.
5484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5487 (__gettimeofday_internal): Remove strong_alias.
5488 (__gettimeofday): Add libc_hidden_def.
5489 (gettimeofday): Add libc_hidden_weak.
5490 * sysdeps/unix/syscalls.list (gettimeofday):
5491 Remove __gettimeofday_internal alias.
5493 2012-05-24 Daniel Jacobowitz <drow@false.org>
5494 H.J. Lu <hongjiu.lu@intel.com>
5497 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5498 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5499 (largebin_index_32_big): New.
5500 (largebin_index): Use it for 16-byte alignment.
5501 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5502 correction with front_misalign.
5504 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5532 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5533 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5535 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5539 * math/libm-test.inc (exp_test): Add test from bug 14036.
5540 (pow_test): Add test from bug 10846.
5542 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5544 (special_function): Do not include flags in test name.
5545 (parse_args): Likewise.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5549 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5552 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5554 * math/libm-test.inc ("Philosophy"): Update comment about
5556 (UNDERFLOW_EXCEPTION): New macro.
5557 (UNDERFLOW_EXCEPTION_OK): Likewise.
5558 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5559 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5560 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5561 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5562 (INVALID_EXCEPTION_OK): Update value.
5563 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5564 (OVERFLOW_EXCEPTION_OK): Likewise.
5565 (IGNORE_ZERO_INF_SIGN): Likewise.
5566 (test_exceptions): Handle underflow exceptions.
5567 (acos_test): Update for underflow exception expectations.
5568 (cexp_test): Likewise.
5569 (clog_test): Likewise.
5570 (clog10_test): Likewise.
5571 (csqrt_test): Likewise.
5572 (ctan_test): Likewise.
5573 (ctanh_test): Likewise.
5574 (exp_test): Likewise.
5575 (exp10_test): Likewise.
5576 (exp2_test): Likewise.
5577 (expm1_test): Likewise.
5578 (fma_test): Likewise.
5579 (j0_test): Likewise.
5580 (jn_test): Likewise.
5581 (nexttoward_test): Likewise.
5582 (pow_test): Likewise.
5583 (scalbn_test): Likewise.
5584 (scalbln_test): Likewise.
5585 (tan_test): Likewise.
5586 (y1_test): Likewise.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5590 2012-05-23 David S. Miller <davem@davemloft.net>
5592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5593 (__libc_sigaction): Remove unused local variables.
5595 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5597 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5599 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5601 mktime: avoid signed integer overflow
5602 * time/mktime.c (__mktime_internal): Do not mishandle the case
5603 where diff == INT_MIN.
5605 mktime: simplify computation of average
5606 * time/mktime.c (ranged_convert): Use new time_t_avg function
5607 instead of rolling our own (probably-slower) code.
5609 mktime: do not assume signed right shift propagates sign bit
5610 * time/mktime.c (isdst_differ): New static function.
5611 (__mktime_internal): No need to normalize tm_isdst now.
5612 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5615 mktime: merge another wrapv change from gnulib
5616 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5617 from some compilers.
5619 mktime: remove incorrect attempt at unusual arithmetics
5620 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5621 The code didn't really work on such machines anyway.
5622 (TYPE_MINIMUM): Assume two's complement.
5623 (twos_complement_arithmetic): Verify that long_int and time_t
5624 are two's complement (or unsigned, in the latter case).
5626 mktime: check signed shifts on long_int and time_t, too
5627 * time/mktime.c (SHR): Check that shifts work as desired
5628 on the types long_int and time_t too, as SHR is used on
5631 mktime: do not assume 'long' is wide enough
5632 * time/mktime.c (verify): Move decl up.
5633 (long_int): New type.
5634 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5635 to remove assumption in the code that 'long' is wide enough to
5636 store year values. This assumption is not true on x32 and on
5637 some non-glibc platforms.
5639 mktime: merge wrapv change from gnulib
5640 * time/mktime.c (WRAPV): New macro.
5641 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5642 (guess_time_tm, __mktime_internal): Do not assume that signed
5643 integer overflow wraps around; modern compilers generate code
5644 where this assumption is no longer valid.
5646 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5648 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5649 Replace "jmp L(pseudo_end)" with "ret".
5650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5653 2012-05-23 Andreas Jaeger <aj@suse.de>
5655 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5656 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5658 2012-05-23 Andreas Jaeger <aj@suse.de>
5659 Maximilian Attems <max@stro.at>
5661 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5664 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5667 code so that pseudo_end is just ret and the stack pointer is
5668 correct also for static library in error case.
5670 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5672 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5673 move to syscalls.list.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5679 * manual/install.texi (Running make install): Do not mention Linux
5680 kernel version for which pt_chown is not needed.
5681 (Linux): Do not mention problems with nscd with 2.0 kernels.
5682 * INSTALL: Regenerated.
5684 2012-05-23 Andreas Jaeger <aj@suse.de>
5686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5687 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5689 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5691 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5693 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5699 * sysdeps/unix/sysv/linux/bits/in.h
5700 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5702 2012-05-22 Roland McGrath <roland@hack.frob.com>
5704 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5705 (PREPARE_VERSION): Just use assert instead, it will be elided
5706 under [NDEBUG] anyway.
5708 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5710 * sysdeps/unix/sysv/linux/Makefile: Include
5711 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5712 (sysdep_routines): Remove sysctl.
5713 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5714 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5715 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5717 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5719 2012-05-22 Andreas Jaeger <aj@suse.de>
5721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5722 that pseudo_end is just ret and the stack pointer is correct also
5723 for static library in error case.
5725 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5728 * nss/nsswitch.c (defconfig_entries): New variable.
5729 (__nss_database_lookup): Don't leak defconfig entries.
5730 (nss_parse_service_list): Don't leak on error paths.
5731 (free_database_entries): New function.
5732 (free_defconfig): New function.
5733 (free_mem): Move common code to free_database_entries.
5735 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5737 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5739 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5741 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5742 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5745 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5746 (INTERNAL_SYSCALL_TYPES): Likewise.
5747 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5748 (LOAD_REGS_TYPES_[1-6]): Likewise.
5749 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5750 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5752 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5755 copysignl for GLIBC_2_0.
5756 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5757 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5759 logbl for GLIBC_2_0.
5760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5761 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5763 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5766 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5768 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5771 * time/mktime.c: Update copyright years.
5773 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5775 mktime: merge comment-quoting-style change from gnulib
5776 * time/mktime.c: Quote 'like this' in comments.
5777 The GNU coding standards suggest that we no longer quote `like this',
5778 as "`" and "'" are typically rendered asymmetrically nowadays.
5779 The typical gnulib style is to quote 'like this' when quoting
5780 code, and "like this" when quoting English.
5782 * time/mktime.c (compile-command): Add "-I.".
5784 mktime: merge mktime-internal.h change from gnulib
5785 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5787 mktime: merge time_r change from gnulib
5788 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5790 mktime: merge DEBUG change from gnulib
5791 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5792 case system <time.h> has a #define.
5794 mktime: merge <sys/types.h> change from gnulib
5795 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5796 since <time.t> is now guaranteed to define time_t.
5798 mktime: merge HAVE_CONFIG_H change from gnulib
5799 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5801 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5806 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5808 (struct rusage): Use anonymous union to pad each field to
5811 2012-05-21 David S. Miller <davem@davemloft.net>
5813 * Makefules (o-iterator): Remove .s cases.
5814 (compile-command.s): Delete.
5815 (COMPILE.s): Delete.
5816 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5818 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5820 * configure.in (libc_cv_predef_stack_protector): Only consider
5821 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5822 * configure: Regenerated.
5824 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5827 New macro. Use R*LP on int and pointer.
5828 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5829 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5830 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5833 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5834 [__WORDSIZE_TIME64_COMPAT32] instead of
5835 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5836 (struct utmp): Likewise.
5837 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5838 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5840 (__WORDSIZE_TIME64_COMPAT32): This.
5841 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5842 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5843 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5844 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5845 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5846 (__WORDSIZE_TIME64_COMPAT32): New macro.
5848 2012-05-21 Andreas Jaeger <aj@suse.de>
5850 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5851 only if [SHARED]. Add prototype for __wcschr_ia32.
5853 2012-05-21 Roland McGrath <roland@hack.frob.com>
5855 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5856 of %rbp unmolested in the jmp_buf while mangling the low bits.
5857 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5858 unmolested high bits of %rbp while demangling the low bits.
5859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5861 2012-05-21 Andreas Jaeger <aj@suse.de>
5863 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5864 * sunrpc/svc_simple.c: Use it for registerrpc.
5865 * sunrpc/xcrypt.c: Use it for passwd2des.
5867 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5869 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5871 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5872 Don't define if [__SYSCALL_WORDSIZE != 32].
5873 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5876 2012-05-21 Bruno Haible <bruno@clisp.org>
5877 Andreas Jaeger <aj@suse.de>
5879 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5880 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5881 inptr and inend for must_buffer_ch.
5882 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5883 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5884 * stdio-common/Makefile (tests): Remove bug15.
5885 (bug15-ENV): Remove macro.
5886 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5889 2012-05-19 Andreas Jaeger <aj@suse.de>
5890 Roland McGrath <roland@hack.frob.com>
5892 * manual/contrib.texi: Completely rewritten. It contains now an
5893 alphabetical list of contributors and their contributions.
5895 2012-05-21 Richard Henderson <rth@twiddle.net>
5897 * misc/getauxval.c (__getauxval): Use unsigned long int.
5898 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5899 (getauxval): Use unsigned long int.
5901 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5903 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5905 2012-05-21 Roland McGrath <roland@hack.frob.com>
5907 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5908 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5909 __alignof__ (long double).
5911 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5915 2012-05-20 Richard Henderson <rth@twiddle.net>
5917 * misc/getauxval.c: New file.
5918 * misc/sys/auxv.h: New file.
5919 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5920 (routines): Add getauxval.
5921 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5923 * elf/dl-sysdep.c (_dl_auxv): Remove.
5924 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5925 * elf/dl-support.c (_dl_auxv): New variable.
5926 (_dl_aux_init): Initialize it.
5927 * manual/startup.texi (Auxiliary Vector): New node.
5928 * sysdeps/generic/bits/hwcap.h: New file.
5929 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5930 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5931 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5932 * sysdeps/sparc/sysdep.h: ... here. Include it.
5933 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5946 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5950 2012-05-19 David S. Miller <davem@davemloft.net>
5952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5954 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5957 * math/s_ccosh.c: Include <float.h>
5958 (__ccosh): Avoid internal overflow calculating sinh and cosh
5959 values before multiplying by sin and cos values.
5960 * math/s_ccoshf.c: Likewise.
5961 * math/s_ccoshl.c: Likewise.
5962 * math/s_csin.c: Likewise.
5963 * math/s_csinf.c: Likewise.
5964 * math/s_csinl.c: Likewise.
5965 * math/s_csinh.c: Likewise.
5966 * math/s_csinhf.c: Likewise.
5967 * math/s_csinhl.c: Likewise.
5968 * math/libm-test.inc (ccos_test): Add more tests.
5969 (ccosh_test): Likewise.
5970 (csin_test): Likewise.
5971 (csinh_test): Likewise.
5972 * sysdeps/i386/fpu/libm-test-ulps: Update.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5975 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5977 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5978 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5980 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5982 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5984 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5985 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5986 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5987 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5988 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5989 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5990 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5991 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5992 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5993 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5994 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5995 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5996 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5997 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5998 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5999 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6000 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6001 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6002 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6003 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6004 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6005 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6006 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6007 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6008 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6009 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6010 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6011 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6012 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6013 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6014 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6016 2012-05-18 Andreas Jaeger <aj@suse.de>
6018 * csu/.gitignore: Delete.
6020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6022 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6023 (timex): Use __syscall_slong_t.
6025 2012-05-18 Andreas Jaeger <aj@suse.de>
6026 Carlos O'Donell <carlos_odonell@mentor.com>
6028 * manual/install.texi (Configuring and compiling): Update
6029 description about files modified in the source directory.
6030 * INSTALL: Regenerated.
6032 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6034 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6035 value. Use "or" to set return value to -1.
6036 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6037 negate return value.
6039 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6041 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6042 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6043 failure if the compiler has Graphite support disabled.
6044 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6046 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6047 CFLAGS-memmove.c): Likewise.
6048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6051 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6053 * sysdeps/x86_64/x32/_itoa.h: New file.
6055 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6056 getdents system call only if kernel and user dirents have the
6057 same d_ino and d_off.
6059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6060 LLONG_MAX != LONG_MAX.
6061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6062 (_fitoa_word): Likewise.
6064 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6068 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6071 include <bits/wordsize.h>. Check __x86_64__ instead of
6073 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6074 if __x86_64__ is defined. Use anonymous union on fpstate.
6076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6079 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6081 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6082 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6083 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6084 Refer to _rtld_local_ro instead of _rtld_global_ro.
6085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6087 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6089 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6091 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6092 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6093 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6095 * sysdeps/powerpc/powerpc32/dl-machine.c
6096 (__elf_machine_runtime_setup) [PROF]: Don't reference
6099 2012-05-18 Andreas Jaeger <aj@suse.de>
6101 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6102 function only available for GCCs before 3.4 since GCC 3.4
6103 introduced a builtin.
6105 (llrintf): Likewise.
6113 (nearbyint): Likewise.
6114 (nearbyintf): Likewise.
6120 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6122 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6123 on both fields and cast pointer to __syscall_ulong_t.
6125 * bits/types.h (__fsword_t): New type.
6126 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6127 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6129 (__FSWORD_T_TYPE): Likewise.
6130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6131 (__FSWORD_T_TYPE): Likewise.
6132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6133 (__FSWORD_T_TYPE): Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6135 (__FSWORD_T_TYPE): Likewise.
6136 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6137 __SWORD_TYPE with __fsword_t.
6138 (statfs64): Likewise.
6140 2012-05-17 David S. Miller <davem@davemloft.net>
6142 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6144 2012-05-17 Andreas Jaeger <aj@suse.de>
6146 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6149 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6151 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6153 2012-05-17 Andreas Jaeger <aj@suse.de>
6155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6158 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6160 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6164 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6165 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6167 2012-05-17 Andreas Jaeger <aj@suse.de>
6168 Carlos O'Donell <carlos_odonell@mentor.com>
6171 * sysdeps/x86_64/multiarch/init-arch.h
6172 (bit_YMM_Usable): Rename to...
6173 (bit_AVX_Usable): ... this.
6174 (bit_FMA4_Usable): New macro.
6175 (bit_XMM_state): New macro.
6176 (bit_YMM_state): New macro.
6177 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6178 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6179 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6180 (CPUID_OSXSAVE): New macro.
6181 (CPUID_AVX): New macro.
6182 (CPUID_FMA4): New macro.
6183 (index_YMM_Usable): Rename to...
6184 (index_AVX_Usable): ... this.
6185 (HAS_AVX): Use HAS_ARCH_FEATURE.
6186 (HAS_FMA4): Likewise.
6187 (HAS_YMM_USABLE): Remove.
6188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6189 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6191 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6192 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6193 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6194 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6195 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6197 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6199 * math/libm-test.c: Support platforms without multiple rounding modes.
6200 * math/bug-nextafter.c: Support platforms without FP exceptions.
6201 * math/bug-nexttoward.c: Likewise.
6202 * math/test-fenv.c: Likewise.
6203 * math/test-misc.c: Likewise.
6204 * stdlib/bug-getcontext.c: Likewise.
6206 2012-05-17 Andreas Jaeger <aj@suse.de>
6208 * manual/examples/search.c (critter_cmp): Change signature to
6210 * manual/string.texi (Collation Functions): Likewise.
6212 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6214 * bits/types.h: Fold copyright years.
6215 * bits/typesizes.h: Likewise.
6216 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6220 * time/time.h: Likewise.
6222 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6225 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6226 in instead of returning them. Return void.
6227 (__libc_mallinfo): Accumulate over all arenas.
6228 (__malloc_stats): Adjust for change in int_mallinfo interface.
6230 2012-05-16 Roland McGrath <roland@hack.frob.com>
6233 * configure.in (NM): Add AC_CHECK_TOOL for it.
6234 (libc_extra_cflags): New substituted variable.
6235 Check for -fstack-protector being used implicitly.
6236 * configure: Regenerated.
6237 * config.make.in (config-extra-cflags): New variable,
6238 gets @libc_extra_cflags@.
6239 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6242 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6243 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6244 * configure: Regenerated.
6245 * config.make.in (CPPUNDEFS): New substituted variable.
6246 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6247 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6248 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6252 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6253 (mq_attr): Use __syscall_slong_t.
6255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6258 Check __x86_64__ instead of __WORDSIZE.
6259 (_STAT_VER_LINUX): Likewise.
6260 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6261 __syscall_ulong_t and __syscall_slong_t.
6264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6274 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6277 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6278 include <bits/wordsize.h>. Check __x86_64__ instead of
6280 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6282 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6285 include <bits/wordsize.h>. Check __x86_64__ instead of
6287 (user_regs_struct): Use "__extension__ unsigned long long"
6288 instead of "unsigned long" if __x86_64__ is defined.
6289 (user): Likewise. Pad after pointer field if __ILP32__ is
6292 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6294 * configure.in (makeinfo): Require version 4.5 or later. Allow
6296 * configure: Regenerated.
6297 * manual/install.texi (texinfo): Increase version requirement to
6299 * INSTALL: Regenerated.
6301 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6305 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6307 * sysdeps/x86_64/x32/ffs.c: New file.
6309 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6311 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6312 defined. Use __syscall_ulong_t.
6313 (shminfo): Use __syscall_ulong_t.
6314 (shm_info): Likewise.
6316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6319 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6321 (msgqnum_t): Use __syscall_ulong_t.
6322 (msglen_t): Likewise.
6323 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6326 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6327 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6329 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6331 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6332 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6334 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6338 include <bits/wordsize.h>. Check __x86_64__ instead of
6341 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6342 "unsigned long long int" if __x86_64__ is defined.
6343 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6346 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6347 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6349 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6351 (GET_PC): Cast to uintptr_t first.
6352 (GET_FRAME): Likewise.
6353 (GET_STACK): Likewise.
6355 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6357 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6359 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6361 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6363 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6372 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6382 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6385 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6387 * Makerules (+depfiles): Also collect depfiles from .oS in
6389 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6390 .oS, $(libnldbl-routines)).
6392 * Makerules (native-compile-mkdep-flags): Define.
6393 * sunrpc/Makefile (extra-objs): Add $(addprefix
6394 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6395 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6396 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6397 calling $(make-target-directory).
6399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6401 * bits/types.h (__snseconds_t): Removed.
6402 * time/time.h (struct timespec): Replace __snseconds_t with
6404 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6405 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6408 (__SNSECONDS_T_TYPE): Likewise.
6409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6410 (__SNSECONDS_T_TYPE): Likewise.
6411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6412 (__SNSECONDS_T_TYPE): Likewise.
6414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6416 * sysdeps/mach/hurd/bits/typesizes.h
6417 (__SYSCALL_SLONG_TYPE): New macro.
6418 (__SYSCALL_ULONG_TYPE): Likewise.
6420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6422 * bits/types.h (__syscall_slong_t): New type.
6423 (__syscall_ulong_t): Likewise.
6425 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6426 (__SYSCALL_ULONG_TYPE): Likewise.
6427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6428 (__SYSCALL_SLONG_TYPE): Likewise.
6429 (__SYSCALL_ULONG_TYPE): Likewise.
6430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6431 (__SYSCALL_SLONG_TYPE): Likewise.
6432 (__SYSCALL_ULONG_TYPE): Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6434 (__SYSCALL_SLONG_TYPE): Likewise.
6435 (__SYSCALL_ULONG_TYPE): Likewise.
6437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6439 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6440 Add sigaltstack-offsets.sym.
6441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6442 <sigaltstack-offsets.h>.
6443 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6444 longjmp_msg pointer.
6445 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6446 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6448 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6450 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6452 * elf/stackguard-macros.h: Remove file.
6453 * sysdeps/generic/stackguard-macros.h: New file.
6454 * sysdeps/i386/stackguard-macros.h: Likewise.
6455 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6456 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6457 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6458 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6459 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6460 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6461 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6462 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6463 <elf/stackguard-macros.h>.
6466 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6467 __aligned__ in attribute.
6468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6469 (gregset_t): Likewise.
6471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6473 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6474 * sysdeps/x86_64/64/Implies-after: Here. New file.
6475 * sysdeps/x86_64/x32/Implies-after: New file.
6477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6479 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6480 and access return value for _dl_profile_fixup. Use R10_LP to
6483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6485 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6489 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6490 * sysdeps/x86_64/x32/sysdep.h: New file.
6492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6494 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6495 * sysdeps/x86_64/setjmp.S: Likewise.
6497 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6501 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6503 remove unused global constant.
6505 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6507 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6508 include of <not-cancel.h>.
6510 2012-05-15 Roland McGrath <roland@hack.frob.com>
6512 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6514 2012-05-15 Jeff Law <law@redhat.com>
6515 Andreas Jaeger <aj@suse.de>
6518 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6520 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6521 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6522 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6523 code changing __hst_map_handle.map.
6525 2012-05-15 Roland McGrath <roland@hack.frob.com>
6527 * configure.in (sysnames): Look for Implies-before and Implies-after
6529 * configure: Regenerated.
6531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6534 8-byte data alignment with LP_SIZE alignment.
6536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6538 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6543 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6547 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6548 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6555 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6556 (stackinfo_sub_sp): Likewise.
6558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6575 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6579 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6580 into R11_LP and load __x86_64_shared_cache_size_half into
6583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6585 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6588 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6597 powerpc32/power7/fpu/s_logb.c via #include.
6598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6599 powerpc32/power7/fpu/s_logbf.c via #include.
6600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6601 powerpc32/power7/fpu/s_logbl.c via #include.
6603 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6605 * README.libm: Remove file.
6607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6609 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6610 count for x32. Use R*_LP and omit operand-size suffix.
6612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6614 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6615 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6616 * sysdeps/x86_64/x32/shlib-versions: New file.
6618 2012-05-14 Roland McGrath <roland@hack.frob.com>
6620 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6621 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6622 Use _dl_fatal_printf instead.
6624 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6626 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6627 set if not set by the user. Do not allow for being unset.
6628 * sysdeps/unix/sysv/linux/configure: Regenerated.
6630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6632 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6633 the `q' suffix from lea and replace .quad with ASM_ADDR.
6635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6638 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6640 (PTR_DEMANGLE): Likewise.
6642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6644 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6646 (ASM_ADDR): Likewise.
6664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6666 * sysdeps/x86_64/x32/dl-machine.h: New file.
6668 2012-05-14 Andreas Jaeger <aj@suse.de>
6670 * manual/Makefile (subdir): Remove export of subdir.
6671 (all): Remove target.
6672 (.PHONY): Remove all from list.
6673 (mkinstalldirs): Remove.
6674 (.PHONY): Remove installdirs from list.
6675 ($(inst_infodir)/libc.info): Use make-target-directory.
6676 (installdirs): Remove.
6678 (glibc-targets): Remove.
6681 ($(objpfx)stubs ../po/manual.pot): Remove.
6682 ($(objpfx)stamp%): Remove.
6683 (make-target-directory): Remove.
6684 (subdir_install): Remove.
6692 * manual/.gitignore: Remove, it's not needed anymore.
6693 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6695 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6697 (texis): Renamed to $(objpfx)texis.
6698 (texis-path): New, contains path to generated files.
6699 (chapters.%): Use texis-path for complete path, add extra argument
6701 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6702 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6703 (summary,texi, stamp-summary): Use complete path of
6704 files. Generate files in build dir.
6705 (dir-add.texi): Build in build dir.
6706 (libm-err.texi,stamp-libm-err): Likewise.
6707 (version.texi, stamp-version): Likewise.
6708 (.%c.texi): Likewise.
6709 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6710 (mostlyclean): Remove target.
6711 (realclean): Remove target.
6712 (generated): Add new variable with contents from mostlyclean and
6713 realclean, remove entries duplicated in common-mostlyclean, add
6714 stamp-libm-err and stamp-version.
6715 (generated-dirs): Add libc directory.
6716 ($(inst_infodir)/libc.info): Install files from build dir.
6718 * manual/install.texi (Configuring and compiling): Adjust since
6719 the info files are not part of the tar ball anymore.
6721 2012-05-14 Andreas Jaeger <aj@suse.de>
6723 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6726 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6730 to 2.2.0 where earlier.
6731 * sysdeps/unix/sysv/linux/configure: Regenerated.
6732 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6733 Remove conditional code.
6734 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6735 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6736 Remove conditional code.
6737 [!__NR_lchown]: Likewise.
6738 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6739 [__NR_lchown]: Likewise.
6740 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6741 comment referencing __ASSUME_LCHOWN_SYSCALL.
6742 * sysdeps/unix/sysv/linux/i386/sigaction.c
6743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6746 Remove conditional code.
6747 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6748 (__protocol_available): Remove #if 0 code.
6749 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6751 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6752 * sysdeps/unix/sysv/linux/kernel-features.h
6753 (__ASSUME_GETCWD_SYSCALL): Don't define.
6754 (__ASSUME_REALTIME_SIGNALS): Likewise.
6755 (__ASSUME_PREAD_SYSCALL): Likewise.
6756 (__ASSUME_PWRITE_SYSCALL): Likewise.
6757 (__ASSUME_POLL_SYSCALL): Likewise.
6758 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6759 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6761 (__ASSUME_SIOCGIFNAME): Don't define.
6762 (__ASSUME_MSG_NOSIGNAL): Likewise.
6763 (__ASSUME_SENDFILE): Define unconditionally.
6764 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6765 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6767 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6768 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6769 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6770 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6771 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6772 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6773 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6798 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6799 Remove conditional code.
6800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6801 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6802 Remove conditional code.
6803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6804 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6805 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6806 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6807 Remove conditional code.
6808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6809 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6810 Remove conditional code.
6811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6812 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6813 Remove conditional code.
6814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6815 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6816 Remove conditional code.
6817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6818 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6819 Remove conditional code.
6820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6821 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6822 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6824 * sysdeps/unix/sysv/linux/sigaction.c
6825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6827 * sysdeps/unix/sysv/linux/sigpending.c
6828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6830 * sysdeps/unix/sysv/linux/sigprocmask.c
6831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6833 * sysdeps/unix/sysv/linux/sigsuspend.c
6834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6837 (__libc_missing_rt_sigs): Remove.
6838 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6839 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6840 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6841 Remove conditional code.
6842 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6843 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6845 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6848 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6850 2012-05-14 Andreas Jaeger <aj@suse.de>
6852 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6853 it's not used in glibc.
6854 (__coshm1): Likewise.
6855 (__acosh1p): Likewise.
6858 * manual/string.texi (Copying and Concatenation): Add missing
6859 variable in concat example.
6860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6866 __builtin_clzl with __builtin_clzll.
6868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6871 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6874 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6876 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6877 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6878 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6881 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6883 * NEWS: Update ia64 info.
6885 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6887 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6890 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6892 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6893 * sysdeps/unix/syscalls.list (dup3): Likewise.
6894 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6895 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6899 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6900 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6902 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6904 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6906 (TLS_IE): Use mov/add instead of movq/addq to load thread
6908 (TLS_GD_PREFIX): New.
6911 2012-05-11 David S. Miller <davem@davemloft.net>
6913 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6914 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6915 (_FPU_SETCW): Likewise.
6917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6919 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6922 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6925 * iconvdata/gb18030.c: Update tables.
6926 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6927 characters specially.
6928 (BODY for TO_LOOP): Add encoding of missing ranges.
6930 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6933 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6934 * sysdeps/mach/hurd/dup3.c: Likewise.
6935 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6936 * sysdeps/powerpc/memmove.c:: Likewise.
6938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6941 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6945 * elf/elf.h (R_X86_64_RELATIVE64): New.
6946 (R_X86_64_NUM): Updated.
6947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6948 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6949 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6950 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6951 tst-quad1pie tst-quad2pie
6952 (modules-names): Add tst-quadmod1 tst-quadmod2.
6953 ($(objpfx)tst-quad1): New dependency.
6954 ($(objpfx)tst-quad2): Likewise.
6955 ($(objpfx)tst-quad1pie): Likewise.
6956 ($(objpfx)tst-quad2pie): Likewise.
6957 * sysdeps/x86_64/tst-quad1.c: New file.
6958 * sysdeps/x86_64/tst-quad1pie.c: New file.
6959 * sysdeps/x86_64/tst-quad2.c: Likewise.
6960 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6961 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6962 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6963 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6964 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6968 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6969 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6970 * streams/stropts.h (t_scalar_t): Define type.
6972 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6973 (_PATH_PRESERVE): Set to "/var/lib".
6974 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6976 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6979 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6980 if __dir_mkfile succeeded.
6982 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6983 checking for _hurd_dtablesize. Unlock it right after having
6984 finished _hurd_dtable allocation.
6986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6988 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6989 * sysdeps/mach/hurd/configure: Regenerated.
6990 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6991 special-casing to...
6992 * sysdeps/gnu/configure.in: ... this new file.
6993 * sysdeps/unix/sysv/linux/configure: Regenerated.
6994 * sysdeps/gnu/configure: New generated file.
6996 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6997 for Linux: use nsec instead of usec, as well as:
6998 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6999 members of type struct timespec.
7000 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7002 (struct stat64): Likewise.
7003 (_STATBUF_ST_NSEC): New macro.
7004 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7007 __strtoul_internal rather than strtoul.
7009 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7011 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7016 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7017 which preserves existing values.
7018 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7022 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7023 TIMEOUT values. Return EINVAL for NFDS values either negative or
7024 greater than FD_SETSIZE.
7026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7028 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7029 allocated, call __vm_protect to finish enabling the existing space, and
7030 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7031 allocate the remainder.
7033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7035 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7036 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7040 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7041 sysdeps/mach/hurd/readlink.c.
7043 * posix/tst-sysconf.c (posix_options): Only use
7044 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7045 _POSIX_SYNCHRONIZED_IO when they are defined
7046 * sysdeps/mach/hurd/bits/posix_opt.h:
7047 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7048 (_XOPEN_REALTIME): Undefine macro.
7049 (_XOPEN_REALTIME_THREADS): Undefine macro.
7050 (_XOPEN_SHM): Undefine macro.
7051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7053 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7055 (_POSIX_ASYNC_IO): Undefine macro.
7056 (_POSIX_PRIORITIZED_IO): Undefine macro.
7057 (_POSIX_SPIN_LOCKS): Define macro to -1.
7059 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7060 SA_NODEFER, SA_RESETHAND.
7061 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7062 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7067 * elf/Makefile (pldd-modules): Define unconditionally.
7069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7071 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7075 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7076 Return ENOENT when name is empty.
7077 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7081 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7083 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7087 Fix mlock in all cases except non-readable pages.
7088 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7089 instead of VM_PROT_ALL as parameter to __vm_wire function.
7091 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7092 (__mkdir): When path is `/', just fail with EEXIST.
7093 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7097 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7098 <sys/uio.h> (for writev).
7099 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7100 and <sys/param.h> (for MIN).
7102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7104 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7105 REQUESTED_TIME. Properly set the remaining time and return EINTR
7108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7110 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7111 Depend on against $(link-rpcuserlibs).
7113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7115 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7116 (__libc_stack_end): Do not use attribute_relro.
7117 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7118 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7119 to libthread-provided value.
7120 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7126 * bits/libc-lock.h (__libc_once_get): New macro.
7127 * sysdeps/mach/bits/libc-lock.h: Likewise.
7128 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7130 instead of using implementation details.
7132 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7133 * libio/freopen.c: Likewise.
7134 * libio/freopen64.c: Likewise.
7135 * misc/syslog.c: Likewise.
7136 * nscd/connections.c: Likewise.
7137 * nscd/netgroupcache.c: Likewise.
7138 * sysdeps/posix/getcwd.c: Likewise.
7140 2012-05-10 Roland McGrath <roland@hack.frob.com>
7142 * math/w_ilogbf.c: Add #include <limits.h>.
7144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7146 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7147 path instead of returning without unlocking.
7149 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7150 immediate-write ioctls.
7151 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7155 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7156 __builtin_frame_address instead of making assumptions about the
7157 location of the return address relative to DATA. Force early load of
7159 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7160 __builtin_frame_address.
7163 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7164 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7165 implement dup3 and do some further code clean-ups.
7166 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7167 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7171 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7173 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7174 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7175 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7176 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7177 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7180 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7181 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7182 when handler == SIG_ERR, not when handler != SIG_ERR.
7184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7186 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7187 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7190 accept4 for GNU Hurd.
7191 * include/sys/socket.h (__libc_accept4): New prototype.
7192 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7193 to implement __libc_accept4.
7194 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7196 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7198 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7199 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7200 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7205 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7209 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7210 assertion on O_CLOEXEC flag.
7211 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7212 * hurd/intern-fd.c: Likewise.
7213 * hurd/port2fd.c: Likewise.
7215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7218 * bits/in.h (IPV6_PKTINFO): Define new macro.
7219 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7221 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7228 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7229 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7232 * math/libm-test.inc (logb_test) : Additional logb tests.
7234 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7235 Andreas Jaeger <aj@suse.de>
7237 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7238 * configure: Regenerated.
7239 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7240 * config.make.in (link-obsolete-rpc): New substituted variable.
7241 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7242 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7243 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7244 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7245 so that libc.a contains the symbols.
7246 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7247 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7248 * sunrpc/auth_none.c: Likewise.
7249 * sunrpc/auth_unix.c: Likewise.
7250 * sunrpc/authdes_prot.c: Likewise.
7251 * sunrpc/authuxprot.c: Likewise.
7252 * sunrpc/clnt_gen.c: Likewise.
7253 * sunrpc/clnt_perr.c: Likewise.
7254 * sunrpc/clnt_raw.c: Likewise.
7255 * sunrpc/clnt_simp.c: Likewise.
7256 * sunrpc/clnt_tcp.c: Likewise.
7257 * sunrpc/clnt_udp.c: Likewise.
7258 * sunrpc/clnt_unix.c: Likewise.
7259 * sunrpc/des_crypt.c: Likewise.
7260 * sunrpc/des_soft.c: Likewise.
7261 * sunrpc/get_myaddr.c: Likewise.
7262 * sunrpc/key_call.c: Likewise.
7263 * sunrpc/key_prot.c: Likewise.
7264 * sunrpc/netname.c: Likewise.
7265 * sunrpc/pm_getmaps.c: Likewise.
7266 * sunrpc/pm_getport.c: Likewise.
7267 * sunrpc/pmap_clnt.c: Likewise.
7268 * sunrpc/pmap_prot.c: Likewise.
7269 * sunrpc/pmap_prot2.c: Likewise.
7270 * sunrpc/pmap_rmt.c: Likewise.
7271 * sunrpc/publickey.c: Likewise.
7272 * sunrpc/rpc_cmsg.c: Likewise.
7273 * sunrpc/rpc_common.c: Likewise.
7274 * sunrpc/rpc_dtable.c: Likewise.
7275 * sunrpc/rpc_prot.c: Likewise.
7276 * sunrpc/rpc_thread.c: Likewise.
7277 * sunrpc/rtime.c: Likewise.
7278 * sunrpc/svc.c: Likewise.
7279 * sunrpc/svc_auth.c: Likewise.
7280 * sunrpc/svc_raw.c: Likewise.
7281 * sunrpc/svc_run.c: Likewise.
7282 * sunrpc/svc_tcp.c: Likewise.
7283 * sunrpc/svc_udp.c: Likewise.
7284 * sunrpc/svc_unix.c: Likewise.
7285 * sunrpc/svcauth_des.c: Likewise.
7286 * sunrpc/xcrypt.c: Likewise.
7287 * sunrpc/xdr.c: Likewise.
7288 * sunrpc/xdr_array.c: Likewise.
7289 * sunrpc/xdr_float.c: Likewise.
7290 * sunrpc/xdr_intXX_t.c: Likewise.
7291 * sunrpc/xdr_mem.c: Likewise.
7292 * sunrpc/xdr_rec.c: Likewise.
7293 * sunrpc/xdr_ref.c: Likewise.
7294 * sunrpc/xdr_sizeof.c: Likewise.
7295 * sunrpc/xdr_stdio.c: Likewise.
7297 2012-05-10 Roland McGrath <roland@hack.frob.com>
7299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7300 change. Update copyright years.
7302 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7304 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7306 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7307 Joseph Myers <joseph@codesourcery.com>
7308 Paul Pluzhnikov <ppluzhnikov@google.com>
7311 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7313 [cross-compiling] (extra-libs): Likewise.
7314 [cross-compiling] (extra-libs-others): Likewise.
7315 [cross-compiling] (librpcsvc-routines): Likewise.
7316 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7317 [cross-compiling] (omit-deps): Likewise.
7318 (sunrpc-CPPFLAGS): New variable.
7319 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7320 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7321 (cross-rpcgen-objs): New variable.
7322 (extra-objs): Append $(cross-rpcgen-objs).
7323 ($(cross-rpcgen-objs)): New rule.
7324 ($(objpfx)cross-rpcgen): Likewise.
7325 (rpcgen-cmd): Define to use $(built-program-file). Expand
7327 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7328 ($(objpfx)x%.stmp): Likewise.
7329 * sunrpc/proto.h [IS_IN_build] (_): Define.
7330 [IS_IN_build] (_libc_intl_domainname): Likewise.
7332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7335 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7336 and R_X86_64_TPOFF64.
7338 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7340 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7341 sysdeps/unix/sysv/syscalls.list.
7344 * sysdeps/unix/sysv/syscalls.list: Remove file.
7346 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7349 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7350 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7351 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7352 (__LC_IDENTIFICATION): Make these macros useful in #if
7353 expressions, as required by C99.
7355 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7357 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7358 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7361 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7363 * stdlib/longlong.h: Updated from GCC.
7365 2012-05-09 Andreas Jaeger <aj@suse.de>
7367 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7368 default is first entry.
7369 (run_mode): Set type.
7370 (main): Remove informal message about syslog.
7371 (options): Fix typo.
7374 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7377 (llrintf): Likewise.
7381 (nearbyint): Likewise.
7382 (nearbyintf): Likewise.
7384 2012-05-09 Andreas Jaeger <aj@suse.de>
7385 Pedro Alves <palves@redhat.com>
7387 * nscd/nscd.c (run_mode): Use enum.
7388 (main): Cleanup coding style issue.
7390 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7391 Andreas Jaeger <aj@suse.de>
7393 * nscd/nscd.c (go_background): Replaced with...
7394 (run_mode): ... this.
7395 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7396 (options): Add -F --foreground.
7397 (main): Implement it.
7398 (parse_opt): Parse it.
7400 2012-05-09 Andreas Jaeger <aj@suse.de>
7403 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7404 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7405 -Wconversion warning.
7406 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7409 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7411 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7413 (LC_ALL): Use macro-int-constant.
7414 (LC_COLLATE): Likewise.
7415 (LC_CTYPE): Likewise.
7416 (LC_MESSAGES): Likewise.
7417 (LC_MONETARY): Likewise.
7418 (LC_NUMERIC): Likewise.
7419 (LC_TIME): Likewise.
7420 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7421 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7423 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7425 [C99-based standards] (float_t): Expect type.
7426 [C99-based standards] (double_t): Expect type.
7427 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7429 [C99-based standards] (HUGE_VALL): Likewise.
7430 [C99-based standards] (INFINITY): Likewise.
7431 [C99-based standards] (NAN): Likewise.
7432 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7433 [C99-based standards] (FP_NAN): Likewise.
7434 [C99-based standards] (FP_NORMAL): Likewise.
7435 [C99-based standards] (FP_SUBNORMAL): Likewise.
7436 [C99-based standards] (FP_ZERO): Likewise.
7437 [C99-based standards] (FP_FAST_FMA): Use
7438 optional-macro-int-constant. Specify type. Require == 1.
7439 [C99-based standards] (FP_FAST_FMAF): Likewise.
7440 [C99-based standards] (FP_FAST_FMAL): Likewise.
7441 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7442 [C99-based standards] (FP_ILOGBNAN): Likewise.
7443 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7445 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7446 [C99-based standards] (math_errhandling): Specify type.
7447 [ISO99 || ISO11] (signgam): Do not allow.
7448 [non-C99-based standards] (copysignf): Do not allow.
7449 [non-C99-based standards] (exp2f): Likewise.
7450 [non-C99-based standards] (log2f): Likewise.
7451 [non-C99-based standards] (modff): Allow.
7452 [non-C99-based standards] (erff): Do not allow.
7453 [non-C99-based standards] (erfcf): Likewise.
7454 [non-C99-based standards] (gammaf): Likewise.
7455 [non-C99-based standards] (hypotf): Likewise.
7456 [non-C99-based standards] (j0f): Likewise.
7457 [non-C99-based standards] (j1f): Likewise.
7458 [non-C99-based standards] (jnf): Likewise.
7459 [non-C99-based standards] (lgammaf): Likewise.
7460 [non-C99-based standards] (tgammaf): Likewise.
7461 [non-C99-based standards] (y0f): Likewise.
7462 [non-C99-based standards] (y1f): Likewise.
7463 [non-C99-based standards] (ynf): Likewise.
7464 [non-C99-based standards] (isnanf): Likewise.
7465 [non-C99-based standards] (acoshf): Likewise.
7466 [non-C99-based standards] (asinhf): Likewise.
7467 [non-C99-based standards] (atanhf): Likewise.
7468 [non-C99-based standards] (cbrtf): Likewise.
7469 [non-C99-based standards] (expm1f): Likewise.
7470 [non-C99-based standards] (ilogbf): Likewise.
7471 [non-C99-based standards] (log1pf): Likewise.
7472 [non-C99-based standards] (logbf): Likewise.
7473 [non-C99-based standards] (nextafterf): Likewise.
7474 [non-C99-based standards] (remainderf): Likewise.
7475 [non-C99-based standards] (rintf): Likewise.
7476 [non-C99-based standards] (scalbf): Likewise.
7477 [non-C99-based standards] (copysignl): Likewise.
7478 [non-C99-based standards] (exp2l): Likewise.
7479 [non-C99-based standards] (log2l): Likewise.
7480 [non-C99-based standards] (modfl): Allow.
7481 [non-C99-based standards] (erfl): Do not allow.
7482 [non-C99-based standards] (erfcl): Likewise.
7483 [non-C99-based standards] (gammal): Likewise.
7484 [non-C99-based standards] (hypotl): Likewise.
7485 [non-C99-based standards] (j0l): Likewise.
7486 [non-C99-based standards] (j1l): Likewise.
7487 [non-C99-based standards] (jnl): Likewise.
7488 [non-C99-based standards] (lgammal): Likewise.
7489 [non-C99-based standards] (tgammal): Likewise.
7490 [non-C99-based standards] (y0l): Likewise.
7491 [non-C99-based standards] (y1l): Likewise.
7492 [non-C99-based standards] (ynl): Likewise.
7493 [non-C99-based standards] (isnanl): Likewise.
7494 [non-C99-based standards] (acoshl): Likewise.
7495 [non-C99-based standards] (asinhl): Likewise.
7496 [non-C99-based standards] (atanhl): Likewise.
7497 [non-C99-based standards] (cbrtl): Likewise.
7498 [non-C99-based standards] (expm1l): Likewise.
7499 [non-C99-based standards] (ilogbl): Likewise.
7500 [non-C99-based standards] (log1pl): Likewise.
7501 [non-C99-based standards] (logbl): Likewise.
7502 [non-C99-based standards] (nextafterl): Likewise.
7503 [non-C99-based standards] (remainderl): Likewise.
7504 [non-C99-based standards] (rintl): Likewise.
7505 [non-C99-based standards] (scalbl): Likewise.
7506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7507 [non-C99-based standards] (FP_*): Do not allow.
7508 [C99-based standards] (FP_*): Change to
7509 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7510 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7512 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7513 (SIG_ERR): Likewise.
7514 [X/Open-based standards] (SIG_HOLD): Likewise.
7515 (SIG_IGN): Likewise.
7516 (SIGABRT): Use macro-int-constant. Specify type. Require
7521 (SIGSEGV): Likewise.
7523 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7524 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7525 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7526 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7527 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7528 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7529 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7530 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7531 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7532 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7533 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7534 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7535 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7536 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7537 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7538 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7539 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7540 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7541 [X/Open-based standards] (SIGTRAP): Likewise.
7542 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7543 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7544 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7545 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7546 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7549 2012-05-08 Ian Wienand <ianw@vmware.com>
7552 * time/tzset.c (__tzset_parse_tz): Update default rules for
7553 daylight time changes in the Energy Policy Act of 2005.
7555 2012-05-09 Andreas Jaeger <aj@suse.de>
7558 * elf/ldconfig.c (parse_conf): Change string to make clear that
7559 ldconfig only issued a warning if ld.so.conf does not exist.
7561 2012-05-08 David S. Miller <davem@davemloft.net>
7563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7564 movxtod instead of popping the value on the stack.
7566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7568 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7570 * config.h.in: Add HAVE_ARM_PCS_VFP.
7572 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7575 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7576 checking but the checks are disabled for any reason.
7578 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7580 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7581 and ELF64_R_TYPE with ELFW(R_TYPE).
7583 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7588 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7589 (settimeofday): Likewise.
7591 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7593 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7594 a struct th_u2 inside the union, and move tu_block/tu_code into
7595 a new th_u3 union of tu_block/tu_code inside of that. Move
7596 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7597 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7598 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7599 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7600 (th_stuff): Change to th_u1.tu_stuff.
7602 (th_msg): Change to th_u1.th_u2.tu_data.
7604 2012-05-07 David S. Miller <davem@davemloft.net>
7606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7609 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7610 (SETUP_PIC_REG): Use it.
7611 (SETUP_PIC_REG_LEAF): Use it.
7613 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7619 (EXPL_FINITE): Likewise.
7621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7622 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7624 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7626 (EXPL_FINITE): Likewise.
7628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7629 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7631 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7632 test of -max_value argument for long double.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7636 2012-05-06 David S. Miller <davem@davemloft.net>
7638 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7639 quad soft-float symbols whose references which are compiler
7641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7643 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7649 (EXPL_FINITE): Likewise.
7653 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7654 Adjust comments for base varying.
7655 (__expl_finite): Change alias to EXPL_FINITE.
7656 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7658 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7659 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7661 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7662 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7664 (EXPL_FINITE): Likewise.
7668 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7669 Adjust comments for base varying.
7670 (__expl_finite): Change alias to EXPL_FINITE.
7671 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7676 * math/libm-test.inc (check_float_internal): Correct ulp
7677 calculation for subnormal expected results.
7679 2012-05-06 Andreas Jaeger <aj@suse.de>
7681 * Makeconfig (+math-flags): New, set to -frounding-math.
7682 (+cflags): Add +math-flags so that all of glibc gets compiled with
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7687 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7689 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7695 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7696 (__ieee754_expl): Allow for and saturate large arguments.
7697 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7698 (u_threshold): Likewise.
7699 (__exp): Call __ieee754_exp before checking for overflow and
7701 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7702 (u_threshold): Likewise.
7703 (__expf): Call __ieee754_expf before checking for overflow and
7705 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7706 (u_threshold): Likewise.
7707 (__expl): Call __ieee754_expl before checking for overflow and
7709 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7710 (__ieee754_expl): Allow for and saturate large arguments.
7711 * math/libm-test.inc (exp_test): Add another test. Do not allow
7712 missing overflow exception on overflow.
7713 (expm1_test): Do not allow missing overflow exception on overflow.
7715 * sysdeps/i386/fpu/e_expl.c: Move to ...
7716 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7717 rather than using inline asm.
7718 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7719 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7720 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7722 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7729 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7731 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7732 sysdeps/unix/common/syscalls.list.
7735 (ftruncate): Likewise.
7736 (getrusage): Likewise.
7737 (gettimeofday): Likewise.
7738 (setpgid): Likewise.
7739 (setregid): Likewise.
7740 (setreuid): Likewise.
7741 (sigaction): Likewise.
7742 (truncate): Likewise.
7743 (vhangup): Likewise.
7744 * sysdeps/unix/common/syscalls.list: Remove file.
7745 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7746 * sysdeps/unix/sysv/linux/Implies: Likewise.
7748 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7756 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7759 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7762 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7765 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7768 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7771 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7774 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7778 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7782 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7785 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7789 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7793 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7795 * sysdeps/unix/common/bits/dirent.h: Remove file.
7796 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7798 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7799 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7800 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7801 * sysdeps/unix/bsd/isatty.c: Likewise.
7802 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7803 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7804 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7806 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7810 long double comparison inaccuracies.
7811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7814 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7816 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7819 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7823 nonzero digits before rounding a hex value.
7824 * stdlib/tst-strtod.c (tests): Add another test.
7826 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7828 * sysdeps/s390/fpu/libm-test-ulps: Update.
7830 2012-05-03 Andreas Jaeger <aj@suse.de>
7832 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7833 does not get optimized out.
7834 (malloc_opt_barrier): New.
7836 2012-05-03 Andreas Jaeger <aj@suse.de>
7837 Roland McGrath <roland@hack.frob.com>
7839 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7840 intermediate file deletion.
7841 (generated): Add .symlist files.
7843 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7846 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7847 Redirect under this condition.
7848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7849 [__USE_GNU] (__dprintf_chk): Not under this condition.
7850 [__USE_GNU] (__vdprintf_chk): Likewise.
7851 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7852 under this condition.
7853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7854 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7855 [__USE_XOPEN2K8] (vdprintf): Likewise.
7856 [__USE_GNU] (__dprintf_chk): Not under this condition.
7857 [__USE_GNU] (__vdprintf_chk): Likewise.
7858 [__USE_GNU] (dprintf): Likewise.
7859 [__USE_GNU] (vdprintf): Likewise.
7861 2012-05-03 Roland McGrath <roland@hack.frob.com>
7863 * elf/Makefile (common-generated): Set this instead of generated for
7864 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7865 $(all-built-dso)-derived lists.
7867 2012-05-03 Andreas Jaeger <aj@suse.de>
7869 * sysdeps/i386/fpu/libm-test-ulps: Update.
7873 * scripts/gen-FAQ.pl: Likewise.
7874 * manual/install.texi (Installation): Point to online location of
7876 * Makefile (files-for-dist): Remove FAQ.
7879 2012-05-02 Allan McRae <allan@archlinux.org>
7881 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7882 (LDFLAGS-reldepmod5.so): Likewise.
7883 (LDFLAGS-reldep6mod1.so): Likewise.
7884 (LDFLAGS-reldep6mod4.so): Likewise.
7885 (LDFLAGS-reldep8mod3.so): Likewise.
7886 (LDFLAGS-unload4mod1.so): Likewise.
7887 (LDFLAGS-unload4mod2.so): Likewise.
7888 (LDFLAGS-tst-initorder): Likewise.
7889 (LDFLAGS-tst-initordera2.so): Likewise.
7890 (LDFLAGS-tst-initordera3.so): Likewise.
7891 (LDFLAGS-tst-initordera4.so): Likewise.
7892 (LDFLAGS-tst-initorderb2.so): Likewise.
7893 (LDFLAGS-noload): Likewise.
7894 (LDFLAGS-next): Likewise.
7895 (LDFLAGS-order2mod1.so): Likewise.
7896 (LDFLAGS-order2mod2.so): Likewise.
7897 (LDFLAGS-tst-initorder2): Likewise.
7898 (LDFLAGS-tst-initorder2a.so): Likewise.
7899 (LDFLAGS-tst-initorder2b.so): Likewise.
7900 (LDFLAGS-tst-initorder2c.so): Likewise.
7901 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7903 2012-05-02 David S. Miller <davem@davemloft.net>
7905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7907 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7910 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7912 2012-05-02 Andreas Jaeger <aj@suse.de>
7914 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7915 since we manipulate rounding mode.
7916 (CPPFLAGS-test-idouble.c): Likewise.
7917 (CPPFLAGS-test-ifloat.c): Likewise.
7918 (CFLAGS-test-ldouble.c): Likewise.
7919 (CFLAGS-test-double.c): Likewise.
7920 (CFLAGS-test-float.c): Likewise.
7921 (CFLAGS-test-misc.c): Likewise.
7922 (CFLAGS-test-test-fenv.c): Likewise.
7924 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7929 comparisons to determine direction to adjust input.
7931 2012-05-01 Roland McGrath <roland@hack.frob.com>
7933 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7934 output to the target.
7936 * scripts/localplt.awk: New file.
7937 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7938 (check-localplt-CFLAGS): Variable removed.
7939 ($(all-built-dso:=.jmprel)): New static pattern rule.
7940 (generated): Add those targets.
7941 (localplt-built-dso): New variable.
7942 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7944 * elf/check-localplt.c: File removed.
7946 * scripts/check-execstack.awk: New file.
7947 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7948 (check-execstack-CFLAGS): Variable removed.
7949 ($(objpfx)check-execstack.h): Target removed.
7950 ($(objpfx)execstack-default): New target.
7951 (generated): Add that instead of check-execstack.h.
7952 ($(all-built-dso:=.phdr)): New static pattern rule.
7953 (generated): Add those targets.
7954 * elf/check-execstack.c: File removed.
7956 * scripts/check-textrel.awk: New file.
7957 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7958 (check-textrel-CFLAGS): Variable removed.
7959 (all-built-dso): Use := to define.o
7960 ($(all-built-dso:=.dyn)): New static pattern rule.
7961 (generated): Add those targets.
7962 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7963 * config.make.in (READELF): New substituted variable.
7964 * elf/check-textrel.c: File removed.
7966 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7968 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7970 * conform/data/ctype.h-data [C99-based standards] (isblank):
7972 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7973 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7975 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7976 Specify type. Require positive value.
7979 [ISO || POSIX] (EILSEQ): Do not expect.
7980 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7981 Specify type. Require positive value.
7982 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7983 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7984 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7985 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7986 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7987 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7988 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7989 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7990 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7991 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7992 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7993 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7994 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7995 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7996 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7997 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7998 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7999 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8000 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8001 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8002 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8003 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8004 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8005 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8006 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8007 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8008 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8009 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8010 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8011 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8012 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8013 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8014 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8015 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8016 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8017 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8018 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8019 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8020 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8021 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8022 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8023 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8024 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8025 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8026 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8027 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8028 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8029 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8030 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8031 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8032 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8033 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8034 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8035 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8036 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8037 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8038 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8039 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8040 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8041 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8042 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8043 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8044 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8045 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8046 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8047 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8048 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8049 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8050 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8051 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8052 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8053 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8054 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8055 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8056 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8057 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8058 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8060 (FLT_ROUNDS): Expect as macro, not constant.
8061 (FLT_MANT_DIG): Use macro-int-constant.
8062 (DBL_MANT_DIG): Likewise.
8063 (LDBL_MANT_DIG): Likewise.
8064 (FLT_DIG): Likewise.
8065 (DBL_DIG): Likewise.
8066 (LDBL_DIG): Likewise.
8067 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8068 (DBL_MIN_EXP): Likewise.
8069 (LDBL_MIN_EXP): Likewise.
8070 (FLT_MAX_EXP): Use macro-int-constant.
8071 (DBL_MAX_EXP): Likewise.
8072 (LDBL_MAX_EXP): Likewise.
8073 (FLT_MAX_10_EXP): Likewise.
8074 (DBL_MAX_10_EXP): Likewise.
8075 (LDBL_MAX_10_EXP): Likewise.
8076 (FLT_MAX): Use macro-constant.
8077 (DBL_MAX): Likewise.
8078 (LDBL_MAX): Likewise.
8079 (FLT_EPSILON): Use macro-constant. Give upper bound.
8080 (DBL_EPSILON): Likewise.
8081 (LDBL_EPSILON): Likewise.
8082 (FLT_MIN): Likewise.
8083 (DBL_MIN): Likewise.
8084 (LDBL_MIN): Likewise.
8085 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8086 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8087 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8088 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8089 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8090 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8091 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8092 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8093 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8094 [ISO11] (FLT_TRUE_MIN): Likewise.
8095 [ISO11] (LDBL_TRUE_MIN): Likewise.
8096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8097 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8098 (SCHAR_MIN): Use macro-int-constant. Specify type.
8099 (SCHAR_MAX): Likewise.
8100 (UCHAR_MAX): Likewise.
8101 (CHAR_MIN): Likewise.
8102 (CHAR_MAX): Likewise.
8103 (MB_LEN_MAX): Use macro-int-constant.
8104 (SHRT_MIN): Use macro-int-constant. Specify type.
8105 (SHRT_MAX): Likewise.
8106 (USHRT_MAX): Likewise.
8107 (INT_MAX): Likewise.
8108 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8110 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8112 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8114 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8115 bound negative. Suffix upper bound with "L".
8116 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8118 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8120 [C99-based standards] (LLONG_MAX): Likewise.
8121 [C99-based standards] (ULLONG_MAX): Likewise.
8122 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8124 [ISO11] (max_align_t): Require type.
8125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8127 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8128 from $CFLAGS, without defining away __attribute__ calls.
8129 (checknamespace): Use $CFLAGS_namespace.
8131 * conform/conformtest.pl (@keywords): Only include C99 keywords
8132 for standards based on C99 or C11.
8134 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8136 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8139 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8140 usability of symbols in #if.
8142 * conform/conformtest.pl: If macro or constant types start
8143 "promoted:", expect the symbol to be of the following type
8144 promoted by the integer promotions.
8146 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8147 in one place. Also handle "macro-constant".
8149 * conform/conformtest.pl: Only accept expected macro values with
8150 "==". Parse all "macro" lines in one place.
8151 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8153 * conform/conformtest.pl: Handle braced types on "constant" lines
8154 instead of handling "typed-constant".
8155 * conform/data/signal.h-data: Use "constant" instead of
8158 * conform/conformtest.pl: Handle "optional-" at start of lines in
8159 one place rather than duplicating several cases. Handle each
8160 format of "macro" line with initial "optional-".
8162 * conform/conformtest.pl: Only accept expected constant or
8163 optional-constant values with "==". Parse all "constant" lines in
8164 one place. Parse all "optional-constant" lines in one place.
8165 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8166 * conform/data/fmtmsg.h-data: Likewise.
8167 * conform/data/netinet/in.h-data: Likewise.
8168 * conform/data/tar.h-data: Likewise.
8169 * conform/data/limits.h-data: Use "==" form on "constant" and
8170 "optional-constant" lines.
8172 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8173 Use -std=c99 for XOPEN2K.
8174 (@knownproblems): Remove.
8175 (newtoken): Don't check %isknown.
8177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8178 Do not expect macro.
8179 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8180 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8181 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8182 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8183 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8184 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8185 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8186 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8187 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8188 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8189 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8190 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8191 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8192 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8204 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8209 [XPG3] (acosh): Likewise.
8210 [XPG3] (asinh): Likewise.
8211 [XPG3] (atanh): Likewise.
8212 [XPG3] (cbrt): Likewise.
8213 [XPG3] (expm1): Likewise.
8214 [XPG3] (ilogb): Likewise.
8215 [XPG3] (log1p): Likewise.
8216 [XPG3] (logb): Likewise.
8217 [XPG3] (nextafter): Likewise.
8218 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8219 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8220 [XPG3] (remainder): Likewise.
8221 [XPG3] (rint): Likewise.
8222 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8223 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8224 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8225 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8226 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8227 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8228 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8229 [UNIX98 || XOPEN2K] (scalb): Expect.
8230 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8231 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8232 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8233 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8234 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8235 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8236 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8237 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8238 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8239 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8240 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8241 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8242 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8243 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8244 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8245 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8246 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8247 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8248 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8249 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8250 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8251 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8252 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8253 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8254 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8255 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8256 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8257 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8258 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8259 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8260 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8261 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8262 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8263 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8264 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8265 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8266 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8267 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8268 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8269 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8270 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8271 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8272 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8273 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8274 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8275 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8276 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8277 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8278 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8279 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8280 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8281 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8282 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8283 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8284 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8285 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8286 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8287 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8288 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8289 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8290 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8291 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8292 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8293 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8294 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8295 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8296 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8297 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8298 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8299 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8300 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8301 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8302 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8303 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8304 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8305 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8306 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8307 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8308 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8309 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8310 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8311 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8312 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8313 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8314 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8315 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8316 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8317 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8318 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8319 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8320 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8321 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8322 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8323 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8324 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8325 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8326 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8327 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8328 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8329 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8330 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8331 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8332 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8333 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8334 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8335 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8336 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8337 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8338 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8339 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8340 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8341 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8342 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8343 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8344 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8345 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8346 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8347 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8348 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8349 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8350 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8351 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8352 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8353 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8354 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8355 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8356 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8357 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8358 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8359 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8360 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8361 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8362 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8363 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8364 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8365 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8366 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8368 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8369 _XOPEN_SOURCE_EXTENDED for XPG4.
8371 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8373 * Makeconfig (localtime): Remove variable.
8374 (inst_localtime-file): Likewise.
8376 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8397 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8401 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8402 comparisons to determine direction to adjust input.
8403 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8404 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8414 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8416 * math/libm-test.inc (nexttoward_test): Add more tests.
8418 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8422 in version GLIBC_2.1, not GLIBC_2.0.
8423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8426 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8429 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8431 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8432 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8433 * math/libm-test.inc (acos_test): Add more tests.
8434 (asin_test): Likewise.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8441 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8442 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8443 * math/libm-test.inc (acos_test_tonearest): New function.
8444 (acos_test_towardzero): Likewise.
8445 (acos_test_downward): Likewise.
8446 (acos_test_upward): Likewise.
8447 (asin_test_tonearest): Likewise.
8448 (asin_test_towardzero): Likewise.
8449 (asin_test_downward): Likewise.
8450 (asin_test_upward): Likewise.
8451 (main): Call the new functions.
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8457 * math/e_exp10.c: Include <float.h>.
8458 (__ieee754_exp10): Handle underflow here rather than multiplying
8459 large negative argument by M_LN10.
8460 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8462 * math/e_exp10l.c: Include <float.h>.
8463 (__ieee754_exp10l): Handle underflow here rather than multiplying
8464 large negative argument by M_LN10l.
8465 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8466 spurious overflow exception on underflow.
8468 2012-04-29 Marek Polacek <polacek@redhat.com>
8470 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8471 (__fortify_function): New macro.
8472 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8473 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8474 __extern_always_inline.
8475 * libio/bits/stdio2.h: Likewise.
8476 * libio/bits/stdio.h: Likewise.
8477 * string/string.h: Likewise.
8478 * string/bits/string3.h: Likewise.
8479 * include/stdio.h: Likewise.
8480 * stdlib/bits/stdlib.h: Likewise.
8481 * stdlib/stdlib.h: Likewise.
8482 * rt/bits/mqueue2.h: Likewise.
8483 * rt/mqueue.h: Likewise.
8484 * posix/bits/unistd.h: Likewise.
8485 * posix/unistd.h: Likewise.
8486 * io/bits/poll2.h: Likewise.
8487 * io/bits/fcntl2.h: Likewise.
8488 * io/fcntl.h: Likewise.
8489 * io/sys/poll.h: Likewise.
8490 * misc/bits/syslog.h: Likewise.
8491 * misc/bits/syslog-ldbl.h: Likewise.
8492 * misc/sys/syslog.h: Likewise.
8493 * socket/bits/socket2.h: Likewise.
8494 * socket/sys/socket.h: Likewise.
8495 * debug/tst-chk1.c: Likewise.
8496 * wcsmbs/bits/wchar2.h: Likewise.
8497 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8498 * wcsmbs/wchar.h: Likewise.
8500 2012-04-29 Andreas Jaeger <aj@suse.de>
8502 * Makerules (tests): Remove enable-check-abi protection.
8503 (check-abi-warn): Remove.
8504 (check-abi-%): Remove check-abi-warn usage.
8506 * configure.in: Remove check-abi configure option.
8507 * configure: Regenerated.
8508 * config.make.in (enable-check-abi): Remove.
8510 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8513 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8514 double functions to double *_finite functions.
8517 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8518 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8520 * stdio-common/Makefile (tests): Add tst-sprintf3.
8521 * stdio-common/tst-sprintf3.c: New file.
8523 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8524 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8526 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8528 * conform/conformtest.pl: Remove duplicate typed-constant
8531 2012-04-28 David S. Miller <davem@davemloft.net>
8533 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8534 (check-abi-%): Remove AWK script prerequisite and explicit
8536 (check-abi): Rewrite to just diff the symlist with the abilist.
8537 (config-tls, config-abi-config): Delete, no longer used.
8538 (update-abi-%): Remove AWK script and explicit abilist directory.
8539 (update-abi): Rewrite to simply compare and conditionally copy the
8540 symlist and the sysdep abilist file. Remove update-abi-config
8542 * abilist/ld.abilist: Remove.
8543 * abilist/libBrokenLocale.abilist: Remove.
8544 * abilist/libanl.abilist: Remove.
8545 * abilist/libcrypt.abilist: Remove.
8546 * abilist/libdl.abilist: Remove.
8547 * abilist/librt.abilist: Remove.
8548 * abilist/libthread_db.abilist: Remove.
8549 * abilist/libutil.abilist: Remove.
8550 * scripts/extract-abilist.awk: Remove.
8551 * scripts/merge-abilist.awk: Remove.
8552 * sysdeps/generic/libcidn.abilist: New file.
8553 * sysdeps/generic/libnss_compat.abilist: New file.
8554 * sysdeps/generic/libnss_db.abilist: New file.
8555 * sysdeps/generic/libnss_dns.abilist: New file.
8556 * sysdeps/generic/libnss_files.abilist: New file.
8557 * sysdeps/generic/libnss_hesiod.abilist: New file.
8558 * sysdeps/generic/libnss_nis.abilist: New file.
8559 * sysdeps/generic/libnss_nisplus.abilist: New file.
8560 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8561 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8562 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8565 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8566 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8567 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8568 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8569 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8570 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8571 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8572 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8574 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8576 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8579 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8580 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8581 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8582 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8584 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8586 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8587 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8588 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8590 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8694 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8695 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8698 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8699 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8700 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8701 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8702 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8703 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8705 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8706 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8760 * conform/conformtest.pl: Fix typo in handling typed-constant from
8763 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8765 * README: Cut down references to pre-2.6 Linux kernels and
8766 Linuxthreads. Update lists of configurations in libc and ports
8767 and sort alphabetically. Say "or newer" with Linux kernel version
8770 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8772 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8775 * math/libm-test.inc (logb_test_downward): New test to expose
8776 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8779 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8782 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8784 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8785 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8787 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8789 * sysdeps/unix/i386/brk.S: Remove file.
8790 * sysdeps/unix/i386/dl-brk.S: Likewise.
8791 * sysdeps/unix/i386/pipe.S: Likewise.
8792 * sysdeps/unix/i386/sigreturn.S: Likewise.
8793 * sysdeps/unix/i386/syscall.S: Likewise.
8794 * sysdeps/unix/i386/vfork.S: Likewise.
8795 * sysdeps/unix/i386/wait.S: Likewise.
8797 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8798 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8800 * configure.in (arm*-none*): Do not allow without
8801 --enable-hacker-mode.
8802 (netbsd*): Remove case setting base_os.
8803 (386bsd*): Likewise.
8804 (freebsd*): Likewise.
8808 (ultrix*): Likewise.
8809 (newsos*): Likewise.
8819 (solaris[2-9]*): Likewise.
8821 * configure: Regenerated.
8823 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8827 overflow or cancellation in calculating denominator.
8828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8830 down expression to avoid unexpected rounding in newer GCCs.
8831 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8833 2012-04-26 David S. Miller <davem@davemloft.net>
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8836 long-double compat symbols.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8851 2012-04-25 David S. Miller <davem@davemloft.net>
8853 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8854 HWCAP_* values only after the memory barriers have been defined.
8855 (atomic_full_barrier): Define.
8856 (atomic_read_barrier): Define.
8857 (atomic_write_barrier): Define.
8859 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8861 * shlib-versions: Add libgcc_s version information.
8862 * sysdeps/generic/libgcc_s.h: Remove.
8863 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8865 * sysdeps/gnu/unwind-resume.c: Likewise.
8866 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8868 2012-04-25 David S. Miller <davem@davemloft.net>
8870 * sysdeps/unix/sparc/brk.S: Delete.
8871 * sysdeps/unix/sparc/dl-brk.S: Delete.
8872 * sysdeps/unix/sparc/pipe.S: Delete.
8873 * sysdeps/unix/sparc/sysdep.S: Delete.
8874 * sysdeps/unix/sparc/sysdep.h: Delete.
8875 * sysdeps/unix/sparc/vfork.S: Delete.
8876 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8877 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8879 ret_ERRVAL, r0, r1, MOVE): Define.
8880 (JUMPTARGET): Remove.
8881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8882 sysdeps/unix/sparc/sysdep.h
8883 (ENTRY, END): Remove.
8884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8886 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8888 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8889 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8892 * timezone/README: Update upstream location and email address for
8894 * timezone/zdump.c: Update from tzcode 2012b.
8895 * timezone/zic.c: Likewise.
8897 * configure.in (libc_cv_as_needed): Remove test.
8898 * configure: Regenerated.
8899 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8900 conditional definition.
8901 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8902 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8903 * config.make.in (have-as-needed): Remove variable.
8905 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8906 Paul Pluzhnikov <ppluzhnikov@google.com>
8908 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8911 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8913 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8914 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8915 * sysdeps/sh/strlen.S: Likewise.
8917 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8919 * sysdeps/unix/fork.S: Remove file.
8920 * sysdeps/unix/i386/fork.S: Likewise.
8921 * sysdeps/unix/sparc/fork.S: Likewise.
8923 * sysdeps/unix/system.c: Remove file.
8924 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8926 * sysdeps/unix/getegid.S: Remove file.
8927 * sysdeps/unix/geteuid.S: Likewise.
8929 2012-04-24 Roland McGrath <roland@hack.frob.com>
8931 * scripts/check-localplt.awk: New file.
8932 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8934 * scripts/data/localplt-generic.data: Add a comment.
8936 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8937 NODE when __dir_mkfile failed.
8938 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8939 Reported by Ludovic Courtès <ludo@gnu.org>.
8941 2012-04-24 Andreas Jaeger <aj@suse.de>
8943 * Makerules (common-clean): Also remove gen-as-const-headers
8946 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8948 * Makerules (native-compile): Do not change working directory for
8949 build. Use $(OUTPUT_OPTION) in command.
8950 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8952 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8955 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8956 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8957 * math/libm-test.inc (floor_test): Add more tests.
8958 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8960 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8962 * sysdeps/unix/getdents.c: Remove file.
8963 * sysdeps/unix/sysv/getdents.c: Likewise.
8964 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8966 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8967 sysdeps/unix/mman/syscalls.list.
8969 (mprotect): Likewise.
8972 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8973 * sysdeps/unix/mman/syscalls.list: Remove.
8974 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8976 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8977 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8978 * configure: Regenerated.
8979 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8981 * config.make.in (libgcc_s_suffix): Remove variable.
8983 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8985 * sysdeps/unix/sysv/gethostname.c: Move to ...
8986 * sysdeps/posix/gethostname.c: ... here.
8988 * sysdeps/unix/execve.S: Remove file.
8990 * sysdeps/unix/_exit.S: Remove file.
8992 2012-04-23 Andreas Jaeger <aj@suse.de>
8995 * manual/Makefile: Remove make dist support, there's no
8996 need for a stand-alone documentation tar ball.
8997 (TEXI2DVI): Define always, it's not in Makeconfig.
9001 (glibc-doc-$(edition).tar): Removed
9005 (ETAGS): Remove, it's in Makeconfig.
9006 (move-if-change): Remove, it's in Makeconfig.
9008 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9011 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9012 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9013 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9014 (strtod_l, strtof_l, strtold_l): Remove __wur.
9015 It is not necessarily an error to ignore strtol's return value.
9016 One can reliably look at the stored endptr to decide whether
9017 the number had valid syntax.
9019 2012-04-21 Andreas Jaeger <aj@suse.de>
9022 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9024 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9026 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9027 * sysdeps/unix/sysv/Versions: Remove file.
9029 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9034 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9038 version from __vm86.
9040 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9042 * sysdeps/unix/common/lxstat.c: Remove file.
9043 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9045 * sysdeps/unix/sysv/Makefile: Remove file.
9047 * sysdeps/unix/sysv/direct.h: Remove file.
9049 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9050 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9051 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9052 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9053 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9054 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9055 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9057 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9059 * sysdeps/unix/xmknod.c: Remove file.
9060 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9062 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9064 * sysdeps/unix/sysv/i386/time.S: Remove file.
9066 * sysdeps/unix/fxstat.c: Remove file.
9067 * sysdeps/unix/xstat.c: Likewise.
9068 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9070 * sysdeps/unix/sysv/sigaction.c: Remove file.
9072 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9073 (sysdep_headers): Remove variable.
9074 [termio.h not in sysdep_headers] (generated): Likewise.
9075 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9076 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9077 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9078 * sysdeps/unix/sysv/tcflow.c: Likewise.
9079 * sysdeps/unix/sysv/tcflush.c: Likewise.
9080 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9081 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9082 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9083 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9084 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9086 * sysdeps/unix/siglist.c: Remove file.
9088 * sysdeps/unix/getppid.S: Remove file.
9090 * sysdeps/unix/mkdir.c: Remove file.
9091 * sysdeps/unix/rmdir.c: Likewise.
9093 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9095 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9097 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9098 errlist-compat value.
9100 2012-04-18 David S. Miller <davem@davemloft.net>
9102 * sysdeps/generic/memcopy.h (reg_char): Delete.
9103 * debug/strcat_chk.c: Use char, not reg_char.
9104 * debug/strcpy_chk.c: Likewise.
9105 * debug/strncat_chk.c: Likewise.
9106 * debug/strncpy_chk.c: Likewise.
9107 * string/memchr.c: Likewise.
9108 * string/memrchr.c: Likewise.
9109 * string/rawmemchr.c: Likewise.
9110 * string/strcat.c: Likewise.
9111 * string/strchr.c: Likewise.
9112 * string/strchrnul.c: Likewise.
9113 * string/strcmp.c: Likewise.
9114 * string/strcpy.c: Likewise.
9115 * string/strncat.c: Likewise.
9116 * string/strncmp.c: Likewise.
9117 * string/strncpy.c: Likewise.
9119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9121 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9122 __builtin_memcopy is called when src and dest ranges are known to not
9125 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9127 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9128 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9129 fwd_align_merge macro call.
9130 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9131 bwd_align_merge macro call.
9132 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9134 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9137 bwd_align_merge macros.
9138 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9139 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9142 2012-04-18 David S. Miller <davem@davemloft.net>
9144 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9146 2012-04-18 Andreas Jaeger <aj@suse.de>
9149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9150 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9154 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9157 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9158 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9159 Adjust for changed ldbl-128 files.
9161 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9162 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9165 2012-04-17 David S. Miller <davem@davemloft.net>
9167 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9169 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9171 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9172 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9173 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9174 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9175 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9176 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9178 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9181 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9182 * math/libm-test.inc: Add ilogb errno and exception tests.
9183 * math/w_ilogb.c: New file: ilogb wrapper.
9184 * math/w_ilogbf.c: New file: ilogbf wrapper.
9185 * math/w_ilogbl.c: New file: ilogbl wrapper.
9186 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9187 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9188 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9189 exception being thrown with 0.0 as argument.
9190 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9191 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9192 exception being thrown with 0.0 as argument.
9193 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9194 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9195 exception being thrown with 0.0 as argument.
9196 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9197 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9198 exception being thrown with 0.0 as argument.
9199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9200 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9202 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9204 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9205 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9206 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9207 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9209 2012-04-17 Petr Baudis <pasky@ucw.cz>
9211 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9214 2012-04-16 Marek Polacek <polacek@redhat.com>
9216 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9218 2012-04-16 Marek Polacek <polacek@redhat.com>
9220 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9221 operands of fdivp instruction.
9223 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9225 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9226 * elf/tst-auditmod3b.c: Likewise.
9227 * elf/tst-auditmod4b.c: Likewise.
9228 * elf/tst-auditmod5b.c: Likewise.
9229 * elf/tst-auditmod6b.c: Likewise.
9230 * elf/tst-auditmod6c.c: Likewise.
9231 * elf/tst-auditmod7b.c: Likewise.
9232 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9233 * sysdeps/x86_64/preconfigure.in: Likewise.
9234 * sysdeps/x86_64/preconfigure: Regenerated.
9236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9238 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9241 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9244 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9246 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9249 * locale/iso-639.def: Fix gl language name. Spotted by
9252 2012-04-12 Roland McGrath <roland@hack.frob.com>
9255 * libio/libio.h (__io_write_fn): Update comment.
9257 2012-04-12 Petr Baudis <pasky@ucw.cz>
9260 * stdio.texi (Hook Functions): The user provided writer function
9261 is not allowed to return -1.
9263 2012-04-11 David S. Miller <davem@davemloft.net>
9265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9267 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9269 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9270 Add a leading slash to rtkaio.
9272 2012-04-11 Jim Meyering <meyering@redhat.com>
9275 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9276 It is not necessarily an error to ignore fwrite's return
9277 value. One can reliably use ferror to test for errors after
9280 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9282 * bits/types.h (__snseconds_t): New type.
9283 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9285 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9287 (__SNSECONDS_T_TYPE): Likewise.
9288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9289 (__SNSECONDS_T_TYPE): Likewise.
9290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9291 (__SNSECONDS_T_TYPE): Likewise.
9293 2012-04-10 Andreas Jaeger <aj@suse.de>
9296 * manual/time.texi (Processor Time): Return type of times is
9297 elapsed real time since an arbitrary point in the past.
9298 (CPU Time): Move CLK_TCK from here...
9299 (Processor Time): ...to here. Correct description.
9300 * manual/conf.texi (Constants for Sysconf): Correct description of
9303 2012-04-10 David S. Miller <davem@davemloft.net>
9306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9307 where the is a gap between DT_REL(A) and DT_JMPREL.
9309 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9311 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9315 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9317 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9318 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9319 (dl_main): Handle --inhibit-cache.
9320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9322 * elf/dl-load.c (_dl_map_object): Use it.
9323 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9325 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9329 (__ieee754_powl): Saturate large exponents rather than testing for
9330 overflow of y*log2(x).
9331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9332 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9336 * math/s_ctan.c: Include <float.h>.
9337 (__ctan): Avoid internal overflow or cancellation in calculating
9339 * math/s_ctanf.c: Likewise.
9340 * math/s_ctanl.c: Likewise.
9341 * math/s_ctanh.c: Likewise.
9342 * math/s_ctanhf.c: Likewise.
9343 * math/s_ctanhl.c: Likewise.
9344 * math/libm-test.inc (ctan_test): Add more tests.
9345 (ctanh_test): Likewise.
9346 * sysdeps/i386/fpu/libm-test-ulps: Update.
9347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9349 2012-04-09 Andreas Jaeger <aj@suse.de>
9352 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9353 is an optional BSD extension.
9356 * manual/stdio.texi (Opening Streams): Document additional fopen
9359 2012-04-09 Roland McGrath <roland@hack.frob.com>
9361 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9362 %eax without telling the compiler.
9364 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9367 * manual/install.texi: Use sourceware.org.
9369 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9372 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9373 (__ieee754_pow): Generate overflow and underflow using huge*huge
9374 and tiny*tiny rather than just returning constant infinity or zero
9375 for large exponents.
9376 * math/libm-test.inc (pow_test): Require overflow exceptions for
9377 applicable cases of large exponents.
9380 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9381 (__ieee754_pow): Use iterative multiplication algorithm only for
9382 integer exponents with absolute value below 1024. Check for odd
9383 integer exponents when using algorithm for real exponents.
9384 * math/libm-test.inc (pow_test): Add more tests.
9385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9387 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9390 * math/libm-test.inc (exp_test): Do not allow overflow exception
9393 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9396 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9397 instead of __kernel_standard_f.
9399 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9401 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9402 * sysdeps/x86_64/memset_chk.S: Likewise.
9404 2012-04-08 Andreas Jaeger <aj@suse.de>
9407 * manual/startup.texi (Environment Access): Describe return value
9408 for putenv and setenv.
9411 * manual/filesys.texi (Directory Entries): Add description for
9415 * manual/filesys.texi (Directory Entries): Clarify that it's file
9416 system not operating system in the description of DT_UNKNOWN.
9419 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9421 2012-04-08 Stephen Compall <s11@member.fsf.org>
9424 * manual/llio.texi (Opening and Closing Files): Add cross
9425 reference to explain mode argument.
9427 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9429 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9430 * sysdeps/x86_64/memset_chk.S: Likewise.
9432 2012-04-07 David S. Miller <davem@davemloft.net>
9434 * elf/elf.h (R_SPARC_WDISP10): Define.
9435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9438 R_SPARC_SIZE64 and R_SPARC_H34.
9440 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9442 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9443 conditions and remove no longer applicable assertion.
9445 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9447 * bits/byteswap.h: Include <features.h>.
9448 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9449 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9451 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9453 * bits/byteswap.h (__bswap_16): Removed.
9454 Include <bits/byteswap-16.h> to get __bswap_16.
9455 * sysdeps/i386/bits/byteswap.h: Likewise.
9456 * sysdeps/s390/bits/byteswap.h: Likewise.
9457 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9458 * bits/byteswap-16.h: New file.
9459 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9460 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9461 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9462 * string/Makefile (headers): Add bits/byteswap-16.h.
9464 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9467 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9469 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9470 * nss/tst-nss-static.c: New.
9472 2012-04-06 Robert Millan <rmh@gnu.org>
9475 * manual/llio.texi (File Position Primitive): lseek
9476 refers to WHENCE when it really means OFFSET.
9478 2012-04-06 Andreas Jaeger <aj@suse.de>
9480 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9481 strncmp declarations.
9483 * abilist/libc.abilist: Add __poll and __ppoll.
9485 2012-04-05 David S. Miller <davem@davemloft.net>
9487 * scripts/check-local-headers.sh: Accept a host triplet in the
9488 path matched by the exclude regexp.
9490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9492 * sysdeps/powerpc/powerpc32/dl-machine.h
9493 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9494 * sysdeps/s390/s390-32/dl-machine.h
9495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9496 * sysdeps/sparc/sparc32/dl-machine.h
9497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9498 * sysdeps/sparc/sparc64/dl-machine.h
9499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9501 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9503 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9504 undefined symbol errors.
9506 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9509 2012-04-05 Michael Matz <matz@suse.de>
9512 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9514 2012-04-05 Andreas Jaeger <aj@suse.de>
9517 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9523 which ROUND is no valid rounding mode.
9525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9527 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9529 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9534 an exception using FPU order intentionally.
9536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9538 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9539 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9540 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9541 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9543 2012-04-05 Simon Josefsson <simon@josefsson.org>
9546 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9547 EINVAL when BUFLEN is too smal.
9549 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9552 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9553 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9555 2012-04-03 Andreas Jaeger <aj@suse.de>
9558 * manual/setjmp.texi (System V contexts): Fix sentence.
9561 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9562 New macro for this case.
9563 [!__GNUC__] (__bswap_64): New inline function for this case.
9564 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9565 * bits/byteswap.h: Likewise.
9566 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9567 ull, guard with __GLIBC_HAVE_LONG_LONG.
9569 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9570 __GLIBC_HAVE_LONG_LONG.
9572 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9573 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9575 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9578 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9579 inptr and inend, rather than using last_ch.
9581 2012-04-02 David S. Miller <davem@davemloft.net>
9583 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9584 * stdio-common/printf-parse.h (read_int): Change return type to
9585 'int', return -1 on INT_MAX overflow.
9586 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9587 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9588 overflows INT_MAX. Check for overflow of in-format-string precision
9589 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9590 SIZE_MAX not INT_MAX for integer overflow test.
9591 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9592 skip the construct in the format string but do not record anything.
9593 * stdio-common/bug22.c: Adjust to test both width/prevision
9594 INT_MAX overflow as well as total length INT_MAX overflow. Check
9595 explicitly for proper errno values.
9597 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9599 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9601 * string/test-strcmp.c [! WIDE]: Likewise.
9602 * time/tst-mktime2.c: Likewise for INT_MAX.
9603 * string/test-string.h: #include <sys/param.h> for MIN.
9605 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9606 * sysdeps/i386/init-first.c (init): Likewise.
9607 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9608 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9609 * sysdeps/sh/init-first.c (init): Likewise.
9611 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9613 * po/ru.po: Update from translation team.
9614 * po/vi.po: Likewise.
9616 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9618 * resolv/nss_dns/dns-host.c: Merge copyright years.
9620 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9623 Optimize memcpy with prefetch if
9624 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9625 src, dst pointers have unequal 16 byte alignments.
9627 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9630 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9631 from a CNAME entry and return the minimum ttl for the query.
9632 (gaih_getanswer_slice): Likewise.
9634 2012-03-30 Jeff Law <law@redhat.com>
9636 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9638 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9639 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9641 * resolv/nss_dns/dns-host.c: Update copyright year.
9643 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9645 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9646 requests to save a system call. Fix check that all bytes are sent.
9648 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9649 comments for sendmmsg.
9651 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9654 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9655 with only 1 character between 0x0041 and 0x01b0.
9656 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9657 * wcsmbs/tst-mbsnrtowcs.c: New file.
9659 2012-03-29 David S. Miller <davem@davemloft.net>
9661 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9662 small copies by hand.
9664 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9667 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9668 _nss_compat_initgroups_dyn): Fall back to malloc/free
9669 for large group memberships.
9671 2012-03-28 David S. Miller <davem@davemloft.net>
9673 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9674 that branches into memcpy.
9675 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9678 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9681 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9683 * sysdeps/sparc/mempcpy.S: New file.
9685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9686 the IFUNC routine in the libc case.
9687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9691 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9692 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9693 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9694 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9695 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9696 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9698 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9699 loop to 256 bytes instead of 64 bytes and fix test signedness.
9701 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9702 * sysdeps/sparc/sparc32/Makefile: rather than here...
9703 * sysdeps/sparc/sparc64/Makefile: and here.
9705 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9707 * malloc/mallocbug.c: Avoid warnings about unused variables.
9709 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9712 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9713 in the right place. Discard and retry query if response is
9714 larger than input buffer size.
9716 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9722 x for large integer exponent.
9723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9724 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9725 sign of result as needed afterwards.
9726 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9728 result for underflowing pow the same as for overflow.
9729 (__kernel_standard_l): Handle powl overflow and underflow here
9730 rather than calling __kernel_standard.
9731 * math/libm-test.inc (pow_test): Add more tests.
9746 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9747 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9748 (__kernel_standard_l): New function.
9749 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9751 * math/w_acosl.c (__acosl): Likewise.
9752 * math/w_asinl.c (__asinl): Likewise.
9753 * math/w_atan2l.c (__atan2l): Likewise.
9754 * math/w_atanhl.c (__atanhl): Likewise.
9755 * math/w_coshl.c (__coshl): Likewise.
9756 * math/w_exp10l.c (__exp10l): Likewise.
9757 * math/w_exp2l.c (__exp2l): Likewise.
9758 * math/w_fmodl.c (__fmodl): Likewise.
9759 * math/w_hypotl.c (__hypotl): Likewise.
9760 * math/w_j0l.c (__j0l, __y0l): Likewise.
9761 * math/w_j1l.c (__j1l, __y1l): Likewise.
9762 * math/w_jnl.c (__jnl, __ynl): Likewise.
9763 * math/w_lgammal.c (__lgammal): Likewise.
9764 * math/w_log10l.c (__log10l): Likewise.
9765 * math/w_log2l.c (__log2l): Likewise.
9766 * math/w_logl.c (__logl): Likewise.
9767 * math/w_powl.c (__powl): Likewise.
9768 * math/w_remainderl.c (__remainderl): Likewise.
9769 * math/w_scalbl.c (sysv_scalbl): Likewise.
9770 * math/w_sinhl.c (__sinhl): Likewise.
9771 * math/w_sqrtl.c (__sqrtl): Likewise.
9772 * math/w_tgammal.c (__tgammal): Likewise.
9773 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9774 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9775 * math/libm-test.inc (acos_test): Add more tests.
9776 (acosh_test): Likewise.
9777 (asin_test): Likewise.
9778 (atanh_test): Likewise.
9779 (exp_test): Likewise.
9780 (exp10_test): Likewise.
9781 (exp2_test): Likewise.
9782 (expm1_test): Likewise.
9783 (lgamma_test): Likewise.
9784 (log_test): Likewise.
9785 (log10_test): Likewise.
9786 (log1p_test): Likewise.
9787 (log2_test): Likewise.
9788 (pow_test): Do not allow some spurious overflow exceptions.
9789 (sqrt_test): Add more tests.
9790 (tgamma_test): Likewise.
9791 (y0_test): Likewise.
9792 (y1_test): Likewise.
9793 (yn_test): Likewise.
9795 2012-03-27 Anton Blanchard <anton@samba.org>
9797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9799 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9801 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9803 2012-03-27 David S. Miller <davem@davemloft.net>
9805 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9807 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9810 2012-03-27 Andreas Jaeger <aj@suse.de>
9812 * sysdeps/x86_64/elf/configure.in: Moved to ...
9813 * sysdeps/x86_64/configure.in: ... here.
9814 * sysdeps/x86_64/elf/start.S: Moved to ...
9815 * sysdeps/x86_64/start.S: ... here.
9816 * sysdeps/x86_64/elf/configure: Delete.
9818 * sysdeps/x86_64/configure.in: Merge contents from
9819 sysdeps/i386/configure.in (without i686 check).
9821 * sysdeps/i386/elf/Versions: Merge into ...
9822 * sysdeps/i386/Versions: ... this.
9823 * sysdeps/i386/elf/Versions: Delete file.
9824 * sysdeps/i386/elf/start.S: Moved to ...
9825 * sysdeps/i386/start.S: ...here.
9826 * sysdeps/i386/elf/configure.in: Merge into...
9827 * sysdeps/i386/configure.in: ...here.
9828 * sysdeps/i386/elf/configure.in: Delete file.
9829 * sysdeps/i386/elf/configure: Delete file.
9831 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9832 * debug/backtracesyms.c: ... here.
9833 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9834 * debug/backtracesymsfd.c: ... here.
9835 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9836 * sysdeps/generic/ifunc-sel.h: ... here.
9838 * sysdeps/unix/i386/start.c: Delete file.
9839 * sysdeps/unix/sparc/start.c: Delete file.
9840 * sysdeps/unix/start.c: Delete file.
9842 * sysdeps/sh/elf/configure.in: Moved to ...
9843 * sysdeps/sh/configure.in: ... here.
9844 * sysdeps/sh/elf/start.S: Moved to ...
9845 * sysdeps/sh/start.S: ... here.
9846 * sysdeps/sh/elf/configure: Delete file.
9848 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9849 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9850 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9851 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9852 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9853 * sysdeps/powerpc/powerpc64/start.S: here.
9854 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9855 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9856 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9857 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9858 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9860 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9861 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9862 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9863 * sysdeps/powerpc/powerpc32/start.S: ... here.
9864 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9865 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9866 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9868 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9869 * sysdeps/powerpc/ifunc-sel.h: ... here.
9870 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9871 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9873 * sysdeps/sparc/elf/configure.in: Moved to ...
9874 * sysdeps/sparc/configure.in: ... here.
9875 * sysdeps/sparc/elf/configure: Delete file.
9876 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9877 * sysdeps/sparc/sparc32/start.S: ... here.
9878 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9879 * sysdeps/sparc/sparc64/start.S: ... here.
9880 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9881 * sysdeps/sparc/sparc32/Makefile: ... this.
9882 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9883 * sysdeps/sparc/sparc64/Makefile: ... this.
9885 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9886 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9887 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9888 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9889 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9890 * sysdeps/s390/s390-32/setjmp.S: ... here.
9891 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9892 * sysdeps/s390/s390-32/configure.in: ... here.
9893 * sysdeps/s390/s390-32/elf/configure: Delete file.
9894 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9895 * sysdeps/s390/s390-32/start.S: ... here.
9897 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9898 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9899 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9900 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9901 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9902 * sysdeps/s390/s390-64/setjmp.S: ... here.
9903 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9904 * sysdeps/s390/s390-64/configure.in: ... here
9905 * sysdeps/s390/s390-64/elf/configure: Delete file.
9906 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9907 * sysdeps/s390/s390-64/start.S: ... here.
9908 * sysdeps/s390/s390-64/elf/configure: Delete.
9910 * configure.in: Remove support for elf directories in sysdeps.
9912 * configure: Regenerated.
9913 * sysdeps/i386/configure: Regenerated.
9914 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9915 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9916 * sysdeps/s390/s390-32/configure: Regenerated.
9917 * sysdeps/s390/s390-64/configure: Regenerated.
9918 * sysdeps/sh/configure: Regenerated.
9919 * sysdeps/sparc/configure: Regenerated.
9920 * sysdeps/x86_64/configure: Regenerated.
9922 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9927 denormal result into account.
9929 2012-03-25 Roland McGrath <roland@hack.frob.com>
9931 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9932 Reported by Allan McRae <allan@archlinux.org>.
9934 2012-03-23 Jeff Law <law@redhat.com>
9936 * nss/getnssent.c (__nss_getent): Fix typo.
9938 2012-03-23 David S. Miller <davem@davemloft.net>
9940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9942 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9944 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9945 to pad to uint64_t for each field.
9946 (dl_tls_index): Replace unsigned long with uint64_t.
9948 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9949 Paul Pluzhnikov <ppluzhnikov@google.com>
9952 * grp/Makefile (otherlibs): Don't set it.
9953 * inet/Makefile (otherlibs): Likewise.
9954 * login/Makefile (otherlibs): Likewise.
9955 * nscd/Makefile (otherlibs): Likewise.
9956 * posix/Makefile (otherlibs): Likewise.
9957 * pwd/Makefile (otherlibs): Likewise.
9958 * rt/Makefile (otherlibs): Likewise.
9959 * sunrpc/Makefile (otherlibs): Likewise.
9960 * nss/Makefile (otherlibs): Likewise.
9961 Add libnss_files to routines and static-only-routines.
9962 ($(objpfx)getent): Remove rule.
9963 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9964 static-only-routines.
9966 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9969 * math/s_cexp.c: Include <float.h>.
9970 (__cexp): Handle exp result overflowing not necessarily
9971 overflowing both real and imaginary parts of result.
9972 * math/s_cexpf.c: Likewise.
9973 * math/s_cexpl.c: Likewise.
9974 * math/libm-test.inc (cexp_test): Add more tests.
9975 * sysdeps/i386/fpu/libm-test-ulps: Update.
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9980 * include/link.h (ELFW): New macro.
9981 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9982 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9986 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9991 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9993 (struct La_x32_retval): Likewise.
9995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9997 * sysdeps/x86_64/preconfigure.in: New file.
9998 * sysdeps/x86_64/preconfigure: New generated file.
10000 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10003 * math/e_exp2l.c: Include <float.h>.
10004 (__ieee754_exp2l): Handle overflow and underflow cases
10005 separately. Only pass fractional part of argument to
10007 * math/libm-test.inc (exp2_test): Add more tests.
10009 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10010 negating x to take absolute value.
10011 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10016 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10017 computing low part if x was negated.
10018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10020 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10022 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10023 la_x32_gnu_pltexit.
10024 (pltexit): Cast int_retval to ptrdiff_t.
10025 * elf/tst-auditmod3b.c: Likewise.
10026 * elf/tst-auditmod4b.c: Likewise.
10027 * elf/tst-auditmod5b.c: Likewise.
10028 * elf/tst-auditmod6b.c: Likewise.
10029 * elf/tst-auditmod6c.c: Likewise.
10030 * elf/tst-auditmod7b.c: Likewise.
10032 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10033 and x32_gnu_pltexit.
10035 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10036 __ELF_NATIVE_CLASS.
10037 (La_x32_regs): New macro.
10038 (La_x32_retval): Likewise.
10039 (la_x32_gnu_pltenter): New function prototype.
10040 (la_x32_gnu_pltexit): Likewise.
10042 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10049 * configure.in (libc_cv_cc_nofma): Check for option to disable
10050 generation of FMA instructions.
10051 * configure: Regenerate.
10052 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10053 * sysdeps/ieee754/dbl-64/Makefile: New file.
10054 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10055 Remove brandred-fma4.
10056 (CFLAGS-brandred-fma4.c): Remove.
10057 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10058 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10063 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10065 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10066 LLONG_MAX != LONG_MAX.
10067 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10068 (_fitoa_word): Likewise.
10069 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10070 LLONG_MAX != LONG_MAX.
10071 * stdio-common/_itowa.h: Include <_itoa.h>.
10072 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10073 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10074 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10075 only if not defined.
10076 (_ITOA_WORD_TYPE): Likewise.
10077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10078 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10080 2012-03-21 David S. Miller <davem@davemloft.net>
10082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10084 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10086 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10087 of x86_64 when setting libc_cv_slibdir, libdir and
10089 * sysdeps/unix/sysv/linux/configure: Regenerated.
10091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10093 * manual/lang.texi (Old Varargs): Remove section.
10094 (How Variadic): Update menu.
10095 (va_start): Do not mention varargs.h.
10097 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10098 Joseph Myers <joseph@codesourcery.com>
10100 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10102 * configure: Regenerated.
10104 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10106 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10107 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10110 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10113 * Makefile (files-for-dist): Remove NOTES.
10114 (NOTES): Remove rule.
10115 * README: Don't refer to NOTES.
10116 * manual/creature.texi: Don't include macros.texi.
10117 * manual/intro.texi (creature.texi): Remove comment referring to
10120 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10121 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10122 * configure: Regenerated.
10123 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10124 LIBC_TRY_CC_OPTION.
10125 (libc_cv_as_i686): Likewise.
10126 (libc_cv_cc_avx): Likewise.
10127 (libc_cv_cc_sse2avx): Likewise.
10128 (libc_cv_cc_fma4): Likewise.
10129 (libc_cv_cc_novzeroupper): Likewise.
10130 * sysdeps/i386/configure: Regenerated.
10133 * sysdeps/i386/fpu/s_cexp.S: Remove.
10134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10135 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10136 * math/libm-test.inc (cexp_test): Add more tests.
10137 * sysdeps/i386/fpu/libm-test-ulps: Update.
10138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10140 2012-03-21 Allan McRae <allan@archlinux.org>
10142 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10144 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10147 * math/w_exp2.c: Do not include <float.h>.
10148 (o_threshold, u_threshold): Remove.
10149 (__exp2): Calculate result before checking finiteness and calling
10151 * math/w_exp2f.c: Likewise.
10152 * math/w_exp2l.c: Likewise.
10153 * math/libm-test.inc (exp2_test): Require overflow exception for
10157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10158 range of signed 64-bit integers before using fistpll. Remove
10159 checks for whether integers fit in mantissa bits.
10160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10161 the range of signed 32-bit integers before using fistpl. Remove
10162 checks for whether integers fit in mantissa bits.
10163 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10164 (__ieee754_powl): Test for y outside the range of signed 64-bit
10165 integers before using fistpll. Reduce 64-bit values to 63-bit
10167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10168 divide-by-zero is raised for zero to large negative powers.
10169 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10170 (__ieee754_powl): Test for y outside the range of signed 64-bit
10171 integers before using fistpll. Reduce 64-bit values to 63-bit
10173 * math/libm-test.inc (pow_test): Add more tests.
10175 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10177 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10178 <stdio-common/_itoa.h>.
10179 * debug/segfault.c: Likewise.
10180 * elf/dl-cache.c: Likewise.
10181 * elf/dl-minimal.c: Likewise.
10182 * elf/dl-misc.c: Likewise.
10183 * elf/dl-sysdep.c: Likewise.
10184 * elf/dl-version.c: Likewise.
10185 * elf/rtld.c: Likewise.
10186 * hurd/hurdsock.c: Likewise.
10187 * hurd/lookup-retry.c: Likewise.
10188 * malloc/malloc.c: Likewise.
10189 * malloc/mtrace.c: Likewise.
10190 * nscd/nscd_getgr_r.c: Likewise.
10191 * nscd/nscd_getpw_r.c: Likewise.
10192 * nscd/nscd_getserv_r.c: Likewise.
10193 * posix/getopt_init.c: Likewise.
10194 * posix/wordexp.c: Likewise.
10195 * stdio-common/_itoa.c: Likewise.
10196 * stdio-common/printf_fphex.c: Likewise.
10197 * stdio-common/vfprintf.c: Likewise.
10198 * string/_strerror.c: Likewise.
10199 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10200 * sysdeps/i386/i686/hp-timing.h: Likewise.
10201 * sysdeps/mach/_strerror.c: Likewise.
10202 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10203 * sysdeps/mach/hurd/sethostid.c: Likewise.
10204 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10205 * sysdeps/mach/xpg-strerror.c: Likewise.
10206 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10208 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10209 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10210 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10211 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10212 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10213 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10214 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10215 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10216 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10217 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10218 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10220 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10224 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10225 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10226 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10228 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10230 * stdio-common/_itoa.h: Moved to ...
10231 * sysdeps/generic/_itoa.h: Here.
10233 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10235 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10236 instead of "_itoa.h" and "_itowa.h".
10237 * stdio-common/vfprintf.: Likewise.
10239 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10241 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10243 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10244 (__signbit): Likwise.
10245 (llrintf): Likwise.
10248 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10250 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10253 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10255 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10256 OVERFLOW_EXCEPTION_OK.
10257 * math/libm-test.inc ("Philosophy"): Update comment about
10259 (OVERFLOW_EXCEPTION): Define.
10260 (OVERFLOW_EXCEPTION_OK): Likewise.
10261 (INVALID_EXCEPTION_OK): Renumber.
10262 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10263 (IGNORE_ZERO_INF_SIGN): Likewise.
10264 (test_exceptions): Handle FE_OVERFLOW.
10265 (exp10_test): Expect overflow exceptions.
10266 (exp2_test): Likewise.
10267 (expm1_test): Likewise.
10268 (nextafter_test): Likewise.
10269 (pow_test): Likewise.
10270 (scalbn_test): Likewise.
10271 (scalbln_test): Likewise.
10273 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10275 * sysdeps/x86_64/bits/atomic.h
10276 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10278 (atomic_exchange_acq): Likewise.
10279 (__arch_exchange_and_add_body): Likewise.
10280 (__arch_add_body): Likewise.
10281 (atomic_add_negative): Likewise.
10282 (atomic_add_zero): Likewise.
10284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10286 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10287 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10292 Check __x86_64__ instead of __WORDSIZE.
10294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10296 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10298 2012-03-19 David S. Miller <davem@davemloft.net>
10300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10302 * sysdeps/sparc/fpu/fenv_private.h: New file.
10303 * sysdeps/sparc/fpu/math_private.h: Use it.
10304 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10306 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10307 (libc_feholdexcept_setroundl): Remove.
10308 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10310 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10311 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10313 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10315 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10316 int64_t instead of long int.
10317 (INSERT_WORDS64): Likwise.
10319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10322 _Unwind_GetCFA return to _Unwind_Ptr first.
10324 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10327 * math/s_clog.c: Include <float.h>.
10328 (__clog): Scale large or subnormal inputs.
10329 * math/s_clogf.c: Likewise.
10330 * math/s_clogl.c: Likewise.
10331 * math/s_clog10.c: Include <float.h>.
10332 (M_LOG10_2): Define.
10333 (__clog10): Scale large or subnormal inputs.
10334 * math/s_clog10f.c: Likewise.
10335 * math/s_clog10l.c: Likewise.
10336 * math/libm-test.inc (clog_test): Add more tests.
10337 (clog10_test): Likewise.
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10344 * math/libm-test.inc (atan2_test): Add another test.
10346 * Makerules (common-objdir-compile): Remove.
10347 * sysdeps/unix/Makefile (config-generated): Do not add
10348 $(unix-generated) to variable.
10349 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10350 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10352 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10354 [generic bits/local_lim.h] (before-compile): Do not append to
10356 [generic bits/local_lim.h] (common-generated): Likewise.
10357 [generic sys/param.h] (before-compile): Do not append to variable.
10358 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10359 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10360 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10363 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10364 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10365 [generic sys/param.h] ($(addprefix
10366 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10367 [generic sys/param.h] (common-generated): Do not append to
10369 [generic sys/param.h] (sysdep_headers): Likewise.
10370 [generic bits/errno.h] (before-compile): Do not append to
10372 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10374 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10375 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10376 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10377 [generic bits/errno.h] (common-generated): Do not append to
10379 [generic bits/ioctls.h] (before-compile): Do not append to
10381 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10383 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10384 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10387 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10388 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10389 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10390 [generic bits/ioctls.h] (common-generated): Do not append to
10392 [generic sys/syscall.h] (syscall.h): Remove variable.
10393 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10395 [generic sys/syscall.h] (before-compile): Do not append to
10397 [generic sys/syscall.h] (common-generated): Likewise.
10398 * sysdeps/unix/errnos-tmpl.c: Remove file.
10399 * sysdeps/unix/errnos.awk: Likewise.
10400 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10401 * sysdeps/unix/ioctls.awk: Likewise.
10402 * sysdeps/unix/mk-local_lim.c: Likewise.
10403 * sysdeps/unix/snarf-ioctls: Likewise.
10405 2012-03-19 Richard Henderson <rth@twiddle.net>
10407 * sysdeps/i386/fpu/fenv_private.h: New file.
10408 * sysdeps/i386/fpu/math_private.h: Use it.
10409 (math_opt_barrier, math_force_eval): Remove.
10410 (libc_feholdexcept_setround_53bit): Remove.
10411 (libc_feupdateenv_53bit): Remove.
10412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10413 (math_opt_barrier, math_force_eval): Remove.
10414 (libc_feholdexcept): Remove.
10415 (libc_feholdexcept_setround): Remove.
10416 (libc_fetestexcept, libc_fesetenv): Remove.
10417 (libc_feupdateenv_test): Remove.
10418 (libc_feupdateenv, libc_feholdsetround): Remove.
10419 (libc_feresetround): Remove.
10421 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10422 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10424 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10425 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10426 (libc_feupdateenv_testl): New.
10427 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10428 (libc_feupdateenv_testf): New.
10429 (libc_feupdateenv): Use libc_feupdateenv_test.
10430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10433 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10434 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10435 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10436 (libc_feresetround_noex): New.
10437 (libc_feresetround_noexf): New.
10438 (libc_feresetround_noexl): New.
10439 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10440 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10441 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10445 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10447 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10449 SET_RESTORE_ROUND_NOEX.
10450 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10451 SET_RESTORE_ROUND_NOEXF.
10452 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10453 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10454 (libc_feholdsetroundf): New.
10455 (libc_feresetround, libc_feresetroundf): New.
10457 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10458 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10459 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10461 * sysdeps/generic/math_private.h: Include <fenv.h>.
10462 (default_libc_feholdexcept): New.
10463 (default_libc_feholdexcept_setround): New.
10464 (default_libc_fesetenv, default_libc_feupdateenv): New.
10465 (libc_feholdexcept): Only define if undefined.
10466 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10467 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10468 (libc_feholdexcept_setroundl): Likewise.
10469 (libc_feholdexcept_setround_53bit): Likewise.
10470 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10471 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10472 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10473 (libc_feupdateenv_53bit): Likewise.
10474 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10475 (libc_feholdexcept): Convert from macro to inline function.
10476 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10477 (libc_fesetenv, libc_feupdateenv): Likewise.
10479 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10480 not previously defined.
10481 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10482 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10483 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10485 * sysdeps/ieee754/flt-32/math_private.h: New file.
10486 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10487 math_private.h below SET_FLOAT_WORD.
10488 (__isnan, __isinf_ns, __finite): Remove.
10489 (__isnanf, __isinf_nsf, __finitef): Remove.
10491 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10495 2012-03-17 David S. Miller <davem@davemloft.net>
10498 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10501 2012-03-16 David S. Miller <davem@davemloft.net>
10503 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10509 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10510 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10511 sysdep_routines when subdir is sysvipc.
10512 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10513 __getshmlba helper.
10515 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10519 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10525 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10526 (__lround): Renamed to ...
10527 (__llround): This. Replace long int with long long int.
10528 Define lround functions as aliases of llround functions.
10529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10533 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10534 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10535 adresses to uintptr_t. Replace "long int" and "unsigned long
10536 int" with "greg_t" on va_arg.
10538 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10540 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10541 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10543 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10544 Move e_machine check before EI_CLASS check. Handle x32
10545 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10546 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10547 SKIP_EM_IA_64 and include
10548 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10550 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10551 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10552 (add_system_dir): New macro.
10554 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10557 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10568 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10570 * math/w_j0f.c (j0f): Likewise.
10572 * math/w_j0l.c (__j0l): Likewise.
10574 * math/w_j1.c (j1): Likewise.
10576 * math/w_j1f.c (j1f): Likewise.
10578 * math/w_j1l.c (__j1l): Likewise.
10580 * math/w_jn.c (jn): Likewise.
10582 * math/w_jnf.c (jnf): Likewise.
10584 * math/w_jnl.c (__jnl): Likewise.
10586 * math/libm-test.inc (j0_test): Add more tests.
10587 (j1_test): Likewise.
10588 (jn_test): Likewise. Add trailing semicolon to existing test.
10589 (y0_test): Likewise.
10590 (y1_test): Likewise.
10591 * sysdeps/i386/fpu/libm-test-ulps: Update.
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10596 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10597 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10598 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10599 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10600 (__tanl): Set errno for infinite argument.
10601 * sysdeps/i386/fpu/mptan.c: Remove.
10602 * sysdeps/i386/fpu/s_tan.S: Likewise.
10603 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10604 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10605 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10606 * math/libm-test.inc (tan_test): Add more tests and enable more
10607 tests for double and long double.
10608 * sysdeps/i386/fpu/libm-test-ulps: Update.
10609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10611 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10613 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10614 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10616 2012-03-16 Roland McGrath <roland@hack.frob.com>
10618 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10619 * configure.in: Use it for both main tree and add-ons.
10620 * configure: Regenerated.
10622 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10624 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10626 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10632 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10633 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10638 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10640 != 0 for prec == 2.
10641 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10642 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10643 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10644 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10645 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10646 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10647 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10648 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10649 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10650 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10651 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10652 * math/libm-test.inc (cos_test): Add more tests and enable more
10653 tests for long double.
10654 (sin_test): Likewise.
10655 (sincos_test): Likewise.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659 2012-03-16 David S. Miller <davem@davemloft.net>
10661 * sysdeps/sparc/fpu/math_private.h: New file.
10663 2012-03-15 David S. Miller <davem@davemloft.net>
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10679 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10680 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10682 * sysdeps/sparc/sparc-ifunc.h: New file.
10683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10728 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10730 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10734 2012-03-15 Andreas Jaeger <aj@suse.de>
10737 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10738 ieee754/flt-32 implementation for sin, cos and sincos.
10739 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10740 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10741 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10742 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10743 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10744 ieee754/flt-32 implementation for tan.
10746 * math/libm-test.inc (cos_test): Enable some large input tests for
10748 (sin_test): Likewise.
10749 (sincos_test): Likewise.
10750 (tan_test): Add tests for large input.
10752 * sysdeps/i386/fpu/libm-test-ulps: Update.
10754 2012-03-15 Andreas Jaeger <aj@suse.de>
10757 * math/libm-test.inc (cos_test): Add more test cases.
10758 (sin_test): Likewise.
10759 (sincos_test): Likewise.
10761 2012-03-15 Andreas Jaeger <aj@suse.de>
10764 * math/libm-test.inc (cos_test): Add a test case for large input
10766 (sin_test): Likewise.
10767 (sincos_test): Likewise.
10769 2012-03-15 Andreas Jaeger <aj@suse.de>,
10770 Joseph Myers <joseph@codesourcery.com>
10773 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10774 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10775 * sysdeps/i386/fpu/branred.c: Likewise.
10776 * sysdeps/i386/fpu/dosincos.c: Likewise.
10777 * sysdeps/i386/fpu/mpa.c: Likewise.
10778 * sysdeps/i386/fpu/s_cos.S: Likewise.
10779 * sysdeps/i386/fpu/s_sin.S: Likewise.
10780 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10781 * sysdeps/i386/fpu/sincos32.c: Likewise.
10783 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10785 (libc_feupdateenv_53bit): Define.
10786 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10788 (libc_feupdateenv_53bit): Define.
10790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10791 53 bit (without extend i386 double precision).
10793 * math/libm-test.inc (sincos_test): Add tests for large input.
10797 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10799 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10803 2012-03-15 David S. Miller <davem@davemloft.net>
10805 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10806 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10807 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10808 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10833 fmin/fmax sysdep routines.
10834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10836 2012-03-14 David S. Miller <davem@davemloft.net>
10838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10915 * sysdeps/sparc/configure.in: New file.
10916 * sysdeps/sparc/configure: Generate.
10917 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10918 * configure: Regenerate.
10919 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10920 * config.make.in (have-as-vis3): New.
10921 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10922 available use -Av9d instead of -Av9a.
10923 * sysdeps/sparc/sparc64/Makefile: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10939 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10940 fzeros/fnegs to load 0x80000000 into a float register instead of
10942 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10944 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10948 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10949 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10950 ($(inst_includedir)/bits/syscall.h): Remove rule.
10951 ($(objpfx)bits/syscall.d): Include instead of
10952 $(objpfx)syscall-list.d.
10953 (generated): Change syscall-list.h and syscall-list.d to
10954 bits/syscall.h and bits/syscall.d.
10956 2012-03-14 Roland McGrath <roland@hack.frob.com>
10959 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10961 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10964 * math/s_csqrt.c: Include <float.h>.
10965 (__csqrt): Scale large or subnormal inputs.
10966 * math/s_csqrtf.c: Likewise.
10967 * math/s_csqrtl.c: Likewise.
10968 * math/libm-test.inc (csqrt_test): Add more tests.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973 * math/libm-test.inc (hypot_test): Add more tests.
10975 2012-03-13 David S. Miller <davem@davemloft.net>
10978 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10979 double-precision for the calculation instead of scaling.
10981 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10984 manipulate bits before adding and subtracting TWO52[sx].
10985 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10990 2012-03-13 David S. Miller <davem@davemloft.net>
10992 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10993 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10995 rtld-global-offsets.h
10996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10998 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11001 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11003 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11004 'err' in the ifdef scope in which it is actually used.
11006 * nss/nss_db/db-init.c: Include string.h
11008 2012-03-12 David S. Miller <davem@davemloft.net>
11010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11011 masking out of the most significant byte of random value used.
11012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11013 Fix coding style in previous change.
11015 * sysdeps/unix/sysv/linux/kernel-features.h
11016 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11017 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11019 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11022 2012-03-11 David S. Miller <davem@davemloft.net>
11024 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11025 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11027 for 'resultvar' otherwise things get truncated on 64-bit.
11029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11030 Fix masking out of the most significant byte of random value used.
11032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11034 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11038 2012-03-09 David S. Miller <davem@davemloft.net>
11040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11041 variables with appropriate CPP guards.
11042 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11043 frame pointer, not the stack pointer. Correct layout comments. Fix test
11044 on resulting framesize and the management of the outregs buffer for pltexit.
11045 Preserve floating point return values across _dl_call_pltexit call.
11046 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11047 framesize and the management of the outregs buffer for pltexit.
11048 Preserve floating point return values across _dl_call_pltexit
11050 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11051 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11052 (print_exit): Fix format string for return register value.
11054 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11056 * sunrpc/Makefile (others): Add rpcgen.
11057 ($(objpfx)rpcgen): Remove special build rule and dependency on
11059 * sunrpc/rpcgen.c: New file.
11061 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11064 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11065 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11066 * sysdeps/i386/crti.S: Likewise.
11067 * sysdeps/i386/crtn.S: Likewise.
11068 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11069 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11070 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11071 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11072 * sysdeps/sh/crti.S: Likewise.
11073 * sysdeps/sh/crtn.S: Likewise.
11074 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11077 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11079 * locale/programs/locfile-kw.gperf: Likewise.
11080 * locale/programs/charmap-kw.h: Regenerated.
11081 * locale/programs/locfile-kw.h: Likewise.
11084 * intl/plural.y: Replace FSF snail mail address with URL.
11085 * intl/plural.c: Regenerated.
11087 2012-03-09 Richard Henderson <rth@twiddle.net>
11089 * include/math_private.h: Remove file.
11090 * math/math_private.h: Move file ...
11091 * sysdeps/generic/math_private.h: ... here.
11093 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11094 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11097 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11098 and <math_private.h>.
11099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11182 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11186 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11187 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11190 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11193 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11215 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11216 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11217 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11220 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11241 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11242 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11243 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11247 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11248 * sysdeps/ieee754/k_standard.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11268 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11287 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11292 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11340 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11375 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11379 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11380 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11381 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11385 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11398 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11399 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11403 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11404 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11409 * sysdeps/ieee754/s_lib_version.c: Likewise.
11410 * sysdeps/ieee754/s_matherr.c: Likewise.
11411 * sysdeps/ieee754/s_signgam.c: Likewise.
11412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11414 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11418 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11420 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11421 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11423 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11424 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11426 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11427 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11436 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11437 * sunrpc/rpc_main.c: Likewise.
11438 * sunrpc/rpc_svcout.c: Likewise.
11440 2012-03-09 David S. Miller <davem@davemloft.net>
11442 * include/math_private.h: New file.
11444 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11446 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11447 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11448 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11449 from <bits/socket_type.h>.
11450 (enum __socket_type): Don't define here.
11451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11453 bits/socket_type.h.
11456 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11457 checking __USE_GNU.
11459 * Makerules ($(inst_includedir)/%.h): New rule.
11460 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11461 (install-others): Remove variable setting.
11462 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11464 2012-03-08 Richard Henderson <rth@twiddle.net>
11466 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11467 from macro to inline function; merge with the
11468 !__LIBC_INTERNAL_MATH_INLINES version.
11469 (__ieee754_sqrtf): Likewise.
11471 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11472 to inline function.
11473 (__rintf, __floor, __floorf): Likewise.
11475 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11476 macro to inline function.
11477 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11480 not <math/math_private.h>.
11482 2012-03-08 David S. Miller <davem@davemloft.net>
11484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11486 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11488 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11490 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11492 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11495 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11497 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11498 be defined individually, they must be defined as a block. Define
11499 S for printing a string instead of hidint the different by using a
11500 macro for adding the 'l'.
11501 * stdio-common/tst-fphex-wide.c: Adjust.
11503 2012-03-07 Marek Polacek <polacek@redhat.com>
11505 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11507 2012-03-08 Marek Polacek <polacek@redhat.com>
11510 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11511 * stdio-common/tst-fphex.c: Define a few macros to make the
11512 test reusable. Use them.
11513 * stdio-common/tst-fphex-wide.c: New file.
11515 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11518 * manual/macros.texi (gnusystems): New macro.
11519 (nongnusystems): Likewise.
11520 (gnulinuxhurdsystems): Likewise.
11521 (gnuhurdsystems): Likewise..
11522 (gnulinuxsystems): Likewise.
11523 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11524 variants of the GNU system, not "GNU system".
11525 * manual/conf.texi: Likewise.
11526 * manual/errno.texi: Likewise. Update example of errno macro
11528 * manual/filesys.texi: Likewise.
11529 (getumask): Document as specific to GNU/Hurd.
11530 * manual/install.texi: Likewise. Reword some references to
11532 * manual/intro.texi: Likewise.
11533 * manual/io.texi: Likewise.
11534 (File Name Portability): Detail which constraints are inapplicable
11535 to all GNU systems and which are only inapplicable to GNU/Hurd.
11536 * manual/job.texi: Likewise.
11537 * manual/llio.texi: Likewise.
11538 (O_NOCTTY): Document as present on GNU/Linux.
11539 * manual/maint.texi: Likewise.
11540 * manual/memory.texi: Likewise.
11541 * manual/pattern.texi: Likewise.
11542 * manual/pipe.texi: Likewise.
11543 * manual/process.texi: Likewise.
11544 * manual/resource.texi: Likewise.
11545 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11547 * manual/setjmp.texi: Likewise.
11548 * manual/signal.texi: Likewise.
11549 * manual/startup.texi: Likewise.
11550 * manual/stdio.texi: Likewise.
11551 * manual/terminal.texi: Likewise.
11552 (ONLCR): Document as POSIX.
11553 (OXTABS): Document availability on GNU/Linux as XTABS.
11554 (ONOEOT): Document availability separately from other bits.
11555 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11556 * manual/time.texi: Likewise.
11557 * manual/users.texi: Likewise.
11558 * INSTALL: Regenerated.
11559 * sysdeps/gnu/errlist.c: Regenerated.
11561 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11562 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11563 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11565 * configure: Regenerated.
11567 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11569 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11570 default includes instead of AC_HEADER_CHECK.
11571 * sysdeps/i386/configure: Regenerated.
11574 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11575 * math/s_cacoshf.c (__cacoshf): Likewise.
11576 * math/s_cacoshl.c (__cacoshl): Likewise.
11577 * math/s_casinh.c (__casinh): Set signs of result from argument.
11578 * math/s_casinhf.c (__casinhf): Likewise.
11579 * math/s_casinhl.c (__casinhl): Likewise.
11580 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11581 (casinh_test): Add more tests.
11582 * sysdeps/i386/fpu/libm-test-ulps: Update.
11583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11585 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11587 * po/zh_TW.po: Update from translation team.
11589 * login/Makefile (distribute): Remove variable.
11590 * catgets/Makefile: Likewise.
11591 * mach/Makefile: Likewise.
11592 * malloc/Makefile: Likewise.
11593 * misc/Makefile: Likewise.
11594 * iconv/Makefile: Likewise.
11595 * nscd/Makefile: Likewise.
11596 * hurd/Makefile: Likewise.
11597 * manual/Makefile: Likewise.
11598 * locale/Makefile: Likewise.
11599 * intl/Makefile: Likewise.
11600 * conform/Makefile: Likewise.
11601 * nss/Makefile: Likewise.
11602 * time/Makefile: Likewise.
11603 * soft-fp/Makefile: Likewise.
11604 * dirent/Makefile: Likewise.
11605 * gmon/Makefile: Likewise.
11606 * po/Makefile: Likewise.
11607 * rt/Makefile: Likewise.
11608 * socket/Makefile: Likewise.
11609 * math/Makefile: Likewise.
11610 * signal/Makefile: Likewise.
11611 * debug/Makefile: Likewise.
11612 * elf/Makefile: Likewise.
11613 * timezone/Makefile: Likewise.
11614 * stdlib/Makefile: Likewise.
11615 * iconvdata/Makefile: Likewise.
11616 * sunrpc/Makefile: Likewise.
11617 * io/Makefile: Likewise.
11618 * argp/Makefile: Likewise.
11619 * inet/Makefile: Likewise.
11620 * hesiod/Makefile: Likewise.
11621 * grp/Makefile: Likewise.
11622 * csu/Makefile: Likewise.
11623 * wctype/Makefile: Likewise.
11624 * crypt/Makefile: Likewise.
11625 * libio/Makefile: Likewise.
11626 * string/Makefile: Likewise.
11627 * nis/Makefile: Likewise.
11628 * resolv/Makefile: Likewise.
11629 * stdio-common/Makefile: Likewise.
11630 * wcsmbs/Makefile: Likewise.
11631 * dlfcn/Makefile: Likewise.
11632 * posix/Makefile: Likewise.
11635 * timezone/Makefile: Don't install timezone files, just the programs
11638 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11640 * nss/databases.def: Add missing gshadow entry.
11642 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11644 2012-03-06 Marek Polacek <polacek@redhat.com>
11647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11649 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11650 * stdio-common/tst-long-dbl-fphex.c: New file.
11652 2012-03-06 David S. Miller <davem@davemloft.net>
11654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11655 (set_obp_int): New function.
11656 (get_obp_int): New function.
11657 (__get_clockfreq_via_dev_openprom): Likewise.
11658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11659 Avoid unused variable warnings on 'val' and use builtin_expect.
11660 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11662 (INLINE_CLONE_SYSCALL): Likewise.
11664 2012-03-05 David S. Miller <davem@davemloft.net>
11666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11668 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11673 only for |x| >= 40.
11674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11676 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11679 Replace gettimeofday with __vdso_gettimeofday.
11681 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11682 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11683 __vdso_clock_gettime and __vdso_getcpu.
11685 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11686 time with __vdso_time.
11688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11690 * manual/lang.texi (size_t): Note types to which size_t may be
11691 equivalent with the GNU C Library, but do not describe when
11692 differences between them are significant.
11694 2012-03-05 Andreas Jaeger <aj@suse.de>
11696 * sysdeps/i386/fpu/libm-test-ulps: Update.
11698 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11701 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11702 (__ieee754_pow): Save and restore rounding mode and use
11703 round-to-nearest for main computations.
11704 * math/libm-test.inc (pow_test_tonearest): New function.
11705 (pow_test_towardzero): Likewise.
11706 (pow_test_downward): Likewise.
11707 (pow_test_upward): Likewise.
11708 (main): Call the new functions.
11709 * sysdeps/i386/fpu/libm-test-ulps: Update.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11713 * math/libm-test.inc (cosh_test_tonearest): New function.
11714 (cosh_test_towardzero): Likewise.
11715 (cosh_test_downward): Likewise.
11716 (cosh_test_upward): Likewise.
11717 (sinh_test_tonearest): Likewise.
11718 (sinh_test_towardzero): Likewise.
11719 (sinh_test_downward): Likewise.
11720 (sinh_test_upward): Likewise.
11721 (main): Call the new functions.
11722 * sysdeps/i386/fpu/libm-test-ulps: Update.
11723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11725 2012-03-05 Tom de Vries <tom@codesourcery.com>
11727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11728 default stack guard is set in last bytes.
11729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11731 2012-03-05 Kees Cook <keescook@chromium.org>
11733 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11736 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11737 possibly allocate from heap instead of stack.
11738 * stdio-common/bug-vfprintf-nargs.c: New file.
11739 * stdio-common/Makefile (tests): Add nargs overflow test.
11741 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11745 2012-03-03 Marek Polacek <polacek@redhat.com>
11747 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11748 * math/math_private.h: Likewise.
11749 * stdlib/tst-strtod.c: Likewise.
11750 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11751 * sysdeps/x86_64/bits/atomic.h: Likewise.
11753 2012-03-02 David S. Miller <davem@davemloft.net>
11755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11759 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11760 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11761 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11762 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11764 2012-03-02 Roland McGrath <roland@hack.frob.com>
11767 * manual/examples/README: New file, says the example source files
11768 can be used under GPL>=2.
11769 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11770 line containing just "*/".
11771 * manual/examples/add.c: Add copyright header (GPL>=2).
11772 * manual/examples/argp-ex1.c: Likewise.
11773 * manual/examples/argp-ex2.c: Likewise.
11774 * manual/examples/argp-ex3.c: Likewise.
11775 * manual/examples/argp-ex4.c: Likewise.
11776 * manual/examples/atexit.c: Likewise.
11777 * manual/examples/db.c: Likewise.
11778 * manual/examples/dir.c: Likewise.
11779 * manual/examples/dir2.c: Likewise.
11780 * manual/examples/execinfo.c: Likewise.
11781 * manual/examples/filecli.c: Likewise.
11782 * manual/examples/filesrv.c: Likewise.
11783 * manual/examples/fmtmsgexpl.c: Likewise.
11784 * manual/examples/genpass.c: Likewise.
11785 * manual/examples/inetcli.c: Likewise.
11786 * manual/examples/inetsrv.c: Likewise.
11787 * manual/examples/isockad.c: Likewise.
11788 * manual/examples/longopt.c: Likewise.
11789 * manual/examples/memopen.c: Likewise.
11790 * manual/examples/memstrm.c: Likewise.
11791 * manual/examples/mkfsock.c: Likewise.
11792 * manual/examples/mkisock.c: Likewise.
11793 * manual/examples/mygetpass.c: Likewise.
11794 * manual/examples/pipe.c: Likewise.
11795 * manual/examples/popen.c: Likewise.
11796 * manual/examples/rprintf.c: Likewise.
11797 * manual/examples/search.c: Likewise.
11798 * manual/examples/select.c: Likewise.
11799 * manual/examples/setjmp.c: Likewise.
11800 * manual/examples/sigh1.c: Likewise.
11801 * manual/examples/sigusr.c: Likewise.
11802 * manual/examples/stpcpy.c: Likewise.
11803 * manual/examples/strdupa.c: Likewise.
11804 * manual/examples/strftim.c: Likewise.
11805 * manual/examples/strncat.c: Likewise.
11806 * manual/examples/subopt.c: Likewise.
11807 * manual/examples/swapcontext.c: Likewise.
11808 * manual/examples/termios.c: Likewise.
11809 * manual/examples/testopt.c: Likewise.
11810 * manual/examples/testpass.c: Likewise.
11811 * manual/examples/timeval_subtract.c: Likewise.
11814 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11816 * manual/timeval_subtract.c.texi: ... here, new file.
11818 2012-03-02 David S. Miller <davem@davemloft.net>
11820 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11822 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11826 (__sin): Save and restore rounding mode and use round-to-nearest
11827 for all computations.
11828 (__cos): Save and restore rounding mode and use round-to-nearest
11829 for all computations.
11830 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11832 (tan): Save and restore rounding mode and use round-to-nearest for
11834 * math/libm-test.inc (cos_test_tonearest): New function.
11835 (cos_test_towardzero): Likewise.
11836 (cos_test_downward): Likewise.
11837 (cos_test_upward): Likewise.
11838 (sin_test_tonearest): Likewise.
11839 (sin_test_towardzero): Likewise.
11840 (sin_test_downward): Likewise.
11841 (sin_test_upward): Likewise.
11842 (tan_test_tonearest): Likewise.
11843 (tan_test_towardzero): Likewise.
11844 (tan_test_downward): Likewise.
11845 (tan_test_upward): Likewise.
11846 (main): Call the new functions.
11847 * sysdeps/i386/fpu/libm-test-ulps: Update.
11848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11852 small n, then large n, before computing and testing k+n.
11853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11858 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11859 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11866 * math/libm-test.inc (scalbn_test): Add more tests.
11867 (scalbln_test): Likewise.
11869 * manual/filesys.texi (mode_t): Describe constraints on size and
11870 signedness, not exact equivalence to a particular type.
11872 (ino64_t): Likewise.
11874 (nlink_t): Likewise.
11875 (blkcnt_t): Likewise.
11876 (blkcnt64_t): Likewise.
11877 * manual/llio.texi (off_t): Likewise.
11880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11881 (__ieee754_exp): Save and restore rounding mode and use
11882 round-to-nearest for all computations.
11883 * math/libm-test.inc (exp_test_tonearest): New function.
11884 (exp_test_towardzero): Likewise.
11885 (exp_test_downward): Likewise.
11886 (exp_test_upward): Likewise.
11887 (main): Call the new functions.
11888 * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11891 2012-03-01 Chris Demetriou <cgd@google.com>
11893 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11894 have predictable order.
11896 2012-03-01 David S. Miller <davem@davemloft.net>
11898 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11900 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11901 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11902 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11903 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11905 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11906 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11910 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11911 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11912 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11913 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11918 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11921 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11929 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11930 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11931 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11937 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11938 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11939 * sysdeps/sparc/elf/configure: Regenerated.
11941 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11943 * configure.in (AS, LD): Require binutils 2.20 or later.
11944 * configure: Regenerated.
11945 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11946 as required minimum version.
11947 * INSTALL: Regenerated.
11951 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11952 before squaring exponent.
11953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11954 bottom long double and 27 bits of top long double before squaring
11956 * math/libm-test.inc (erfc_test): Add more tests.
11957 * sysdeps/i386/fpu/libm-test-ulps: Update.
11958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11961 2012-03-01 Kai Tietz <ktietz@redhat.com>
11963 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11964 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11965 containing bit-fields.
11966 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11967 * soft-fp/single.h (_FP_UNION_S): Likewise.
11968 * soft-fp/double.h (_FP_UNION_D): Likewise.
11970 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11974 not include ../strcmp.S.
11975 [USE_AS_STRNCASECMP_L]: Likewise.
11976 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11977 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11978 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11979 (__strncasecmp_l_ia32): Define as alias to
11980 __strncasecmp_l_nonascii.
11983 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11987 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11990 2012-02-29 Jeff Law <law@redhat.com>
11992 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11993 out of bounds read.
11995 2012-02-29 Marek Polacek <polacek@redhat.com>
11998 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11999 * elf/Makefile: Add rules to run tst-unused-dep.out.
12001 2012-02-28 David S. Miller <davem@davemloft.net>
12003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12010 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12012 * math/libm-test.inc (llround_test): Move one test from
12013 lround_test. Use TEST_f_L in moved test.
12014 (lround_test): Move misplaced test to llround_test. Add testcase
12017 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12019 * sysdeps/x86_64/fpu/e_expf.S: New file.
12020 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12022 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12025 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12026 of remain_len that may cause incomplete multi-byte character and
12028 * posix/bug-regex33.c: New file.
12029 * posix/Makefile (tests): Add bug-regex33.
12031 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12033 * manual/macros.texi: New file.
12034 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12035 * manual/libc.texinfo: Include macros.texi.
12036 * manual/creatute.texi: Likewise.
12037 * manual/install.texi: Likewise.
12038 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12039 @glibcadj{} in references to the GNU C Library.
12040 * manual/charset.texi: Likewise.
12041 * manual/conf.texi: Likewise.
12042 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12043 when not using those macros.
12044 * manual/creature.texi: Likewise.
12045 * manual/crypt.texi: Likewise.
12046 * manual/errno.texi: Likewise.
12047 * manual/filesys.texi: Likewise.
12048 * manual/header.texi: Likewise.
12049 * manual/install.texi: Likewise.
12050 * manual/intro.texi: Likewise.
12051 * manual/io.texi: Likewise.
12052 * manual/job.texi: Likewise.
12053 * manual/lang.texi: Likewise.
12054 * manual/libc.texiinfo: Likewise.
12055 * manual/llio.texi: Likewise.
12056 * manual/locale.texi: Likewise.
12057 * manual/maint.texi: Likewise.
12058 * manual/math.texi: Likewise.
12059 * manual/memory.texi: Likewise.
12060 * manual/message.texi: Likewise.
12061 * manual/nss.texi: Likewise.
12062 * manual/pattern.texi: Likewise.
12063 * manual/process.texi: Likewise.
12064 * manual/resource.texi: Likewise.
12065 * manual/search.texi: Likewise.
12066 * manual/setjmp.texi: Likewise.
12067 * manual/signal.texi: Likewise.
12068 * manual/socket.texi: Likewise.
12069 * manual/startup.texi: Likewise.
12070 * manual/stdio.texi: Likewise.
12071 * manual/string.texi: Likewise.
12072 * manual/sysinfo.texi: Likewise.
12073 * manual/syslog.texi: Likewise.
12074 * manual/terminal.texi: Likewise.
12075 * manual/time.texi: Likewise.
12076 * manual/users.texi: Likewise.
12077 * INSTALL: Regenerated.
12078 * NOTES: Regenerated.
12079 * sysdeps/gnu/errlist.c: Regenerated.
12081 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12083 * include/dirent.h: Include <dirstream.h> before
12086 2012-02-28 David S. Miller <davem@davemloft.net>
12088 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12089 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12090 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12093 2012-02-27 David S. Miller <davem@davemloft.net>
12095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12097 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12098 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12101 frame pointer instead of stack pointer relative arg slot.
12102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12106 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12109 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12111 2012-02-27 David S. Miller <davem@davemloft.net>
12113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12119 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12122 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12124 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12125 later. Allow versions 5-9.
12126 * configure: Regenerated.
12127 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12128 required minimum version and 4.6 as recommended version. Do not
12129 mention bugs in GCC 2.7 and 2.8.
12130 * INSTALL: Regenerated.
12132 2012-02-27 David S. Miller <davem@davemloft.net>
12134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12140 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12144 manipulate bits before adding and subtracting TWO112[sx].
12145 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12147 2012-02-27 Roland McGrath <roland@hack.frob.com>
12150 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12151 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12152 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12153 being in POSIX, because they are in 1003.1-2008.
12155 * rt/tst-aio.c: Include <fcntl.h>.
12156 * rt/tst-aio7.c: Likewise.
12157 * rt/tst-aio64.c: Likewise.
12159 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12161 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12163 * manual/install.texi (--with-headers): Describe headers as
12164 interface headers, not private headers.
12165 (Specific advice for GNU/Linux systems): Describe use of headers
12166 from "make headers_install", not private headers from older
12168 * INSTALL: Regenerated.
12169 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12171 * sysdeps/unix/sysv/linux/configure: Regenerated.
12173 * manual/llio.texi (fclean): Remove documentation.
12175 * manual/Makefile (libc-texi-generated): New variable. Include
12177 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12178 $(libc-texi-generated), not duplicated list of files.
12179 (version.texi, stamp-version): New rules.
12180 (realclean): Remove $(libc-texi-generated), not individual files
12181 from that list. Do not remove dir-add.texinfo.
12182 * manual/libc.texinfo: Comment out uses of edition numbers and
12183 references to printed manual. Remove last-updated dates.
12184 (EDITION): Comment out.
12186 (VERSION, UPDATED): Remove.
12187 (version.texi): Include.
12189 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12191 * sysdeps/posix/spawni.c: Include <signal.h>.
12192 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12193 * sysdeps/pthread/aio_fsync.c: Likewise.
12195 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12197 * conform/Makefile (tests): Run only when not cross-compiling and
12198 when fast-check is not defined.
12200 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12201 * conform/data/limits.h-data: Fixes for POSIX2008.
12202 * conform/run-conformtest.sh: Run all tests.
12203 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12205 * include/bits/dlfcn.h: Likewise.
12206 * include/langinfo.h: Likewise.
12207 * include/monetary.h: Likewise.
12208 * include/sys/poll.h: Likewise.
12210 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12212 * posix/spawn.h: Define __need_sigset_t.
12213 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12214 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12215 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12216 to get sigevent_t only.
12217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12218 only for __USE_GNU.
12219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12220 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12221 process_vm_writev only for __USE_GNU.
12222 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12224 * conform/Makefile: For now ignore errors from run-conformtest.
12225 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12226 POSIX to avoid namespace pollution. Don't prepend headers.
12227 * conform/data/aio.h-data: Fixes for POSIX testing.
12228 * conform/data/fcntl.h-data: Likewise.
12229 * conform/data/glob.h-data: Likewise.
12230 * conform/data/grp.h-data: Likewise.
12231 * conform/data/pthread.h-data: Likewise.
12232 * conform/data/pwd.h-data: Likewise.
12233 * conform/data/signal.h-data: Likewise.
12234 * conform/data/spawn.h-data: Likewise.
12235 * conform/data/stdio.h-data: Likewise.
12236 * conform/data/stdlib.h-data: Likewise.
12237 * conform/data/stropts.h-data: Likewise.
12238 * conform/data/sys/mman.h-data: Likewise.
12239 * conform/data/sys/stat.h-data: Likewise.
12240 * conform/data/sys/types.h-data: Likewise.
12241 * conform/data/sys/wait.h-data: Likewise.
12242 * conform/data/time.h-data: Likewise.
12243 * conform/data/unistd.h-data: Likewise.
12244 * conform/data/utime.h-data: Likewise.
12246 * io/sys/stat.h: fchmod was always in POSIX.
12247 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12248 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12249 * rt/aio.h: Define __need_timespec before including <time.h>.
12250 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12251 struct. Add forward declaration of pthread_attr_t and use it in
12253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12255 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12256 always remove CLK_TCK definition.
12258 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12260 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12262 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12264 * conform/run-conformtest.sh: New file.
12265 * conform/Makefile: Run run-conformtest for tests.
12266 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12269 * conform/data/uchar.h-data: New file.
12270 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12271 * conform/data/arpa/inet.h-data: Likewise.
12272 * conform/data/assert.h-data: Likewise.
12273 * conform/data/complex.h-data: Likewise.
12274 * conform/data/cpio.h-data: Likewise.
12275 * conform/data/ctype.h-data: Likewise.
12276 * conform/data/dirent.h-data: Likewise.
12277 * conform/data/dlfcn.h-data: Likewise.
12278 * conform/data/errno.h-data: Likewise.
12279 * conform/data/fcntl.h-data: Likewise.
12280 * conform/data/float.h-data: Likewise.
12281 * conform/data/fmtmsg.h-data: Likewise.
12282 * conform/data/fnmatch.h-data: Likewise.
12283 * conform/data/ftw.h-data: Likewise.
12284 * conform/data/glob.h-data: Likewise.
12285 * conform/data/grp.h-data: Likewise.
12286 * conform/data/iconv.h-data: Likewise.
12287 * conform/data/inttypes.h-data: Likewise.
12288 * conform/data/langinfo.h-data: Likewise.
12289 * conform/data/libgen.h-data: Likewise.
12290 * conform/data/limits.h-data: Likewise.
12291 * conform/data/locale.h-data: Likewise.
12292 * conform/data/math.h-data: Likewise.
12293 * conform/data/monetary.h-data: Likewise.
12294 * conform/data/mqueue.h-data: Likewise.
12295 * conform/data/ndbm.h-data: Likewise.
12296 * conform/data/net/if.h-data: Likewise.
12297 * conform/data/netdb.h-data: Likewise.
12298 * conform/data/netinet/in.h-data: Likewise.
12299 * conform/data/nl_types.h-data: Likewise.
12300 * conform/data/poll.h-data: Likewise.
12301 * conform/data/pthread.h-data: Likewise.
12302 * conform/data/pwd.h-data: Likewise.
12303 * conform/data/regex.h-data: Likewise.
12304 * conform/data/sched.h-data: Likewise.
12305 * conform/data/search.h-data: Likewise.
12306 * conform/data/semaphore.h-data: Likewise.
12307 * conform/data/setjmp.h-data: Likewise.
12308 * conform/data/signal.h-data: Likewise.
12309 * conform/data/spawn.h-data: Likewise.
12310 * conform/data/stdarg.h-data: Likewise.
12311 * conform/data/stdio.h-data: Likewise.
12312 * conform/data/stdlib.h-data: Likewise.
12313 * conform/data/string.h-data: Likewise.
12314 * conform/data/strings.h-data: Likewise.
12315 * conform/data/stropts.h-data: Likewise.
12316 * conform/data/sys/ipc.h-data: Likewise.
12317 * conform/data/sys/mman.h-data: Likewise.
12318 * conform/data/sys/msg.h-data: Likewise.
12319 * conform/data/sys/resource.h-data: Likewise.
12320 * conform/data/sys/select.h-data: Likewise.
12321 * conform/data/sys/sem.h-data: Likewise.
12322 * conform/data/sys/shm.h-data: Likewise.
12323 * conform/data/sys/socket.h-data: Likewise.
12324 * conform/data/sys/stat.h-data: Likewise.
12325 * conform/data/sys/statvfs.h-data: Likewise.
12326 * conform/data/sys/time.h-data: Likewise.
12327 * conform/data/sys/timeb.h-data: Likewise.
12328 * conform/data/sys/times.h-data: Likewise.
12329 * conform/data/sys/types.h-data: Likewise.
12330 * conform/data/sys/uio.h-data: Likewise.
12331 * conform/data/sys/un.h-data: Likewise.
12332 * conform/data/sys/utsname.h-data: Likewise.
12333 * conform/data/sys/wait.h-data: Likewise.
12334 * conform/data/syslog.h-data: Likewise.
12335 * conform/data/tar.h-data: Likewise.
12336 * conform/data/termios.h-data: Likewise.
12337 * conform/data/utime.h-data: Likewise.
12338 * conform/data/utmpx.h-data: Likewise.
12339 * conform/data/varargs.h-data: Likewise.
12340 * conform/data/wchar.h-data: Likewise.
12341 * conform/data/wctype.h-data: Likewise.
12342 * conform/data/wordexp.h-data: Likewise.
12344 * include/stropts.h: New file.
12345 * include/uchar.h: New file.
12346 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12347 * include/assert.h: Likewise.
12348 * include/ctype.h: Likewise.
12349 * include/dirent.h: Likewise.
12350 * include/dlfcn.h: Likewise.
12351 * include/fcntl.h: Likewise.
12352 * include/fnmatch.h: Likewise.
12353 * include/glob.h: Likewise.
12354 * include/grp.h: Likewise.
12355 * include/libio.h: Likewise.
12356 * include/locale.h: Likewise.
12357 * include/math.h: Likewise.
12358 * include/net/if.h: Likewise.
12359 * include/netdb.h: Likewise.
12360 * include/netinet/in.h: Likewise.
12361 * include/pthread.h: Likewise.
12362 * include/pwd.h: Likewise.
12363 * include/regex.h: Likewise.
12364 * include/sched.h: Likewise.
12365 * include/search.h: Likewise.
12366 * include/setjmp.h: Likewise.
12367 * include/signal.h: Likewise.
12368 * include/stdio.h: Likewise.
12369 * include/stdlib.h: Likewise.
12370 * include/string.h: Likewise.
12371 * include/sys/cdefs.h: Likewise.
12372 * include/sys/mman.h: Likewise.
12373 * include/sys/msg.h: Likewise.
12374 * include/sys/resource.h: Likewise.
12375 * include/sys/select.h: Likewise.
12376 * include/sys/socket.h: Likewise.
12377 * include/sys/stat.h: Likewise.
12378 * include/sys/statvfs.h: Likewise.
12379 * include/sys/time.h: Likewise.
12380 * include/sys/times.h: Likewise.
12381 * include/sys/uio.h: Likewise.
12382 * include/sys/utsname.h: Likewise.
12383 * include/sys/wait.h: Likewise.
12384 * include/termios.h: Likewise.
12385 * include/time.h: Likewise.
12386 * include/ulimit.h: Likewise.
12387 * include/unistd.h: Likewise.
12388 * include/utime.h: Likewise.
12389 * include/wchar.h: Likewise.
12390 * include/wctype.h: Likewise.
12391 * include/wordexp.h: Likewise.
12393 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12395 * time/time.h: TIME_UTC must be a macro.
12396 Make timespec_get available for ISO C11 only as well.
12398 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12400 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12401 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12403 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12405 * configure.in: Use -o not -a in test for unsupported multi-arch.
12407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12409 * manual/texinfo.tex: Update to version 2012-01-19.16.
12411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12413 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12415 2012-02-24 Roland McGrath <roland@hack.frob.com>
12418 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12419 * manual/fdl-1.3.texi: New file.
12420 * manual/fdl-1.1.texi: File removed.
12423 * manual/libc.texinfo (FDL_VERSION): New @set.
12424 Use it for mention of FDL in cover text.
12425 (Documentation License): Use it in @include file name.
12427 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12428 Roland McGrath <roland@hack.frob.com>
12431 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12432 not LONG_LONG_MAX and LONG_LONG_MIN.
12433 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12434 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12436 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12438 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12443 manipulate bits before adding and subtracting TWO23[sx].
12444 * math/libm-test.inc (nearbyint_test): Add more tests.
12446 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12449 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12450 bits before adding and subtracting TWO23[sx].
12451 * math/libm-test.inc (rint_test): Add more tests.
12452 (rint_test_tonearest): Likewise.
12453 (rint_test_towardzero): Likewise.
12454 (rint_test_downward): Likewise.
12455 (rint_test_upward: Likewise.
12457 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12460 * include/stdc-predef.h: New file. Extracted from features.h.
12461 * include/features.h: Include stdc-predef.h.
12462 * Makefile (headers): Add stdc-predef.h.
12463 * CONFORMANCE (Compiler limitations): Update.
12465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12467 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12469 2012-02-21 David S. Miller <davem@davemloft.net>
12471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12474 2012-02-20 David S. Miller <davem@davemloft.net>
12476 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12477 using a normal save/restore sequence, rather than allocating a
12478 dummy stack frame just to store a frame pointer and restore.
12479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12483 * manual/install.texi: Fix stray word in line-wrapped comment.
12485 2012-02-20 David S. Miller <davem@davemloft.net>
12487 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12488 both binutils and gcc support GOTDATA.
12490 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12491 "rd %pc" in the PIC register setup sequences.
12493 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12494 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12496 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12502 (SYSCALL_ERROR_HANDLER): Likewise.
12503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12506 (SYSCALL_ERROR_HANDLER): Likewise.
12508 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12509 (HAVE_GCC_GOTDATA): New.
12510 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12511 relocation support in both binutils and gcc.
12512 * sysdeps/sparc/elf/configure: Regenerate.
12514 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12515 * sysdeps/sparc/sparc32/elf/configure: Delete.
12516 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12517 * sysdeps/sparc/sparc64/elf/configure: Delete.
12518 * sysdeps/sparc/elf/configure.in: New file.
12519 * sysdeps/sparc/elf/configure: Generate.
12521 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12522 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12524 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12525 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12527 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12529 * manual/install.texi: Do not mention specific glibc version
12531 * manual/libc.texinfo (VERSION, UPDATED): Update.
12532 (@copying): Use @copyright{} and range of years.
12534 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12537 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12538 [crti.S not in sysdirs] (generated): Do not append.
12539 [crti.S not in sysdirs] (omit-deps): Likewise.
12540 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12541 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12542 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12543 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12544 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12546 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12547 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12548 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12549 * csu/defs.awk: Remove file.
12550 * sysdeps/generic/initfini.c: Likewise.
12551 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12553 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12556 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12558 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12563 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12565 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12566 (__EPOLL_PACKED): Define to empty if not defined by
12568 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12574 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12575 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12579 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12585 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12592 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12597 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12599 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12600 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12602 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12604 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12607 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12609 * math/w_acos.c: Use non-signaling floating-point comparisons.
12610 * math/w_acosf.c: Likewise.
12611 * math/w_acosh.c: Likewise.
12612 * math/w_acoshf.c: Likewise.
12613 * math/w_acoshl.c: Likewise.
12614 * math/w_acosl.c: Likewise.
12615 * math/w_asin.c: Likewise.
12616 * math/w_asinf.c: Likewise.
12617 * math/w_asinl.c: Likewise.
12618 * math/w_atanh.c: Likewise.
12619 * math/w_atanhf.c: Likewise.
12620 * math/w_atanhl.c: Likewise.
12621 * math/w_exp2.c: Likewise.
12622 * math/w_exp2f.c: Likewise.
12623 * math/w_exp2l.c: Likewise.
12624 * math/w_j0.c: Likewise.
12625 * math/w_j0f.c: Likewise.
12626 * math/w_j0l.c: Likewise.
12627 * math/w_j1.c: Likewise.
12628 * math/w_j1f.c: Likewise.
12629 * math/w_j1l.c: Likewise.
12630 * math/w_jn.c: Likewise.
12631 * math/w_jnf.c: Likewise.
12632 * math/w_log.c: Likewise.
12633 * math/w_log10.c: Likewise.
12634 * math/w_log10f.c: Likewise.
12635 * math/w_log10l.c: Likewise.
12636 * math/w_log2.c: Likewise.
12637 * math/w_log2f.c: Likewise.
12638 * math/w_log2l.c: Likewise.
12639 * math/w_logf.c: Likewise.
12640 * math/w_logl.c: Likewise.
12641 * math/w_sqrt.c: Likewise.
12642 * math/w_sqrtf.c: Likewise.
12643 * math/w_sqrtl.c: Likewise.
12644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12645 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12650 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12653 * manual/string.texi (strnlen): Use correct parameter name in
12654 equivalent expression.
12656 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12659 * manual/users.texi (seteuid): Consistently use neweuid for
12662 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12665 * manual/nss.texi (Services in the NSS configuration): Correct
12666 list of services in example configuration file.
12668 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12671 * manual/arith.texi: Remove statements about negative zero
12672 behaving identically to zero.
12674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12677 * manual/install.texi: Do not document upgrading from libc5.
12679 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12682 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12684 2012-02-18 David S. Miller <davem@davemloft.net>
12686 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12687 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12688 %o7 across the call.
12689 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12692 SETUP_PIC_REG_LEAF.
12693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12694 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12695 * sysdeps/sparc/crtn.S: Likewise.
12697 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12699 * aout/Makefile: Remove.
12701 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12704 * manual/examples/argp-ex1.c (main): Format definition in GNU
12706 * manual/examples/argp-ex2.c (main): Likewise.
12707 * manual/examples/argp-ex3.c (main): Likewise.
12708 * manual/examples/argp-ex4.c (main): Likewise.
12709 * manual/examples/longopt.c (main): Use new-style prototype
12711 * manual/examples/strncat.c (main): Specify return type and use
12712 (void) for arguments.
12713 * manual/examples/subopt.c (main): Use char **argv argument.
12715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12718 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12721 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12724 * manual/string.texi (strchr): Change when strchrnul is
12727 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12730 * manual/locale.texi (setlocale): Document LOCPATH.
12732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12735 * manual/process.texi (execle): Move @dots{} before last argument.
12737 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12740 * manual/charset.texi (Generic Charset Conversion): Fix typo
12741 (LC_TYPE -> LC_CTYPE).
12743 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12746 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12747 (scalbnf): Likewise.
12748 (scalbnl): Likewise.
12749 (scalbln): Likewise.
12750 (scalblnf): Likewise.
12751 (scalblnl): Likewise.
12752 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12753 (vwarnx): Likewise.
12756 * manual/filesys.texi (telldir): Use braces around return type.
12757 * manual/llio.texi (mmap): Add space after comma.
12758 (mmap64): Likewise.
12759 * manual/math.texi (jn): Use @var{} on parameter names.
12765 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12767 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12769 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12770 (sched_get_priority_max): Likewise.
12771 * manual/signal.texi (sigvec): Add space after comma.
12772 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12774 (if_indextoname): Likewise.
12775 (if_freenameindex): Likewise.
12776 (sendto): Use ',' instead of '.' in prototype.
12777 * manual/startup.texi (syscall): Use @dots{} instead of literal
12779 * manual/stdio.texi (__fpending): Separate initial words of
12780 paragraph from @deftypefun line.
12781 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12783 (vsyslog): Use @var{} on parameter names.
12784 * manual/terminal.texi (stty): Use @var{} on parameter names.
12785 * manual/users.texi (getutmp): Use @var{} on parameter names.
12786 (getutmpx): Likewise.
12788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12791 * manual/stdio.texi (fopen): Fix typos in description of
12794 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12797 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12798 get clock_id definition.
12800 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12803 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12804 (madvise): Cast every argument to void on its own.
12806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12809 * manual/startup.texi (Exit Status): Fix typo.
12811 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12814 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12815 * manual/examples/argp-ex2.c: Likewise.
12816 * manual/examples/argp-ex3.c: Likewise.
12818 2012-02-16 Richard Henderson <rth@redhat.com>
12820 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12821 * sysdeps/s390/s390-32/initfini.c: Remove.
12822 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12823 * sysdeps/s390/s390-64/initfini.c: Remove.
12825 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12827 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12828 compiler output for sysdeps/generic/initfini.c.
12829 * sysdeps/sh/elf/initfini.c: Remove file.
12831 2012-02-16 David S. Miller <davem@davemloft.net>
12834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12836 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12837 * sysdeps/sparc/crti.S: New file.
12838 * sysdeps/sparc/crtn.S: New file.
12839 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12840 * sysdeps/sparc/sparc64/Makefile: Likewise.
12842 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12845 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12847 2012-02-15 Roland McGrath <roland@hack.frob.com>
12850 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12852 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12853 (write, read, close): Likewise.
12854 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12856 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12858 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12859 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12860 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12861 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12863 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12867 2012-02-14 Marek Polacek <polacek@redhat.com>
12869 * sysdeps/x86_64/crti.S: New file.
12870 * sysdeps/x86_64/crtn.S: New file.
12871 * sysdeps/x86_64/elf/initfini.c: Remove file.
12873 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12875 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12876 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12877 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12878 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12880 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12884 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12886 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12887 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12889 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12891 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12895 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12897 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12898 __feraiseexcept instead of feraiseexcept.
12900 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12901 nanosleep invocations.
12902 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12903 strings, and add error checking for a nanosleep invocations.
12905 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12907 Replace FSF snail mail address with URLs, as per GNU coding standards.
12908 Most of the snail mail addresses were wrong anyway, and omitting
12909 them makes the source code easier to maintain. Almost all of the
12910 changes are to license notices and to locale LC_IDENTIFICATION
12911 addresses, except for this one:
12912 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12913 not its snail mail address.
12915 2012-02-09 Richard Henderson <rth@twiddle.net>
12917 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12918 of kernel-features.h.
12920 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12922 2012-02-08 Marek Polacek <polacek@redhat.com>
12924 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12925 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12926 * sysdeps/gnu/_G_config.h: Likewise.
12927 * sysdeps/generic/_G_config.h: Likewise.
12929 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12931 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12935 * sysdeps/powerpc/powerpc32/crti.S: New file.
12936 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12937 * sysdeps/powerpc/powerpc64/crti.S: New file.
12938 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12940 * Makeconfig (have-initfini): Don't set.
12941 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12942 * configure.in (nopic_initfini): Don't substitute.
12943 * config.h.in (HAVE_INITFINI): Don't #undef.
12944 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12945 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12947 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12949 Support crti.S and crtn.S provided directly by architectures.
12950 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12951 [crti.S in sysdirs] (omit-deps): Likewise.
12952 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12953 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12954 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12955 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12956 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12957 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12958 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12959 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12960 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12961 compiler output for sysdeps/generic/initfini.c.
12962 * sysdeps/i386/elf/Makefile: Remove file.
12963 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12965 2012-02-07 Marek Polacek <polacek@redhat.com>
12967 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12968 * sysdeps/gnu/_G_config.h: Likewise.
12969 * sysdeps/mach/hurd/_G_config.h: Likewise.
12971 2012-02-07 Marek Polacek <polacek@redhat.com>
12973 * math/Makefile (tests): Add tst-CMPLX2.
12974 * math/tst-CMPLX2.c: New file.
12976 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12980 * math/libm-test.inc (jn_test): Add missing L suffix.
12982 2012-02-06 Marek Polacek <polacek@redhat.com>
12984 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12985 * sysdeps/i386/fpu/e_powf.S: Likewise.
12986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12989 * sysdeps/i386/fpu/e_pow.S: Likewise.
12990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12994 * sysdeps/i386/fpu/e_log2.S: Likewise.
12995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12997 * sysdeps/i386/fpu/e_powl.S: Likewise.
12998 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13001 * sysdeps/i386/fpu/e_logl.S: Likewise.
13002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13003 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13008 * sysdeps/i386/fpu/e_log.S: Likewise.
13009 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13011 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13012 * sysdeps/i386/fpu/e_logf.S: Likewise.
13013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13015 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13018 * sysdeps/i386/fpu/e_log10.S: Likewise.
13019 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13021 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13022 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13025 * sysdeps/i386/asm-syntax.h: Likewise.
13026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13029 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13030 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13035 * sysdeps/powerpc/sysdep.h: Likewise.
13036 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13042 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13044 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/i386/sysdep.h: Include <features.h>.
13047 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13050 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13054 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13057 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13059 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13060 (SETUP_PIC_REG): Use GET_PC_THUNK.
13061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13067 for non-PIC compilation.
13068 (SETUP_PIC_REG): Add .p2align directive.
13069 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13070 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13086 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13087 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13088 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13097 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13098 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13111 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13113 * math/tst-CMPLX.c: Include <stdio.h>.
13115 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13117 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13120 * sysdeps/sparc/bits/mathdef.h: Likewise.
13122 2012-01-31 Marek Polacek <polacek@redhat.com>
13124 * libio/libio.h: Don't define _PARAMS.
13125 * locale/programs/config.h: Don't define PARAMS.
13126 * stdlib/strtol_l.c: Likewise.
13127 (__strtol_l): Remove PARAMS from the prototype.
13129 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13131 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13132 names. Just use the correct names. Remove unnecessary wrapper
13134 * malloc/arena.c: Likewise.
13135 * malloc/hooks.c: Likewise.
13137 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13138 ARENA_TEST says not to. Simplify test for creation of a new arena.
13139 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13141 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13143 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13145 (update_get_addr): New function.
13146 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13147 GET_ADDR_MODULE parameter.
13149 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13151 * crypt/cert.c: Remove __STDC__ conditionals.
13152 * crypt/crypt-entry.c: Likewise.
13153 * crypt/crypt_util.c: Likewise.
13154 * libio/filedoalloc.c: Likewise.
13155 * libio/fileops.c: Likewise.
13156 * libio/genops.c: Likewise.
13157 * libio/iofclose.c: Likewise.
13158 * libio/iofdopen.c: Likewise.
13159 * libio/iofopen.c: Likewise.
13160 * libio/iofopen64.c: Likewise.
13161 * libio/iogetdelim.c: Likewise.
13162 * libio/iopopen.c: Likewise.
13163 * libio/obprintf.c: Likewise.
13164 * libio/oldfileops.c: Likewise.
13165 * libio/oldiofclose.c: Likewise.
13166 * libio/oldiofdopen.c: Likewise.
13167 * libio/oldiofopen.c: Likewise.
13168 * libio/oldiopopen.c: Likewise.
13169 * libio/wfiledoalloc.c: Likewise.
13170 * libio/wgenops.c: Likewise.
13171 * locale/programs/xmalloc.c: Likewise.
13172 * misc/syslog.c: Likewise.
13173 * stdio-common/xbug.c: Likewise.
13174 * string/memchr.c: Likewise.
13175 * string/memcmp.c: Likewise.
13176 * string/memrchr.c: Likewise.
13177 * string/rawmemchr.c: Likewise.
13178 * sysdeps/posix/getcwd.c: Likewise.
13179 * time/strftime_l.c: Likewise.
13181 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13183 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13184 * config.make.in (config-cflags-sse2avx): Define.
13185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13188 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13190 * scripts/config.guess: Update from upstream config git repository.
13191 * scripts/config.sub: Likewise.
13193 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13195 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13197 (R_TILEPRO_*, R_TILEGX_*): New macros.
13199 * scripts/firstversions.awk: Fix bug in version range handling.
13201 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13203 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13205 * include/sys/epoll.h: New file.
13206 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13209 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13211 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13212 Avoid unnecessary __WORDSIZE == 64 test.
13213 (fmaxf): Use VEX format if possible.
13218 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13219 * math/math_private.h: Remove libc_fegetround* and
13221 * sysdeps/i386/configure.in: Check for -msse2avx.
13222 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13223 also if SSE2AVX is defined.
13224 Remove libc_fegetround* and libc_fesetround*.
13225 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13226 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13235 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13237 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13243 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13246 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13248 * Makeconfig (libm): Define.
13249 * elf/Makefile: Add rules to build and run tst-relsort1.
13250 * elf/tst-relsort1.c: New file.
13251 * elf/tst-relsort1mod1.c: New file.
13252 * elf/tst-relsort1mod2.c: New file.
13254 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13256 * math/s_ldexp.c: Remove __STDC__ conditionals.
13257 * math/s_ldexpf.c: Likewise.
13258 * math/s_ldexpl.c: Likewise.
13259 * math/s_nextafter.c: Likewise.
13260 * math/s_nexttowardf.c: Likewise.
13261 * math/s_significand.c: Likewise.
13262 * math/s_significandf.c: Likewise.
13263 * math/s_significandl.c: Likewise.
13264 * math/w_jnl.c: Likewise.
13265 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13266 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13267 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13268 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13269 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13305 * sysdeps/ieee754/k_standard.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13385 * sysdeps/ieee754/s_matherr.c: Likewise.
13386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13391 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13393 * crypt/md5.h: Remove __STDC__ conditionals.
13394 * libio/libioP.h: Likewise.
13395 * locale/programs/config.h: Likewise.
13396 * sysdeps/generic/sysdep.h: Likewise.
13397 * sysdeps/i386/asm-syntax.h: Likewise.
13398 * sysdeps/s390/asm-syntax.h: Likewise.
13399 * sysdeps/unix/sysdep.h: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13403 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13405 * libio/libio.h: Remove __STDC__ conditionals.
13406 * malloc/obstack.h: Likewise.
13407 * math/complex.h: Likewise.
13408 * math/math.h: Likewise.
13409 * sysdeps/generic/_G_config.h: Likewise.
13410 * sysdeps/gnu/_G_config.h: Likewise.
13411 * sysdeps/mach/hurd/_G_config.h: Likewise.
13412 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13414 * sysdeps/sparc/bits/mathdef.h: Likewise.
13416 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13420 Clean up HAS_* macros.
13421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13422 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13432 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13434 * elf/tst-unique3.cc (gets): Remove declaration.
13435 * elf/tst-unique3lib.cc (gets): Likewise.
13436 * elf/tst-unique3lib2.cc (gets): Likewise.
13437 * elf/tst-unique4.cc (gets): Likewise.
13439 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13441 * include/stdio.h: Add C++ protection. Add gets declarations and
13443 * debug/tst-chk1.c: Don't declare gets here.
13444 * stdio-common/tst-gets.c: Likewise.
13446 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13448 * posix/glob: Remove directory.
13450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13452 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13454 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13456 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13457 of the non-standard EPFNOSUPPORT.
13459 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13461 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13462 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13463 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13465 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13467 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13469 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13471 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13473 * nscd/grpcache.c (cache_addgr): Likewise.
13474 * nscd/hstcache.c (cache_addhst): Likewise.
13475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13476 * nscd/pwdcache.c (cache_addpw): Likewise.
13477 * nscd/servicescache.c (cache_addserv): Likewise.
13479 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13481 * malloc/malloc.c: Various cleanups.
13482 * malloc/hooks.c: Likewise.
13484 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13485 * stdlib/bug-fmtmsg1.c: New file.
13487 * stdlib/fmtmsg.c (init): Add missing unlock.
13488 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13490 2012-01-12 Marek Polacek <polacek@redhat.com>
13492 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13495 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13497 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13499 macro to ensure uniqueness of label name.
13500 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13501 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13503 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13512 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13516 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13520 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13527 * math/bits/math-finite.h: Add ldexp support.
13529 2012-01-10 Marek Polacek <polacek@redhat.com>
13531 * locale/programs/localedef.h (show_archive_content): Add noreturn
13534 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13538 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13540 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13542 * io/Makefile (headers): Add bits/poll2.h.
13544 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13547 typo #include statement.
13549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13551 * include/sys/cdefs.h: Define __attribute_alloc_size.
13552 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13553 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13554 * elf/pldd.c: Likewise.
13555 * iconv/iconv_charmap.c: Likewise.
13556 * iconv/iconvconfig.c: Likewise.
13557 * iconv/strtab.c: Likewise.
13558 * locale/programs/locale.c: Likewise.
13559 * locale/programs/localedef.h: Likewise.
13560 * locale/programs/simple-hash.c: Likewise.
13561 * nscd/nscd.h: Likewise.
13562 * nss/makedb.c: Likewise.
13563 * sysdeps/generic/ldconfig.h: Likewise.
13564 * locale/programs/localedef.c: Remove xmalloc prototype.
13565 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13567 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13572 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13574 * math/Makefile (tests): Add tst-CMPLX.
13575 * math/tst-CMPLX.c: New file.
13577 * math/complex.h (CMPLXL): Fix typo.
13579 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13580 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13582 * debug/tst-chk1.c: Add poll and ppoll tests.
13583 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13584 * include/sys/poll.h: Add hidden proto for ppoll.
13585 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13586 * sysdeps/mach/hurd/ppoll.c: Likewise.
13587 * io/ppoll.c: Likewise.
13588 * debug/poll_chk.c: New file.
13589 * debug/ppoll_chk.c: New file.
13590 * include/bits/poll2.h: New file.
13591 * io/bits/poll2.h: New file.
13594 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13596 * configure.in: static is always set to yes. Remove.
13597 * config.make.in: Don't set build-static.
13598 * Makeconfig: Remove use of build-static.
13599 * dlfcn/Makefile: Likewise.
13600 * elf/Makefile: Likewise.
13601 * math/Makefile: Likewise.
13602 * misc/Makefile: Likewise.
13603 * nptl/Makefile: Likewise.
13604 * sysdeps/mach/hurd/Makefile: Likewise.
13606 * configure.in: PWD_P is not used anymore.
13607 * config.make.in: Remove PWD_P entry.
13609 * configure.in: Remove last remnants of RANLIB.
13610 No need to check for signed size_t anymore.
13611 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13613 Remove __builtin_expect test because we require at least gcc 3.4.
13614 * aclocal.m4: Likewise.
13616 * wcsmbs/mbrtoc16.c: Implement using towc function.
13617 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13618 * wcsmbs/wcsmbsload.c: Likewise.
13619 * iconv/gconv_simple.c: Likewise.
13620 * iconv/gconv_int.h: Likewise.
13621 * iconv/gconv_builtin.h: Likewise.
13622 * iconv/iconv_prog.c: Remove CHAR16 handling.
13624 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13626 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13628 * configure.in: Remove --with-elf and --enable-bounded options.
13629 Dont set base_machine for ia64. More non-ELF conditions removed.
13630 Remove testing and setting of leading underscore information.
13631 * config.make.in (build-bounded): Set to no.
13632 * config.h.in: Remove NO_UNDERSCORES entry.
13633 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13635 * csu/start.c: Remove !NO_UNDERSCORE code.
13636 * locale/localeinfo.h: Likewise.
13637 * sysdeps/generic/machine-gmon.h: Likewise.
13638 * sysdeps/generic/sysdep.h: Likewise.
13639 * sysdeps/i386/sysdep.h: Likewise.
13640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13641 * sysdeps/mach/sysdep.h: Likewise.
13642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13644 * sysdeps/sh/sysdep.h: Likewise.
13645 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13646 * sysdeps/unix/i386/sysdep.S: Likewise.
13647 * sysdeps/unix/sparc/start.c: Likewise.
13648 * sysdeps/unix/sparc/sysdep.S: Likewise.
13649 * sysdeps/unix/sparc/sysdep.h: Likewise.
13650 * sysdeps/unix/start.c: Likewise.
13651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13652 * sysdeps/x86_64/sysdep.h: Likewise.
13654 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13657 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13659 * argp/argp-fmtstream.h: Use const instead __const.
13660 * argp/argp.h: Likewise.
13661 * assert/assert.h: Likewise.
13662 * bits/fenv.h: Likewise.
13663 * bits/sched.h: Likewise.
13664 * bits/sigset.h: Likewise.
13665 * bits/sigthread.h: Likewise.
13666 * catgets/nl_types.h: Likewise.
13667 * conform/data/pthread.h-data: Likewise.
13668 * crypt/crypt-private.h: Likewise.
13669 * crypt/crypt.h: Likewise.
13670 * crypt/crypt_util.c: Likewise.
13671 * ctype/ctype.h: Likewise.
13672 * debug/execinfo.h: Likewise.
13673 * debug/mbsnrtowcs_chk.c: Likewise.
13674 * debug/mbsrtowcs_chk.c: Likewise.
13675 * debug/wcsnrtombs_chk.c: Likewise.
13676 * debug/wcsrtombs_chk.c: Likewise.
13677 * debug/wcstombs_chk.c: Likewise.
13678 * dirent/dirent.h: Likewise.
13679 * dlfcn/dlfcn.h: Likewise.
13680 * elf/neededtest4.c: Likewise.
13681 * grp/grp.h: Likewise.
13682 * gshadow/gshadow.h: Likewise.
13683 * iconv/gconv.h: Likewise.
13684 * iconv/gconv_int.h: Likewise.
13685 * iconv/gconv_simple.c: Likewise.
13686 * iconv/iconv.h: Likewise.
13687 * iconv/loop.c: Likewise.
13688 * iconv/skeleton.c: Likewise.
13689 * include/aio.h: Likewise.
13690 * include/aliases.h: Likewise.
13691 * include/argz.h: Likewise.
13692 * include/arpa/inet.h: Likewise.
13693 * include/assert.h: Likewise.
13694 * include/dirent.h: Likewise.
13695 * include/dlfcn.h: Likewise.
13696 * include/execinfo.h: Likewise.
13697 * include/fcntl.h: Likewise.
13698 * include/fenv.h: Likewise.
13699 * include/glob.h: Likewise.
13700 * include/grp.h: Likewise.
13701 * include/libintl.h: Likewise.
13702 * include/mntent.h: Likewise.
13703 * include/netdb.h: Likewise.
13704 * include/pwd.h: Likewise.
13705 * include/rpc/netdb.h: Likewise.
13706 * include/sched.h: Likewise.
13707 * include/search.h: Likewise.
13708 * include/shadow.h: Likewise.
13709 * include/signal.h: Likewise.
13710 * include/stdio.h: Likewise.
13711 * include/stdlib.h: Likewise.
13712 * include/string.h: Likewise.
13713 * include/sys/socket.h: Likewise.
13714 * include/sys/stat.h: Likewise.
13715 * include/sys/statfs.h: Likewise.
13716 * include/sys/statvfs.h: Likewise.
13717 * include/sys/syslog.h: Likewise.
13718 * include/sys/time.h: Likewise.
13719 * include/sys/uio.h: Likewise.
13720 * include/time.h: Likewise.
13721 * include/unistd.h: Likewise.
13722 * include/utmp.h: Likewise.
13723 * include/wchar.h: Likewise.
13724 * include/wctype.h: Likewise.
13725 * inet/aliases.h: Likewise.
13726 * inet/arpa/inet.h: Likewise.
13727 * inet/netinet/ether.h: Likewise.
13728 * inet/netinet/in.h: Likewise.
13729 * intl/libintl.h: Likewise.
13730 * io/bits/fcntl2.h: Likewise.
13731 * io/fcntl.h: Likewise.
13732 * io/ftw.h: Likewise.
13733 * io/sys/poll.h: Likewise.
13734 * io/sys/stat.h: Likewise.
13735 * io/sys/statfs.h: Likewise.
13736 * io/sys/statvfs.h: Likewise.
13737 * io/utime.h: Likewise.
13738 * libio/bits/stdio.h: Likewise.
13739 * libio/bits/stdio2.h: Likewise.
13740 * libio/libio.h: Likewise.
13741 * libio/libioP.h: Likewise.
13742 * libio/stdio.h: Likewise.
13743 * locale/lc-ctype.c: Likewise.
13744 * locale/locale.h: Likewise.
13745 * login/utmp.h: Likewise.
13746 * malloc/arena.c: Likewise.
13747 * malloc/malloc.c: Likewise.
13748 * malloc/malloc.h: Likewise.
13749 * malloc/mcheck.c: Likewise.
13750 * malloc/mtrace.c: Likewise.
13751 * math/bits/mathcalls.h: Likewise.
13752 * math/fenv.h: Likewise.
13753 * math/math_private.h: Likewise.
13754 * misc/bits/error.h: Likewise.
13755 * misc/bits/syslog.h: Likewise.
13756 * misc/err.h: Likewise.
13757 * misc/error.h: Likewise.
13758 * misc/fstab.h: Likewise.
13759 * misc/mntent.h: Likewise.
13760 * misc/regexp.h: Likewise.
13761 * misc/search.h: Likewise.
13762 * misc/sgtty.h: Likewise.
13763 * misc/sys/mman.h: Likewise.
13764 * misc/sys/syslog.h: Likewise.
13765 * misc/sys/uio.h: Likewise.
13766 * misc/sys/xattr.h: Likewise.
13767 * misc/ttyent.h: Likewise.
13768 * nis/rpcsvc/ypclnt.h: Likewise.
13769 * nss/nss.h: Likewise.
13770 * posix/bits/unistd.h: Likewise.
13771 * posix/fnmatch.h: Likewise.
13772 * posix/glob.h: Likewise.
13773 * posix/sched.h: Likewise.
13774 * posix/spawn.h: Likewise.
13775 * posix/sys/wait.h: Likewise.
13776 * posix/unistd.h: Likewise.
13777 * posix/wordexp.h: Likewise.
13778 * pwd/pwd.h: Likewise.
13779 * resolv/netdb.h: Likewise.
13780 * resource/sys/resource.h: Likewise.
13781 * rt/aio.h: Likewise.
13782 * rt/bits/mqueue2.h: Likewise.
13783 * rt/mqueue.h: Likewise.
13784 * shadow/shadow.h: Likewise.
13785 * signal/signal.h: Likewise.
13786 * socket/send.c: Likewise.
13787 * socket/sendto.c: Likewise.
13788 * socket/sys/socket.h: Likewise.
13789 * stdio-common/printf.h: Likewise.
13790 * stdlib/bits/stdlib.h: Likewise.
13791 * stdlib/fmtmsg.h: Likewise.
13792 * stdlib/monetary.h: Likewise.
13793 * stdlib/stdlib.h: Likewise.
13794 * stdlib/ucontext.h: Likewise.
13795 * streams/stropts.h: Likewise.
13796 * string/argz.h: Likewise.
13797 * string/bits/string2.h: Likewise.
13798 * string/string.h: Likewise.
13799 * string/strings.h: Likewise.
13800 * sunrpc/rpc/auth.h: Likewise.
13801 * sunrpc/rpc/auth_des.h: Likewise.
13802 * sunrpc/rpc/clnt.h: Likewise.
13803 * sunrpc/rpc/netdb.h: Likewise.
13804 * sunrpc/rpc/pmap_clnt.h: Likewise.
13805 * sunrpc/rpc/xdr.h: Likewise.
13806 * sysdeps/generic/inttypes.h: Likewise.
13807 * sysdeps/generic/net/if.h: Likewise.
13808 * sysdeps/generic/sys/swap.h: Likewise.
13809 * sysdeps/gnu/net/if.h: Likewise.
13810 * sysdeps/gnu/utmpx.h: Likewise.
13811 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13812 * sysdeps/i386/i486/bits/string.h: Likewise.
13813 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13814 * sysdeps/s390/bits/string.h: Likewise.
13815 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13816 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13818 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13819 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13820 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13821 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13823 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13824 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13825 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13827 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13828 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13829 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13837 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13838 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13839 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13840 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13843 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13845 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13846 * sysvipc/sys/ipc.h: Likewise.
13847 * sysvipc/sys/msg.h: Likewise.
13848 * sysvipc/sys/sem.h: Likewise.
13849 * sysvipc/sys/shm.h: Likewise.
13850 * termios/termios.h: Likewise.
13851 * time/sys/time.h: Likewise.
13852 * time/time.h: Likewise.
13853 * wcsmbs/bits/wchar2.h: Likewise.
13854 * wcsmbs/uchar.h: Likewise.
13855 * wcsmbs/wchar.h: Likewise.
13856 * wctype/wctype.h: Likewise.
13859 * Makeconfig: Remove all but ELF support including AIX support.
13860 * Makerules: Likewise.
13861 * config.h.in: Likewise.
13862 * config.make.in: Likewise.
13863 * configure: Likewise.
13864 * configure.in: Likewise.
13865 * csu/Makefile: Likewise.
13866 * csu/version.c: Likewise.
13867 * debug/Makefile: Likewise.
13868 * dlfcn/Makefile: Likewise.
13869 * elf/Makefile: Likewise.
13870 * extra-lib.mk: Likewise.
13871 * iconv/Makefile: Likewise.
13872 * include/libc-symbols.h: Likewise.
13873 * include/shlib-compat.h: Likewise.
13874 * resolv/Makefile: Likewise.
13875 * resolv/res_libc.c: Likewise.
13876 * rt/Makefile: Likewise.
13877 * sysdeps/i386/asm-syntax.h: Likewise.
13878 * sysdeps/i386/sysdep.h: Likewise.
13879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13880 * sysdeps/mach/sysdep.h: Likewise.
13881 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13882 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13883 * sysdeps/s390/asm-syntax.h: Likewise.
13884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13886 * sysdeps/sh/sysdep.h: Likewise.
13887 * sysdeps/unix/sparc/sysdep.h: Likewise.
13888 * sysdeps/wordsize-32/divdi3.c: Likewise.
13889 * sysdeps/x86_64/sysdep.h: Likewise.
13891 * argp/Versions: Remove _argp_unlock_xxx.
13894 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13895 * abilist/libBrokenLocale.abilist: Likewise.
13896 * abilist/libanl.abilist: Likewise.
13897 * abilist/libc.abilist: Likewise.
13898 * abilist/libcrypt.abilist: Likewise.
13899 * abilist/libdl.abilist: Likewise.
13900 * abilist/libm.abilist: Likewise.
13901 * abilist/libnsl.abilist: Likewise.
13902 * abilist/libpthread.abilist: Likewise.
13903 * abilist/libresolv.abilist: Likewise.
13904 * abilist/librt.abilist: Likewise.
13905 * abilist/libthread_db.abilist: Likewise.
13906 * abilist/libutil.abilist: Likewise.
13907 * abilist/libnss_db.abilist: New file.
13909 * scripts/abilist.awk: Add support for indirect functions.
13911 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13913 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13915 * shlib-versions: Remove entries for ports architectures.
13917 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13919 * elf/stackguard-macros.h: Remove support for IA-64.
13920 * elf/tst-auditmod1.c: Likewise.
13921 * sysdeps/generic/ldsodefs.h: Likewise.
13923 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13924 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13928 * configure.in: Remove --enable-omitfp support.
13930 * config.make.in: Likewise.
13931 * Makeconfig: Likewise.
13932 * manual/install.texi: Likewise.
13934 In case anyone cares, the IA-64 architecture could move to ports.
13935 * sysdeps/ia64/*: Removed.
13936 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13937 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13940 * configure.in: Remove entries for unsupported architectures.
13943 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13944 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13946 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13947 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13948 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13949 fall back to using wcrtomb.
13950 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13951 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13953 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13954 * wcsmbs/tst-c16c32-1.c: New file.
13956 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13959 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13961 * elf/tst-unique3.cc: Add explicit declaration of gets.
13962 * elf/tst-unique3lib.cc: Likewise.
13963 * elf/tst-unique3lib2.cc: Likewise.
13964 * elf/tst-unique4.cc: Likewise.
13966 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13968 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13971 * assert/assert.h (static_assert): Don't define for C++.
13972 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13973 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13975 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13977 * iconv/loop.c (single loop): Fix assertion in storing of
13980 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13982 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13984 * posix/getconf.c: Update copyright year.
13985 * nss/getent.c: Likewise.
13986 * nss/makedb.c: Likewise.
13987 * iconv/iconvconfig.c: Likewise.
13988 * iconv/iconv_prog.c: Likewise.
13989 * elf/ldconfig.c: Likewise.
13990 * elf/pldd.c: Likewise.
13991 * elf/sotruss.ksh: Likewise.
13992 * catgets/gencat.c: Likewise.
13993 * csu/version.c: Likewise.
13994 * elf/ldd.bash.in: Likewise.
13995 * elf/sprof.c (print_version): Likewise.
13996 * locale/programs/locale.c: Likewise.
13997 * locale/programs/localedef.c: Likewise.
13998 * login/programs/pt_chown.c: Likewise.
13999 * nscd/nscd.c (print_version): Likewise.
14000 * debug/xtrace.sh: Likewise.
14001 * malloc/memusage.sh: Likewise.
14002 * malloc/mtrace.pl: Likewise.
14003 * debug/catchsegv.sh: Likewise.
14005 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14007 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14010 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14013 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14014 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14016 * iconv/gconv_int.h: Likewise.
14017 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14018 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14019 from libc for GLIBC_2.16.
14020 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14021 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14022 * wcsmbs/uchar.h: Really define mbstate_t.
14023 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14024 * wcsmbs/c16rtomb.c: New file.
14025 * wcsmbs/mbrtoc16.c: New file.
14026 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14027 for C/POSIX locale.
14028 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14029 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14031 * wcsmbs/wchar.h: Add missing __restrict.
14033 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14036 * time/Makefile (routines): Add timespec_get.
14037 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14038 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14039 timespec for ISO C11.
14040 * time/timespec_get.c: New file.
14041 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14042 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14045 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14046 * stdlib/stdlib.h: Declare aligned_alloc.
14047 * Versions.def: Add GLIBC_2.16 for libc.
14048 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14051 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14054 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14058 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14061 * assert/assert.h (static_assert): Define.
14063 * version.h: Update for 2.16 development version.
14066 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14069 * version.h (RELEASE): Bump for 2.15 release.
14070 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14072 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14073 Patch by Marek Polacek <mpolacek@redhat.com>.
14075 * bits/byteswap.h: Protect long long constants with __extension__.
14076 * sysdeps/i386/bits/byteswap.h: Likewise.
14077 * sysdeps/ia64/bits/byteswap.h: Likewise.
14078 * sysdeps/s390/bits/byteswap.h: Likewise.
14079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14081 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14085 destination buffer.
14086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14088 2011-12-23 Marek Polacek <polacek@redhat.com>
14090 * elf/dl-addr.c (determine_info): Add inline keyword.
14091 * elf/tst-auditmod4b.c (check_avx): Likewise.
14092 * elf/tst-auditmod6b.c (check_avx): Likewise.
14093 * elf/tst-auditmod6c.c (check_avx): Likewise.
14094 * elf/tst-auditmod7b.c (check_avx): Likewise.
14096 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14098 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14101 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14105 processing for last bytes.
14107 2011-08-06 Bruno Haible <bruno@clisp.org>
14110 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14111 U+0385, not to U+1FEE.
14114 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14115 entry for U+00A5 U+0301.
14117 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14120 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14121 buffer for the output is too small.
14123 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14127 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14128 SSE flags if possible.
14130 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14134 processing for last bytes.
14136 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14139 (syscall-list-default-options, syscall-list-default-condition)
14140 (syscall-list-includes): Define.
14141 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14142 list of ABIs and options and #if conditions for each ABI. Do not
14143 handle common syscalls between ABIs specially.
14144 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14146 (syscall-list-variants, syscall-list-32bit-options)
14147 (syscall-list-32bit-condition, syscall-list-64bit-options)
14148 (syscall-list-64bit-condition): Define.
14149 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14150 (syscall-list-variants, syscall-list-32bit-options)
14151 (syscall-list-32bit-condition, syscall-list-64bit-options)
14152 (syscall-list-64bit-condition): Define.
14153 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14155 (syscall-list-variants, syscall-list-32bit-options)
14156 (syscall-list-32bit-condition, syscall-list-64bit-options)
14157 (syscall-list-64bit-condition): Define.
14158 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14160 (syscall-list-variants, syscall-list-32bit-options)
14161 (syscall-list-32bit-condition, syscall-list-64bit-options)
14162 (syscall-list-64bit-condition): Define.
14164 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14166 * locale/iso-639.def: Add brx entry.
14169 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14170 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14172 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14173 __feraiseexcept_renamed.
14175 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14178 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14179 EPOLLET with unsigned values.
14180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14183 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14184 to large cancellation.
14185 * math/s_cacoshf.c: Likewise.
14186 * math/s_cacoshl.c: Likewise.
14188 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14192 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14193 * math/s_cacoshf.c: Likewise.
14194 * math/s_cacoshl.c: Likewise.
14196 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14199 * iconv/gconv.h: Define __GCONV_SWAP.
14200 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14201 * iconvdata/utf-16.c: Likewise.
14202 * iconvdata/utf-32.c: Likewise.
14204 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14208 numerator after shifting it by one limb.
14210 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14213 under [__USE_EXTERN_INLINES].
14215 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14218 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14220 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14222 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14223 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14225 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14227 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14228 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14229 for strncasecmp/strncasecmp_l compilation.
14230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14231 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14233 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14236 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14239 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14242 * time/tzfile.c (__tzfile_read): Check values from file header.
14244 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14246 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14247 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14248 * powerpc/powerpc32/dl-start.S: Likewise.
14249 * powerpc/powerpc32/elf/start.S: Likewise.
14250 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14251 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14252 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14253 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14254 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14255 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14256 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14257 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14258 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14259 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14260 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14261 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14262 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14263 * powerpc/powerpc32/memset.S: Likewise.
14264 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14265 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14266 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14267 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14268 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14269 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14270 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14271 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14272 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14273 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14278 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14280 * math/libm-test.inc: Added more nearbyint tests.
14281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14286 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14288 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14291 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14293 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14294 Add wcscpy-ssse3 wcscpy-c.
14295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14296 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14297 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14298 * sysdeps/x86_64/wcschr.S: New file.
14299 * sysdeps/x86_64/wcsrchr.S: New file.
14300 * string/test-strcmp.c: Remove checking of wcscmp function for
14302 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14303 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14304 wcsrchr-sse2 wcsrchr-c.
14305 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14306 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14307 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14308 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14309 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14310 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14311 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14312 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14314 * wcsmbc/wcschr.c (WCSCHR): New macro.
14316 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14318 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14319 * wcsmbs/test-wcsrchr.c: New file.
14320 * string/test-strrchr.c: Add wcsrchr support.
14322 * wcsmbs/test-wcscpy.c: New file.
14323 * string/test-strcpy.c: Add wcscpy support.
14326 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14331 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14334 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14336 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14339 Minor optimizations.
14341 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14342 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14345 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14347 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14348 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14349 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14350 for gcc to avoid warnings.
14351 * inet/Makefile (tests): Add tst-checks.
14352 * inet/tst-checks.c: New file.
14354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14357 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14360 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14361 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14363 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14365 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14370 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14372 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14375 conditional on GCC version.
14376 (__arch_compare_and_exchange_val_8_acq)
14377 (__arch_compare_and_exchange_val_16_acq)
14378 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14379 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14380 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14382 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14384 * sysdeps/sh/backtrace.c: New file.
14386 2011-12-02 Andreas Schwab <schwab@redhat.com>
14388 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14391 2011-12-01 Andreas Schwab <schwab@redhat.com>
14393 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14394 falling back to utime.
14396 2011-11-30 Andreas Schwab <schwab@redhat.com>
14398 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14399 expectations for float.
14401 2011-11-29 Andreas Schwab <schwab@redhat.com>
14403 * locale/weight.h (findidx): Add parameter len.
14404 * locale/weightwc.h (findidx): Likewise.
14405 * posix/fnmatch_loop.c (FCT): Adjust caller.
14406 * posix/regcomp.c (build_equiv_class): Likewise.
14407 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14408 * posix/regexec.c (check_node_accept_bytes): Likewise.
14409 * string/strcoll_l.c (STRCOLL): Likewise.
14410 * string/strxfrm_l.c (STRXFRM): Likewise.
14412 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14414 * Makefile.in: Remove CVSOPT handling.
14415 * configure.in: Remove use of AC_REVISION.
14416 * iconvdata/Makefile (distribute): No need to filter out CVS.
14417 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14420 2011-11-16 Andreas Schwab <schwab@redhat.com>
14422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14423 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14424 [USE_AS_STRNCASECMP_L]: Likewise.
14425 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14426 NO_TLS_DIRECT_SEG_REFS.
14427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14428 Fix argument offsets for non-PIC.
14429 [USE_AS_STRNCASECMP_L]: Likewise.
14430 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14431 NO_TLS_DIRECT_SEG_REFS.
14433 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14435 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14437 * locale/loadlocale.c (_nl_load_locale): Likewise.
14439 2011-11-15 Andreas Schwab <schwab@redhat.com>
14441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14442 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14444 (SYSCALL_GETTIME): Set errno on error.
14446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14447 count references to noai6ai_cached.
14449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14451 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14453 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14454 FD_CLOEXEC for /proc/self/maps.
14456 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14457 FD_CLOEXEC for /proc/meminfo.
14459 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14462 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14463 FD_CLOEXEC for given file.
14465 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14467 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14468 FD_CLOEXEC for /etc/hosts.
14469 (_gethtent): Likewise.
14471 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14473 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14474 cancellation and set FD_CLOEXEC for /etc/netgroup.
14476 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14477 reading /etc/publickey.
14479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14480 allow cancellation when reading /etc/group.
14482 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14484 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14486 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14487 when using data file.
14489 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14491 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14492 (write_nis_obj): Use "c" and "e" in fopen.
14494 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14496 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14498 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14500 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14502 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14505 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14507 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14509 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14511 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14512 file parsing and set FD_CLOEXEC.
14514 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14516 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14518 2011-11-14 Andreas Schwab <schwab@redhat.com>
14520 * malloc/arena.c (arena_get2): Don't call reused_arena when
14521 _int_new_arena failed.
14523 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14526 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14531 to compile strcasecmp and strncasecmp.
14532 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14533 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14537 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14540 locale-defines.sym to gen-as-const-headers.
14541 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14542 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14544 to compile strcasecmp and strncasecmp.
14545 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14546 strcasecmp_l and strncasecmp_l.
14547 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14548 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14549 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14551 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14553 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14554 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14555 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14556 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14557 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14559 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14561 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14562 result of SYSDEP_GETTIME_CPU to retval.
14563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14564 parameter list to macro. Remove trailing semicolon. Adjust users.
14566 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14569 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14571 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14574 from unused variable.
14576 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14578 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14581 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14584 * sunrpc/rpc_prot.c (rejected): Fix case value.
14586 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14587 unsigned long long int to avoid warnings in shift.
14589 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14591 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14594 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14595 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14598 * nis/nis_table.c (nis_list): Use variable of correct type for
14599 result of __follow_path call.
14601 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14603 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14604 of math functions ceil, trunc, floor, round, and sqrt, when
14605 avaliable on the platform.
14606 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14612 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14614 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14617 2011-11-11 Roland McGrath <roland@hack.frob.com>
14619 * include/unistd.h: Fix __readlink return type.
14620 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14622 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14624 * stdlib/ucontext.h: Undo last change for makecontext.
14626 2011-11-11 Andreas Schwab <schwab@redhat.com>
14628 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14630 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14631 * setjmp/setjmp.h: Mark functions as non-leaf.
14632 * setjmp/bits/setjmp2.h: Likewise.
14633 * stdlib/ucontext.h: Likewise.
14635 2011-11-10 Andreas Schwab <schwab@redhat.com>
14637 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14638 (reused_arena): Don't check arena limit.
14639 (arena_get2): Atomically check arena limit.
14641 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14643 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14644 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14649 2011-11-07 Andreas Schwab <schwab@redhat.com>
14651 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14652 handler when locking.
14654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14655 Fix size of allocated buffer.
14657 2011-11-04 Andreas Schwab <schwab@redhat.com>
14660 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14661 declarations for long double functions.
14662 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14664 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14666 2011-11-03 Andreas Schwab <schwab@redhat.com>
14668 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14671 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14674 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14676 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14678 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14680 * include/alloca.h (stackinfo_alloca_round): Define.
14681 (extend_alloca): Use it.
14682 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14683 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14686 * scripts/check-local-headers.sh: Ignore libaudit.h.
14688 * nscd/Makefile (extra-objs): Make recursively expanded.
14690 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14692 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14695 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14696 * posix/tst-rfc3484-2.c: Likewise.
14697 * posix/tst-rfc3484-3.c: Likewise.
14699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14701 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14703 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14704 process_vm_writev from libc using GLIBC_2.15 version.
14706 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14708 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14710 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14713 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14716 * nss/getent.c (initgroups_keys): Show error message in case no group
14719 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14720 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14721 __bump_nl_timestamp.
14722 * nscd/connections (nscd_init): When host database is served open
14723 netlink socket and request notification about configuration changes.
14724 (main_loop_poll): Track netlink file descriptor and bump timestamp
14725 in case data becomes available.
14726 (main_loop_epoll): Likewise.
14727 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14728 (database_pers_head): Add extra_data fileds.
14729 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14731 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14734 in6ai data, call __free_in6ai.
14735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14736 Add -DHAVE_NETLINK.
14737 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14738 interface information. Reuse previous data if netlink timestamp
14740 (__bump_nl_timestamp): New function.
14741 (__free_in6ai): New function.
14743 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14746 close_not_cancel_no_status here.
14747 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14749 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14752 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14755 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14756 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14757 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14759 2011-07-03 Andreas Jaeger <aj@suse.de>
14762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14763 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14764 * math/libm-test.inc (sin_test): Add test case.
14766 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14769 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14770 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14772 * elf/chroot_canon.c (chroot_canon): Cleanups.
14774 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14777 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14780 * string/test-strchr.c: Make usable for strchrnul testing.
14781 * string/test-strchrnul.c: New file.
14782 * string/Makefile (strop-tests): Add strchrnul.
14784 * po/it.po: Update from translation team.
14785 * po/es.po: Likewise.
14787 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14790 the three constants needed as parameters. Drop the others.
14791 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14792 __m128i_strloadu_tolower.
14793 Create and initialize variable zero and use it in all the places
14794 where _mm_setzero_si128 was used.
14796 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14797 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14798 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14801 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14802 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14803 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14804 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14806 __mpranred, __mptan.
14807 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14808 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14809 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14810 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14817 2011-10-28 Andreas Schwab <schwab@redhat.com>
14819 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14820 redefine if SHARED.
14821 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14824 wide char related routines to wcsmbs subdir.
14826 2011-10-27 Andreas Schwab <schwab@redhat.com>
14829 * misc/sys/cdefs.h (__THROWNL): Define.
14830 * posix/unistd.h: Use __THREADNL instead of __THREAD
14831 for memory synchronization functions.
14833 2011-10-26 Roland McGrath <roland@hack.frob.com>
14836 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14838 * manual/stdio.texi (Obstack Streams): Node removed.
14840 2011-10-26 Andreas Schwab <schwab@redhat.com>
14842 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14846 * math/math_private.h (math_force_eval): Allow non-addressable
14848 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14850 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14853 file is not needed.
14855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14862 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14868 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14869 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14870 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14875 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14884 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14885 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14888 place. Use VEX encoding when compiling for AVX.
14890 2011-10-25 Andreas Schwab <schwab@redhat.com>
14892 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14895 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14897 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14899 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14900 useless if() expression.
14901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14921 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14923 2011-10-25 Andreas Schwab <schwab@redhat.com>
14925 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14929 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14931 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14932 .text section. Avoid duplicate constants.
14933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14945 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14960 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14979 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14981 * sysdeps/x86_64/dla.h: Move to ...
14982 * sysdeps/x86_64/fpu/dla.h: ...here.
14983 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14984 situations. Use __builtin_fma only for gcc 4.6 and up.
14986 * config.make.in: Add have-mfma4 entry.
14987 * configure.in: Substitute libc_cv_cc_fma4.
14988 * math/Makefile (dbl-only-routines): Add sincostab.
14989 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14990 Use __sincostab not sincos.
14991 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14998 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14999 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15000 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15001 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15004 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15006 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15007 define aliases when function name is a macro.
15008 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15009 sysdeps/ieee754/dbl-64/sincos.tbl.
15010 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15011 fma4-enabled routines.
15012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15013 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15014 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15015 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15022 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15024 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15043 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15054 2011-10-24 Andreas Schwab <schwab@redhat.com>
15056 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15058 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15066 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15067 Remove unused variable magic_bits.
15068 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15070 * string/strnlen.c: Define and use STRNLEN macro.
15071 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15072 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15074 * wcsmbs/wcslen.c: Define and use WCSLEN.
15075 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15076 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15077 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15078 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15079 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15080 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15083 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15086 strnlen-sse2-no-bsf.
15087 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15090 Add strnlen support.
15091 (USE_AS_STRNLEN): New macro.
15092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15094 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15095 * sysdeps/x86_64/wcslen.S: New file.
15097 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15100 XMM-moves are used for copying on small sizes.
15102 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15104 * wcsmbs/Makefile (strop-tests): Add wcschr.
15105 * wcsmbs/test-wcschr.c: New file.
15106 * string/test-strchr.c: Update.
15107 Add wcschr support.
15110 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15112 * wcsmbs/Makefile (strop-tests): Add wcslen.
15113 * wcsmbs/test-wcslen.c: New file.
15114 * string/test-strlen.c: Update.
15115 Add wcslen support.
15118 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15120 * po/it.po: Update from translation team.
15122 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15124 * sysdeps/x86_64/wcscmp.S: Update.
15125 Fix wrong comparison semantics.
15126 wcscmp shall use signed comparison not unsigned.
15127 Don't use substraction to avoid overflow bug.
15128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15129 * wcsmbc/wcscmp.c: Likewise.
15130 * string/test-strcmp.c: Likewise.
15131 Add new tests to check cases with negative values.
15133 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15135 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15136 * sysdeps/x86_64/dla.h: ...here. New file.
15137 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15147 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15150 __ynl_finite aliases.
15152 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15156 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15158 [DLA_FMA] (EMULV): Use DLA_FMA.
15159 [DLA_FMA] (MUL12): Use EMULV.
15160 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15161 that are not needed.
15162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15170 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15172 * math/s_nan.c: Undef __nan.
15173 * math/s_nanf.c: Undef __nanf.
15174 * math/s_nanl.c: Undef __nanl.
15175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15178 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15180 * math/s_catan.c: Add branch predictions.
15181 * math/s_catanf.c: Likewise.
15182 * math/s_catanh.c: Likewise.
15183 * math/s_catanhf.c: Likewise.
15184 * math/s_catanhl.c: Likewise.
15185 * math/s_catanl.c: Likewise.
15186 * math/s_cexp.c: Likewise.
15187 * math/s_cexpf.c: Likewise.
15188 * math/s_cexpl.c: Likewise.
15189 * math/s_clog.c: Likewise.
15190 * math/s_clog10.c: Likewise.
15191 * math/s_clog10f.c: Likewise.
15192 * math/s_clog10l.c: Likewise.
15193 * math/s_clogf.c: Likewise.
15194 * math/s_clogl.c: Likewise.
15195 * math/s_csqrt.c: Likewise.
15196 * math/s_csqrtf.c: Likewise.
15197 * math/s_csqrtl.c: Likewise.
15198 * math/s_ctanf.c: Likewise.
15199 * math/s_ctanh.c: Likewise.
15200 * math/s_ctanhf.c: Likewise.
15201 * math/s_ctanhl.c: Likewise.
15202 * math/s_ctanl.c: Likewise.
15204 * math/math_private.h: Define __nan, __nanf, __nanl.
15205 * math/s_cacosh.c: Include <math_private.h>.
15206 * math/s_cacoshl.c: Likewise.
15207 * math/s_casinh.c: Likewise.
15208 * math/s_casinhf.c: Likewise.
15209 * math/s_casinhl.c: Likewise.
15210 * math/s_ccos.c: Rely entire on ccosh.
15211 * math/s_ccosf.c: Rely entire on ccoshf.
15212 * math/s_ccosl.c: Rely entirely on ccoshl.
15213 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15214 Remove tests for FE_INVALID.
15215 * math/s_ccoshf.c: Likewise.
15216 * math/s_ccoshl.c: Likewise.
15217 * math/s_csin.c: Likewise.
15218 * math/s_csinf.c: Likewise.
15219 * math/s_csinh.c Likewise.
15220 * math/s_csinhf.c: Likewise.
15221 * math/s_csinhl.c: Likewise.
15222 * math/s_csinl.c: Likewise.
15223 * math/s_ctan.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15225 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15228 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15231 compilation problems.
15233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15236 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15238 * sysdeps/i386/configure.in: Test for -mfma4 option.
15239 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15240 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15241 COMMON_CPUID_INDEX_80000001.
15242 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15244 use it if FMA3 is not supported.
15245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15247 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15250 2011-10-20 Andreas Schwab <schwab@redhat.com>
15253 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15254 it would create a cycle with a link time dependency.
15256 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15258 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15260 * string/Makefile (strop-tests): Add rawmemchr.
15261 * string/test-rawmemchr.c: New file.
15263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15265 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15266 when compiling str{,n}casecmp and when AVX is available. Hook up
15267 new optimized code in initializers.
15269 2011-10-19 Andreas Schwab <schwab@redhat.com>
15271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15272 __feraiseexcept instead of feraiseexcept.
15274 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15276 * math/math_private.h: Define defaults for libc_fetestexcept and
15278 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15279 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15282 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15283 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15284 libc_fetestexcept and libc_feupdateenv.
15286 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15287 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15288 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15289 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15290 libc_feholdexcept_setround.
15292 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15293 Add s_nearbyint-c and s_nearbyintf-c.
15294 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15295 nearbyintf inlines.
15296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15298 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15301 * math/math_private.h: Define defaults for libc_fegetround,
15302 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15303 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15304 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15306 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15307 standard functions.
15308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15309 Remove comments and hacks for old compiler versions.
15310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15311 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15312 libc_feholdexceptl.
15314 2011-10-18 Andreas Schwab <schwab@redhat.com>
15316 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15317 (__feraiseexcept_renamed): Add __NTH.
15318 (feraiseexcept): Add __NTH. Rename local variables to fix
15319 namespace violations.
15321 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15327 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15328 recently added interfaces.
15329 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15331 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15332 about macro parameter expansion.
15334 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15335 __NO_MATH_INLINES is defined. Cleanups.
15337 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15338 and __floorf is target has SSE4.1.
15339 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15344 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15346 (floorf): Likewise.
15348 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15350 2011-10-17 Andreas Schwab <schwab@redhat.com>
15352 * misc/sys/cdefs.h: Fix last change.
15354 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15357 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15359 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15361 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15370 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15371 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15372 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15373 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15375 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15378 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15379 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15382 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15384 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15385 ceil, ceilf, floor, floorf.
15387 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15388 Perform IRELATIVE relocations last.
15390 * elf/do-rel.h: Add another parameter nrelative, replacing the
15391 local variable with the same name. Change name of the function
15392 to end in Rel or Rela (uppercase).
15393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15394 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15395 elf_dynamic_do_##reloc function.
15397 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15399 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15400 is sufficient, at least on modern CPUs.
15402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15404 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15407 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15409 * math/bits/math-finite.h: Add entries for exp.
15410 * math/e_expl.c: Add __*_finite alias.
15411 * sysdeps/i386/fpu/e_exp.S: Likewise.
15412 * sysdeps/i386/fpu/e_expf.S: Likewise.
15413 * sysdeps/i386/fpu/e_expl.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15422 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15423 is sufficient, at least on modern CPUs.
15425 * ctype/ctype-info.c (__ctype_init): Define.
15426 * include/ctype.h (__ctype_init): Declare.
15427 (__ctype_b_loc): The variable is always initialized.
15428 (__ctype_toupper_loc): Likewise.
15429 (__ctype_tolower_loc): Likewise.
15430 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15431 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15433 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15435 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15437 * configure.in: Also look in $cxxmachine/include for C++ system
15440 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15442 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15443 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15444 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15445 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15447 (USE_AS_WMEMCMP): New macro.
15449 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15450 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15451 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15452 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15454 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15455 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15457 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15458 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15460 (USE_AS_WMEMCMP): New macro.
15461 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15462 * sysdeps/string/test-memcmp.c: Update.
15463 Fix simple_wmemcmp.
15465 * wcsmbs/wmemcmp.c: Update.
15466 (WMEMCMP): New macro.
15469 2011-10-12 Andreas Jaeger <aj@suse.de>
15472 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15474 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15476 * libio/iofwide.c (do_length): Avoid warning.
15478 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15480 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15482 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15484 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15485 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15486 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15487 * sysdeps/i386/i686/fpu/e_log.S: New file.
15488 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15489 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15491 * ctype/ctype.h: Add support for inlined isXXX functions when
15492 compiling C++ code.
15494 2011-10-14 Andreas Schwab <schwab@redhat.com>
15496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15500 2011-10-13 Roland McGrath <roland@hack.frob.com>
15503 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15505 2011-10-13 Andreas Schwab <schwab@redhat.com>
15507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15508 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15511 * sysdeps/x86_64/memrchr.S: Check for zero size.
15513 * string/stratcliff.c: Add memrchr tests.
15515 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15518 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15519 rawmemchr-sse2 rawmemchr-sse2-bsf.
15520 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15521 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15522 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15523 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15524 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15526 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15527 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15528 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15530 * string/memrchr.c (MEMRCHR): New macro.
15532 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15534 Add integration with gcc's -ffinite-math-only and optimize wrapper
15536 * Versions.def: Define GLIBC_2.15 version for libm.
15537 * math/Makefile (headers): Add bits/math-finite.h.
15538 * math/bits/math-finite.h: New file.
15539 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15540 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15541 * math/e_acoshl.c: Add __*_finite alias.
15542 * math/e_acosl.c: Likewise.
15543 * math/e_asinl.c: Likewise.
15544 * math/e_atan2l.c: Likewise.
15545 * math/e_atanhl.c: Likewise.
15546 * math/e_coshl.c: Likewise.
15547 * math/e_exp10.c: Likewise.
15548 * math/e_exp10f.c: Likewise.
15549 * math/e_exp10l.c: Likewise.
15550 * math/e_exp2l.c: Likewise.
15551 * math/e_fmodl.c: Likewise.
15552 * math/e_gammal_r.c: Likewise.
15553 * math/e_hypotl.c: Likewise.
15554 * math/e_j0l.c: Likewise.
15555 * math/e_j1l.c: Likewise.
15556 * math/e_jnl.c: Likewise.
15557 * math/e_lgammal_r.c: Likewise.
15558 * math/e_log10l.c: Likewise.
15559 * math/e_log2l.c: Likewise.
15560 * math/e_logl.c: Likewise.
15561 * math/e_powl.c: Likewise.
15562 * math/e_sinhl.c: Likewise.
15563 * math/e_sqrtl.c: Likewise.
15564 * math/e_scalb.c: Completely rewritten and optimized.
15565 * math/e_scalbf.c: Likewise.
15566 * math/e_scalbl.c: Likewise.
15567 * math/w_acos.c: Likewise.
15568 * math/w_acosf.c: Likewise.
15569 * math/w_acosl.c: Likewise.
15570 * math/w_acosh.c: Likewise.
15571 * math/w_acoshf.c: Likewise.
15572 * math/w_acoshl.c: Likewise.
15573 * math/w_asin.c: Likewise.
15574 * math/w_asinf.c: Likewise.
15575 * math/w_asinl.c: Likewise.
15576 * math/w_atan2.c: Likewise.
15577 * math/w_atan2f.c: Likewise.
15578 * math/w_atan2l.c: Likewise.
15579 * math/w_atanh.c: Likewise.
15580 * math/w_atanhf.c: Likewise.
15581 * math/w_atanhl.c: Likewise.
15582 * math/w_exp10.c: Likewise.
15583 * math/w_exp10f.c: Likewise.
15584 * math/w_exp10l.c: Likewise.
15585 * math/w_fmod.c: Likewise.
15586 * math/w_fmodf.c: Likewise.
15587 * math/w_fmodl.c: Likewise.
15588 * math/w_j0.c: Likewise.
15589 * math/w_j0f.c: Likewise.
15590 * math/w_j0l.c: Likewise.
15591 * math/w_j1.c: Likewise.
15592 * math/w_j1f.c: Likewise.
15593 * math/w_j1l.c: Likewise.
15594 * math/w_jn.c: Likewise.
15595 * math/w_jnf.c: Likewise.
15596 * math/w_log.c: Likewise.
15597 * math/w_logf.c: Likewise.
15598 * math/w_logl.c: Likewise.
15599 * math/w_log10.c: Likewise.
15600 * math/w_log10f.c: Likewise.
15601 * math/w_log10l.c: Likewise.
15602 * math/w_log2.c: Likewise.
15603 * math/w_log2f.c: Likewise.
15604 * math/w_log2l.c: Likewise.
15605 * math/w_pow.c: Likewise.
15606 * math/w_powf.c: Likewise.
15607 * math/w_powl.c: Likewise.
15608 * math/w_remainder.c: Likewise.
15609 * math/w_remainderf.c: Likewise.
15610 * math/w_remainderl.c: Likewise.
15611 * math/w_scalb.c: Likewise.
15612 * math/w_scalbf.c: Likewise.
15613 * math/w_scalbl.c: Likewise.
15614 * math/w_sqrt.c: Likewise.
15615 * math/w_sqrtf.c: Likewise.
15616 * math/w_sqrtl.c: Likewise.
15617 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15618 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15620 * math/math_private.h: Declare __kernel_standard_f.
15621 * math/w_cosh.c: Remove cruft and optimize a bit.
15622 * math/w_coshf.c: Likewise.
15623 * math/w_coshl.c: Likewise.
15624 * math/w_exp2.c: Likewise.
15625 * math/w_exp2f.c: Likewise.
15626 * math/w_exp2l.c: Likewise.
15627 * math/w_hypot.c: Likewise.
15628 * math/w_hypotf.c: Likewise.
15629 * math/w_hypotl.c: Likewise.
15630 * math/w_lgamma.c: Likewise.
15631 * math/w_lgamma_r.c: Likewise.
15632 * math/w_lgammaf.c: Likewise.
15633 * math/w_lgammaf_r.c: Likewise.
15634 * math/w_lgammal.c: Likewise.
15635 * math/w_lgammal_r.c: Likewise.
15636 * math/w_sinh.c: Likewise.
15637 * math/w_sinhf.c: Likewise.
15638 * math/w_sinhl.c: Likewise.
15639 * math/w_tgamma.c: Likewise.
15640 * math/w_tgammaf.c: Likewise.
15641 * math/w_tgammal.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15644 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15645 Minor optimizations. Pretty printing. Remove cruft.
15646 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15650 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15651 * sysdeps/i386/fpu/e_asin.S: Likewise.
15652 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15653 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15654 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15655 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15659 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15660 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15661 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15662 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15663 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15664 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15665 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15666 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15667 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15668 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15669 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15670 * sysdeps/i386/fpu/e_log.S: Likewise.
15671 * sysdeps/i386/fpu/e_log10.S: Likewise.
15672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15674 * sysdeps/i386/fpu/e_log2.S: Likewise.
15675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15677 * sysdeps/i386/fpu/e_logf.S: Likewise.
15678 * sysdeps/i386/fpu/e_logl.S: Likewise.
15679 * sysdeps/i386/fpu/e_pow.S: Likewise.
15680 * sysdeps/i386/fpu/e_powf.S: Likewise.
15681 * sysdeps/i386/fpu/e_powl.S: Likewise.
15682 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15683 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15684 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15688 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15689 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15690 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15698 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15702 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15732 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15788 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15789 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15790 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15791 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15792 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15793 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15794 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15796 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15799 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15801 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15802 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15803 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15804 (__isnanf): Likewise.
15805 (__isinf_ns): Likewise.
15806 (__isinf_nsf): Likewise.
15807 (__finite): Likewise.
15808 (__finitef): Likewise.
15809 (__ieee754_sqrt): Define as macro.
15810 (__ieee754_sqrtf): Define as macro.
15811 (__ieee754_sqrtl): Define as macro.
15812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15814 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15815 __FINITE_MATH_ONLY__ consistent.
15816 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15818 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15820 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15825 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15827 * po/ja.po: Update from translation team.
15829 2011-10-08 Roland McGrath <roland@hack.frob.com>
15831 * locale/programs/locarchive.c (prepare_address_space): New function.
15832 (create_archive, enlarge_archive, open_archive): Use it.
15834 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15835 inside [SHARED], where it is used.
15837 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15839 * nss/getent.c (netgroup_keys): Remove unused variable.
15840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15842 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15844 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15848 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15850 * math/Makefile (libm-calls): Add s_isinf_ns.
15851 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15852 * math/multc3.c: Likewise.
15853 * math/s_casin.c: Likewise.
15854 * math/s_casinf.c: Likewise.
15855 * math/s_casinl.c: Likewise.
15856 * math/s_ccos.c: Likewise.
15857 * math/s_ccosf.c: Likewise.
15858 * math/s_ccosl.c: Likewise.
15859 * math/s_ctan.c: Likewise.
15860 * math/s_ctanf.c: Likewise.
15861 * math/s_ctanh.c: Likewise.
15862 * math/s_ctanhf.c: Likewise.
15863 * math/s_ctanhl.c: Likewise.
15864 * math/s_ctanl.c: Likewise.
15865 * math/w_fmod.c: Likewise.
15866 * math/w_fmodf.c: Likewise.
15867 * math/w_fmodl.c: Likewise.
15868 * math/w_remainder.c: Likewise.
15869 * math/w_remainderf.c: Likewise.
15870 * math/w_remainderl.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15872 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15875 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15876 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15877 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15878 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15880 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15882 * stdio-common/printf_fphex.c: Likewise.
15883 * stdio-common/printf_size.c: Likewise.
15885 * math/e_exp10.c: Include math_private.h using <...> not "...".
15886 * math/e_exp10f.c: Likewise.
15887 * math/e_exp10l.c: Likewise.
15888 * math/e_exp2l.c: Likewise.
15889 * math/e_j0l.c: Likewise.
15890 * math/e_j1l.c: Likewise.
15891 * math/e_jnl.c: Likewise.
15892 * math/e_lgammal_r.c: Likewise.
15893 * math/e_rem_pio2l.c: Likewise.
15894 * math/e_scalb.c: Likewise.
15895 * math/e_scalbf.c: Likewise.
15896 * math/e_scalbl.c: Likewise.
15897 * math/k_cosl.c: Likewise.
15898 * math/k_sinl.c: Likewise.
15899 * math/k_tanl.c: Likewise.
15900 * math/s_cacoshf.c: Likewise.
15901 * math/s_catan.c: Likewise.
15902 * math/s_catanf.c: Likewise.
15903 * math/s_catanh.c: Likewise.
15904 * math/s_catanhf.c: Likewise.
15905 * math/s_catanhl.c: Likewise.
15906 * math/s_catanl.c: Likewise.
15907 * math/s_ccosh.c: Likewise.
15908 * math/s_ccoshf.c: Likewise.
15909 * math/s_ccoshl.c: Likewise.
15910 * math/s_cexp.c: Likewise.
15911 * math/s_cexpf.c: Likewise.
15912 * math/s_cexpl.c: Likewise.
15913 * math/s_clog.c: Likewise.
15914 * math/s_clog10.c: Likewise.
15915 * math/s_clog10f.c: Likewise.
15916 * math/s_clog10l.c: Likewise.
15917 * math/s_clogf.c: Likewise.
15918 * math/s_clogl.c: Likewise.
15919 * math/s_csin.c: Likewise.
15920 * math/s_csinf.c: Likewise.
15921 * math/s_csinh.c: Likewise.
15922 * math/s_csinhf.c: Likewise.
15923 * math/s_csinhl.c: Likewise.
15924 * math/s_csinl.c: Likewise.
15925 * math/s_csqrt.c: Likewise.
15926 * math/s_csqrtf.c: Likewise.
15927 * math/s_csqrtl.c: Likewise.
15928 * math/s_ctan.c: Likewise.
15929 * math/s_ctanf.c: Likewise.
15930 * math/s_ctanh.c: Likewise.
15931 * math/s_ctanhf.c: Likewise.
15932 * math/s_ctanhl.c: Likewise.
15933 * math/s_ctanl.c: Likewise.
15934 * math/s_ldexp.c: Likewise.
15935 * math/s_ldexpf.c: Likewise.
15936 * math/s_ldexpl.c: Likewise.
15937 * math/s_significand.c: Likewise.
15938 * math/s_significandf.c: Likewise.
15939 * math/s_significandl.c: Likewise.
15940 * math/w_acos.c: Likewise.
15941 * math/w_acosf.c: Likewise.
15942 * math/w_acosh.c: Likewise.
15943 * math/w_acoshf.c: Likewise.
15944 * math/w_acoshl.c: Likewise.
15945 * math/w_acosl.c: Likewise.
15946 * math/w_asin.c: Likewise.
15947 * math/w_asinf.c: Likewise.
15948 * math/w_asinl.c: Likewise.
15949 * math/w_atan2.c: Likewise.
15950 * math/w_atan2f.c: Likewise.
15951 * math/w_atan2l.c: Likewise.
15952 * math/w_atanh.c: Likewise.
15953 * math/w_atanhf.c: Likewise.
15954 * math/w_atanhl.c: Likewise.
15955 * math/w_cosh.c: Likewise.
15956 * math/w_coshf.c: Likewise.
15957 * math/w_coshl.c: Likewise.
15958 * math/w_dremf.c: Likewise.
15959 * math/w_exp10.c: Likewise.
15960 * math/w_exp10f.c: Likewise.
15961 * math/w_exp10l.c: Likewise.
15962 * math/w_exp2.c: Likewise.
15963 * math/w_exp2f.c: Likewise.
15964 * math/w_fmod.c: Likewise.
15965 * math/w_fmodf.c: Likewise.
15966 * math/w_fmodl.c: Likewise.
15967 * math/w_hypot.c: Likewise.
15968 * math/w_hypotf.c: Likewise.
15969 * math/w_hypotl.c: Likewise.
15970 * math/w_j0.c: Likewise.
15971 * math/w_j0f.c: Likewise.
15972 * math/w_j0l.c: Likewise.
15973 * math/w_j1.c: Likewise.
15974 * math/w_j1f.c: Likewise.
15975 * math/w_j1l.c: Likewise.
15976 * math/w_jn.c: Likewise.
15977 * math/w_jnf.c: Likewise.
15978 * math/w_jnl.c: Likewise.
15979 * math/w_lgamma.c: Likewise.
15980 * math/w_lgamma_r.c: Likewise.
15981 * math/w_lgammaf.c: Likewise.
15982 * math/w_lgammaf_r.c: Likewise.
15983 * math/w_lgammal.c: Likewise.
15984 * math/w_lgammal_r.c: Likewise.
15985 * math/w_log.c: Likewise.
15986 * math/w_log10.c: Likewise.
15987 * math/w_log10f.c: Likewise.
15988 * math/w_log10l.c: Likewise.
15989 * math/w_log2.c: Likewise.
15990 * math/w_log2f.c: Likewise.
15991 * math/w_log2l.c: Likewise.
15992 * math/w_logf.c: Likewise.
15993 * math/w_logl.c: Likewise.
15994 * math/w_pow.c: Likewise.
15995 * math/w_powf.c: Likewise.
15996 * math/w_powl.c: Likewise.
15997 * math/w_remainder.c: Likewise.
15998 * math/w_remainderf.c: Likewise.
15999 * math/w_remainderl.c: Likewise.
16000 * math/w_scalb.c: Likewise.
16001 * math/w_scalbf.c: Likewise.
16002 * math/w_scalbl.c: Likewise.
16003 * math/w_sinh.c: Likewise.
16004 * math/w_sinhf.c: Likewise.
16005 * math/w_sinhl.c: Likewise.
16006 * math/w_sqrt.c: Likewise.
16007 * math/w_sqrtf.c: Likewise.
16008 * math/w_sqrtl.c: Likewise.
16009 * math/w_tgamma.c: Likewise.
16010 * math/w_tgammaf.c: Likewise.
16011 * math/w_tgammal.c: Likewise.
16013 * po/ja.po: Update from translation team.
16015 2011-09-29 Andreas Jaeger <aj@suse.de>
16018 * sunrpc/netname.c (netname2host): Fix logic.
16022 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16024 * math/w_remainder.c (__remainder): Likewise.
16025 * math/w_remainderf.c (__remainderf): Likewise.
16026 * math/libm-test.inc (remainder_test): Add test cases.
16028 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16030 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16033 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16035 * string/test-memcmp.c: Avoid unncessary #defines.
16036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16038 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16040 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16041 Use new sse2 version for core i3 - i7 as it's faster
16042 than sse42 version.
16043 (bit_Prefer_PMINUB_for_stringop): New.
16044 * sysdeps/x86_64/rawmemchr.S: Update.
16045 Replace with faster SSE2 version.
16046 * sysdeps/x86_64/memrchr.S: New file.
16047 * sysdeps/x86_64/memchr.S: Update.
16048 Replace with faster SSE2 version.
16050 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16052 * elf/dl-load.c (lose): Add cast to avoid warning.
16054 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16056 * po/ca.po: Update from translation team.
16058 * inet/getnetgrent_r.c: Hook up nscd.
16059 * nscd/Makefile (routines): Add nscd_netgroup.
16060 (nscd-modules): Add netgroupcache.
16061 (CFLAGS-netgroupcache.c): Define.
16062 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16063 (cache_search): Add const to second parameter.
16064 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16066 (dbs): Add netgrdb entry.
16067 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16068 (verify_persistent_db): Handle netgrdb.
16069 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16070 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16072 (netgroup_response_header): Define.
16073 (innetgroup_response_header): Define.
16074 (datahead): Add netgroup_response_header and innetgroup_response_header
16076 * nscd/nscd.conf: Add entries for netgroup cache.
16077 * nscd/nscd.h (dbtype): Add netgrdb.
16078 (_PATH_NSCD_NETGROUP_DB): Define.
16079 (netgroup_iov_disabled): Declare.
16080 (xmalloc, xcalloc, xrealloc): Move declarations here.
16081 (cache_search): Adjust prototype.
16082 Add netgroup-related prototypes.
16083 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16084 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16085 (__nscd_innetgr): Declare.
16086 * nscd/selinux.c (perms): Use access_vector_t as element type and
16087 add netgroup-related initializers.
16088 * nscd/netgroupcache.c: New file.
16089 * nscd/nscd_netgroup.c: New file.
16090 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16091 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16092 For four parameters use innetgr.
16093 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16094 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16095 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16096 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16098 * nscd/connections.c (register_traced_file): Don't register file
16099 for disabled databases.
16101 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16103 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16105 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16106 from tree and freeing node.
16108 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16110 * nss/nsswitch.c (__nss_database_lookup): Handle
16111 nss_parse_service_list out of memory case.
16113 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16115 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16116 out of memory case.
16118 2011-10-04 Andreas Schwab <schwab@redhat.com>
16120 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16121 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16123 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16124 elf_machine_rela, elf_machine_lazy_rel.
16125 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16126 (ELF_DYNAMIC_DO_REL): Likewise.
16127 (ELF_DYNAMIC_DO_RELA): Likewise.
16128 (ELF_DYNAMIC_RELOCATE): Likewise.
16129 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16130 to ELF_DYNAMIC_DO_REL.
16131 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16132 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16133 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16136 skip_ifunc, don't call ifunc function if non-zero.
16137 (elf_machine_rela): Likewise.
16138 (elf_machine_lazy_rel): Likewise.
16139 (elf_machine_lazy_rela): Likewise.
16140 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16141 (elf_machine_lazy_rel): Likewise.
16142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16144 (elf_machine_lazy_rel): Likewise.
16145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16147 (elf_machine_lazy_rel): Likewise.
16148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16149 (elf_machine_lazy_rel): Likewise.
16150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16151 (elf_machine_lazy_rel): Likewise.
16152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16153 (elf_machine_lazy_rel): Likewise.
16154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16155 (elf_machine_lazy_rel): Likewise.
16156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16157 (elf_machine_lazy_rel): Likewise.
16158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16159 (elf_machine_lazy_rel): Likewise.
16161 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16163 * nss/nss_files/files-init.c (_nss_files_init): Use static
16164 initialization for all the *_traced_file variables.
16166 2011-09-28 Andreas Schwab <schwab@redhat.com>
16168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16170 2011-09-27 Roland McGrath <roland@hack.frob.com>
16173 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16175 2011-09-27 Andreas Schwab <schwab@redhat.com>
16177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16178 Reread the line before reparsing it.
16180 2011-09-26 Andreas Schwab <schwab@redhat.com>
16182 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16184 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16185 Maxim Kuvyrkov <maxim@codesourcery.com>
16186 Joseph Myers <joseph@codesourcery.com>
16188 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16189 if needed for __stack_chk_guard.
16191 2011-09-19 Roland McGrath <roland@hack.frob.com>
16193 * sysdeps/posix/spawni.c (script_execute): Always define it.
16194 It will be optimized away if unused.
16195 (maybe_script_execute): New function.
16196 (__spawni): Call it.
16198 * Makerules: Don't include tls.make.
16199 (config-tls): Always set to thread.
16200 * tls.make.c: File removed.
16202 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16204 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16205 * config.make.in (CPPFLAGS-config): New substituted variable.
16207 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16212 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16213 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16215 2011-09-15 Roland McGrath <roland@hack.frob.com>
16217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16218 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16220 (CALL_FAIL): Likewise.
16221 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16222 (CALL_FAIL): Macro removed.
16223 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16225 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16228 for __FINITE_MATH_ONLY__ == 1.
16230 2011-09-15 Andreas Schwab <schwab@redhat.com>
16232 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16233 __ieee754_sqrt instead of sqrt.
16234 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16235 __ieee754_sqrtf instead of sqrtf.
16236 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16237 __floorf instead of floorf.
16238 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16239 __floorf, __truncf instead of floorf, truncf.
16241 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16243 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16245 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16246 __extern_always_inline.
16247 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16250 2011-09-14 Andreas Schwab <schwab@redhat.com>
16252 * elf/rtld.c (dl_main): Also relocate in dependency order when
16253 doing symbol dependency testing.
16255 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16258 Always define `refsym'.
16260 2011-09-13 Andreas Schwab <schwab@redhat.com>
16262 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16263 (__FD_ELT): Renamed from __FDELT.
16264 * misc/bits/select2.h (__FD_ELT): Likewise.
16265 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16266 __FD_MASK instead of __FDELT, __FDMASK.
16267 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16269 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16272 * elf/Makefile (gen-ldd): Fix pattern.
16274 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16275 (init_tls): Likewise.
16277 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16281 2011-09-12 Andreas Schwab <schwab@redhat.com>
16283 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16284 `struct cmsghdr *' instead of `void *'.
16285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16288 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16290 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16292 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16293 ldd_rewrite_script.
16295 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16297 * configure.in: Remove --with-tls option.
16298 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16299 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16300 out in case it is missing.
16301 * sysdeps/ia64/elf/configure.in: Likewise.
16302 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16303 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16304 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16305 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16306 * sysdeps/sh/elf/configure.in: Likewise.
16307 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16309 * sysdeps/x86_64/elf/configure.in: Likewise.
16310 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16311 * sysdeps/mach/hurd/tls.h: Likewise.
16314 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16317 * configure.in: Fix use of AC_INIT.
16319 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16321 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16323 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16325 * malloc/hooks.c: Likewise.
16328 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16329 variables statically.
16330 (narenas): Initialize.
16331 (list_lock): Initialize.
16332 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16333 initializtion of main_arena and list_lock. Small cleanups.
16334 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16335 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16336 Add initializers to main_arena and mp_.
16337 (malloc_state): Remove pagesize member. Change all users to use
16340 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16341 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16342 is always initialized.
16344 * malloc/malloc.c: Removed unused configurations and dead code.
16345 * malloc/arena.c: Likewise.
16346 * malloc/hooks.c: Likewise.
16347 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16349 * include/tls.h: Removed. USE___THREAD must always be defined.
16350 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16351 * elf/dl-libc.c: Likewise.
16352 * elf/dl-tsd.c: Likewise.
16353 * include/errno.h: Likewise.
16354 * include/netdb.h: Likewise.
16355 * include/resolv.h: Likewise.
16356 * inet/herrno-loc.c: Likewise.
16357 * inet/herrno.c: Likewise.
16358 * malloc/arena.c: Likewise.
16359 * malloc/hooks.c: Likewise.
16360 * malloc/malloc.c: Likewise.
16361 * resolv/res-state.c: Likewise.
16362 * resolv/res_libc.c: Likewise.
16363 * sysdeps/i386/dl-machine.h: Likewise.
16364 * sysdeps/ia64/dl-machine.h: Likewise.
16365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16369 * sysdeps/sh/dl-machine.h: Likewise.
16370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16372 * sysdeps/unix/i386/sysdep.S: Likewise.
16373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16374 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16384 * sysdeps/x86_64/dl-machine.h: Likewise.
16385 * tls.make.c: Likewise.
16387 * configure.in: Remove --with-__thread option. Make tests for
16388 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16389 tls_model attribute fail if no support is available. Remove
16391 * Makeconfig: Adjust for dropped configure option. All features are
16393 * Makerules: Likewise.
16394 * Versions.def: Likewise.
16395 * argp/argp-fmtstream.c: Likewise.
16396 * argp/argp-fmtstream.h: Likewise.
16397 * argp/argp-help.c: Likewise.
16398 * assert/assert.c: Likewise.
16399 * config.h.in: Likewise.
16400 * config.make.in: Likewise.
16401 * configure: Likewise.
16402 * configure.in: Likewise.
16403 * csu/Versions: Likewise.
16404 * csu/init.c: Likewise.
16405 * elf/tst-audit2.c: Likewise.
16406 * elf/tst-tls10.c: Likewise.
16407 * elf/tst-tls10.h: Likewise.
16408 * elf/tst-tls11.c: Likewise.
16409 * elf/tst-tls12.c: Likewise.
16410 * elf/tst-tls14.c: Likewise.
16411 * elf/tst-tlsmod11.c: Likewise.
16412 * elf/tst-tlsmod12.c: Likewise.
16413 * elf/tst-tlsmod13.c: Likewise.
16414 * elf/tst-tlsmod13a.c: Likewise.
16415 * elf/tst-tlsmod14a.c: Likewise.
16416 * elf/tst-tlsmod15b.c: Likewise.
16417 * elf/tst-tlsmod16a.c: Likewise.
16418 * elf/tst-tlsmod16b.c: Likewise.
16419 * elf/tst-tlsmod7.c: Likewise.
16420 * elf/tst-tlsmod8.c: Likewise.
16421 * elf/tst-tlsmod9.c: Likewise.
16422 * gmon/gmon.c: Likewise.
16423 * grp/fgetgrent_r.c: Likewise.
16424 * grp/putgrent.c: Likewise.
16425 * hurd/fopenport.c: Likewise.
16426 * include/libc-symbols.h: Likewise.
16427 * include/tls.h: Likewise.
16428 * intl/gettextP.h: Likewise.
16429 * intl/loadinfo.h: Likewise.
16430 * locale/global-locale.c: Likewise.
16431 * locale/localeinfo.h: Likewise.
16432 * mach/devstream.c: Likewise.
16433 * malloc/arena.c: Likewise.
16434 * malloc/set-freeres.c: Likewise.
16435 * misc/err.c: Likewise.
16436 * misc/getttyent.c: Likewise.
16437 * misc/mntent_r.c: Likewise.
16438 * posix/getopt.c: Likewise.
16439 * posix/wordexp.c: Likewise.
16440 * pwd/fgetpwent_r.c: Likewise.
16441 * resolv/Versions: Likewise.
16442 * resolv/res_hconf.c: Likewise.
16443 * shadow/fgetspent_r.c: Likewise.
16444 * shadow/putspent.c: Likewise.
16445 * stdio-common/printf_fphex.c: Likewise.
16446 * stdio-common/tmpfile.c: Likewise.
16447 * stdlib/abort.c: Likewise.
16448 * stdlib/fmtmsg.c: Likewise.
16449 * sunrpc/auth_unix.c: Likewise.
16450 * sunrpc/clnt_perr.c: Likewise.
16451 * sunrpc/clnt_tcp.c: Likewise.
16452 * sunrpc/clnt_udp.c: Likewise.
16453 * sunrpc/clnt_unix.c: Likewise.
16454 * sunrpc/openchild.c: Likewise.
16455 * sunrpc/svc_simple.c: Likewise.
16456 * sunrpc/svc_tcp.c: Likewise.
16457 * sunrpc/svc_udp.c: Likewise.
16458 * sunrpc/svc_unix.c: Likewise.
16459 * sunrpc/xdr.c: Likewise.
16460 * sunrpc/xdr_array.c: Likewise.
16461 * sunrpc/xdr_rec.c: Likewise.
16462 * sunrpc/xdr_ref.c: Likewise.
16463 * sunrpc/xdr_stdio.c: Likewise.
16465 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16467 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16469 2011-07-03 Andreas Jaeger <aj@suse.de>
16471 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16472 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16473 regenerate with gen-libm-tests.pl.
16475 2010-05-12 Petr Baudis <pasky@suse.cz>
16478 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16479 around j0() zero points by switching to j1().
16480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16485 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16492 Patch in part by Pavel Roskin <proski@gnu.org>.
16495 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16497 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16498 Free memory block if necessary.
16501 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16502 be NULL. Don't lock in this case.
16504 2011-09-09 Roland McGrath <roland@hack.frob.com>
16506 * elf/elf.h (ELFOSABI_GNU): New macro.
16507 (ELFOSABI_LINUX): Define to that.
16509 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16511 * string/strncat.c (strncat): Undef the symbol in case it has been
16512 defined in bits/string.h.
16514 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16516 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16518 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16521 2011-08-17 Andreas Jaeger <aj@suse.de>
16523 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16525 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16526 Ian Lance Taylor <iant@google.com>
16528 * math/libm-test.inc (lround_test): New testcase.
16529 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16531 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16533 * Makefile: Remove support for automatic cvs check-ins.
16534 * Makerules: Likewise.
16535 * config.make.in: Likewise.
16536 * configure.in: Likewise.
16537 * intl/Makefile: Likewise.
16538 * locale/Makefile: Likewise.
16539 * po/Makefile: Likewise.
16540 * posix/Makefile: Likewise.
16541 * sysdeps/gnu/Makefile: Likewise.
16542 * sysdeps/mach/hurd/Makefile: Likewise.
16543 * sysdeps/sparc/sparc32/Makefile: Likewise.
16546 * posix/Makefile (bug-regex32-ENV): Define.
16547 Patch by John Stanley <jpsinthemix@verizon.net>.
16549 * misc/Makefile (headers): Add bits/select2.h.
16550 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16551 * misc/bits/select2.h: New file.
16552 * include/bits/select2.h: New file.
16553 * debug/Makefile (routines): Add fdelt_chk.
16554 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16555 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16557 * debug/fdelt_chk.c: New file.
16559 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16560 * wcsmbs/test-wmemcmp.c: Likewise.
16561 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16562 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16564 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16566 * string/Makefile (strop-tests): Add memcmp.
16567 * string/test-wmemcmp.c: New file.
16568 * string/test-memcmp.c: Add wmemcmp support.
16570 2011-09-08 Roland McGrath <roland@hack.frob.com>
16573 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16576 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16577 garbage value in a __mach_port_mod_refs call in the cases of the
16578 task-self and thread-self ports.
16580 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16582 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16584 2011-09-08 Andreas Schwab <schwab@redhat.com>
16586 * elf/dl-load.c (lose): Check for non-null L.
16588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16590 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16592 * elf/dl-libc.c (dlerror_run): Pass back error code from
16596 * elf/dl-load.c (lose): Free l_origin if it is valid.
16598 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16605 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16607 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16609 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16610 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16613 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16614 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16615 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16616 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16617 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16618 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16620 2011-08-15 Alan Modra <amodra@gmail.com>
16623 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16624 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16625 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16626 ppc_mcount to static-only-routines.
16627 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16629 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16630 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16632 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16635 for finite and infinity parameters.
16637 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16640 and add nop instructions for throughput optimization.
16641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16643 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16646 aligned copy for power7 with vector-scalar instructions.
16647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16649 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16654 2011-09-07 Andreas Schwab <schwab@redhat.com>
16657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16660 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16663 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16664 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16668 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16671 Forgot to demangle the pointer.
16673 * sysdeps/i386/sysdep.h: Define atom_text_section.
16674 * sysdeps/x86_64/sysdep.h: Likewise.
16675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16676 section with atom_text_section.
16677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16685 already be defined. Change to take two parameters and don't assign
16686 result to variable. Adjust all users.
16687 Define INTERNAL_GETTIME if not already defined.
16688 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16691 HAVE_CLOCK_GETTIME_VSYSCALL.
16692 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16695 gettimeofday vsyscall, just use time.
16697 2011-09-06 Andreas Schwab <schwab@redhat.com>
16699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16702 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16704 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16708 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16710 syscall if possible.
16712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16714 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16715 e_ident. Don't pass to find_mapsXX.
16716 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16718 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16721 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16722 * sysdeps/x86_64/multiarch/strchr.S: Update.
16723 Check bit_slow_BSF bit.
16724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16731 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16733 (tryshell): Define.
16734 (__spawni): Change last parameter to be flag. Test
16735 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16736 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16737 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16738 * posix/spawni.c: Likewise.
16739 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16740 * posix/spawnp.c: Likewise. Change normal version to use
16741 SPAWN_XFLAGS_USE_PATH.
16742 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16743 SPAWN_XFLAGS_TRY_SHELL.
16746 * posix/glob.h: Remove gcc 1.x support.
16749 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16754 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16756 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16757 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16763 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16765 * sysdeps/x86_64/wcscmp.S: New file.
16767 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16768 wcscmp-c wcscmp-sse2
16769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16770 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16771 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16772 * wcsmbs/wcscmp.c: Allow renaming.
16774 2011-09-05 David S. Miller <davem@davemloft.net>
16776 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16777 stack slot, rather than the struct return pointer slot.
16778 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16779 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16783 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16785 * po/ja.po: Update from translation team.
16788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16789 kernel in 64-bit binaries.
16791 2011-09-01 David S. Miller <davem@davemloft.net>
16793 * elf/elf.h (HWCAP_SPARC_*): Move to..
16794 * sysdeps/sparc/sysdep.h: this new file and add new values.
16795 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16796 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16797 _DL_HWCAP_COUNT to 24.
16798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16800 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16801 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16802 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16804 instead of magic constants.
16805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16807 2011-08-31 David S. Miller <davem@davemloft.net>
16809 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16811 Reimplement to do errno handling inline.
16812 (SYSCALL_ERROR_HANDLER): New macro.
16813 (__SYSCALL_STRING): Do not do errno handling in asm.
16814 (__CLONE_SYSCALL_STRING): Delete.
16815 (__INTERNAL_SYSCALL_STRING): Delete.
16816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16817 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16818 (PSEUDO): Reimplement to do errno handling inline.
16819 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16820 (SYSCALL_ERROR_HANDLER): New macro.
16821 (__SYSCALL_STRING): Do not do errno handling in asm.
16822 (__CLONE_SYSCALL_STRING): Delete.
16823 (__INTERNAL_SYSCALL_STRING): Delete.
16824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16825 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16827 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16828 (inline_syscall*): Add 'err' argument.
16829 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16830 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16831 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16832 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16834 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16835 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16837 2011-08-30 Andreas Schwab <schwab@redhat.com>
16839 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16841 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16843 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16846 2011-08-24 David S. Miller <davem@davemloft.net>
16848 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16850 2011-08-24 Andreas Schwab <schwab@redhat.com>
16852 * elf/Makefile: Add rules to build and run unload8 test.
16853 * elf/unload8.c: New file.
16854 * elf/unload8mod1.c: New file.
16855 * elf/unload8mod1x.c: New file.
16856 * elf/unload8mod2.c: New file.
16857 * elf/unload8mod3.c: New file.
16859 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16862 2011-08-23 David S. Miller <davem@davemloft.net>
16864 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16865 subtract stack bias.
16866 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16867 %sp not %fp in calculations.
16868 (_JMPBUF_UNWINDS_ADJ): Likewise.
16870 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16871 (aio_suspend): Call it to force an exception region around the
16872 AIO_MISC_WAIT() invocation.
16874 2011-08-23 Andreas Schwab <schwab@redhat.com>
16876 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16879 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16881 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16883 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16884 and <dl-machine.h>.
16885 (Elf64_FuncDesc): Remove.
16887 2011-08-22 David S. Miller <davem@davemloft.net>
16889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16890 sigaltstack check, add missing cfi directives.
16891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16892 missing cfi directives, and sigaltstack handling.
16894 2011-08-16 Andreas Schwab <schwab@redhat.com>
16897 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16898 object is seen twice.
16899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16901 * elf/Makefile (distribute): Add tst-initorder2.c.
16902 (tests): Add tst-initorder2.
16903 (modules-names): Add tst-initorder2a tst-initorder2b
16904 tst-initorder2c tst-initorder2d. Add rules to build them.
16905 ($(objpfx)tst-initorder2.out): New rule.
16906 * elf/tst-initorder2.c: New file.
16907 * elf/tst-initorder2.exp: New file.
16909 2011-08-22 Andreas Schwab <schwab@redhat.com>
16911 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16913 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16914 dependencies back to end of function.
16916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16917 $(elfobjdir)/ld.so.
16919 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16922 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16924 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16925 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16926 of __vdso_gettimeofday.
16927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16928 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16930 (_libc_vdso_platform_setup): Remove initialization of
16931 __vdso_gettimeofday and __vdso_time.
16933 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16935 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16936 and fgetc_unlocked.
16937 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16940 * elf/dl-open.c (add_to_global): Report additions to the global scope
16941 for LD_DEBUG=scopes.
16942 (dl_open_worker): Also print scope of newly loaded dependencies.
16943 (_dl_show_scope): Indicate if there is no scope.
16946 * stdio-common/Makefile (tests): Add bug24.
16947 * stdio-common/bug24.c: New file.
16949 2011-08-19 Andreas Jaeger <aj@suse.de>
16952 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16953 non-existant file when using close-on-exec mode.
16955 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16958 the very first instruction.
16960 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16961 the CFI state in the end.
16962 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16963 inclusion of dl-trampoline.h.
16964 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16966 2011-08-19 Andreas Schwab <schwab@redhat.com>
16968 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16969 expectations for long double.
16971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16972 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16974 2011-08-14 David S. Miller <davem@davemloft.net>
16976 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16977 artificual limit depends upon the system page size.
16979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16981 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16982 * resolv/Makefile: Define CFLAGS-libresolv.
16984 2011-08-17 Andreas Schwab <schwab@redhat.com>
16986 * nss/makedb.c (compute_tables): Make variables used in nested
16989 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16991 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16992 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16993 if buffer was too small.
16995 * elf/pldd.c (main): Attach to all threads in the process.
16996 Rewrite /proc handling to use *at functions.
16998 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17000 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17001 specifies first scope to show.
17002 (dl_open_worker): Update callers. Move printing scope of new
17003 object to before the relocation.
17004 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17005 * sysdeps/generic/ldsodefs.h: Update declaration.
17007 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17008 string for the scope number.
17010 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17012 * nscd/servicescache.c (cache_addserv): Make sure written is always
17015 2011-08-14 Roland McGrath <roland@hack.frob.com>
17017 * sysdeps/i386/i486/bits/atomic.h
17018 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17019 statement expression, so as to suppress "set but not used" warning.
17020 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17022 * string/strncat.c (STRNCAT): Use prototype definition.
17024 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17025 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17027 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17028 (localedef-modules): Add localedef.
17029 (locale-modules): Add locale.
17031 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17032 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17033 to avoid a warning.
17035 2011-08-14 David S. Miller <davem@davemloft.net>
17037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17038 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17040 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17042 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17043 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17044 * elf/rtld.c (dl_main): Set l_name of vDSO.
17045 Call _dl_show_scope when DL_DEBUG_SCOPES.
17046 (process_dl_debug): Recognize scopes flag and also set it for all.
17047 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17048 Declare _dl_show_scope.
17050 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17051 (do_dlopen): Pass caller_dlopen to dl_open.
17052 (__libc_dlopen_mode): Initialize caller_dlopen.
17054 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17055 of libc. Make tolower call locale-independent. Optimize a bit by
17056 using isdigit instead of isalnum.
17057 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17059 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17061 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17062 was a dependency or dynamically loaded.
17064 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17066 * intl/l10nflist.c: Allow architecture-specific pop function.
17067 * sysdeps/x86_64/l10nflist.c: New file.
17069 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17072 2011-08-10 Andreas Schwab <schwab@redhat.com>
17074 * include/dirent.h: Add libc_hidden_proto for scandirat and
17075 scandirat64. Don't declare __scandirat64.
17076 * dirent/scandirat.c: Add libc_hidden_def.
17077 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17078 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17080 2011-08-10 David S. Miller <davem@davemloft.net>
17082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17088 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17090 * Versions.def [libc]: Add GLIBC_2.15.
17091 * dirent/Makefile (routines): Add scandirat and scandirat64.
17092 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17094 * dirent/dirent.h: Declare scandirat and scandirat64.
17095 * dirent/scandirat.c: New file.
17096 * dirent/scandirat64.c: New file.
17097 * sysdeps/wordsize-64/scandirat.c: New file.
17098 * sysdeps/wordsize-64/scandirat64.c: New file.
17099 * dirent/opendir.c: Define opendirat.
17100 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17102 * dirent/scandir64.c: Adjust for scandir.c change.
17103 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17104 __scandirat64, and __scandir_cancel_handler.
17105 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17106 additional parameter and use openat instead of open (outside of ld.so).
17107 Add new __opendir as wrapper around __opendirat.
17108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17109 here without requiring old scandirat implementation.
17111 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17113 * dirent/scandir.c (cancel_handler): Renamed to
17114 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17115 defined. Adjust users.
17116 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17119 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17121 * string/test-string.h (IMPL): Use __STRING to expand name and then
17124 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17127 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17129 * string/Makefile: Update.
17130 (strop-tests): Append strncat.
17131 * string/test-wcscmp.c: New file.
17132 New comprehensive test for wcscmp.
17133 * string/test-strcmp.c: Update.
17134 (WIDE): New define.
17136 2011-07-22 Andreas Schwab <schwab@redhat.com>
17138 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17141 2011-07-26 Andreas Schwab <schwab@redhat.com>
17143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17144 encoding to ACE if AI_IDN.
17146 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17149 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17151 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17154 Fix overflow bug in strncat.
17155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17157 * string/test-strncat.c: Update.
17158 Add new tests for checking overflow bugs.
17160 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17163 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17164 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17165 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17167 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17168 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17169 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17170 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17173 (USE_AS_STRCAT): Define.
17174 Add strcat and strncat support.
17175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17177 2011-07-25 Andreas Schwab <schwab@redhat.com>
17179 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17180 __n bigger than INT_MAX+1.
17181 (__strncmp_g): Likewise.
17183 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17185 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17186 * libio/stido.h: Likewise.
17188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17193 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17200 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17205 (_dl_x86_64_save_sse): Likewise.
17207 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17211 (_dl_x86_64_save_sse): Likewise.
17213 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17215 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17217 2011-07-21 Andreas Schwab <schwab@redhat.com>
17219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17221 (_dl_x86_64_save_sse): Use correct AVX check.
17223 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17226 bug in strncpy/strncat.
17227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17229 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17231 * string/tester.c (test_strcat): Add tests for different alignments
17232 of source and destination.
17233 (test_strncat): Likewise.
17235 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17238 * posix/glob.c (glob): Check passed in values before using them in
17239 expressions to avoid some overflows.
17240 (glob_in_dir): Likewise.
17243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17244 check for AVX enablement so that we don't crash with old kernels and
17246 * elf/tst-audit4.c: Add same checks here.
17247 * elf/tst-audit6.c: Likewise.
17249 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17251 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17253 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17255 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17257 * po/cs.po: Update from translation team.
17258 * po/bg.po: Likewise.
17260 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17262 * misc/sys/cdefs.h: Add support for const attribute.
17263 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17264 to gnu_dev_{major,minor,makedev} functions.
17266 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17268 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17270 2011-07-20 Andreas Schwab <schwab@redhat.com>
17272 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17275 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17278 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17279 register in order to avoid conflicts with the soft frame pointer
17280 being held in r11 when necessary.
17281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17282 (INTERNAL_VSYSCALL_NCS): Likewise.
17284 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17286 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17287 * elf/dl-fini.c (_dl_fini): Adjust caller.
17288 * elf/dl-close.c (_dl_close_worker): Likewise.
17289 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17291 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17293 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17294 "aux_cache->nlibs < 0".
17296 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17297 in the reload-count case.
17299 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17302 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17303 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17305 * sysdeps/x86_64/multiarch/strcat.S: New file.
17306 * sysdeps/x86_64/multiarch/strncat.S: New file.
17307 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17309 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17310 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17312 (USE_AS_STRCAT): Define.
17313 Add strcat and strncat support.
17314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17317 * string/strncat.c: Update.
17318 (USE_AS_STRNCAT): Define.
17319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17320 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17322 * sysdeps/x86_64/multiarch/init-arch.h
17323 (bit_Prefer_PMINUB_for_stringop): New.
17324 (index_Prefer_PMINUB_for_stringop): Likewise.
17325 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17326 bit_Prefer_PMINUB_for_stringop.
17328 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17330 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17332 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17333 of casting of buffer.
17334 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17335 buffer32 and buffer64.
17336 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17337 writes instead of casting of buffer.
17338 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17340 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17343 2011-07-19 Andreas Schwab <schwab@redhat.com>
17345 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17347 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17349 * nscd/nscd.c (termination_handler): Don't do anything for a database
17350 if it has not yet been initialized.
17352 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17354 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17356 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17358 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17360 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17362 * po/nl.po: Update from translation team.
17363 * po/sv.po: Likewise.
17365 2011-07-16 Roland McGrath <roland@hack.frob.com>
17367 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17368 now disallowed by GCC.
17370 * configure.in (use-default-link): Default to yes if a test -shared
17371 link meets our qualifications.
17372 * configure: Regenerated.
17374 * config.make.in (output-format): New variable.
17375 * configure.in: Check for ld --print-output-format support.
17376 * configure: Regenerated.
17377 * Makerules ($(common-objpfx)format.lds)
17378 [$(output-format) != unknown]: Just use $(output-format),
17379 instead of the linker-script munging.
17381 2011-07-14 Roland McGrath <roland@hack.frob.com>
17383 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17384 of $(common-objpfx)shlib.lds.
17385 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17387 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17388 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17390 * configure.in (-z relro check): Adjust test code to add a large
17391 writable data section after it.
17392 * configure: Regenerated.
17394 2011-07-11 Roland McGrath <roland@hack.frob.com>
17396 * configure.in (-z relro check): Fix test code to make the variable
17398 * configure: Regenerated.
17400 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17402 * nscd/nscd.h (struct traced_file): Define.
17403 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17404 elements. Add traced_files.
17405 (inotify_fd): Declare.
17406 (register_traced_file): Declare.
17407 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17408 (inotify_fd): Export.
17409 (resolv_conf_descr): Remove.
17410 (nscd_init): Move inotify descriptor creation to main.
17411 Don't register files for notification here.
17412 (register_traced_file): New function.
17413 (invalidate_cache): Don't use reset_res to determine whether to call
17414 res_init, go through the list of registered files.
17415 (main_loop_poll): The inotify descriptors are now stored in the
17416 structures for the traced files.
17417 (main_loop_epoll): Likewise
17418 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17419 to __nss_disable_nscd.
17420 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17421 for a database anymore. Check the records for all the registered
17423 * nss/Makefile (libnss_files-routines): Add files-init.
17424 (libnss_db-routines): Add db-init.
17425 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17426 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17427 * nss/nss_db/db-init.c: New file.
17428 * nss/nss_files/files-init.c: New file.
17429 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17430 __nss_lookup_function.
17431 (__nss_lookup_function): Call nss_load_library.
17432 (nss_load_all_libraries): New function.
17433 (__nss_disable_nscd): Take parameter with callback function for files
17434 to register. Set is_nscd. Load all the DSOs for the NSS modules
17435 used for the cached services.
17436 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17438 options for features to all the files in nscd.
17440 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17442 2011-07-10 Roland McGrath <roland@hack.frob.com>
17444 * csu/elf-init.c (__libc_csu_init): Comment typo.
17446 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17448 * po/pl.po: Update from translation team.
17449 * po/ja.po: Likewise.
17450 * po/ru.po: Likewise.
17451 * po/ko.po: Likewise.
17452 * po/fr.po: Likewise.
17454 2011-07-09 Roland McGrath <roland@hack.frob.com>
17456 * configure.in (.ctors/.dtors header and trailer check):
17457 Use an empirical test on a built program.
17458 * configure: Regenerated.
17460 * configure.in (-z relro check): Use an empirical test on a built DSO.
17461 Detect, but do not require, on ia64.
17462 * configure: Regenerated.
17464 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17465 Update tests that use readelf to use $READELF instead.
17466 * configure: Regenerated.
17468 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17470 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17471 if the result is not used.
17473 2011-07-05 Andreas Jaeger <aj@suse.de>
17476 * stdlib/tst-strtod.c: Add testcase.
17478 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17480 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17481 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17482 The latter has a higher limit. Take additional parameter to pass to
17484 (__pathconf): Pass file to __statfs_link_max.
17485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17487 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17491 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17495 (__statfs_filesize_max): Likewise.
17496 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17498 2011-07-05 Andreas Jaeger <aj@suse.de>
17500 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17502 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17504 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17509 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17511 * Makefile (strop-tests): Add strncat.
17512 * string/test-strncat.c: New file.
17514 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17516 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17518 2011-06-21 Andreas Jaeger <aj@suse.de>
17520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17521 Copy rule from iconvdata/Makefile.
17523 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17526 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17527 but no long options are defined, just return 'W'.
17529 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17532 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17534 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17536 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17538 (innetgr): Likewise.
17540 2011-07-05 Roland McGrath <roland@hack.frob.com>
17542 * config.make.in (install_root): Default to $(DESTDIR).
17544 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17548 2011-07-02 Roland McGrath <roland@hack.frob.com>
17550 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17552 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17553 containing directory rather than embedding absolute directory names.
17555 * scripts/check-local-headers.sh: Rewritten using awk.
17556 Match by word, not by line. Print error messages for matches.
17557 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17559 * Makerules [shlib-lds-flags empty]:
17560 ($(common-objpfx)libc_pic.opts): New target.
17561 ($(common-objpfx)libc_pic.os.clean): New target.
17562 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17564 * config.make.in (OBJCOPY): New variable.
17565 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17566 * configure: Regenerated.
17568 * config.make.in (use-default-link): New variable.
17569 * configure.in (use_default_link): Grok --with-default-link to set it.
17570 * configure: Regenerated.
17571 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17572 (shlib-lds, shlib-lds-flags): Define to empty.
17574 * Makerules (shlib-lds): New variable.
17575 (shlib-lds-flags): New variable.
17576 (build-shlib, build-moduile, build-module-asneeded): Use it.
17577 ($(common-objpfx)libc.so): Use $(shlib-lds).
17578 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17581 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17582 DT_FLAGS/DT_FLAGS_1 with zero flags.
17584 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17585 linker script munging.
17587 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17589 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17591 * crypt/sha512.c (sha512_process_block): Perform total addition using
17592 128-bit if possible.
17593 (__sha512_finish_ctx): Likewise.
17594 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17596 * crypt/sha256.c (SWAP64): Define.
17597 (sha256_process_block): Perform total addition using 64-bit if
17599 (__sha256_finish_ctx): Likewise.
17601 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17603 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17605 * nscd/hstcache.c (cache_addhst): Likewise.
17606 * nscd/grpcache.c (cache_addgr): Likewise.
17607 * nscd/aicache.c (addhstaiX): Likewise
17608 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17610 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17612 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17614 * nscd/hstcache.c (cache_addhst): Likewise.
17615 * nscd/grpcache.c (cache_addgr): Likewise.
17616 * nscd/aicache.c (addhstaiX): Likewise
17618 2011-07-01 Andreas Schwab <schwab@redhat.com>
17620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17621 domain only when needed.
17623 2011-06-30 Andreas Schwab <schwab@redhat.com>
17625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17626 is always restored.
17628 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17630 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17631 are re-adding the entry.
17632 * nscd/servicescache.c (cache_addserv): Likewise.
17634 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17636 * sysdeps/generic/dl-irel.h: fix protection against multiple
17638 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17640 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17643 * malloc/memusage.sh: Fix quoting in message.
17644 * debug/xtrace.sh: Likewise.
17646 * configure.in: Remove support for --experimental-malloc option, make
17648 * config.make.in: Likewise.
17649 * malloc/Makefile: Likewise.
17651 2011-06-27 Andreas Schwab <schwab@redhat.com>
17653 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17654 two-byte characters.
17656 2011-06-27 Roland McGrath <roland@hack.frob.com>
17658 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17659 AC_CACHE_CHECK invocation.
17660 * configure: Regenerated.
17662 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17664 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17667 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17668 bit from old_res_options.
17670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17672 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17673 value type for setfct.
17675 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17678 __gettimeofday instead of gettimeofday.
17680 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17682 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17684 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17691 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17694 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17695 strcpy-sse2-unaligned strncpy-sse2-unaligned
17696 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17697 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17698 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17699 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17700 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17703 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17704 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17705 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17706 (STRCPY): Support SSE2 and SSSE3 versions.
17708 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17712 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17713 kernels which artificially limit size of requests.
17715 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17718 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17719 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17720 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17721 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17722 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17723 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17724 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17727 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17728 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17729 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17730 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17731 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17733 Enable unaligned load optimization for Intel Core i3, i5 and i7
17735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17737 (index_Fast_Unaligned_Load): Define.
17738 (HAS_FAST_UNALIGNED_LOAD): Define.
17740 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17742 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17744 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17748 until it is clear that the information is realy needed.
17749 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17751 2011-06-22 Andreas Schwab <schwab@redhat.com>
17753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17755 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17758 /sys/devices/system/cpu/online if it is usable.
17760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17761 reading the information from the /proc filesystem to once a second.
17763 2011-06-21 Andreas Jaeger <aj@suse.de>
17765 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17766 NULL after inclusion of kernel headers.
17768 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17770 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17771 calls to internal_setent.
17774 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17775 addresses using gethostbyname4_r ignore IPv4 addresses.
17777 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17778 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17780 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17782 2011-06-20 David S. Miller <davem@davemloft.net>
17784 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17786 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17788 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17789 (elf_irel): Use it.
17790 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17791 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17792 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17793 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17794 * sysdeps/x86_64/dl-irel.h: Likewise.
17796 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17797 * elf/dl-sym.c: Likewise.
17799 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17801 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17802 need to dereference resplen2.
17804 2011-06-14 Andreas Schwab <schwab@redhat.com>
17806 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17808 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17810 * Makeconfig: Define vardbdir and inst_vardbdir.
17811 * nss/Makefile: Add rules to install db-Makefile.
17813 * nss/nss_db/db-XXX.c: Cleanup.
17815 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17816 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17818 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17819 * nss/makedb.c: Implement -g option to specify that value strings
17820 are generated and should not be added to table iterated over for
17822 * nss/nss_db/db-initgroups.c: New file.
17824 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17827 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17828 (internal_getgrouplist): Adjust to name change.
17829 Update use_initgroups_entry if this is not the first call.
17830 * nss/databases.def: Add initgroups entry.
17832 * nss/makedb.c (compute_tables): Check result of multiple hash table
17833 sizes to minimize maximum chain length.
17835 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17837 * Versions.def: Add entry for libnss_db.
17838 * shlib-versions: Likewise.
17839 * nss/Makefile: Add rules to build libnss_db.
17840 * nss/Versions: Add libnss_db information. Organize libnss_files
17842 * nss/db-Makefile: Add gshadow support. Change rules for the new
17843 makedb progra. Some minor improvements to generate smaller files.
17844 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17846 * nss/makedb.c: ...here.
17847 Improve database format to be smaller and require less memory at
17849 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17851 * nss/nss_db/db-netgrp.c: Likewise.
17852 * nss/nss_db/db-open.c: Likewise.
17853 * nss/nss_files/flies-XXX.x: Adjust comments.
17854 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17855 * nss/nss_files/files-grp.c: Likewise.
17856 * nss/nss_files/files-hosts.c: Likewise.
17857 * nss/nss_files/files-network.c: Likewise.
17858 * nss/nss_files/files-proto.c: Likewise.
17859 * nss/nss_files/files-pwd.c: Likewise.
17860 * nss/nss_files/files-rpc.c: Likewise.
17861 * nss/nss_files/files-service.c: Likewise.
17862 * nss/nss_files/files-sgrp.c: Likewise.
17863 * nss/nss_files/files-spwd.c: Likewise.
17864 * nss/nss_db/db-alias.c: Removed.
17865 * nss/nss_db/dummy-db.h: Removed.
17867 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17869 * nss/makedb.c: Rewritten to not use database library.
17870 * nss/Makefile: Update to build new makedb program.
17872 2011-06-14 Andreas Jaeger <aj@suse.de>
17874 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17875 memset declaration.
17877 2011-06-10 Andreas Schwab <schwab@redhat.com>
17879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17882 2011-06-10 Roland McGrath <roland@hack.frob.com>
17884 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17885 * elf/Makefile ($(objpfx)ld.so): Likewise.
17887 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17888 Don't list ld.so twice in dependencies.
17890 * posix/bug-regex31.c: Include <stdlib.h>.
17892 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17894 * nis/nss_compat/compat-spwd.c
17895 (getspent_next_nss_netgr): Remove unused variable.
17896 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17898 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17899 nonmembers" output to use the right array.
17901 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17903 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17905 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17906 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17907 * catgets/gencat.c (read_input_file): Likewise.
17908 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17911 variable definition inside #if's controlling its use.
17913 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17915 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17917 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17919 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17922 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17924 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17925 * configure: Regenerated.
17927 * Makerules: Revert last change.
17928 * elf/Makefile: Likewise.
17930 2011-06-09 Roland McGrath <roland@hack.frob.com>
17932 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17933 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17934 (reloc-link): Likewise.
17936 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17938 * elf/Makefile: Add rules to build pldd.
17939 * elf/pldd.c: New file.
17940 * elf/pldd-xx.c: New file.
17942 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17944 * version.h: Update for 2.15 development version.
17946 2011-06-07 David S. Miller <davem@davemloft.net>
17948 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17951 elf_machine_lazy_rel): Likewise.
17952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17954 elf_machine_lazy_rel): Likewise.
17955 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17956 dl_hwcap via passed in argument.
17957 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17960 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17962 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17964 2011-06-06 Roland McGrath <roland@hack.frob.com>
17967 * manual/fdl-1.1.texi: New file, verbatim from:
17968 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17969 * manual/lgpl-2.1.texi: New file, verbatim from:
17970 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17971 * manual/Makefile (licenses): New variable, list those new file names.
17973 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17975 * manual/fdl.texi: File removed.
17976 * manual/lesser.texi: File removed.
17977 * manual/libc.texinfo (Copying, Documentation License):
17978 Use new @include file names, put @appendix directive before @include.
17980 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17983 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17984 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17985 (mq_open): Add __NTH.
17987 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17990 Assume Intel Core i3/i5/i7 processor if AVX is available.
17992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17997 2011-05-31 Andreas Schwab <schwab@redhat.com>
17999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18000 memory. Use alloca_account. Fix memory leak when retrying.
18002 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18004 * version.h (RELEASE): Bump for 2.14 release.
18005 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18007 * config.make.in (RANLIB): Remove entry.
18009 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18011 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18012 (libc.pot): Work around missing support for .ksh extension in xgettext.
18015 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18016 if both request failed.
18017 (send_dg): In case of server errors clear resplen or *resplen2.
18020 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18021 when there are multiple maps.
18022 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18023 (_dl_fini): Remove test here.
18025 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18027 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18030 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18031 bit from old_res_options.
18032 (gaih_inet): Likewise.
18035 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18038 * resolv/res_init.c (res_setoptions): Make the code more compact.
18041 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18045 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18047 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18050 * malloc/malloc.h: Declare malloc hook variables as volatile.
18052 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18056 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18057 raise in the comment.
18058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18062 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18065 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18066 grow the buffers more if it already has to be sufficient.
18067 (build_wcs_upper_buffer): Likewise.
18068 * posix/regexec.c (check_matching): Likewise.
18069 (clean_state_log_if_needed): Likewise.
18070 (extend_buffers): Don't enlarge buffers beyond size of the input
18072 Patches mostly by Emil Wojak <emil@wojak.eu>.
18073 * posix/bug-regex32.c: New file.
18074 * posix/Makefile (tests): Add bug-regex32.
18076 * locale/findlocale.c (_nl_find_locale): Return right away if
18077 _nl_explode_name failed.
18078 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18082 * debug/xtrace.sh: Unify messages.
18083 * malloc/memusage.sh: Likewise.
18086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18087 time symbol from vDSO. Substitute with vsyscall if not available.
18088 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18092 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18093 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18094 Add sendmmsg and internal_sendmmsg.
18095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18099 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18100 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18103 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18107 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18113 * iconvdata/Makefile (tests): Add bug-iconv9.
18114 * iconvdata/bug-iconv9.c: New file.
18116 2011-05-27 Andreas Schwab <schwab@redhat.com>
18119 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18121 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18124 (struct user_regs_struct): Change intcs field back to cs.
18126 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18128 * po/ja.po: Update from translation team.
18130 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18136 2011-05-20 Andreas Schwab <schwab@redhat.com>
18138 * stdlib/longlong.h: Update from GCC.
18140 2011-05-23 Andreas Schwab <schwab@redhat.com>
18142 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18144 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18145 Add parameter name.
18146 (__sysconf): Pass it down.
18148 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18151 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18154 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18155 add in in __libc_use_alloca calls. Adjust callers.
18156 (glob): Use malloc in some situations.
18158 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18159 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18162 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18164 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18165 and CLOCK_BOOTTIME_ALARM.
18168 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18171 * string/_strerror.c (__strerror_r): Print negative errors as signed
18175 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18176 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18177 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18179 * configure.in: Fix typo in redirection and correct removal of test
18180 files in two cases.
18183 * locale/setlocale.c (new_composite_name): Fix test to check for
18184 identical name of all categories.
18187 * libio/filedoalloc.c (local_isatty): New function.
18188 (_IO_file_doallocate): Use local_isatty.
18189 * stdio-common/perror.c (perror): In case a new stream is used
18190 forward the stream error.
18191 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18194 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18199 * include/alloca.h (extend_alloca_account): Define.
18202 * posix/regex.h: Fix comments with documentation of user-accessible
18203 fields after compilation and describe correct free'ing of pattern
18204 after re_compile_pattern.
18205 Patch by Reuben Thomas <rrt@sc3d.org>.
18207 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18209 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18210 and -mno-altivec to prevent the compiler from using Altivec and/or
18211 VSX instructions when the corresponding registers are not available.
18213 2011-05-19 Andreas Schwab <schwab@redhat.com>
18215 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18217 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18219 * libio/freopen.c (freopen): Use __dup2, not dup2.
18220 * libio/freopen64.c (freopen64): Likewise.
18222 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18225 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18226 * math/Makefile (tests): Add test-powl.
18227 (CFLAGS-test-powl.c): Define.
18228 * math/test-powl.c: New file.
18230 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18232 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18234 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18237 * iconvdata/gb18030.c: Update to GB18020-2005.
18239 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18241 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18242 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18243 Patch by Aharon Robbins <arnold@skeeve.com>.
18246 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18250 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18251 through underflows.
18254 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18255 point to strings before performing equality test for error_one_per_line
18259 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18263 (struct user_fpregs_struct): Avoid __uint*_t types.
18266 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18267 symbol info. Use it instead of calling _dl_addr locally.
18268 (lock_and_info): New function.
18269 (tr_freehook): Call lock_and_info and pass symbol info as additional
18270 parameter to tr_where.
18271 (tr_mallochook): Likewise.
18272 (tr_reallochook): Likewise.
18273 (tr_memalignhook): Likewise.
18275 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18276 used and couldn't be at all thread-safe.
18278 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18280 * libio/freopen.c (freopen): Don't close old file descriptor
18281 before the new one is opened. Instead dup the new file descriptor
18282 to the old one after the new stream is created.
18283 * libio/freopen64.c (freopen64): Likewise.
18284 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18285 * libio/fileops.c (_IO_new_file_close_it): Handle new
18286 _IO_FLAGS2_NOCLOSE flag.
18287 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18288 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18289 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18290 _IO_FLAGS2_NOCLOSE flag.
18291 * include/unistd.h: Add hidden_proto for dup3.
18292 Define __have_dup3.
18293 * io/dup3.c: Define hidden symbol.
18294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18297 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18298 when an incomplete long option is used.
18299 * posix/tst-getopt_long1.c: New file.
18300 * posix/Makefile (tests): Add tst-getopt_long1.
18303 * scripts/config.guess: Update from autoconf-2.68.
18304 * scripts/config.sub: Likewise.
18307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18309 (has_cpuclock): ...this. New function.
18310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18311 macro here based on has_cpuclock code.
18314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18315 First byte (not low byte) is now always NUL.
18316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18319 Use non-cancelable interfaces.
18322 * locale/iso-639.def: Add entry for Sorani.
18325 * include/stdlib.h: Move include protection to the right place.
18326 Define abort_msg_s. Declare __abort_msg with it.
18327 * stdlib/abort.c (__abort_msg): Adjust type.
18328 * assert/assert.c (__assert_fail_base): New function. Majority
18329 of code from __assert_fail. Allocate memory for __abort_msg with
18331 (__assert_fail): Now call __assert_fail_base.
18332 * assert/assert-perr.c: Remove bulk of implementation. Use
18333 __assert_fail_base.
18334 * include/assert.hL Declare __assert_fail_base.
18335 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18337 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18339 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18343 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18344 until all modules are registered in the DTV.
18345 * elf/Makefile: Add rules to build and run tst-tls19.
18346 * elf/tst-tls19.c: New file.
18347 * elf/tst-tls19mod1.c: New file.
18348 * elf/tst-tls19mod2.c: New file.
18349 * elf/tst-tls19mod3.c: New file.
18350 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18353 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18357 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18358 two-byte sequence errors.
18359 * iconvdata/Makefile (tests): Add bug-iconv8.
18360 * iconvdata/bug-iconv8.c: New file.
18363 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18366 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18369 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18370 (dummy_getcfa): New function.
18371 (init): Get _Unwind_GetCFA address, use dummy if not found.
18372 (backtrace_helper): In recursion check, also check whether CFA changes.
18373 (__backtrace): Completely initialize arg.
18375 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18376 storing incomplete byte sequence in state object. Avoid testing for
18377 guaranteed too small input if we know there is enough data available.
18379 2011-05-11 Andreas Schwab <schwab@redhat.com>
18381 * Makeconfig (+link-pie): Indent.
18382 * Rules (binaries-pie): Define if $(have-fpie) and
18384 (binaries-shared): Also filter out $(binaries-pie).
18385 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18386 * nscd/Makefile (others-pie): Add nscd.
18387 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18388 ($(objpfx)nscd): Remove command override.
18389 * login/Makefile (others-pie): Add pt_chown.
18390 ($(objpfx)pt_chown): Remove command override.
18391 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18392 remove command overrides.
18394 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18396 * libio/tst_putwc.c: Fix error messages.
18399 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18400 currently writing and seek to current position when not.
18401 * libio/Makefile (tests): Add bug-fclose1.
18402 * libio/bug-fclose1.c: New file.
18404 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18407 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18408 don't set DF_1_NODELETE here.
18409 (do_lookup_x): When entering new entry test for copy relocation
18410 and if necessary set DF_1_NODELETE flag.
18411 * elf/tst-unique4.cc: New file.
18412 * elf/tst-unique4.h: New file.
18413 * elf/tst-unique4lib.cc: New file.
18414 * elf/Makefile: Add rules to build and run tst-unique4.
18415 Patch by Piotr Bury <pbury@goahead.com>.
18417 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18420 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18423 * misc/mntent_r.c (addmntent): Flush the stream after the output
18426 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18427 (is_trusted_path_normalize): Skip initial colon. Append slash
18428 to empty buffer. Duplicate is_trusted_path code but allow
18429 constructed patch to be prefix.
18430 (is_dst): Allow $ORIGIN followed by /.
18431 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18432 Correct testing of result of is_trusted_path_normalize
18433 (decompose_rpath): Fix warning.
18435 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18438 * grp/initgroups.c (internal_getgrouplist): When we found the service
18439 list through the initgroups entry in nsswitch.conf do not always
18440 continue on a successful lookup. Don't always use the
18441 __nss_group_database value if it is set.
18442 * nss/nsswitch.conf (initgroups): Change action for successful db
18443 lookup to continue for compatibility.
18445 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18448 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18450 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18452 * iconvdata/tst-tables.sh: Likewise.
18453 * iconvdata/cp770.c: New file.
18454 * iconvdata/cp771.c: New file.
18455 * iconvdata/cp772.c: New file.
18456 * iconvdata/cp773.c: New file.
18457 * iconvdata/cp774.c: New file.
18458 * iconvdata/testdata/CP770: New file.
18459 * iconvdata/testdata/CP770..UTF8: New file.
18460 * iconvdata/testdata/CP771: New file.
18461 * iconvdata/testdata/CP771..UTF8: New file.
18462 * iconvdata/testdata/CP772: New file.
18463 * iconvdata/testdata/CP772..UTF8: New file.
18464 * iconvdata/testdata/CP773: New file.
18465 * iconvdata/testdata/CP773..UTF8: New file.
18466 * iconvdata/testdata/CP774: New file.
18467 * iconvdata/testdata/CP774..UTF8: New file.
18469 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18471 * iconvdata/gen-8bit-gap.sh: Likewise.
18472 * iconvdata/gen-8bit.sh: Likewise.
18474 * locale/iso-639.def: Add ary entry.
18477 * locale/C-translit.h.in: Add U20A1 transliteration.
18480 * locale/iso-639.def: Add wae entry.
18481 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18484 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18488 * locale/C-translit.h.in: Add entry for U20B9.
18489 Patch by pravin.d.s@gmail.com.
18491 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18494 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18495 ENAMETOOLONG use generic getcwd.
18496 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18497 in rtld. Use *stat64.
18498 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18499 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18500 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18501 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18502 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18503 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18504 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18505 __fstatat64 macros.
18506 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18507 * dirent/rewinddir.c: Add libc_hidden_def.
18508 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18509 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18511 * include/dirent.h (__alloc_dir): Add flags parameter.
18512 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18513 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18515 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18516 from fdopendir if O_CLOEXEC is already set.
18518 2011-03-15 Alan Modra <amodra@gmail.com>
18520 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18521 l_tls_firstbyte_offset non-zero. Save padding offset in
18522 l_tls_firstbyte_offset for later use.
18523 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18524 freeing static tls block.
18526 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18528 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18529 where #ifdef was intended. The intent is to prevent ARG_MAX from
18530 being defined by the kernel headers.
18532 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18535 * resolv/resolv.h: Define RES_NOTLDQUERY.
18536 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18537 no-tld-query and set RES_NOTLDQUERY.
18538 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18539 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18540 modern BIND to search name as TLD unless forbidden.
18542 2011-05-07 Petr Baudis <pasky@suse.cz>
18543 Ulrich Drepper <drepper@gmail.com>
18546 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18547 (is_trusted_path): ...to here.
18548 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18549 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18550 using is_trusted_path_normalize() in setuid scripts.
18552 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18555 __BEGIN/__END_DECLS.
18557 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18560 NSS_STATUS_NOTFOUND if no record was found.
18562 2011-05-05 Andreas Schwab <schwab@redhat.com>
18564 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18565 (headers-not-in-tirpc): Remove rpc/netdb.h
18566 * resolv/netdb.h: Revert last change.
18568 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18570 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18571 circular dependency between libgcc.a and libc.a.
18573 2011-05-05 Andreas Schwab <schwab@redhat.com>
18575 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18576 * nis/Makefile: Don't install rpcsvc/*.
18577 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18578 instead of <rpc/types.h>.
18579 (MAXHOSTNAMELEN): Define.
18581 2011-05-03 Andreas Schwab <schwab@redhat.com>
18583 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18585 2011-04-28 Maciej Babinski <mbabinski@google.com>
18588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18589 gethostbyname4_r when IPv6 results are possible.
18591 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18595 _PC_PIPE_BUF handling.
18597 2011-04-30 Bruno Haible <bruno@clisp.org>
18600 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18601 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18603 * inet/getnameinfo.c (getnameinfo): Likewise.
18605 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18607 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18608 to groups setting in database lookup.
18609 * nss/nsswitch.conf: Add initgroups entry.
18611 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18614 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18616 Patch by Eric Blake <eblake@redhat.com>.
18618 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18620 * sunrpc/Makefile (need-export-routines): Add svc_run.
18621 (routines): Remove svc_run.
18622 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18623 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18624 * sunrpc/svc_run.c (svc_run): Likewise.
18625 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18627 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18630 problem in reallocation in last patch.
18632 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18634 * sunrpc/Makefile: Move inclusion of Rules.
18636 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18638 * nss/nss_files/files-initgroups.c: New file.
18639 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18640 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18641 _nss_files_initgroups_dyn.
18643 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18645 * elf/elf.h (R_ARM_IRELATIVE): Define.
18647 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18649 * po/ru.po: Update from translation team.
18651 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18653 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18656 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18659 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18660 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18665 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18667 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18673 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18678 * stdlib/bug-getcontext.c: New file.
18679 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18681 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18683 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18684 instructions into .machine "z9-109".
18685 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18686 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18688 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18690 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18691 between environment variables and auxiliary vector.
18693 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18695 * Makefile: Add rules to build linkobj/libc.so.
18696 * include/libc-symbols.h: Define libc_hidden_nolink.
18697 * include/rpc/auth.h: Mark functions which are to be hidden.
18698 * include/rpc/auth_des.h: Likewise.
18699 * include/rpc/auth_unix.h: Likewise.
18700 * include/rpc/clnt.h: Likewise.
18701 * include/rpc/des_crypt.h: Likewise.
18702 * include/rpc/key_prot.h: Likewise.
18703 * include/rpc/pmap_clnt.h: Likewise.
18704 * include/rpc/pmap_prot.h: Likewise.
18705 * include/rpc/pmap_rmt.h: Likewise.
18706 * include/rpc/rpc_msg.h: Likewise.
18707 * include/rpc/svc.h: Likewise.
18708 * include/rpc/svc_auth.h: Likewise.
18709 * include/rpc/xdr.h: Likewise.
18710 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18711 * nss/Makefile: Likewise.
18712 * sunrpc/Makefile: Don't install headers. Build library with normal
18713 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18714 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18715 for the compat linking library. Remove use of INTDEF/INTUSE.
18716 * sunrpc/auth_none.c: Likewise.
18717 * sunrpc/auth_unix.c: Likewise.
18718 * sunrpc/authdes_prot.c: Likewise.
18719 * sunrpc/authuxprot.c: Likewise.
18720 * sunrpc/clnt_gen.c: Likewise.
18721 * sunrpc/clnt_perr.c: Likewise.
18722 * sunrpc/clnt_raw.c: Likewise.
18723 * sunrpc/clnt_simp.c: Likewise.
18724 * sunrpc/clnt_tcp.c: Likewise.
18725 * sunrpc/clnt_udp.c: Likewise.
18726 * sunrpc/clnt_unix.c: Likewise.
18727 * sunrpc/des_crypt.c: Likewise.
18728 * sunrpc/des_soft.c: Likewise.
18729 * sunrpc/get_myaddr.c: Likewise.
18730 * sunrpc/key_call.c: Likewise.
18731 * sunrpc/key_prot.c: Likewise.
18732 * sunrpc/netname.c: Likewise.
18733 * sunrpc/pm_getmaps.c: Likewise.
18734 * sunrpc/pm_getport.c: Likewise.
18735 * sunrpc/pmap_clnt.c: Likewise.
18736 * sunrpc/pmap_prot.c: Likewise.
18737 * sunrpc/pmap_prot2.c: Likewise.
18738 * sunrpc/pmap_rmt.c: Likewise.
18739 * sunrpc/publickey.c: Likewise.
18740 * sunrpc/rpc_cmsg.c: Likewise.
18741 * sunrpc/rpc_common.c: Likewise.
18742 * sunrpc/rpc_dtable.c: Likewise.
18743 * sunrpc/rpc_prot.c: Likewise.
18744 * sunrpc/rpc_thread.c: Likewise.
18745 * sunrpc/rtime.c: Likewise.
18746 * sunrpc/svc.c: Likewise.
18747 * sunrpc/svc_auth.c: Likewise.
18748 * sunrpc/svc_authux.c: Likewise.
18749 * sunrpc/svc_raw.c: Likewise.
18750 * sunrpc/svc_run.c: Likewise.
18751 * sunrpc/svc_simple.c: Likewise.
18752 * sunrpc/svc_tcp.c: Likewise.
18753 * sunrpc/svc_udp.c: Likewise.
18754 * sunrpc/svc_unix.c: Likewise.
18755 * sunrpc/svcauth_des.c: Likewise.
18756 * sunrpc/xcrypt.c: Likewise.
18757 * sunrpc/xdr.c: Likewise.
18758 * sunrpc/xdr_array.c: Likewise.
18759 * sunrpc/xdr_float.c: Likewise.
18760 * sunrpc/xdr_intXX_t.c: Likewise.
18761 * sunrpc/xdr_mem.c: Likewise.
18762 * sunrpc/xdr_rec.c: Likewise.
18763 * sunrpc/xdr_ref.c: Likewise.
18764 * sunrpc/xdr_sizeof.c: Likewise.
18765 * sunrpc/xdr_stdio.c: Likewise.
18767 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18770 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18771 * sysdeps/ia64/dl-tls.h: Likewise.
18772 * sysdeps/powerpc/dl-tls.h: Likewise.
18773 * sysdeps/s390/dl-tls.h: Likewise.
18774 * sysdeps/sh/dl-tls.h: Likewise.
18775 * sysdeps/sparc/dl-tls.h: Likewise.
18776 * sysdeps/x86_64/dl-tls.h: Likewise.
18777 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18779 2011-03-14 Andreas Schwab <schwab@redhat.com>
18781 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18782 rpath element also skip the following colon.
18783 (expand_dynamic_string_token): Add is_path parameter and pass
18784 down to DL_DST_REQUIRED and _dl_dst_substitute.
18785 (decompose_rpath): Call expand_dynamic_string_token with
18786 non-zero is_path. Ignore empty rpaths.
18787 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18790 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18795 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18798 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18799 Patch by Filipe David Manana <fdmanana@apache.org>.
18801 2011-04-07 Andreas Schwab <schwab@redhat.com>
18803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18804 Maintain aligned stack.
18805 (CHECK_RSP): Remove unused macro.
18807 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18809 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18812 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18814 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18816 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18818 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18821 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18822 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18823 * sysdeps/x86_64/memmove.c: New file.
18824 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18825 (memcpy): Renamed to ...
18826 (__new_memcpy): This.
18827 (memcpy): Provide GLIBC_2_14 memcpy.
18828 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18829 (memcpy): Provide GLIBC_2_2_5 memcpy.
18831 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18834 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18836 2011-03-30 Andreas Schwab <schwab@redhat.com>
18838 * misc/syncfs.c: New file.
18839 * misc/Makefile (routines): Add syncfs.
18840 * posix/unistd.h: Declare syncfs.
18841 * sysdeps/unix/syscalls.list: Add syncfs.
18843 2011-04-01 Andreas Schwab <schwab@redhat.com>
18845 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18855 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18857 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18865 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18866 sync_file_range.c with -fexceptions.
18867 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18868 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18869 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18870 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18871 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18874 sync_file_range as cancellation point
18875 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18876 now a wrapper around __call_sync_file_range with cancellation handling.
18877 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18878 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18879 function name to __call_sync_file_range.
18880 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18881 Add call_sync_file_range.
18883 2011-04-01 Andreas Schwab <schwab@redhat.com>
18885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18890 * iconv/iconv.h: Fix typo in comment.
18891 * io/fcntl.h: Likewise.
18892 * libio/stdio.h: Likewise.
18893 * posix/spawn.h: Likewise.
18894 * posix/unistd.h: Likewise.
18895 * stdlib/stdlib.h: Likewise.
18896 * time/time.h: Likewise.
18897 * wcsmbs/wchar.h: Likewise.
18899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18900 open_by_handle): Add.
18901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18902 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18903 Augment a few comments.
18904 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18909 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18912 * io/fcntl.h (AT_EMPTY_PATH): Define.
18914 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18916 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18917 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18918 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18920 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18921 * Versions.def: Add GLIBC_2.14.
18922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18925 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18931 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18934 * string/test-strncmp.c (do_page_test): New function.
18935 (check2): Likewise.
18936 (test_main): Call check2.
18937 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18939 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18943 Handle cache information in CPU leaf 4.
18944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18946 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18949 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18950 character representation.
18951 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18953 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18956 END(__isnan) to END(__isnanf) to match function entry point/label
18957 EALIGN(__isnanf,...).
18959 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18961 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18963 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18966 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18967 copy from the symbol referenced in the relocation to initialize the
18969 Patch by Piotr Bury <pbury@goahead.com>.
18970 * elf/Makefile: Add rules to build and tst-unique3.
18971 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18972 * elf/tst-unique3.cc: New file.
18973 * elf/tst-unique3.h: New file.
18974 * elf/tst-unique3lib.cc: New file.
18975 * elf/tst-unique3lib2.cc: New file.
18977 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18979 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18981 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18982 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18985 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18987 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18988 to-be-loaded object along a path to loader is ld.so.
18990 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18991 Ulrich Drepper <drepper@gmail.com>
18993 * sysdeps/x86_64/memset.S: After aligning destination, code
18994 branches to different locations depending on the value of
18995 misalignment, when multiarch is enabled. Fix this.
18997 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18999 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19000 Set _x86_64_preferred_memory_instruction for AMD processsors.
19001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19002 Set bit_Prefer_SSE_for_memop for AMD processors.
19004 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19006 * libio/fmemopen.c (fmemopen): Optimize a bit.
19008 2011-03-03 Andreas Schwab <schwab@redhat.com>
19010 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19012 2011-03-03 Roland McGrath <roland@redhat.com>
19014 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19016 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19018 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19019 __bzero_ultra1 instead of __memset_ultra1.
19021 2011-02-23 Andreas Schwab <schwab@redhat.com>
19022 Ulrich Drepper <drepper@gmail.com>
19025 * include/link.h (struct link_map): Add l_orig_initfini.
19026 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19027 returning unsuccessfully.
19028 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19029 close of a file loaded at startup, restore the original l_initfini
19031 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19032 list, store the pointer.
19033 * elf/Makefile ($(objpfx)noload-mem): New rule.
19034 (noload-ENV): Define.
19035 (tests): Add $(objpfx)noload-mem.
19036 * elf/noload.c: Include <memcheck.h>.
19037 (main): Call mtrace. Close all opened handles.
19039 2011-02-17 Andreas Schwab <schwab@redhat.com>
19042 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19043 dependencies are missing.
19045 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047 Fix __if_freereq crash: Unlike the generic version which uses free,
19049 * sysdeps/mach/hurd/ifreq.h: New file.
19051 2011-01-27 Petr Baudis <pasky@suse.cz>
19052 Ulrich Drepper <drepper@gmail.com>
19055 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19056 to extend_alloca().
19057 * stdio-common/bug23.c: New file.
19058 * stdio-common/Makefile (tests): Add bug23.
19060 2010-09-28 Andreas Schwab <schwab@redhat.com>
19061 Ulrich Drepper <drepper@gmail.com>
19064 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19065 before performing relro protection. At old place add assertion
19066 to make sure nothing changed.
19068 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19069 Glauber de Oliveira Costa <glommer@gmail.com>
19071 * elf/elf.h: Add new ARM TLS relocs.
19073 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19076 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19078 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19080 * sysdeps/wordsize-64/tst-writev.c: New file.
19082 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19084 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19085 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19086 insns in _dl_start to prevent a TOC reference before relocs are
19089 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19092 * Makeconfig: Remove RANLIB definition.
19093 * Makerules: Don't use RANLIB.
19094 * aclocal.m4: Remove ranlib test.
19095 * configure.in: No need to check for ranlib.
19096 * elf/rtld-Rules: Don't use RANLIB.
19098 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19100 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19102 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19103 inclusion protection macro.
19105 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19106 SIGRTMIN and SIGRTMAX and print information in that case only when
19107 SIGRTMIN is defined.
19109 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19111 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19112 arginfo fn returning -1.
19114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19115 and thousands string is zero terminated.
19117 2011-02-03 Andreas Schwab <schwab@redhat.com>
19119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19120 sysdeps/unix/sysv/linux/bits/socket.h.
19122 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19124 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19125 (__CPU_COUNT): Remove old macros.
19126 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19127 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19128 (__CPU_ALLOC, __CPU_FREE): Add macros.
19129 (__sched_cpualloc, __sched_cpufree): Add declarations.
19131 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19133 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19134 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19135 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19136 (readdhstai): Return value of addhstaiX call.
19137 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19138 (addgrbyX): Return value returned by cache_addgr.
19139 (readdgrbyname): Return value returned by addgrbyX.
19140 (readdgrbygid): Likewise.
19141 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19142 (addpwbyX): Return value returned by cache_addpw.
19143 (readdpwbyname): Return value returned by addhstbyX.
19144 (readdpwbyuid): Likewise.
19145 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19146 (addservbyX): Return value returned by cache_addserv.
19147 (readdservbyname): Return value returned by addservbyX:
19148 (readdservbyport): Likewise.
19149 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19150 (addhstbyX): Return value returned by cache_addhst.
19151 (readdhstbyname): Return value returned by addhstbyX.
19152 (readdhstbyaddr): Likewise.
19153 (readdhstbynamev6): Likewise.
19154 (readdhstbyaddrv6): Likewise.
19155 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19156 (readdinitgroups): Return value returned by addinitgroupsX.
19157 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19158 (prune_cache): Keep track of timeout value of re-added entries.
19159 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19160 * nscd/nscd.h: Adjust prototypes of readd* functions.
19162 2011-02-04 Roland McGrath <roland@redhat.com>
19164 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19165 (nis_stats): Likewise.
19166 * nis/nis_modify.c (nis_modify): Likewise.
19167 * nis/nis_remove.c (nis_remove): Likewise.
19168 * nis/nis_add.c (nis_add): Likewise.
19170 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19172 * posix/fnmatch_loop.c: Add some consts.
19174 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19176 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19179 * config.make.in (config-cflags-novzeroupper): Define.
19180 * configure.in: Substitute libc_cv_cc_novzeroupper.
19181 * elf/Makefile (AVX-CFLAGS): Define.
19182 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19183 (CFLAGS-tst-auditmod4a.c): Likewise.
19184 (CFLAGS-tst-auditmod4b.c): Likewise.
19185 (CFLAGS-tst-auditmod6b.c): Likewise.
19186 (CFLAGS-tst-auditmod6c.c): Likewise.
19187 (CFLAGS-tst-auditmod7b.c): Likewise.
19188 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19190 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19192 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19193 function to the callback.
19194 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19196 2011-02-02 Andreas Schwab <schwab@redhat.com>
19198 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19201 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19204 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19206 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19208 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19211 * elf/Makefile: Add rules to build and run new test.
19212 * elf/tst-initorder.c: New file.
19213 * elf/tst-initorder.exp: New file.
19214 * elf/tst-initordera1.c: New file.
19215 * elf/tst-initordera2.c: New file.
19216 * elf/tst-initordera3.c: New file.
19217 * elf/tst-initordera4.c: New file.
19218 * elf/tst-initorderb1.c: New file.
19219 * elf/tst-initorderb2.c: New file.
19220 * elf/tst-order-a1.c: New file.
19221 * elf/tst-order-a2.c: New file.
19222 * elf/tst-order-a3.c: New file.
19223 * elf/tst-order-a4.c: New file.
19224 * elf/tst-order-b1.c: New file.
19225 * elf/tst-order-b2.c: New file.
19226 * elf/tst-order-main.c: New file.
19227 New test case by George Gensure <werkt0@gmail.com>.
19229 2010-10-01 Andreas Schwab <schwab@redhat.com>
19231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19232 decoding ACE if AI_CANONIDN.
19234 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19236 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19238 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19240 * version.h (RELEASE): Bump for 2.13 release.
19241 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19243 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19247 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19254 * posix/getconf.c: Update copyright year.
19255 * catgets/gencat.c: Likewise.
19256 * csu/version.c: Likewise.
19257 * debug/catchsegv.sh: Likewise.
19258 * debug/xtrace.sh: Likewise.
19259 * elf/ldconfig.c: Likewise.
19260 * elf/ldd.bash.in: Likewise.
19261 * elf/sprof.c (print_version): Likewise.
19262 * iconv/iconv_prog.c: Likewise.
19263 * iconv/iconvconfig.c: Likewise.
19264 * locale/programs/locale.c: Likewise.
19265 * locale/programs/localedef.c: Likewise.
19266 * malloc/memusage.sh: Likewise.
19267 * malloc/mtrace.pl: Likewise.
19268 * nscd/nscd.c (print_version): Likewise.
19269 * nss/getent.c: Likewise.
19271 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19272 PF_CAIF, and PF_ALG.
19273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19275 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19277 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19278 (modules-names): Use them.
19279 (ifunc-test-modules, ifunc-pie-tests): Define.
19280 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19281 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19282 (test-extras): Likewise.
19283 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19284 $(compile-command.c).
19285 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19286 (all-built-dso): Define.
19287 (check-textrel.out, check-execstack.out): Depend on it.
19289 * configure.in: Don't override --enable-multi-arch.
19291 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19294 * nscd/hstcache.c (tryagain): Define.
19295 (cache_addhst): Return tryagain not notfound for temporary errors.
19296 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19299 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19303 to make the syscall.
19304 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19307 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19308 and fall back to matching as normal character if the string ends before
19309 the matching ']' is found. This is what POSIX requires.
19310 * posix/testfnm.c: Adjust test result.
19311 * posix/globtest.sh: Adjust test result. Add new test.
19312 * posix/tst-fnmatch.input: Likewise.
19313 * posix/tst-fnmatch2.c: Add new test.
19315 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19317 * elf/Makefile (check-execstack): Revert last change. Depend on
19319 (check-execstack.h): New target.
19320 (generated): Add check-execstack.h.
19321 * elf/check-execstack.c: Include "check-execstack.h".
19322 (main): Revert last change.
19323 (handle_file): Return zero if GNU_STACK is absent and
19324 DEFAULT_STACK_PERMS doesn't include PF_X.
19326 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19328 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19329 in child fails because the descriptor is already closed.
19330 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19331 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19339 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19340 temporary buffer used to handle multi lookups locally.
19341 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19345 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19348 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19350 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19351 alignment for SSE2.
19353 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19356 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19357 characters. When rounding increased number of integer digits recompute
19359 * stdio-common/tst-grouping.c: New file.
19360 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19362 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19364 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19365 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19367 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19369 * bits/select.h: Likewise.
19371 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19373 * po/ja.po: Update from translation team.
19375 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19378 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19379 implementation just like for lxstat, fxstatat, et al.
19381 2010-12-27 Jim Meyering <meyering@redhat.com>
19384 * posix/regexec.c (build_trtable): Return failure indication upon
19385 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19387 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19390 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19391 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19392 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19396 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19399 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19400 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19402 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19404 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19405 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19406 script has SORT_BY_INIT_PRIORITY.
19407 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19408 NO_CTORS_DTORS_SECTIONS is defined.
19409 * elf/soinit.c: Likewise.
19410 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19411 NO_CTORS_DTORS_SECTIONS is defined.
19412 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19413 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19414 * sysdeps/sh/init-first.c: Likewise.
19415 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19417 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19419 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19420 always use the slow path.
19422 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19424 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19425 similar rule which adds the sysdep directories to the header search in
19426 order to pick up the correct platform stackinfo.h.
19427 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19428 perform test if it is, otherwise return successfully without testing.
19429 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19430 DEFAULT_STACK_PERMS define in stackinfo.h.
19431 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19432 defined in stackinfo.h.
19433 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19434 DEFAULT_STACK_PERMS defined in stackinfo.h.
19435 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19436 * sysdeps/ia64/stackinfo.h: Likewise.
19437 * sysdeps/s390/stackinfo.h: Likewise.
19438 * sysdeps/sh/stackinfo.h: Likewise.
19439 * sysdeps/sparc/stackinfo.h: Likewise.
19440 * sysdeps/x86_64/stackinfo.h: Likewise.
19441 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19442 PF_X for powerpc64. Retain PF_X for powerpc32.
19444 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19446 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19449 GETDENTS_64BIT_ALIGNED.
19451 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19453 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19455 2010-12-10 Andreas Schwab <schwab@redhat.com>
19457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19460 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19461 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19463 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19464 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19466 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19469 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19472 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19474 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19476 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19478 * po/it.po: Update from translation team.
19480 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19485 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19487 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19489 2010-11-24 Andreas Schwab <schwab@redhat.com>
19491 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19493 (gaih_getanswer_slice): Likewise.
19495 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19499 2010-05-31 Petr Baudis <pasky@suse.cz>
19502 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19503 silently even in the chroot mode.
19505 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19508 last patch a bit. Pretty printing
19510 2010-05-31 Petr Baudis <pasky@suse.cz>
19513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19514 initialization of skip_initgroups_dyn.
19516 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19521 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19523 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19525 2010-11-11 Andreas Schwab <schwab@redhat.com>
19527 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19528 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19529 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19530 ($(objpfx)tst-fnmatch-mem): New rule.
19531 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19532 * posix/tst-fnmatch.c (main): Call mtrace.
19534 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19537 Support Intel processor model 6 and model 0x2c.
19539 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19544 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19547 * string/test-strncasecmp.c (check_result): New function.
19548 (do_one_test): Use it.
19549 (check1): New function.
19550 (test_main): Use it.
19551 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19552 Support strcasecmp and strncasecmp.
19554 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19557 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19560 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19562 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19566 * sysdeps/x86_64/multiarch/bzero.S: New file.
19567 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19568 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19569 * sysdeps/x86_64/multiarch/memset.S: New file.
19570 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19572 Set bit_Prefer_SSE_for_memop for Intel processors.
19573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19575 (index_Prefer_SSE_for_memop): Define.
19576 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19578 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19583 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19586 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19587 (__x86_64_raw_data_cache_size_half): Likewise.
19588 (__x86_64_raw_shared_cache_size): Likewise.
19589 (__x86_64_raw_shared_cache_size_half): Likewise.
19591 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19592 (__x86_64_raw_data_cache_size_half): Likewise.
19593 (__x86_64_raw_shared_cache_size): Likewise.
19594 (__x86_64_raw_shared_cache_size_half): Likewise.
19595 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19596 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19597 and __x86_64_raw_shared_cache_size_half. Round
19598 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19599 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19600 to multiple of 256 bytes.
19602 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19606 of inacessible symlinks. Verify result of symlink before returning it.
19607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19608 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19610 2010-10-28 Erich Ritz <erichritz@gmail.com>
19612 * math/math.h (isinf): Fix typo in comment.
19614 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19616 * po/da.po: Update from translation team.
19618 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19620 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19621 is added to the list.
19623 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19624 Ulrich Drepper <drepper@gmail.com>
19626 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19627 the global list here. Move code to...
19628 (_dl_add_to_namespace_list): ...here. New function.
19629 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19630 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19631 * elf/dl-load.c (lose): Don't remove the element from the list.
19632 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19633 (_dl_map_object): Likewise.
19635 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19638 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19639 into all bytes of SSE register.
19640 Patch by Richard Li <richardpku@gmail.com>.
19642 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19645 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19648 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19650 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19651 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19658 2010-10-22 Andreas Schwab <schwab@redhat.com>
19660 * include/dlfcn.h (__RTLD_SECURE): Define.
19661 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19662 mode & __RTLD_SECURE instead.
19663 (open_path): Rename preloaded parameter to secure.
19664 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19665 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19666 * elf/dl-deps.c (openaux): Likewise.
19667 * elf/rtld.c (struct map_args): Remove is_preloaded.
19668 (map_doit): Don't use it.
19669 (dl_main): Likewise.
19670 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19671 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19673 2010-09-09 Andreas Schwab <schwab@redhat.com>
19675 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19676 (sysd-rules-targets): Remove duplicates.
19677 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19678 rtld-%.$o dependency.
19680 2010-10-18 Andreas Schwab <schwab@redhat.com>
19682 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19683 _dl_map_object do it.
19685 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19687 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19688 fast fma builtins, define the macros in the C99 standard.
19689 (FP_FAST_FMAF): Likewise.
19690 (FP_FAST_FMAL): Likewise.
19691 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19693 * bits/mathdef.h: Update copyright year.
19694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19696 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19698 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19699 builtins, define the macros in the C99 standard.
19700 (FP_FAST_FMAF): Likewise.
19701 (FP_FAST_FMAL): Likewise.
19702 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19704 (FP_FAST_FMAF): Likewise.
19706 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19709 * math/libm-test.inc (fma_test): Some new testcases.
19710 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19712 y and infinite z. Do multiplication by C already in long double.
19713 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19715 y and infinite z. Do bitwise or of inexact bit into u.d.
19716 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19717 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19718 * sysdeps/i386/fpu/s_fma.S: Removed.
19719 * sysdeps/i386/fpu/s_fmal.S: Removed.
19721 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19724 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19726 computation is not scheduled after fetestexcept. Fix value
19727 of minimum denormal long double.
19729 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19732 * math/libm-test.inc (fma_test): Add some more tests.
19733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19736 2010-10-15 Andreas Schwab <schwab@redhat.com>
19738 * scripts/data/localplt-s390-linux-gnu.data: New file.
19739 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19741 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19744 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19745 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19747 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19749 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19751 if one of x and y is very large and the other is subnormal.
19752 * sysdeps/s390/fpu/s_fmaf.c: New file.
19753 * sysdeps/s390/fpu/s_fma.c: New file.
19754 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19755 * sysdeps/powerpc/fpu/s_fma.S: New file.
19756 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19758 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19760 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19763 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19766 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19767 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19768 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19769 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19773 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19776 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19777 * posix/bug-regex31.input: Add test case.
19779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19781 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19782 * posix/bug-regex31.input: New file.
19785 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19786 (parse_sub_exp): Fix last change, use postorder.
19788 * posix/bug-regex31.c: New file.
19789 * posix/Makefile: Add rules to build and run bug-regex31.
19791 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19794 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19797 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19798 to have entries in sys_siglist.
19801 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19804 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19807 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19808 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19809 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19810 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19812 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19813 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19814 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19815 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19816 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19817 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19818 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19819 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19820 * math/ftestexcept.c (fetestexcept): Likewise.
19821 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19822 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19823 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19825 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19826 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19829 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19832 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19835 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19837 * string/bug-strstr1.c: New file.
19838 * string/Makefile: Add rules to build and run bug-strstr1.
19840 2010-10-05 Eric Blake <eblake@redhat.com>
19843 * string/str-two-way.h (two_way_long_needle): Always clear memory
19844 when skipping input due to the shift table.
19846 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19849 * malloc/mcheck.c: Handle large requests.
19852 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19853 for strncmp and strncasecmp.
19854 * string/stratcliff.c: Add tests for strcmp and strncmp.
19855 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19857 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19859 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19862 2010-09-30 Andreas Jaeger <aj@suse.de>
19864 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19865 (CGROUP_SUPER_MAGIC): Define.
19866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19867 Handle btrfs and cgroup file systems.
19868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19871 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19873 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19874 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19876 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19879 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19880 trying to locate the ELF header.
19882 2010-09-27 Andreas Schwab <schwab@redhat.com>
19885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19886 Mask out sign-bit copies when constructing f_fsid.
19888 2010-09-24 Petr Baudis <pasky@suse.cz>
19890 * debug/stack_chk_fail_local.c: Add missing licence exception.
19891 * debug/warning-nop.c: Likewise.
19893 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19896 implementing getdents64 using getdents syscall, set d_type if
19897 __ASSUME_GETDENTS32_D_TYPE.
19899 2010-09-16 Andreas Schwab <schwab@redhat.com>
19901 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19902 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19904 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19907 * posix/unistd.h: Undo change of feature selection for ftruncate from
19910 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19912 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19915 2010-09-20 Andreas Schwab <schwab@redhat.com>
19917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19921 2010-09-14 Andreas Schwab <schwab@redhat.com>
19923 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19924 variables after CHECK_SP call.
19925 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19927 2010-09-13 Andreas Schwab <schwab@redhat.com>
19928 Ulrich Drepper <drepper@redhat.com>
19930 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19931 re-relocationg ld.so.
19932 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19933 _dl_init_paths call.
19934 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19937 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19939 * resolv/res_init.c (__res_vinit): Count the default server we added.
19941 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19942 Ulrich Drepper <drepper@redhat.com>
19945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19946 (____longjmp_chk): Use %ebx for saving value across system call.
19949 2010-09-06 Andreas Schwab <schwab@redhat.com>
19951 * manual/Makefile: Don't mix pattern rules with normal rules.
19953 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19955 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19957 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19959 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19960 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19964 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19967 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19968 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19970 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19972 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19973 * sysdeps/x86_64/addmul_1.S: Likewise.
19974 * sysdeps/x86_64/lshift.S: Likewise.
19975 * sysdeps/x86_64/mul_1.S: Likewise.
19976 * sysdeps/x86_64/rshift.S: Likewise.
19977 * sysdeps/x86_64/sub_n.S: Likewise.
19978 * sysdeps/x86_64/submul_1.S: Likewise.
19980 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19982 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19983 Define __sched_param instead of SCHED_* and sched_param when
19984 <bits/sched.h> is included with __need_schedparam defined.
19985 * bits/sched.h [__need_schedparam]
19986 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19987 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19988 (__defined_schedparam): Define to 1.
19989 (__sched_param): New structure, identical to sched_param.
19990 (__need_schedparam): Undefine.
19992 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19995 (epoll_create1): Declare.
19997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19999 2010-08-31 Andreas Schwab <schwab@redhat.com>
20002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20003 shifting retval into place.
20005 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20007 * nis/rpcsvc/nis.h: Update copyright notice.
20008 * nis/rpcsvc/nis.x: Likewise.
20009 * nis/rpcsvc/nis_callback.h: Likewise.
20010 * nis/rpcsvc/nis_callback.x: Likewise.
20011 * nis/rpcsvc/nis_object.x: Likewise.
20012 * nis/rpcsvc/nis_tags.h: Likewise.
20013 * nis/rpcsvc/yp.h: Likewise.
20014 * nis/rpcsvc/yp.x: Likewise.
20015 * nis/rpcsvc/ypupd.h: Likewise.
20016 * nis/yp_xdr.c: Likewise.
20017 * nis/ypupdate_xdr.c: Likewise.
20019 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20020 mainly the body of pmap_getport. Add parameters to specify timeouts.
20021 (pmap_getport): Use __libc_rpc_getport.
20022 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20023 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20024 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20026 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20031 2010-08-27 Roland McGrath <roland@redhat.com>
20033 * sysdeps/i386/i686/multiarch/Makefile
20034 (CFLAGS-varshift.c): New variable.
20036 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20038 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20039 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20043 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20045 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20047 * sysdeps/x86_64/strlen.S: Unroll the loop.
20048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20049 strlen-sse2 strlen-sse2-bsf.
20050 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20051 __strlen_no_bsf if bit_Slow_BSF is set.
20052 (__strlen_sse42): Removed.
20053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20054 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20056 2010-08-25 Roland McGrath <roland@redhat.com>
20058 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20059 * sysdeps/x86_64/multiarch/varshift.c: New file.
20060 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20061 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20062 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20065 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20068 strlen-sse2 strlen-sse2-bsf.
20069 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20070 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20071 (__strlen_sse2): Removed.
20072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20075 bit_Slow_BSF for Atom.
20076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20077 (index_Slow_BSF): Define.
20078 (HAS_SLOW_BSF): Define.
20080 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20083 * resolv/res_init.c (__res_vinit): When no server address at all
20084 is given default to loopback.
20086 2010-08-24 Roland McGrath <roland@redhat.com>
20088 * configure.in: Remove config-name.h generation.
20089 * configure: Regenerated.
20090 * config-name.in: File removed.
20091 * scripts/config-uname.sh: New file.
20092 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20093 ($(objdir)config-name.h): New target.
20095 * sunrpc/rpc_parse.h: Avoid nested comment.
20097 2010-08-24 Richard Henderson <rth@redhat.com>
20098 Ulrich Drepper <drepper@redhat.com>
20099 H.J. Lu <hongjiu.lu@intel.com>
20101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20103 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20104 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20105 _mm_alignr_epi8 with _mm_loadu_si128.
20106 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20107 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20108 (__m128i_shift_right): Removed.
20109 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20110 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20111 * sysdeps/x86_64/multiarch/varshift.h: New file.
20112 * sysdeps/x86_64/multiarch/varshift.S: New file.
20114 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20116 * configure.in: Move assembler checks to before sysdep dir checking.
20118 2010-08-20 Petr Baudis <pasky@suse.cz>
20120 * LICENSES: Sync the sunrpc license.
20122 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20124 * sunrpc/auth_des.c: Update copyright notice once again.
20125 * sunrpc/auth_none.c: Likewise.
20126 * sunrpc/auth_unix.c: Likewise.
20127 * sunrpc/authdes_prot.c: Likewise.
20128 * sunrpc/authuxprot.c: Likewise.
20129 * sunrpc/bindrsvprt.c: Likewise.
20130 * sunrpc/clnt_gen.c: Likewise.
20131 * sunrpc/clnt_perr.c: Likewise.
20132 * sunrpc/clnt_raw.c: Likewise.
20133 * sunrpc/clnt_simp.c: Likewise.
20134 * sunrpc/clnt_tcp.c: Likewise.
20135 * sunrpc/clnt_udp.c: Likewise.
20136 * sunrpc/clnt_unix.c: Likewise.
20137 * sunrpc/des_crypt.c: Likewise.
20138 * sunrpc/des_soft.c: Likewise.
20139 * sunrpc/get_myaddr.c: Likewise.
20140 * sunrpc/getrpcport.c: Likewise.
20141 * sunrpc/key_call.c: Likewise.
20142 * sunrpc/key_prot.c: Likewise.
20143 * sunrpc/openchild.c: Likewise.
20144 * sunrpc/pm_getmaps.c: Likewise.
20145 * sunrpc/pm_getport.c: Likewise.
20146 * sunrpc/pmap_clnt.c: Likewise.
20147 * sunrpc/pmap_prot.c: Likewise.
20148 * sunrpc/pmap_prot2.c: Likewise.
20149 * sunrpc/pmap_rmt.c: Likewise.
20150 * sunrpc/rpc/auth.h: Likewise.
20151 * sunrpc/rpc/auth_unix.h: Likewise.
20152 * sunrpc/rpc/clnt.h: Likewise.
20153 * sunrpc/rpc/des_crypt.h: Likewise.
20154 * sunrpc/rpc/key_prot.h: Likewise.
20155 * sunrpc/rpc/netdb.h: Likewise.
20156 * sunrpc/rpc/pmap_clnt.h: Likewise.
20157 * sunrpc/rpc/pmap_prot.h: Likewise.
20158 * sunrpc/rpc/pmap_rmt.h: Likewise.
20159 * sunrpc/rpc/rpc.h: Likewise.
20160 * sunrpc/rpc/rpc_des.h: Likewise.
20161 * sunrpc/rpc/rpc_msg.h: Likewise.
20162 * sunrpc/rpc/svc.h: Likewise.
20163 * sunrpc/rpc/svc_auth.h: Likewise.
20164 * sunrpc/rpc/types.h: Likewise.
20165 * sunrpc/rpc/xdr.h: Likewise.
20166 * sunrpc/rpc_clntout.c: Likewise.
20167 * sunrpc/rpc_cmsg.c: Likewise.
20168 * sunrpc/rpc_common.c: Likewise.
20169 * sunrpc/rpc_cout.c: Likewise.
20170 * sunrpc/rpc_dtable.c: Likewise.
20171 * sunrpc/rpc_hout.c: Likewise.
20172 * sunrpc/rpc_main.c: Likewise.
20173 * sunrpc/rpc_parse.c: Likewise.
20174 * sunrpc/rpc_parse.h: Likewise.
20175 * sunrpc/rpc_prot.c: Likewise.
20176 * sunrpc/rpc_sample.c: Likewise.
20177 * sunrpc/rpc_scan.c: Likewise.
20178 * sunrpc/rpc_scan.h: Likewise.
20179 * sunrpc/rpc_svcout.c: Likewise.
20180 * sunrpc/rpc_tblout.c: Likewise.
20181 * sunrpc/rpc_util.c: Likewise.
20182 * sunrpc/rpc_util.h: Likewise.
20183 * sunrpc/rpcinfo.c: Likewise.
20184 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20185 * sunrpc/rpcsvc/key_prot.x: Likewise.
20186 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20187 * sunrpc/rpcsvc/mount.x: Likewise.
20188 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20189 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20190 * sunrpc/rpcsvc/rex.x: Likewise.
20191 * sunrpc/rpcsvc/rstat.x: Likewise.
20192 * sunrpc/rpcsvc/rusers.x: Likewise.
20193 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20194 * sunrpc/rpcsvc/spray.x: Likewise.
20195 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20196 * sunrpc/rtime.c: Likewise.
20197 * sunrpc/svc.c: Likewise.
20198 * sunrpc/svc_auth.c: Likewise.
20199 * sunrpc/svc_authux.c: Likewise.
20200 * sunrpc/svc_raw.c: Likewise.
20201 * sunrpc/svc_run.c: Likewise.
20202 * sunrpc/svc_simple.c: Likewise.
20203 * sunrpc/svc_tcp.c: Likewise.
20204 * sunrpc/svc_udp.c: Likewise.
20205 * sunrpc/svc_unix.c: Likewise.
20206 * sunrpc/svcauth_des.c: Likewise.
20207 * sunrpc/xcrypt.c: Likewise.
20208 * sunrpc/xdr.c: Likewise.
20209 * sunrpc/xdr_array.c: Likewise.
20210 * sunrpc/xdr_float.c: Likewise.
20211 * sunrpc/xdr_mem.c: Likewise.
20212 * sunrpc/xdr_rec.c: Likewise.
20213 * sunrpc/xdr_ref.c: Likewise.
20214 * sunrpc/xdr_sizeof.c: Likewise.
20215 * sunrpc/xdr_stdio.c: Likewise.
20217 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20220 2010-08-19 Andreas Schwab <schwab@redhat.com>
20222 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20224 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20226 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20229 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20231 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20233 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20236 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20238 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20239 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20241 2010-07-26 Anton Blanchard <anton@samba.org>
20243 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20244 * malloc/arena.c (heap_trim): Likewise.
20246 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20248 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20251 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20253 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20255 * sysdeps/i386/elf/Makefile: New file.
20257 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20259 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20260 from fanotify_init.
20261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20264 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20266 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20268 * sysdeps/multiarch/strcmp.S: Likewise.
20270 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20273 strncase_l-nonascii.
20274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20275 Add strncase_l-ssse3.
20276 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20277 * sysdeps/x86_64/strcmp.S: Likewise.
20278 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20279 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20280 * sysdeps/x86_64/strncase.S: New file.
20281 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20282 * sysdeps/x86_64/strncase_l.S: New file.
20283 * string/Makefile (strop-tests): Add strncasecmp.
20284 * string/test-strncasecmp.c: New file.
20286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20289 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20292 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20294 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20296 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20298 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20302 2010-05-01 Alan Modra <amodra@gmail.com>
20304 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20305 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20306 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20307 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20308 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20309 tidying. Don't tail-call __sigjmp_save for static lib.
20310 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20312 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20313 (CALL_MCOUNT): Add eh info, and nop after bl.
20314 (TAIL_CALL_SYSCALL_ERROR): New macro.
20315 (PSEUDO_RET): Use it.
20316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20317 Correct save location of integer regs and cr.
20318 (_dl_profile_resolve): Correct cr save location. Delete nops
20319 after bl when SHARED. Reduce cfi size a little by better
20320 placement of cfi directives.
20321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20322 make a stack frame. Instead use parm save area as a temp.
20323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20324 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20326 Don't make a stack frame for parent, use parm save area.
20327 Increase child stack frame to 112 bytes. Don't save unused reg,
20328 and adjust reg usage. Set up cfi on error recovery and
20329 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20331 (__makecontext): Add dummy nop after jump to exit.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20333 Use correct parm save area and cr save, reduce stack frame.
20334 Correct cfi for possible PSEUDO_RET frame setup.
20335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20336 Branch to local label emitted by PSEUDO_RET rather than
20339 2010-08-12 Andreas Schwab <schwab@redhat.com>
20342 * locale/programs/locale.c (print_assignment): New function.
20343 (show_locale_vars): Use it.
20345 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20347 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20349 (struct statfs64): Likewise.
20350 (_STATFS_F_FLAGS): Define.
20351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20353 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20354 (ST_VALID): Define locally.
20355 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20356 __statvfs_getflags, use the provided value.
20357 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20358 __ASSUME_STATFS_F_FLAGS.
20360 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20363 Add sys/fanotify.h.
20364 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20365 fanotify_mask for GLIBC_2.13.
20366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20367 fanotify_init and fanotify_mark.
20368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20369 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20371 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20373 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20374 prlimit64 for GLIBC_2.13.
20375 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20385 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20388 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20389 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20391 * nss/Makefile: Add rules to build and run tst-nss-test1.
20392 * shlib-versions: Add entry for libnss_test1.
20393 * nss/nss_test1.c: New file.
20394 * nss/tst-nss-test1.c: New file.
20396 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20397 (__nss_configure_lookup): Set appropriate entry in
20398 __nss_configure_lookup to true.
20399 * nss/nsswitch.h: Define enum with indeces of databases in
20400 databases and __nss_database_custom arrays. Declare
20401 __nss_database_custom.
20402 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20403 to avoid using nscd when custom rules are installed.
20404 * nss/getXXbyYY_r.c: Likewise.
20405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20407 * nss/nss_files/files-parse.c: Whitespace fixes.
20409 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20412 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20413 * posix/fnmatch_loop.c: Likewise.
20415 2010-07-17 Andi Kleen <ak@linux.intel.com>
20417 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20418 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20419 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20420 * Versions.def [GLIBC_2.13]: Add.
20422 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20425 Also fail if tpwd after pwuid call is NULL.
20427 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20429 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20430 when converting to ms.
20432 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20434 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20435 EOPNOTSUPP errors with ENOTTY.
20436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20437 EOPNOTSUPP errors with ENOTTY.
20439 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20442 Add strcasecmp_l-ssse3.
20443 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20445 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20447 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20449 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20451 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20453 * string/Makefile (strop-tests): Add strcasecmp.
20454 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20455 strcasecmp_l-nonascii.
20456 (gen-as-const-headers): Add locale-defines.sym.
20457 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20458 * sysdeps/x86_64/strcasecmp.S: New file.
20459 * sysdeps/x86_64/strcasecmp_l.S: New file.
20460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20461 * sysdeps/x86_64/locale-defines.sym: New file.
20462 * string/test-strcasecmp.c: New file.
20464 * string/test-strcasestr.c: Test both ends of the range of characters.
20465 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20467 2010-07-29 Roland McGrath <roland@redhat.com>
20470 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20472 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20474 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20477 2010-07-27 Andreas Schwab <schwab@redhat.com>
20479 * manual/memory.texi (Malloc Tunable Parameters): Document
20482 2010-07-26 Roland McGrath <roland@redhat.com>
20485 * configure.in (-fgnu89-inline check): Set and substitute
20486 gnu89_inline, not libc_cv_gnu89_inline.
20487 * configure: Regenerated.
20488 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20490 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20492 * string/test-strnlen.c: New file.
20493 * string/Makefile (strop-tests): Add strnlen.
20494 * string/tester.c (test_strnlen): Add a few more test cases.
20495 * string/tst-strlen.c: Better error reporting.
20497 * sysdeps/x86_64/strnlen.S: New file.
20499 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20502 lower-latency instructions.
20504 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20506 * string/test-strcasestr.c: New file.
20507 * string/test-strstr.c: New file.
20508 * string/Makefile (strop-tests): Add strstr and strcasestr.
20509 * string/str-two-way.h: Don't undefine MAX.
20510 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20512 2010-07-21 Andreas Schwab <schwab@redhat.com>
20514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20515 strcasestr-nonascii.
20516 (CFLAGS-strcasestr-nonascii.c): Define.
20517 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20519 Remove unused attribute.
20521 2010-07-20 Roland McGrath <roland@redhat.com>
20523 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20524 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20525 ld.so.cache was broken. With it, there is no way to disable dsocaps
20526 like LD_HWCAP_MASK can disable hwcaps.
20528 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20530 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20532 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20534 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20535 call in strcasestr.
20536 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20537 __strcasestr_sse42_nonascii.
20538 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20539 strcasestr-nonascii.c.
20540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20542 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20549 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20554 2010-07-06 Andreas Schwab <schwab@redhat.com>
20557 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20560 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20563 _PC_PIPE_BUF using F_GETPIPE_SZ.
20565 2010-07-05 Roland McGrath <roland@redhat.com>
20567 * manual/arith.texi (Rounding Functions): Fix rint description
20568 implicit in round description.
20570 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20572 * elf/Makefile: Fix linking for a few tests to make recent linker
20575 2010-06-30 Andreas Schwab <schwab@redhat.com>
20577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20578 $(common-objpfx)libc_nonshared.a.
20580 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20582 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20583 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20584 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20585 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20586 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20587 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20588 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20604 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20605 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20606 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20607 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20608 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20609 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20610 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20611 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20612 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20613 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20614 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20615 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20631 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20633 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20634 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20635 * string/memmove.c (memmove): Renamed to ...
20636 (MEMMOVE): ...this. Default to memmove.
20637 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20638 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20641 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20642 mempcpy-ssse3-back memmove-ssse3-back.
20643 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20646 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20647 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20648 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20649 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20650 * sysdeps/x86_64/multiarch/memmove.c: New file.
20651 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20652 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20653 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20654 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20658 (index_Fast_Copy_Backward): Define.
20659 (HAS_ARCH_FEATURE): Define.
20660 (HAS_FAST_REP_STRING): Define.
20661 (HAS_FAST_COPY_BACKWARD): Define.
20663 2010-06-21 Andreas Schwab <schwab@redhat.com>
20665 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20666 Restore proper fallback handling.
20668 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20671 * posix/group_member.c (__group_member): Correct checking loop.
20673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20674 OOM in getpwuid_r correctly. Return error number when the caller
20675 should return, otherwise -1.
20676 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20677 call returning > 0 value.
20678 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20680 2010-06-07 Andreas Schwab <schwab@redhat.com>
20682 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20683 libc_nonshared.a from targets in modules-names.
20685 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20687 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20690 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20697 2010-06-02 Andreas Schwab <schwab@redhat.com>
20699 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20701 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20712 2010-06-14 Roland McGrath <roland@redhat.com>
20714 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20716 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20718 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20719 __REDIRECT followed by __THROW.
20720 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20721 * posix/getopt.h (getopt): Likewise.
20723 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20725 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20726 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20727 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20729 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20730 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20732 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20736 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20740 Properly check family and model.
20742 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20746 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20748 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20750 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20752 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20755 2010-05-19 Andreas Schwab <schwab@redhat.com>
20757 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20760 2010-05-21 Andreas Schwab <schwab@redhat.com>
20762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20763 and internal_recvmmsg.
20764 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20765 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20767 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20769 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20770 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20771 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20773 2010-05-20 Andreas Schwab <schwab@redhat.com>
20775 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20777 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20779 POWER7 optimizations.
20780 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20781 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20783 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20785 * version.h: Update for 2.13 development version.
20787 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20790 exceptions. Return 0.
20792 2010-05-07 Roland McGrath <roland@redhat.com>
20794 * elf/ldconfig.c (main): Add a const.
20796 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20798 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20799 (args_options): Add no-idn option.
20800 (ahosts_keys_int): Add idn_flags to ai_flags.
20801 (parse_option): Handle 'i' option to clear idn_flags.
20803 * malloc/malloc.c (_int_free): Possible race in the most recently
20804 added check. Only act on the data if no current modification
20807 See ChangeLog.17 for earlier changes.