1 2012-10-24 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20 [__WORDSIZE != 64]: Likewise.
22 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24 * Makeconfig (run-built-tests): New variable.
25 * Rules [$(cross-compiling) = yes]: Change condition to
26 [$(run-built-tests) = no].
27 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28 to [$(run-built-tests) = yes].
29 * elf/Makefile [$(cross-compiling) = no]: Likewise
30 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34 * io/Makefile [$(cross-compiling) = no]: Likewise.
35 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42 * string/Makefile [$(cross-compiling) = no]: Likewise.
44 * posix/Makefile ($(objpfx)globtest.out): Pass
45 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46 $(rtld-installed-name).
47 * posix/globtest.sh (elf_objpfx): Remove variable.
48 (rtld_installed_name): Likewise.
49 (library_path): Likewise.
50 (run_program_prefix): New variable. Use for running globtest
53 2012-10-23 Jim Blandy <jimb@codesourcery.com>
54 Joseph Myers <joseph@codesourcery.com>
56 * Makeconfig (host-built-program-cmd): New variable.
57 * elf/Makefile (tst-stackguard1-ARGS): Use
58 $(host-built-program-cmd).
59 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60 (tst-spawn-ARGS): Likewise.
61 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64 Jim Blandy <jimb@codesourcery.com>
66 * Makeconfig (run-via-rtld-prefix): New variable.
67 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68 (built-program-cmd): Likewise.
70 2012-10-22 Andreas Jaeger <aj@suse.de>
72 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73 __O_RSYNC if it exists, otherwise to O_SYNC.
75 2012-10-22 Jim Blandy <jimb@codesourcery.com>
76 Joseph Myers <joseph@codesourcery.com>
78 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
80 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
82 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
85 2012-10-22 Andreas Jaeger <aj@suse.de>
87 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
89 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
91 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
95 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
97 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
99 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
102 2012-10-21 Jim Blandy <jimb@codesourcery.com>
103 Joseph Myers <joseph@codesourcery.com>
105 * config.make.in (NM): New variable.
107 2012-10-21 Andreas Jaeger <aj@suse.de>
109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
110 definitions and declarations that are provided by
111 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
113 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
116 * elf/Makefile (tests-static): Add tst-leaks1-static.
117 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
118 ($(objpfx)tst-leaks1-static): New rule.
119 ($(objpfx)tst-leaks1-static-mem): Likewise.
120 (tst-leaks1-static-ENV): New macro.
121 * elf/dl-open.c (dl_open_worker): Check the main application
122 only if SHARED is defined.
123 * elf/tst-leaks1-static.c: New file.
125 2012-10-20 Andreas Jaeger <aj@suse.de>
127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
128 generic values for Linux.
129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
130 and declarations that are provided by <bits/fcntl-linux.h> and
131 include <bits/fcntl-linux.h>.
132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
135 2012-10-20 Roland McGrath <roland@hack.frob.com>
137 * io/fcntl.h: Move include of <bits/types.h> to the top and
138 include it unconditionally.
140 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
142 * wcsmbs/Makefile (tests-ifunc): New variable.
143 (tests): Add $(tests-ifunc).
144 * wcsmbs/test-wcschr-ifunc.c: New file.
145 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
146 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
147 * wcsmbs/test-wcslen-ifunc.c: Likewise.
148 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
149 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
151 * string/Makefile (tests-ifunc): New variable.
152 (tests): Add $(tests-ifunc).
153 * string/test-memccpy.c (TEST_NAME): New macro.
154 * string/test-memchr.c (TEST_NAME): Likewise.
155 * string/test-memcmp.c (TEST_NAME): Likewise.
156 * string/test-memcpy.c (TEST_NAME): Likewise.
157 * string/test-memmem.c (TEST_NAME): Likewise.
158 * string/test-memmove.c (TEST_NAME): Likewise.
159 * string/test-memset.c (TEST_NAME): Likewise.
160 * string/test-rawmemchr.c (TEST_NAME): Likewise.
161 * string/test-stpcpy.c (TEST_NAME): Likewise.
162 * string/test-stpncpy.c (TEST_NAME): Likewise.
163 * string/test-strcasecmp.c (TEST_NAME): Likewise.
164 * string/test-strcasestr.c (TEST_NAME): Likewise.
165 * string/test-strcat.c (TEST_NAME): Likewise.
166 * string/test-strchr.c (TEST_NAME): Likewise.
167 * string/test-strcmp.c(TEST_NAME): Likewise.
168 * string/test-strcpy.c (TEST_NAME): Likewise.
169 * string/test-strcspn.c (TEST_NAME): Likewise.
170 * string/test-strlen.c (TEST_NAME): Likewise.
171 * string/test-strncasecmp.c (TEST_NAME): Likewise.
172 * string/test-strncmp.c (TEST_NAME): Likewise.
173 * string/test-strncpy.c (TEST_NAME): Likewise.
174 * string/test-strnlen.c (TEST_NAME): Likewise.
175 * string/test-strpbrk.c (TEST_NAME): Likewise.
176 * string/test-strrchr.c (TEST_NAME): Likewise.
177 * string/test-strspn.c (TEST_NAME): Likewise.
178 * string/test-strstr.c (TEST_NAME): Likewise.
179 * string/test-bcopy-ifunc.c: New file.
180 * string/test-bzero-ifunc.c: Likewise.
181 * string/test-memccpy-ifunc.c: Likewise.
182 * string/test-memchr-ifunc.c: Likewise.
183 * string/test-memcmp-ifunc.c: Likewise.
184 * string/test-memcpy-ifunc.c: Likewise.
185 * string/test-memmem-ifunc.c: Likewise.
186 * string/test-memmove-ifunc.c: Likewise.
187 * string/test-mempcpy-ifunc.c: Likewise.
188 * string/test-memset-ifunc.c: Likewise.
189 * string/test-rawmemchr-ifunc.c: Likewise.
190 * string/test-stpcpy-ifunc.c: Likewise.
191 * string/test-stpncpy-ifunc.c: Likewise.
192 * string/test-strcasecmp-ifunc.c: Likewise.
193 * string/test-strcasestr-ifunc.c: Likewise.
194 * string/test-strcat-ifunc.c: Likewise.
195 * string/test-strchr-ifunc.c: Likewise.
196 * string/test-strchrnul-ifunc.c: Likewise.
197 * string/test-strcmp-ifunc.c: Likewise.
198 * string/test-strcpy-ifunc.c: Likewise.
199 * string/test-strcspn-ifunc.c: Likewise.
200 * string/test-strlen-ifunc.c: Likewise.
201 * string/test-strncasecmp-ifunc.c: Likewise.
202 * string/test-strncat-ifunc.c: Likewise.
203 * string/test-strncmp-ifunc.c: Likewise.
204 * string/test-strncpy-ifunc.c: Likewise.
205 * string/test-strnlen-ifunc.c: Likewise.
206 * string/test-strpbrk-ifunc.c: Likewise.
207 * string/test-strrchr-ifunc.c: Likewise.
208 * string/test-strspn-ifunc.c: Likewise.
209 * string/test-strstr-ifunc.c: Likewise.
211 * debug/Makefile (tests-ifunc): New variable.
212 (tests): Add $(tests-ifunc).
213 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
214 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
215 * debug/test-stpcpy_chk-ifunc.c: New file.
216 * debug/test-strcpy_chk-ifunc.c: Likewise.
218 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
221 * elf/dl-load.c (open_verify): Retry read if the entire ELF
222 header is not read in.
224 2012-10-19 Joseph Myers <joseph@codesourcery.com>
226 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
227 script to $(SHELL) as $<. Pass $(common-objpfx) to script
228 directly. Pass built executable to script as
229 $(built-program-cmd).
230 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
231 $testprogram without using LD_LIBRARY_PATH and $ldso.
233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
234 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
235 $(rtld-installed-name).
236 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
237 (rtld_installed_name): Likewise.
238 (library_path): Likewise.
239 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
240 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
241 $(run-program-prefix) to tst-tables.sh.
242 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
243 it to run tst-table-from and tst-table-to.
244 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
245 Pass it to tst-table.sh.
246 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
247 $(run-program-prefix) to tst-gettext.sh.
248 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
250 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
252 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
254 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
256 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
259 $(run-program-prefix) to tst-mtrace.sh.
260 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
262 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
263 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
264 $(rtld-installed-name).
265 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
266 (rtld_installed_name): Likewise.
267 (run_program_prefix): New variable. Use it to run wordexp-test.
269 * Makeconfig (ARCH): Remove all definitions.
271 [ARCH]: Remove conditional code.
272 [!objdir]: Give error.
273 [!objdir] (objpfx): Remove.
274 [!objdir] (common-objpfx): Likewise.
275 [!objdir] (common-objdir): Likewise.
276 * configure.in (config_makefile): Remove. Hardcode Makefile in
277 AC_CONFIG_FILES call.
278 * configure: Regenerated.
281 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
285 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
286 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
287 $(rtld-installed-name).
288 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
289 (rtld_installed_name): Likwise.
290 (runit): Remove function.
291 (run_getconf): New variable, Use it for running getconf binary.
293 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
296 * string/test-memmem.c (check_result): New function.
297 (do_one_test): Use it.
298 (check1): New function.
301 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
303 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
305 2012-10-18 Joseph Myers <joseph@codesourcery.com>
307 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
308 (_G_LSEEK64): Likewise.
309 (_G_MMAP64): Likewise.
310 (_G_FSTAT64): Likewise.
311 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
312 (_G_LSEEK64): Likewise.
313 (_G_MMAP64): Likewise.
314 (_G_FSTAT64): Likewise.
315 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
316 unconditional. Call __mmap64 directly.
317 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
318 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
320 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
321 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
323 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
324 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
326 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
327 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
329 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
330 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
332 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
333 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
335 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
336 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
338 (freopen64) [!_G_OPEN64]: Remove conditional code.
339 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
341 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
342 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
344 (ftello64) [!_G_LSEEK64]: Remove conditional code.
345 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
347 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
348 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
350 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
351 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
353 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
354 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
356 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
357 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
359 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
361 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
364 * manual/memory.texi (Malloc Tunable Parameters): Add note
365 about free list pointers overwriting some perturb bytes.
366 Wording suggested by Roland McGrath.
368 2012-10-17 Joseph Myers <joseph@codesourcery.com>
370 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
371 (lgamma_test): Likewise.
372 (tgamma_test): Likewise.
374 2012-10-16 Florian Weimer <fweimer@redhat.com>
377 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
378 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
380 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
382 * NEWS: Mention BZ #14716.
383 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
384 when removing AVAILABLE1_USES_J macro.
386 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
388 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
389 (__bswap_64): __uint64_t for unsigned 64-bit int.
391 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
393 * include/string.h (memmem): Declare libc hidden alias.
394 * string/memmem.c (memmem): Define libc hidden alias.
395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
396 __read, __close instead of open, read, close.
398 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
401 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
403 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
404 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
405 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
407 (__rawmemchr_sse2): Likewise.
408 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
409 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
410 (__strchr_sse2): Likewise.
411 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
412 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
413 (__strcasecmp_sse2): Likewise.
414 (__strncasecmp_sse2): Likewise.
415 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
416 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
417 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
418 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
419 (__strrchr_sse2): Likewise.
420 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
422 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
423 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
424 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
425 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
426 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
430 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
431 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
432 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
433 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
434 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
435 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
436 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
437 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
438 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
439 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
440 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
441 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
442 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
443 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
444 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
446 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
448 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
449 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
450 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
451 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
453 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
455 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
456 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
457 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
458 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
460 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
462 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
463 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
464 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
465 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
476 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
480 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
481 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
484 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
487 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
492 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
493 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
494 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
495 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
497 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
500 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
507 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
509 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
510 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
511 * include/ifunc-impl-list.h: New file.
512 * misc/ifunc-impl-list.c: Likewise.
513 * misc/Makefile (routines): Add ifunc-impl-list.
514 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
515 * string/test-string.h: Include <ifunc-impl-list.h>.
516 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
517 impl_array): New variables.
518 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
520 (test_init): Call __libc_ifunc_impl_list to initialize
521 func_list if TEST_IFUNC and TEST_NAME are defined.
523 * string/Makefile (strop-tests): Add bcopy and bzero.
524 * string/test-bcopy.c: New file.
525 * string/test-bzero.c: Likewise.
526 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
528 * string/test-memset.c: Support bzero test if TEST_BZERO is
530 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
532 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
534 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
537 2012-10-10 Joseph Myers <joseph@codesourcery.com>
539 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
540 * configure: Regenerated.
542 * Makeconfig (+link-static-before-libc): Don't include
545 * libio/libio.h (_IO_pos_t): Remove.
547 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
549 * NEWS: Add note about FIPS mode. Wording suggested by Roland
552 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
554 * crypt/crypt-entry.c: Include fips-private.h.
555 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
556 * crypt/md5c-test.c (main): Tolerate disabled MD5.
557 * sysdeps/unix/sysv/linux/fips-private.h: New file.
558 * sysdeps/generic/fips-private.h: New file, dummy fallback.
560 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
562 * crypt/crypt-private.h: Include stdbool.h.
563 (_ufc_setup_salt_r): Return bool.
564 * crypt/crypt-entry.c: Include errno.h.
565 (__crypt_r): Return NULL with EINVAL for bad salt.
566 * crypt/crypt_util.c (bad_for_salt): New.
567 (_ufc_setup_salt_r): Check that salt is long enough and within
568 the specified alphabet.
569 * crypt/badsalttest.c: New file.
570 * crypt/Makefile (tests): Add it.
571 ($(objpfx)badsalttest): New.
573 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
575 * NEWS: Add entry for BZ #14602.
577 2012-10-09 Joseph Myers <joseph@codesourcery.com>
579 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
581 * math/libm-test.inc: Update comment listing what functions and
583 (isgreater_test): New function.
584 (isgreaterequal_test): Likewise.
585 (isless_test): Likewise.
586 (islessequal_test): Likewise.
587 (islessgreater_test): Likewise.
588 (isunordered_test): Likewise.
589 (main): Call the new functions.
591 2012-10-09 Roland McGrath <roland@hack.frob.com>
593 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
594 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
595 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
596 * sysdeps/i386/configure: Regenerated.
597 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
598 * sysdeps/mach/configure: Regenerated.
599 * sysdeps/mach/hurd/configure: Regenerated.
600 * sysdeps/powerpc/configure: Regenerated.
601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
603 * sysdeps/s390/s390-32/configure: Regenerated.
604 * sysdeps/s390/s390-64/configure: Regenerated.
605 * sysdeps/sh/configure: Regenerated.
606 * sysdeps/sparc/configure: Regenerated.
607 * sysdeps/unix/sysv/linux/configure: Regenerated.
608 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
609 * sysdeps/x86_64/configure: Regenerated.
611 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
612 defined. Don't check if MAP is NULL.
614 2012-10-09 Joseph Myers <joseph@codesourcery.com>
616 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
617 (_G_stat64): Likewise.
618 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
619 (_G_stat64): Likewise.
620 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
621 instead of struct _G_stat64.
622 * libio/fileops.c (mmap_remap_check): Likewise.
623 (decide_maybe_mmap): Likewise.
624 (_IO_new_file_seekoff): Likewise.
625 (_IO_file_stat): Likewise.
626 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
628 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
629 instead of struct _G_stat64.
630 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
632 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
635 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
637 (CHECK_EOL): New macro.
638 (two_way_short_needle): Check beginning of haystack for EOL. Use
640 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
641 Replace with CHECK_EOL.
642 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
643 Replace with CHECK_EOL.
645 2012-10-08 Joseph Myers <joseph@codesourcery.com>
647 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
649 * math/libm-test.inc: Update comment listing what functions and
651 (finite_test): New function.
652 (isinf_test): Likewise.
653 (isnan_test): Likewise.
654 (fpclassify_test): Test subnormal input.
655 (isfinite_test): Likewise.
656 (isnormal_test): Likewise.
657 (main): Call the new functions.
659 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
662 * Makerules (%.dynsym): Force C locale when running
663 $(OBJDUMP) --dynamic-syms.
665 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
670 2012-10-06 David S. Miller <davem@davemloft.net>
672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
673 upper 32-bits of the length value in %o2 since we use branch-on-register
674 tests which consider the entire 64-bit register.
676 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
678 * string/test-strstr.c (check2): Add a test for page boundary.
680 2012-10-05 David S. Miller <davem@davemloft.net>
682 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
685 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
688 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
689 and bzero when HWCAP_SPARC_CRYPTO is present.
691 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
694 * string/test-strstr.c (check2): New function.
695 (test_main): Call check2.
697 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
699 * string/bug-strcasestr1.c (do_test): Moved to ...
700 * string/test-strcasestr.c (check1): Here. New function.
701 (do_one_test): Break out result checking code into ...
702 (check_result): This. New function.
703 (do_one_test): Call check_result.
704 (test_main): Call check1.
705 * string/bug-strchr1.c (do_test): Moved to ...
706 * string/test-strchr.c (check1): Here. New function.
707 (do_one_test): Break out result checking code into ...
708 (check_result): This. New function.
709 (do_one_test): Call check_result.
710 (test_main): Call check1.
711 * string/bug-strstr1.c (main): Moved to ...
712 * string/test-strchr.c (check1): Here. New function.
713 (do_one_test): Break out result checking code into ...
714 (check_result): This. New function.
715 (do_one_test): Call check_result.
716 (test_main): Call check1.
717 * string/bug-strcasestr1.c: Removed.
718 * string/bug-strchr1.c: Likewise.
719 * string/bug-strstr1.c: Likewise.
721 * elf/Makefile (dl-routines): Add hwcaps.
722 * elf/dl-support.c (_dl_important_hwcaps): Removed.
723 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
724 (_dl_important_hwcaps): Moved to ...
725 * elf/dl-hwcaps.c: Here. New file.
726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
729 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
730 if IS_IN_rtld isn't defined.
732 * elf/dl-support.c (_dl_sysinfo_map): New.
733 Include "get-dynamic-info.h" and "setup-vdso.h".
734 (_dl_non_dynamic_init): Call setup_vdso.
735 * elf/dynamic-link.h: Don't include <assert.h>.
736 (elf_get_dynamic_info): Moved to ...
737 * elf/get-dynamic-info.h: Here. New file.
738 * elf/dynamic-link.h: Include "get-dynamic-info.h".
739 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
740 * elf/setup-vdso.h: Here. New file.
741 * elf/rtld.c: Include "setup-vdso.h".
742 (dl_main): Call setup_vdso.
744 2012-10-05 Joseph Myers <joseph@codesourcery.com>
746 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
747 creal in comment listing functions tested. List finite, isinf,
748 isnan, isless, islessequal, isgreater, isgreaterequal,
749 islessgreater, isunordered, lgamma_r and pow10 as functions and
750 macros not tested. Mention which functions not tested are aliases
751 for other functions. Fix typo. Note that signs of NaNs are not
754 * scripts/config.guess: Update from config.git.
755 * scripts/config.sub: Likewise.
757 2012-10-04 Roland McGrath <roland@hack.frob.com>
759 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
760 * misc/madvise.c (madvise): Renamed to __madvise.
761 Make madvise a weak alias.
762 * include/sys/mman.h: Declare __madvise.
763 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
764 * sysdeps/unix/syscalls.list
765 (madvise): Make __madvise the strong name, and madvise a weak alias.
766 * sysdeps/unix/sysv/linux/syscalls.list
767 (madvise, mmap): Remove redundant entries.
768 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
769 * malloc/malloc.c (mtrim): Likewise.
770 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
772 2012-10-03 Roland McGrath <roland@hack.frob.com>
774 * sysdeps/mach/hurd/dl-cache.c: File removed.
775 * config.h.in (USE_LDCONFIG): New #undef.
776 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
777 * configure: Regenerated.
778 * elf/Makefile (dl-routines): Add dl-cache only under
779 [$(use-ldconfig) = yes].
780 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
781 cache on [USE_LDCONFIG].
782 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
784 * elf/rtld.c (dl_main): Likewise.
786 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
788 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
789 _SC_LEVEL4_CACHE_LINESIZE.
791 2012-10-03 Roland McGrath <roland@hack.frob.com>
793 * sysdeps/unix/bsd/confstr.h: File removed.
795 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
797 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
800 2012-10-02 Roland McGrath <roland@hack.frob.com>
802 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
803 Make 'mapoff' field ElfW(Off) rather than off_t.
805 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
807 * nscd/Makefile: Remove nscd-cflags and all its users.
808 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
809 (CFLAGS-nonlib): Add compiler flags for nscd modules.
812 * malloc.c (malloc_printerr): Clarify error message.
814 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
818 Set bit_FMA_Usable if FMA is supported.
819 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
821 (bit_FMA4_Usable): Updated.
822 (index_FMA_Usable): New macro.
823 (CPUID_FMA): Likewise
824 (HAS_FMA): Defined with bit_FMA_Usable.
826 2012-10-01 Roland McGrath <roland@hack.frob.com>
828 * bits/types.h (__swblk_t): Type removed.
829 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
830 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
832 (__SWBLK_T_TYPE): Likewise.
833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
834 (__SWBLK_T_TYPE): Likewise.
835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
836 (__SWBLK_T_TYPE): Likewise.
837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
838 (__SWBLK_T_TYPE): Likewise.
840 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
841 Honza Horak <hhorak@redhat.com>
843 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
844 (xdr_mapname): Use YPMAXMAP as maxsize.
845 (xdr_peername): Use YPMAXPEER as maxsize.
846 (xdr_keydat): Use YPAXRECORD as maxsize.
847 (xdr_valdat): Use YPMAXRECORD as maxsize.
849 2012-10-01 Roland McGrath <roland@hack.frob.com>
851 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
853 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
854 * csu/init-first.c: ... here.
855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
856 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
859 * sysdeps/i386/init-first.c: File removed.
860 * sysdeps/sh/init-first.c: File removed.
862 2012-10-01 Joseph Myers <joseph@codesourcery.com>
865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
866 if x * y might underflow to zero and z is zero.
867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
869 * math/libm-test.inc (min_subnorm_value): New variable.
870 (fma_test): Add more tests.
871 (fma_test_towardzero): Likewise.
872 (fma_test_downward): Likewise
873 (fma_test_upward): Likewise.
874 (initialize): Set min_subnorm_value.
876 2012-09-29 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
882 mode for addition resulting in exact zero.
883 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
888 * math/libm-test.inc (fma_test): Add more tests.
889 (fma_test_towardzero): New function.
890 (fma_test_downward): Likewise.
891 (fma_test_upward): Likewise.
892 (main): Call the new functions.
894 2012-09-28 David S. Miller <davem@davemloft.net>
896 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
898 2012-09-28 Roland McGrath <roland@hack.frob.com>
900 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
903 * sysdeps/gnu/_G_config.h: Moved to ...
904 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
905 * sysdeps/mach/hurd/_G_config.h: Moved to ...
906 * sysdeps/generic/_G_config.h: ... here.
908 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
910 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
912 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
913 Conditionalize target on [libnss_test1.so-version].
915 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
917 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
918 (elfobjdir): Move out of conditionals.
920 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
921 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
922 (__nss_lookup_function): Conditionalize label remove_from_tree on
923 [!DO_STATIC_NSS || SHARED], matching its only use.
925 2012-09-28 David S. Miller <davem@davemloft.net>
927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
930 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
934 when HWCAP_SPARC_CRYPTO is present.
936 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
938 * io/tst-mknodat.c: Create a FIFO instead of a socket.
940 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
943 * stdio-common/vfprintf.c (process_string_arg): Revert
946 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
948 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
950 * stdio-common/tst-sprintf.c: Include <locale.h>
951 (main): Test sprintf's handling of incomplete multibyte
954 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
956 * elf/dl-runtime.c (VERSYMIDX): Removed.
957 * elf/dl-version.c (VERSYMIDX): Likewise.
958 * elf/do-rel.h (VERSYMIDX): Likewise.
960 * elf/dynamic-link.h (VERSYMIDX): Likewise.
961 * elf/rtld.c (VALIDX): Likewise.
963 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
964 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
965 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
966 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
970 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
972 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
974 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
977 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
979 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
980 addresses are in the same scope as 192.0.2/24.
981 * posix/gai.conf: Document new scope table defaults.
983 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
986 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
987 for ftell. Compute offsets from write pointers instead.
988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
990 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
993 * libio/Makefile (tests): New test case tst-fseek.
994 * libio/tst-fseek.c: New test case to verify that fseek/ftell
995 combination works in wide mode.
996 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
997 state when the external buffer state changes.
999 2012-09-27 David S. Miller <davem@davemloft.net>
1002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1003 pass reloc->r_addend in as the 'high' argument to
1004 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1008 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1010 * rt/tst-aio2.c: Include <pthread.h>.
1011 * rt/tst-aio3.c: Likewise.
1013 2012-09-27 Steve Ellcey <sellcey@mips.com>
1015 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1017 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1019 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1020 contents on [SHARED].
1022 2012-09-26 Marek Polacek <polacek@redhat.com>
1026 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1027 for C++ and GCC <4.3 as well as for non GCC compilers.
1029 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1033 2012-09-25 Roland McGrath <roland@hack.frob.com>
1035 * Makefile.in (all, install): Declare with .PHONY.
1036 Reported by Michael Hope <michael.hope@linaro.org>.
1038 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1040 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1041 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1043 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1045 (sydep_routines): Add the new and the internal functions.
1046 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1049 (GLIBC_2.17): Add the new function.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1051 (GLIBC_2.17): Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1053 (GLIBC_2.17): Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1055 (GLIBC_2.17): Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1058 2012-09-25 Alan Modra <amodra@gmail.com>
1060 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1061 Add release barrier before setting once_control to say
1062 initialisation is done. Add hints on lwarx. Use macro in
1064 (clear_once_control): Add release barrier.
1066 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1069 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1071 * math/s_clog10.c (__clog10): Likewise.
1072 * math/s_clog10f.c (__clog10f): Likewise.
1073 * math/s_clog10l.c (__clog10l): Likewise.
1074 * math/s_clogf.c (__clogf): Likewise.
1075 * math/s_clogl.c (__clogl): Likewise.
1076 * math/Makefile (libm-calls): Add x2y2m1.
1077 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1078 (__x2y2m1): Likewise.
1079 (__x2y2m1l): Likewise.
1080 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1081 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1084 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1085 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1086 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1091 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1092 int as type of variable DEPTH.
1093 (glob): Use size_t instead of int as type of variables NEWCOUNT
1096 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1098 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1101 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1102 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1103 macros for using routine as __sincosf_ia32.
1104 Use macro for function declaration and weak_alias.
1105 * sysdeps/i386/fpu/libm-test-ulps: Update.
1107 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1110 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1112 * math/s_cexpf.c (__cexpf): Likewise.
1113 * math/s_csinf.c (__csinf): Likewise.
1114 * math/s_csinhf.c (__csinhf): Likewise.
1115 * math/s_ctanf.c (__ctanf): Likewise.
1116 * math/s_ctanhf.c (__ctanhf): Likewise.
1117 * math/s_ccosh.c (__ccoshf): Likewise.
1118 * math/s_cexp.c (__cexpl): Likewise.
1119 * math/s_csin.c (__csin): Likewise.
1120 * math/s_csinh.c (__csinh): Likewise.
1121 * math/s_ctan.c (__ctan): Likewise.
1122 * math/s_ctanh.c (ctanh): Likewise.
1123 * math/s_ccoshl.c (__ccoshl): Likewise.
1124 * math/s_cexpl.c (__cexpl): Likewise.
1125 * math/s_csinl.c (__csinl): Likewise.
1126 * math/s_csinhl.c (__csinhl): Likewise.
1127 * math/s_ctanl.c (__ctanl): Likewise.
1128 * math/s_ctanhl.c (__ctanhl): Likewise.
1130 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1132 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1133 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1134 (_IO_off_t): Define to __off_t, not _G_off_t.
1135 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1136 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1137 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1138 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1139 type of __dummy and __dummy2 fields.
1140 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1141 (_G_ssize_t): Likewise.
1142 (_G_off_t): Likewise.
1143 (_G_pid_t): Likewise.
1144 (_G_uid_t): Likewise.
1145 (_G_wchar_t): Likewise.
1146 (_G_wint_t): Likewise.
1147 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1148 (_G_ssize_t): Likewise.
1149 (_G_off_t): Likewise.
1150 (_G_pid_t): Likewise.
1151 (_G_uid_t): Likewise.
1152 (_G_wchar_t): Likewise.
1153 (_G_wint_t): Likewise.
1154 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1155 (_G_ssize_t): Likewise.
1156 (_G_off_t): Likewise.
1157 (_G_pid_t): Likewise.
1158 (_G_uid_t): Likewise.
1159 (_G_wchar_t): Likewise.
1160 (_G_wint_t): Likewise.
1162 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1164 * malloc/arena.c: Include malloc-sysdep.h.
1165 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1166 is sufficient to shrink the heap or an unmap is needed.
1167 * sysdeps/generic/malloc-sysdep.h: New file. Define
1168 new function check_may_shrink_heap.
1169 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1170 new function check_may_shrink_heap.
1172 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1174 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1177 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1179 * catgets/test-gencat.sh: Add "set -e".
1180 * elf/tst-pathopt.sh: Likewise.
1181 * grp/tst_fgetgrent.sh: Likewise.
1182 * iconvdata/run-iconv-test.sh: Likewise.
1183 * intl/tst-gettext.sh: Likewise.
1184 * intl/tst-gettext2.sh: Likewise.
1185 * intl/tst-gettext4.sh: Likewise.
1186 * intl/tst-gettext6.sh: Likewise.
1187 * intl/tst-translit.sh: Likewise.
1188 * io/ftwtest-sh: Likewise.
1189 * libio/test-freopen.sh: Likewise.
1190 * malloc/tst-mtrace.sh: Likewise.
1191 * posix/globtest.sh: Likewise.
1192 * posix/tst-getconf.sh: Likewise.
1193 * posix/wordexp-tst.sh: Likewise.
1194 * stdio-common/tst-printf.sh: Likewise.
1195 * stdio-common/tst-unbputc.sh: Likewise.
1196 * stdlib/tst-fmtmsg.sh: Likewise.
1197 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1198 * catgets/Makefile: Do not specify -e option when running
1199 testsuite shell scripts.
1200 * elf/Makefile: Likewise.
1201 * grp/Makefile: Likewise.
1202 * iconvdata/Makefile: Likewise.
1203 * intl/Makefile: Likewise.
1204 * io/Makefile: Likewise.
1205 * libio/Makefile: Likewise.
1206 * malloc/Makefile: Likewise.
1207 * posix/Makefile: Likewise.
1208 * stdio-common/Makefile: Likewise.
1209 * stdlib/Makefile: Likewise.
1210 * sysdeps/x86_64/Makefile: Likewise.
1212 * io/ftwtest-sh: Add copyright header.
1213 * posix/globtest.sh: Likewise.
1214 * posix/tst-getconf.sh: Likewise.
1215 * posix/wordexp-tst.sh: Likewise.
1216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1218 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1221 * Makeconfig (+link): Defined as $(+link-static) if
1222 $(build-shared) isn't yes.
1223 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1225 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1227 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1230 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1231 new chunk size with MALLOC_ALIGN_MASK.
1233 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1236 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1238 (__printf_fphex): Determine rounding using get_rounding_mode and
1240 * stdio-common/tst-printf-round.c (struct hex_test): New
1242 (hex_tests): New variable.
1243 (test_hex_in_one_mode): New function.
1244 (do_test): Also run tests for hex float output.
1246 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1248 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1249 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1250 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1251 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1252 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1253 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1254 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1255 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1257 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1259 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1260 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1261 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1262 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1264 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1267 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1269 * elf/tst-rtld-load-self.sh: New test.
1270 * elf/Makefile: Run it.
1272 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1275 (tst-writev-ENV): Remove.
1276 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1278 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1280 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1282 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1284 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1286 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1288 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1289 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1293 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1296 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1297 * config.make.in (have-cpp-asm-debuginfo): Removed.
1298 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1299 * configure: Regenerated.
1301 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1304 * stdio-common/printf_fp.c: Include <stdbool.h> and
1306 (___printf_fp): Determine rounding using get_rounding_mode and
1308 * stdio-common/tst-printf-round.c: New file.
1309 * stdio-common/Makefile (tests): Add tst-printf-round.
1310 (link-libm): New variable.
1311 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1313 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1316 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1317 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1319 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1322 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1324 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1325 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1326 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1329 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1332 * include/rounding-mode.h: New file.
1333 * sysdeps/generic/get-rounding-mode.h: Likewise.
1334 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1335 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1336 (MAX_VALUE): New macro.
1337 (MIN_VALUE): Likewise.
1338 (overflow_value): New function.
1339 (underflow_value): Likewise.
1340 (round_and_return): Use overflow_value and underflow_value to
1341 determine return values in overflow and underflow cases. Use
1342 round_away to determine rounding depending on rounding mode.
1343 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1344 determine return values in overflow and underflow cases.
1345 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1346 (struct test_results): New structure.
1347 (struct test): Use struct test_results to store expected results
1348 for all rounding modes.
1349 (TEST): Include expected results for all rounding modes.
1350 (test_in_one_mode): New function.
1351 (do_test): Use test_in_one_mode to compute and check results.
1352 Check results for all rounding modes.
1353 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1356 2012-12-09 Allan McRae <allan@archlinux.org>
1358 * sysdeps/i386/fpu/libm-test-ulps: Update
1360 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1362 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1363 (_G_int32_t): Likewise.
1364 (_G_uint16_t): Likewise.
1365 (_G_uint32_t): Likewise.
1366 (_G_HAVE_BOOL): Likewise.
1367 (_G_HAVE_ATEXIT): Likewise.
1368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1369 (_G_HAVE_IO_FILE_OPEN): Likewise.
1370 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1371 (_G_int32_t): Likewise.
1372 (_G_uint16_t): Likewise.
1373 (_G_uint32_t): Likewise.
1374 (_G_HAVE_BOOL): Likewise.
1375 (_G_HAVE_ATEXIT): Likewise.
1376 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1377 (_G_HAVE_IO_FILE_OPEN): Likewise.
1378 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1379 (_G_int32_t): Likewise.
1380 (_G_uint16_t): Likewise.
1381 (_G_uint32_t): Likewise.
1382 (_G_HAVE_BOOL): Likewise.
1383 (_G_HAVE_ATEXIT): Likewise.
1384 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1385 (_G_HAVE_IO_FILE_OPEN): Likewise.
1387 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1389 * csu/libc-tls.c: Update copyright years.
1391 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1393 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1394 [!_G_USING_THUNKS]: Remove conditional code.
1395 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1396 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1398 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1399 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1400 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1401 (_G_VTABLE_LABEL_PREFIX): Likewise.
1402 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1403 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1404 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1405 (_G_VTABLE_LABEL_PREFIX): Likewise.
1406 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1407 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1409 (_G_VTABLE_LABEL_PREFIX): Likewise.
1410 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1412 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1414 * libio/Makefile: Include ../Makeconfig before tests.
1415 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1416 only if $(build-shared) is yes.
1418 * iconv/gconv_db.c: Update copyright years.
1420 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1422 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1423 unwind info if defined PIC. Fix special cases description.
1424 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1426 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1428 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1430 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1432 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1434 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1437 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1438 (LDLIBS-tst-chk4): This.
1439 (LDFLAGS-tst-chk5): Renamed to ...
1440 (LDLIBS-tst-chk5): This.
1441 (LDFLAGS-tst-chk6): Renamed to ...
1442 (LDLIBS-tst-chk6): This.
1443 (LDFLAGS-tst-lfschk4): Renamed to ...
1444 (LDLIBS-tst-lfschk4): This.
1445 (LDFLAGS-tst-lfschk5): Renamed to ...
1446 (LDLIBS-tst-lfschk5): This.
1447 (LDFLAGS-tst-lfschk6): Renamed to ...
1448 (LDLIBS-tst-lfschk6): This.
1450 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1451 on $(common-objpfx)soversions.mk.
1453 2012-09-07 Joseph Myers <joseph@codesourcery.com>
1456 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1459 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * malloc/arena.c (arena_get_retry): New function that gets
1462 another arena for the caller to try its request on.
1463 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1464 current arena cannot fulfill the request.
1465 (__libc_memalign): Likewise.
1466 (__libc_memalign): Likewise.
1467 (__libc_pvalloc): Likewise.
1468 (__libc_calloc): Likewise.
1470 2012-09-05 John Tobey <john.tobey@gmail.com>
1473 * manual/arith.texi (Operations on Complex): Fix description
1476 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1479 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1483 * manual/memory.texi (Memory): Make order of menu items match
1486 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1488 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1489 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1490 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1492 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1494 * csu/libc-tls.c (static_dtv): Renamed to ...
1495 (_dl_static_dtv): This. Make it global.
1496 (_dl_initial_dtv): Removed.
1497 (__libc_setup_tls): Updated.
1498 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1499 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1502 2012-09-06 Petr Machata <pmachata@redhat.com>
1504 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1505 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1506 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1507 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1509 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1512 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1513 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1516 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1519 * Makeconfig (link-static-before-libc): Replace $(+prector)
1521 (link-static-after-libc): Replace $(+postctor) with
1523 (link-bounded): Replace $(+prector)/$(+postctor) with
1524 $(+prectorT)/$(+postctorT).
1525 (+prectorT): New macro.
1526 (+postctorT): Likewise.
1528 2012-09-06 Joseph Myers <joseph@codesourcery.com>
1530 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1531 (round_str): Handle values above the maximum for IBM long double
1533 * stdlib/tst-strtod-round.c (tests): Regenerated.
1535 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1537 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1539 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1540 zarch_nohighgprs around the zarch optimized routines.
1541 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1542 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1546 2012-09-05 David S. Miller <davem@davemloft.net>
1548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1550 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1551 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1552 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1556 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1558 * malloc/arena.c: Fold copyright years.
1559 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1561 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1563 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1565 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1567 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1569 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1571 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1572 change internal state upon failure.
1574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
1576 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1577 * malloc/memusage.c (mmap): Likewise.
1578 (mmap64, mremap): Likewise. Adjust name in comment.
1580 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * libio/fileops.c: Fix typos in comments.
1583 * libio/oldfileops.c: Likewise.
1584 * libio/wfileops.c: Likewise.
1586 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1589 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1590 (tst-malloc-usable-ENV): Set environment for test case.
1591 * malloc/hooks.c (malloc_check_get_size): New function to get
1593 * malloc/malloc.c (musable): Use malloc_check_get_size.
1594 * malloc/tst-malloc-usable.c: New test case.
1596 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1598 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1600 2012-09-05 Allan McRae <allan@archlinux.org>
1603 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1604 determine header location.
1605 * configure: Regenerated.
1607 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1609 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1611 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
1612 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1616 2012-09-04 David S. Miller <davem@davemloft.net>
1618 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1619 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1622 2012-09-04 Florian Weimer <fweimer@redhat.com>
1624 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1627 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1629 2012-09-04 Joseph Myers <joseph@codesourcery.com>
1632 * libio/iogetdelim.c: Include <limits.h>.
1633 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1634 + len + 1 would overflow.
1636 2012-09-03 Andreas Jaeger <aj@suse.de>
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1641 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1644 Add s_sinf-sse2, s_conf-sse2.
1646 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1647 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1648 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1649 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1651 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1652 for using routine as __sinf_ia32.
1653 Use macro for function declaration and weak_alias.
1654 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1655 for using routine as __cosf_ia32.
1656 Use macro for function declaration and weak_alias.
1658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1661 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1662 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1665 * math/libm-test.inc (cos_test): Add more test cases.
1666 (sin_test): Likewise.
1667 (sincos_test): Likewise.
1669 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1672 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1676 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1679 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1680 first element of the GOT.
1681 (elf_machine_load_address): Return the difference between
1682 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1684 2012-09-01 Allan McRae <allan@archlinux.org>
1687 * configure.in (AWK): Require gawk version 3.0 or later.
1688 * configure: Regenerated.
1690 2012-09-01 Joseph Myers <joseph@codesourcery.com>
1692 * sysdeps/unix/sysv/linux/kernel-features.h
1693 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1695 [__NR_clock_getres]: Make code unconditional.
1696 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1697 (clock_getcpuclockid): Remove code left unreachable by removal of
1699 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1701 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1702 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1703 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1704 Make code unconditional.
1705 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1707 * sysdeps/unix/sysv/linux/clock_settime.c
1708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1710 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1713 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1716 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1717 scripts/test-installation.pl.
1719 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1720 and $ld_so_version if it is set.
1722 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1726 failure if reading from procfs failed.
1727 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1729 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1731 * sysdeps/unix/sysv/linux/kernel-features.h
1732 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1733 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1734 Remove conditional code.
1735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1736 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1737 Remove conditional code.
1738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1739 * sysdeps/unix/sysv/linux/i386/fxstat.c
1740 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1742 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1745 * sysdeps/unix/sysv/linux/i386/lxstat.c
1746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1748 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1749 Remove conditional code.
1750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1751 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1752 Remove conditional code.
1753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1755 <kernel-features.h>.
1756 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1758 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1759 Remove conditional code.
1760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1761 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1764 2012-08-27 Mike Frysinger <vapier@gentoo.org>
1767 * NEWS: Add fixed bug number.
1769 2012-08-27 Joseph Myers <joseph@codesourcery.com>
1772 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1773 underflowing exponent in case of negative sign.
1774 * stdlib/tst-strtod-round-data: Add more tests.
1775 * stdlib/tst-strtod-round.c (tests): Regenerated.
1778 * stdlib/strtod_l.c (NDIG): Remove.
1779 (HEXNDIG): Likewise.
1780 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1781 smallest representable value.
1782 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1783 lie within an exact representation of 1/2 ulp of the result.
1784 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1786 (TENS_P9_IDX): Define unconditionally.
1787 (TENS_P9_SIZE): Likewise.
1788 (TENS_P10_IDX): Likewise.
1789 (TENS_P10_SIZE): Likewise.
1790 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1791 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1792 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1793 entries for 10^2^13 and 10^2^14.
1794 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1795 (TENS_P13_IDX): Define.
1796 (TENS_P13_SIZE): Likewise.
1797 (TENS_P14_IDX): Likewise.
1798 (TENS_P14_SIZE): Likewise.
1799 (_fpioconst_pow10): Change array size to
1800 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1802 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1803 1024]: Add entries for 10^2^13 and 10^2^14.
1804 [LAST_POW10 > _LAST_POW10]: Remove #error.
1805 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1806 (_fpioconst_pow10): Change array size to
1807 FPIOCONST_POW10_ARRAY_SIZE.
1808 * stdlib/gen-fpioconst.c: New file.
1809 * stdlib/gen-tst-strtod-round.c: Likewise.
1810 * stdlib/tst-strtod-round-data: Likewise.
1811 * stdlib/tst-strtod-round.c: Likewise.
1812 * stdlib/Makefile (tests): Add tst-strtod-round.
1815 * stdlib/strtod_l.c: Include <stdint.h>.
1816 (NDEBUG): Do not define.
1817 (round_and_return): Change EXPONENT parameter to type intmax_t.
1818 Rearrange calculations to avoid internal overflow possibilities.
1819 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1820 Rearrange calculations to avoid internal overflow possibilities.
1821 Assert that number fits inside MPNSIZE limbs.
1822 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1823 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1824 calculations and add assertions to avoid internal overflow
1825 possibilities. Add casts to avoid signed/unsigned operations.
1826 * stdlib/tst-strtod-overflow.c: New file.
1827 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1829 2012-08-25 Marek Polacek <polacek@redhat.com>
1831 * time/time.h: Fix some typos in comments.
1833 2012-08-23 Roland McGrath <roland@hack.frob.com>
1835 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1836 * posix/tst-rfc3484-2.c: Likewise.
1837 * posix/tst-rfc3484-3.c: Likewise.
1839 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1841 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1842 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1844 2012-08-23 Joseph Myers <joseph@codesourcery.com>
1846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1847 #include of fxstatat64.c.
1849 2012-08-22 Roland McGrath <roland@hack.frob.com>
1851 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1852 * shadow/getspent_r.c: Likewise.
1853 * shadow/getspnam.c: Likewise.
1854 * shadow/getspnam_r.c: Likewise.
1855 * gshadow/getsgent.c: Likewise.
1856 * gshadow/getsgent_r.c: Likewise.
1857 * gshadow/getsgnam.c: Likewise.
1858 * gshadow/getsgnam_r.c: Likewise.
1859 * inet/getnetbyad.c: Likewise.
1860 * inet/getnetbyad_r.c: Likewise.
1861 * inet/getnetbynm.c: Likewise.
1862 * inet/getnetbynm_r.c: Likewise.
1863 * inet/getnetent.c: Likewise.
1864 * inet/getnetent_r.c: Likewise.
1865 * inet/getproto.c: Likewise.
1866 * inet/getproto_r.c: Likewise.
1867 * inet/getprtent.c: Likewise.
1868 * inet/getprtent_r.c: Likewise.
1869 * inet/getprtname.c: Likewise.
1870 * inet/getprtname_r.c: Likewise.
1871 * inet/getrpcbyname.c: Likewise.
1872 * inet/getrpcbyname_r.c: Likewise.
1873 * inet/getrpcbynumber.c: Likewise.
1874 * inet/getrpcbynumber_r.c: Likewise.
1875 * inet/getrpcent.c: Likewise.
1876 * inet/getrpcent_r.c: Likewise.
1877 * inet/getaliasent.c: Likewise.
1878 * inet/getaliasent_r.c: Likewise.
1879 * inet/getaliasname.c: Likewise.
1880 * inet/getaliasname_r.c: Likewise.
1881 * nscd/getgrgid_r.c: Likewise.
1882 * nscd/getgrnam_r.c: Likewise.
1883 * nscd/gethstbyad_r.c: Likewise.
1884 * nscd/gethstbynm3_r.c: Likewise.
1885 * nscd/getpwnam_r.c: Likewise.
1886 * nscd/getpwuid_r.c: Likewise.
1887 * nscd/getsrvbynm_r.c: Likewise.
1888 * nscd/getsrvbypt_r.c: Likewise.
1889 * nscd/gai.c: Likewise.
1891 * configure.in (build_nscd): New substituted variable, set
1892 by --disable-build-nscd and defaults to $use_nscd.
1893 * configure: Regenerated.
1894 * config.make.in (build-nscd): New substituted variable.
1895 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1896 Change conditional to require [$(build-nscd) = yes] as well.
1897 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1900 * configure.in (use_nscd): New substituted variable, set by
1901 --disable-nscd. If enabled, define USE_NSCD.
1902 * configure: Regenerated.
1903 * config.h.in: Add USE_NSCD.
1904 * config.make.in (use-nscd): New substituted variable.
1905 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1906 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1907 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1908 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1909 (CFLAGS-getgrnam_r.c): Likewise.
1910 (CFLAGS-initgroups.c): Likewise.
1911 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1912 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1914 * inet/getnetgrent_r.c
1915 (nscd_setnetgrent): New function, broken out of ...
1916 (setnetgrent): ... here. Call it.
1917 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1918 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1919 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1920 * nscd/Makefile (routines, aux): Move definitions after include of
1921 Makeconfig. Conditionalize on [$(use-nscd) != no].
1922 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1923 Conditionalize on [USE_NSCD].
1924 (is_nscd, nscd_init_cb): Likewise.
1925 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1926 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1927 * nss/nss_db/db-init.c: Likewise.
1928 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1930 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1931 (make_request): Use it.
1932 (cache_valid_p): New function.
1933 (__check_pf): Use it.
1934 * NEWS: Add item for --disable-nscd.
1936 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1938 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1939 to support sed >= 4.2.1-20-ga9bf076.
1940 * configure: Regenerated.
1942 2012-08-22 Roland McGrath <roland@hack.frob.com>
1944 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1945 Conditionalize whole body on [IREL].
1947 2012-08-22 Jeff Law <law@redhat.com>
1950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1951 if the family is PF_UNSPEC.
1953 2012-08-22 Mike Frysinger <vapier@gentoo.org>
1955 * Makerules (lib-version): Rename from V.
1956 (install-lib-nosubdir): Change V to lib-version.
1958 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1961 * powerpc32/power6/wcschr.c: New file.
1962 * powerpc32/power6/wcscpy.c: New file.
1963 * powerpc32/power6/wcsrchr.c: New file.
1964 * powerpc64/power6/wcschr.c: New file.
1965 * powerpc64/power6/wcscpy.c: New file.
1966 * powerpc64/power6/wcsrchr.c: New file.
1968 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1970 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1971 (two_way_short_needle): Use it.
1972 * string/strstr.c (AVAILABLE1_USES_J): Define.
1973 * string/strcasestr.c: Likewise.
1975 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1977 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1980 * NEWS: Add an entry.
1981 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1982 define their defaults.
1983 (two_way_short_needle): Detect end-of-string on-the-fly.
1984 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1985 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1986 * string/bug-strcasestr1.c: New test.
1987 * string/Makefile: Run it.
1989 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1992 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1993 the first character.
1995 2012-08-21 Roland McGrath <roland@hack.frob.com>
1997 * csu/elf-init.c (__libc_csu_irel): Function removed.
1998 * csu/libc-start.c (apply_irel): New function.
1999 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2001 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/unix/sysv/linux/kernel-features.h
2004 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2005 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2006 <kernel-features.h>.
2007 [__NR_fadvise64_64]: Make code unconditional.
2008 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2009 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2010 !__NR_fadvise64_64)]: Likewise.
2011 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2012 !__NR_fadvise64_64))]: Likewise.
2013 [__NR_fadvise64]: Make code unconditional.
2014 [!__NR_fadvise64]: Remove conditional code.
2015 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2016 <kernel-features.h>.
2017 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2019 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2022 not include <kernel-features.h>.
2023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2027 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2028 include <kernel-features.h>.
2029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2034 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2037 slight instruction rearrangements per scrollpipe analysis.
2038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2040 2012-08-20 Roland McGrath <roland@hack.frob.com>
2042 * manual/syslog.texi (syslog; vsyslog, closelog):
2043 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2044 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2046 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2047 DSOCAPS to match condition on defining it.
2049 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2051 * sysdeps/unix/sysv/linux/kernel-features.h
2052 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2054 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2055 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2064 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2066 * sysdeps/unix/sysv/linux/kernel-features.h
2067 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2068 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2070 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2072 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2073 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2075 Make code unconditional.
2076 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2077 (__mmap64) [!__NR_mmap2]: Likewise.
2078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2079 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2080 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2082 [__NR_mmap2]: Make code unconditional.
2083 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2084 (__mmap64) [!__NR_mmap2]: Likewise.
2086 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2088 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2090 2012-08-18 Andreas Jaeger <aj@suse.de>
2092 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2094 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2096 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2097 * include/unistd.h (__have_sock_cloexec): Likewise.
2098 (__have_pipe2): Likewise.
2099 (__have_dup3): Likewise.
2101 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2104 * include/unistd.h (__have_pipe2): Change define into an extern int.
2105 (__have_dup3): Likewise.
2106 * socket/have_sock_cloexec.c: Include fcntl.h.
2107 (__have_pipe2): New variable.
2108 (__have_dup3): Likewise.
2110 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2112 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2114 2012-08-17 Marek Polacek <polacek@redhat.com>
2116 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2117 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2119 2012-08-17 Roland McGrath <roland@hack.frob.com>
2121 * configure.in: Add AC_SUBST for sysheaders.
2122 * configure: Regenerated.
2123 * config.make.in (sysheaders): New substituted variable.
2125 * sysdeps/unix/mkfifo.c: Moved ...
2126 * sysdeps/posix/mkfifo.c: ... here.
2127 * sysdeps/unix/mkfifoat.c: Moved ...
2128 * sysdeps/posix/mkfifoat.c: ... here.
2130 * sysdeps/unix/utime.c: Moved ...
2131 * sysdeps/posix/utime.c: ... here.
2133 * sysdeps/unix/time.c: Moved ...
2134 * sysdeps/posix/time.c: ... here.
2135 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2138 * sysdeps/unix/nice.c: Moved ...
2139 * sysdeps/posix/nice.c: ... here.
2141 * sysdeps/unix/alarm.c: Moved ...
2142 * sysdeps/posix/alarm.c: ... here.
2144 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2146 2012-08-17 Jeff Law <law@redhat.com>
2148 * intl/Makefile (codeset_mo): New variable.
2149 ($(codeset_mo)): New target.
2150 (tst-codeset.out): Depend on that. Remove explicit rule.
2151 (tst-gettext3.out, tst-gettext5.out): Likewise.
2152 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2153 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2154 * intl/tst-codeset.sh: Remove.
2155 * intl/tst-gettext3.sh: Likewise.
2156 * intl/tst-gettext5.sh: Likewise.
2158 2012-08-17 Roland McGrath <roland@hack.frob.com>
2160 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2161 * sysdeps/unix/syscalls.list: ... here.
2163 * sysdeps/posix/getaddrinfo.c
2164 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2165 (gaiconf_init, gaiconf_reload): Use them.
2167 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2168 Define using time_t rather than struct timespec.
2170 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2171 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2173 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2175 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2176 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2180 __libc_cleanup_push argument.
2182 * bits/param.h: New file.
2183 * misc/sys/param.h: New file.
2184 * include/sys/param.h: New file.
2185 * misc/Makefile (headers): Add bits/param.h.
2186 * sysdeps/generic/sys/param.h: File removed.
2187 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2188 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2189 * sysdeps/mach/hurd/bits/param.h: New file.
2190 * sysdeps/mach/hurd/sys/param.h: New file.
2192 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2195 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2197 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2198 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2201 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2202 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2203 rather than -D_IO_MTSAFE_IO conditionally.
2204 * stdio-common/Makefile (CPPFLAGS): Likewise.
2205 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2206 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2207 Use $(libio-mtsafe).
2208 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2210 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2211 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2212 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2213 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2214 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2215 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2216 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2217 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2218 (CFLAGS-fread_u_chk.c): Likewise.
2219 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2220 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2221 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2222 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2223 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2224 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2225 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2226 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2227 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2229 * libio/Makefile: Test [$(libc-reentrant) = yes]
2230 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2233 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2234 * sysdeps/pthread/configure: File removed.
2235 * sysdeps/pthread/Makeconfig: New file.
2236 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2237 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2239 2012-08-16 Gary Benson <gbenson@redhat.com>
2241 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2242 unmapping the first object in a namespace.
2244 2012-08-16 Roland McGrath <roland@hack.frob.com>
2246 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2247 (__internal_setnetgrent): ... this. Add internal_function to
2248 definition. Add libc_hidden_def.
2249 (setnetgrent): Update caller.
2250 (internal_endnetgrent): Renamed to ...
2251 (__internal_endnetgrent): ... this. Add internal_function to
2252 definition. Add libc_hidden_def.
2253 (endnetgrent): Update caller.
2254 (internal_getnetgrent_r): Renamed to ...
2255 (__internal_getnetgrent_r): ... this. Add internal_function to
2256 definition. Add libc_hidden_def.
2257 (__getnetgrent_r): Update caller.
2258 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2260 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2262 * stdlib/longlong.h: Update from GCC.
2264 2012-08-16 Roland McGrath <roland@hack.frob.com>
2266 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2267 on _QL, which is set by umul_ppmm but never used.
2268 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2269 variables, which are set by GMP macros but never used.
2270 * stdio-common/_itowa.c (_itowa): Likewise.
2271 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2272 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2274 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2276 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2277 struct La_sh_regs is not constant.
2278 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2279 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2280 and struct La_sparc64_regs are not constant.
2282 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2284 * sysdeps/unix/sysv/linux/kernel-features.h
2285 (__ASSUME_POSIX_TIMERS): Remove.
2286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2288 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2289 Make code unconditional.
2290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2291 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2292 Make code unconditional.
2293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2294 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2295 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2297 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2298 Make code unconditional.
2299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2301 (__libc_missing_posix_timers): Remove.
2303 2012-08-15 Roland McGrath <roland@hack.frob.com>
2305 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2306 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2308 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2310 * elf/dl-sym.c: Include <stdlib.h>.
2312 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2313 constants, which avoids warnings in 32-bit builds.
2315 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2316 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2318 * misc/lseek.c: File moved to ...
2319 * io/lseek.c: ... here.
2321 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2323 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2324 shifting LEN more than 31 bits at once.
2326 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2329 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2330 segmentation fault for a case of two empty input strings.
2331 * string/test-strncasecmp.c (check1): Renamed to...
2333 (bz14195): Add new testcase for two empty input strings and N > 0.
2334 (test_main): Call new testcase, adapt for renamed function.
2336 2012-08-15 Andreas Jaeger <aj@suse.de>
2339 * crypt/md5test2.c: New test, based on test supplied by Serge
2340 Belyshev <belyshev@depni.sinp.msu.ru>.
2341 * crypt/Makefile (xtests): Add md5test-giant..
2342 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2344 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2347 * crypt/md5.c (md5_process_block): Don't assume the buffer
2348 length is less than 2**32.
2349 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2350 length is less than 2**64.
2352 2012-08-15 Roland McGrath <roland@hack.frob.com>
2354 * string/str-two-way.h: Include <sys/param.h>.
2355 (MAX): Macro removed.
2357 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2358 Move #define and #undef of memmove to just before and after
2359 including <string.h>.
2361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2362 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2363 and after including <string.h>. Move declarations of
2364 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2365 to before #include "string/memmove.c".
2367 * include/dirent.h: Declare __getdirentries.
2369 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2370 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2372 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2374 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2375 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2376 * sysdeps/i386/configure: Regenerated.
2377 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2378 STABS_CURRENT_FILE, and STABS_FUN.
2379 (END): Remove call to STABS_FUN_END.
2380 (STABS_CURRENT_FILE1): Delete.
2381 (STABS_CURRENT_FILE): Likewise.
2382 (STABS_FUN): Likewise.
2383 (STABS_FUN_END): Likewise.
2384 (STABS_FUN2): Likewise.
2385 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2386 * sysdeps/x86_64/configure: Regenerated.
2388 2012-08-14 Roland McGrath <roland@hack.frob.com>
2390 * elf/dl-open.c: Include <atomic.h>.
2391 * elf/dl-lookup.c: Likewise.
2393 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2395 * sysdeps/unix/sysv/linux/kernel-features.h
2396 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2397 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2399 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2401 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2402 condition on __ASSUME_CLONE_THREAD_FLAGS.
2404 2012-08-14 Andreas Jaeger <aj@suse.de>
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2408 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2410 * include/atomic.h (atomic_exchange_and_add): Split into ...
2411 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2414 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2418 2012-08-13 Jeff Law <law@redhat.com>
2420 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2421 null byte in the output string.
2423 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2425 * sysdeps/unix/sysv/linux/kernel-features.h
2426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2427 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2428 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2430 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2431 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2432 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2434 2012-08-09 Jeff Law <law@redhat.com>
2437 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2438 When avoid_arena is set, don't retry in the that arena. Pick the
2439 next one, whatever it might be.
2440 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2441 (arena_lock): Pass in new parameter to arena_get2.
2442 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2444 (__libc_malloc): Unify retrying after main arena failure with
2445 __libc_memalign version.
2446 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2448 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2451 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2452 to __redirect_strstr.
2453 (__strstr_sse42): Use typeof __redirect_strstr.
2454 (__strstr_ia32): Likewise.
2455 (__libc_strstr): New prototype.
2456 (strstr): Renamed to ...
2457 (__libc_strstr): This.
2458 (strstr): New strong alias of __libc_strstr.
2459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2463 (__libc_time): New prototype.
2464 (time_ifunc): Replace time with __libc_time.
2465 (time): New strong alias and hidden definition of __libc_time.
2466 (__GI_time): Remove strong alias.
2467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2469 (memmove): Redefined to __redirect_memmove.
2470 (__memmove_sse2): Use typeof __redirect_memmove.
2471 (__memmove_ssse3): Likewise.
2472 (__memmove_ssse3_back): Likewise.
2473 (__libc_memmove): New prototype.
2474 (memmove): Renamed to ...
2475 (__libc_memmove): This.
2476 (memmove): New strong alias of __libc_memmove.
2478 2012-08-08 Mark Salter <msalter@redhat.com>
2481 (R_MN10300_TLS_GD): Define.
2482 (R_MN10300_TLS_LD): Likewise.
2483 (R_MN10300_TLS_LDO): Likewise.
2484 (R_MN10300_TLS_GOTIE): Likewise.
2485 (R_MN10300_TLS_IE): Likewise.
2486 (R_MN10300_TLS_LE): Likewise.
2487 (R_MN10300_TLS_DTPMOD): Likewise.
2488 (R_MN10300_TLS_DTPOFF): Likewise.
2489 (R_MN10300_TLS_TPOFF): Likewise.
2490 (R_MN10300_SYM_DIFF): Likewise.
2491 (R_MN10300_ALIGN): Likewise.
2492 (R_MN10300_NUM): Update.
2494 2012-08-08 Joseph Myers <joseph@codesourcery.com>
2496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2499 2012-08-08 Roland McGrath <roland@hack.frob.com>
2501 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2503 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2504 sysdeps/unix -> sysdeps/posix move.
2505 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2507 2012-08-07 Allan McRae <allan@archlinux.org>
2510 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2511 (SUNOS_CPP): Likewise.
2512 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2514 (open_input): Call CPP using execvp.
2516 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2518 * sysdeps/unix/sysv/linux/kernel-features.h
2519 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2520 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2521 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2522 (__ASSUME_WAITID_SYSCALL): Likewise.
2523 * sysdeps/unix/sysv/linux/dl-execstack.c
2524 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2526 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2529 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2530 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2532 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2534 [__ASSUME_WAITID_SYSCALL]: Likewise.
2535 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2537 2012-08-07 Roland McGrath <roland@hack.frob.com>
2539 * sysdeps/unix/closedir.c: Renamed to ...
2540 * sysdeps/posix/closedir.c: ... here.
2541 * sysdeps/unix/dirfd.c: Renamed to ...
2542 * sysdeps/posix/dirfd.c: ... here.
2543 * sysdeps/unix/dirstream.h: Renamed to ...
2544 * sysdeps/posix/dirstream.h: ... here.
2545 * sysdeps/unix/fdopendir.c: Renamed to ...
2546 * sysdeps/posix/fdopendir.c: ... here.
2547 * sysdeps/unix/opendir.c: Renamed to ...
2548 * sysdeps/posix/opendir.c: ... here.
2549 * sysdeps/unix/readdir.c: Renamed to ...
2550 * sysdeps/posix/readdir.c: ... here.
2551 * sysdeps/unix/readdir_r.c: Renamed to ...
2552 * sysdeps/posix/readdir_r.c: ... here.
2553 * sysdeps/unix/rewinddir.c: Renamed to ...
2554 * sysdeps/posix/rewinddir.c: ... here.
2555 * sysdeps/unix/seekdir.c: Renamed to ...
2556 * sysdeps/posix/seekdir.c: ... here.
2557 * sysdeps/unix/telldir.c: Renamed to ...
2558 * sysdeps/posix/telldir.c: ... here.
2559 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2560 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2561 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2562 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2565 * bits/fcntl.h: ... here.
2567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2569 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2570 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2571 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2572 (struct flock): Move l_start, l_len to the beginning.
2573 Use __pid_t for l_pid.
2574 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2575 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2576 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2577 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2578 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2579 [__USE_LARGEFILE64] (struct flock64): New type.
2580 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2583 * bits/dirent.h: ... here.
2585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2586 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2588 2012-08-07 Joseph Myers <joseph@codesourcery.com>
2590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2591 Change from 2.6.0 to 2.6.16.
2592 * sysdeps/unix/sysv/linux/configure: Regenerated.
2593 * sysdeps/unix/sysv/linux/kernel-features.h
2594 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2595 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2597 (__ASSUME_UTIMES): Likewise.
2598 (__ASSUME_CLONE_STOPPED): Remove.
2599 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2600 architectures, not kernel version.
2601 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2602 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2603 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2604 (__ASSUME_WAITID_SYSCALL): Likewise.
2605 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2606 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2607 * README: State 2.6.16 as minimum Linux kernel version. Do not
2608 refer to older versions.
2610 2012-08-06 Roland McGrath <roland@hack.frob.com>
2612 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2613 Define alphasort64 as an alias.
2614 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2615 Define versionsort64 as an alias.
2616 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2617 Define scandir64 as an alias.
2618 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2619 Define scandirat64 as an alias.
2620 * dirent/alphasort64.c (alphasort64):
2621 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2622 * dirent/versionsort64.c: Likewise.
2623 * dirent/scandir64.c: Likewise.
2624 * dirent/scandirat64.c: Likewise.
2625 * sysdeps/wordsize-64/alphasort.c: File removed.
2626 * sysdeps/wordsize-64/alphasort64.c: File removed.
2627 * sysdeps/wordsize-64/scandir.c: File removed.
2628 * sysdeps/wordsize-64/scandir64.c: File removed.
2629 * sysdeps/wordsize-64/scandirat.c: File removed.
2630 * sysdeps/wordsize-64/scandirat64.c: File removed.
2631 * sysdeps/wordsize-64/versionsort.c: File removed.
2632 * sysdeps/wordsize-64/versionsort64.c: File removed.
2633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2642 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2644 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2646 [defined __arch64__ || defined __sparcv9]
2647 (__INO_T_MATCHES_INO64_T): New macro.
2648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2649 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2650 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2651 * sysdeps/unix/sysv/linux/bits/dirent.h
2652 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2653 (_DIRENT_MATCHES_DIRENT64): New macro.
2655 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2656 Define lockf64 as an alias.
2657 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2658 Define fseeko64 as an alias.
2659 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2660 Define ftello64 as an alias.
2661 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2662 Define _IO_fgetpos64 and fgetpos64 as aliases.
2663 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2664 Define _IO_fsetpos64 and fsetpos64 as aliases.
2665 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2666 Conditionalize body on this.
2667 * libio/fseeko64.c: Likewise.
2668 * libio/ftello64.c: Likewise.
2669 * libio/iofgetpos64.c: Likewise.
2670 * libio/iofsetpos64.c: Likewise.
2671 * sysdeps/wordsize-64/lockf.c: File removed.
2672 * sysdeps/wordsize-64/lockf64.c: File removed.
2673 * sysdeps/wordsize-64/fseeko.c: File removed.
2674 * sysdeps/wordsize-64/fseeko64.c: File removed.
2675 * sysdeps/wordsize-64/ftello.c: File removed.
2676 * sysdeps/wordsize-64/ftello64.c: File removed.
2677 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2678 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2679 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2680 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2692 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2694 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2696 [defined __arch64__ || defined __sparcv9]
2697 (__OFF_T_MATCHES_OFF64_T): New macro.
2698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2699 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2701 (__OFF_T_MATCHES_OFF64_T): New macro.
2703 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2705 * stdlib/secure-getenv.c (__secure_getenv): Replace
2706 GLIBC_2_16 with GLIBC_2_17.
2708 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2713 2012-08-03 David S. Miller <davem@davemloft.net>
2715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2717 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2721 (__ASSUME_CORRECT_SI_PID): Likewise.
2722 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2723 (__ASSUME_TMPFS_NAME): Likewise.
2724 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2725 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2726 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2727 (HAVE_AUX_SECURE): Make definition unconditional.
2728 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2729 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2731 2012-08-03 Roland McGrath <roland@hack.frob.com>
2733 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2734 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2735 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2737 __eloop_threshold instead of SYMLOOP_MAX.
2739 * sysdeps/generic/eloop-threshold.h: New file.
2740 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2742 * elf/chroot_canon.c (chroot_canon): Likewise.
2744 2012-08-03 Joseph Myers <joseph@codesourcery.com>
2747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2748 Change to 2.6.0 everywhere.
2749 * sysdeps/unix/sysv/linux/configure: Regenerated.
2750 * sysdeps/unix/sysv/linux/kernel-features.h
2751 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2752 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2754 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2755 (__ASSUME_FUTEX_REQUEUE): Remove.
2756 (__ASSUME_STATFS64): Define unconditionally.
2757 (__ASSUME_AT_SECURE): Likewise.
2758 (__ASSUME_CORRECT_SI_PID): Likewise.
2759 (__ASSUME_TGKILL): Define without depending on kernel version for
2761 (__ASSUME_UTIMES): Likewise.
2762 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2764 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2765 (__ASSUME_TMPFS_NAME): Likewise.
2766 * README: Update reference to Linux kernel versions.
2768 2012-08-02 Marek Polacek <polacek@redhat.com>
2771 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2772 libc_cv_asm_type_prefix with %.
2773 * configure: Regenerated.
2774 * include/libc-symbols.h: Remove comment about
2775 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2776 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2777 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2778 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2779 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2780 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2782 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2783 * elf/tst-unique2mod1.c: Likewise.
2784 * elf/tst-unique1mod2.c: Likewise.
2785 * elf/tst-unique1mod1.c: Likewise.
2786 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2787 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2788 Replace ASM_TYPE_DIRECTIVE with .type.
2789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2790 * sysdeps/i386/sysdep.h: Likewise.
2791 * sysdeps/x86_64/sysdep.h: Likewise.
2792 * sysdeps/sh/sysdep.h: Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2794 Do not define ASM_TYPE_DIRECTIVE.
2795 * sysdeps/powerpc/sysdep.h: Likewise.
2796 * sysdeps/powerpc/powerpc32/sysdep.h:
2797 Replace ASM_TYPE_DIRECTIVE with .type.
2798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2800 * sysdeps/i386/fpu/e_powf.S: Likewise.
2801 * sysdeps/i386/fpu/e_expl.S: Likewise.
2802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2804 * sysdeps/i386/fpu/e_pow.S: Likewise.
2805 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2806 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2807 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2808 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2809 * sysdeps/i386/fpu/e_log2.S: Likewise.
2810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2811 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2812 * sysdeps/i386/fpu/e_powl.S: Likewise.
2813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2815 * sysdeps/i386/fpu/e_logl.S: Likewise.
2816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2821 * sysdeps/i386/fpu/e_log.S: Likewise.
2822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2823 * sysdeps/i386/fpu/e_logf.S: Likewise.
2824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2826 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2827 * sysdeps/i386/fpu/e_log10.S: Likewise.
2828 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2830 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2831 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2833 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2834 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2835 * sysdeps/i386/i686/strtok.S: Likewise.
2836 * sysdeps/i386/i386-mcount.S: Likewise.
2837 * sysdeps/i386/strtok.S: Likewise.
2838 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2847 * sysdeps/x86_64/_mcount.S: Likewise.
2848 * sysdeps/x86_64/strtok.S: Likewise.
2849 * sysdeps/sh/_mcount.S: Likewise.
2851 2012-08-01 Roland McGrath <roland@hack.frob.com>
2853 * libio/iofopen.c: Include <fcntl.h>.
2854 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2855 (_IO_fopen64, fopen64): Define as aliases.
2856 * libio/iofopen64.c: Include <fcntl.h>.
2857 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2858 Conditionalize body on this.
2859 * sysdeps/wordsize-64/iofopen.c: File removed.
2860 * sysdeps/wordsize-64/iofopen64.c: File removed.
2862 2012-08-01 Marek Polacek <polacek@redhat.com>
2864 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2865 Use dlfcn directly instead of a variable.
2866 (binfmt-subdir): Do not define.
2869 2012-08-01 Joseph Myers <joseph@codesourcery.com>
2871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2872 Remove all definitions.
2873 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2874 <kernel-features.h>.
2875 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2876 (miss_F_GETOWN_EX): Remove all definitions.
2877 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2879 [!__ASSUME_FCNTL64]: Remove conditional code.
2880 [__ASSUME_FCNTL64]: Make code unconditional.
2881 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2882 <kernel-features.h>.
2883 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2884 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2885 (lockf64) [__NR_fcntl64]: Make code unconditional.
2886 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2888 * sysdeps/unix/sysv/linux/kernel-features.h
2889 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2890 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2891 Make code unconditional.
2892 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2893 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2895 [__NR_vfork]: Make code unconditional.
2896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2899 [__NR_vfork]: Make code unconditional.
2900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2903 2012-08-01 Roland McGrath <roland@hack.frob.com>
2905 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2906 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2908 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2909 Define mkstemp64 as an alias.
2910 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2911 Define mkstemps64 as an alias.
2912 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2913 Define mkostemp64 as an alias.
2914 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2915 Define mkostemps64 as an alias.
2916 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2917 Conditionalize body on this.
2918 * misc/mkostemp64.c: Likewise.
2919 * misc/mkostemps64.c: Likewise.
2920 * misc/mkstemps64.c: Likewise.
2921 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2922 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2923 * sysdeps/wordsize-64/mkostemp.c: File removed.
2924 * sysdeps/wordsize-64/mkstemp.c: File removed.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2931 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2933 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2934 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2936 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2937 compat_symbol macros from <shlib-compat.h> rather than the underlying
2938 default_symbol_version and symbol_version macros, so that DEFAULT
2939 lines in shlib-versions are respected.
2940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2942 2012-08-01 Florian Weimer <fweimer@redhat.com>
2944 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2945 Declare with warn_unused_result.
2946 (setgid, setregid, setegid, setresgid): Likewise.
2947 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2949 * WUR-REPORT: Remove set*id functions.
2951 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2953 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2955 2012-07-31 Roland McGrath <roland@hack.frob.com>
2957 * include/sys/socket.h (__libc_accept, __libc_accept4):
2958 Add attribute_hidden.
2959 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2961 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2963 * inet/getnetgrent_r.c (setup): Likewise.
2965 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2967 2012-07-31 David S. Miller <davem@davemloft.net>
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2971 2012-07-31 Joseph Myers <joseph@codesourcery.com>
2974 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2975 value between 1.0 and 2.0 and smaller part has absolute value less
2977 * math/s_clog10.c (__clog10): Likewise.
2978 * math/s_clog10f.c (__clog10f): Likewise.
2979 * math/s_clog10l.c (__clog10l): Likewise.
2980 * math/s_clogf.c (__clogf): Likewise.
2981 * math/s_clogl.c (__clogl): Likewise.
2982 * math/libm-test.inc (clog_test): Add more tests.
2983 (clog10_test): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987 2012-07-31 Florian Weimer <fweimer@redhat.com>
2989 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2990 Exit with zero in case no suitable GID is found, and write a
2991 message to standard error.
2993 2012-07-30 Roland McGrath <roland@hack.frob.com>
2995 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2997 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2998 (MAXPATHLEN): Removed.
2999 (NOGROUP, NODEV): New macros.
3000 (setbit, clrbit, isset, isclr): New macros.
3001 (howmany, roundup, powerof2): New macros.
3002 (DEV_BSIZE): New macro.
3004 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3005 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3007 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3008 definition on [!__NO_LONG_DOUBLE_MATH].
3010 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3011 PTR_MANGLE and PTR_DEMANGLE.
3013 * socket/accept4.c (accept4): Rename to __libc_accept4.
3014 Define accept4 as a weak alias.
3016 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3017 on [_DIRENT_HAVE_D_TYPE].
3018 * io/ftw.c (ftw_dir): Likewise.
3020 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3022 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3024 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3025 Use the BSD numbers rather than the arbitrary ones we had.
3026 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3027 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3028 (SIGXCPU, SIGXFSZ): New macros.
3031 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3032 initializer on [_LIBC_REENTRANT].
3034 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3035 definitions inside [_POSIX_MAPPED_FILES].
3037 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3039 * dirent/opendir.c: Include <fcntl.h>.
3041 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3042 (__libc_getspecific): Likewise.
3043 (__libc_key_create): Likewise.
3045 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3046 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3047 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3048 (tmpfile64): Define as alias.
3049 * sysdeps/wordsize-64/tmpfile.c: File removed.
3050 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3054 * stdio-common/vfscanf.c: Include <stdbool.h>.
3055 * nss/makedb.c: Likewise.
3056 * stdio-common/_i18n_number.h: Likewise.
3057 * argp/argp-help.c: Likewise.
3058 * posix/wordexp.c: Likewise.
3059 * sysdeps/posix/spawni.c: Likewise.
3060 * nss/nss_files/files-initgroups.c: Likewise.
3061 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3062 * nss/nss_files/files-initgroups.c: Likewise.
3063 * nss/nss_db/db-netgrp.c: Likewise.
3064 * nss/nss_db/db-initgroups.c: Likewise.
3065 * io/fchmodat.c: Include <sys/stat.h>.
3067 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3068 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3070 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3073 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3074 Add multiple inclusion protection.
3076 2012-07-27 David S. Miller <davem@davemloft.net>
3078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3080 2012-07-27 Gary Benson <gbenson@redhat.com>
3083 * elf/rtld.c: Include <stap-probe.h>.
3084 (dl_main): Added static probes "init_start" and "init_complete".
3085 * elf/dl-load.c: Include <stap-probe.h>.
3086 (lose): Take new parameter "nsid".
3087 Added static probe "map_failed".
3088 (_dl_map_object_from_fd): Pass namespace id to lose.
3089 Added static probe "map_start".
3090 (open_verify): Pass namespace id to lose.
3091 * elf/dl-open.c: Include <stap-probe.h>.
3092 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3093 and "reloc_complete".
3094 * elf/dl-close.c: Include <stap-probe.h>.
3095 (_dl_close_worker): Added static probes "unmap_start" and
3097 * elf/rtld-debugger-interface.txt: New file documenting the above.
3099 2012-07-26 Roland McGrath <roland@hack.frob.com>
3101 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3102 rather than a string variable.
3103 * sunrpc/rpc_main.c (h_output): Likewise.
3104 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3106 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3108 * inet/check_native.c: New file.
3110 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3113 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3114 if larger part has absolute value 1.0.
3115 * math/s_clog10.c (__clog10): Likewise.
3116 * math/s_clog10f.c (__clog10f): Likewise.
3117 * math/s_clog10l.c (__clog10l): Likewise.
3118 * math/s_clogf.c (__clogf): Likewise.
3119 * math/s_clogl.c (__clogl): Likewise.
3120 * math/libm-test.inc (clog_test): Add more tests.
3121 (clog10_test): Likewise.
3122 * sysdeps/i386/fpu/libm-test-ulps: Update.
3123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3126 (pltexit): Likewise.
3127 (La_regs): Likewise.
3128 (La_retval): Likewise.
3129 (int_retval): Likewise.
3130 Update #error for removed macros to refer only to definitions in
3132 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3134 (pltexit): Likewise.
3135 (La_regs): Likewise.
3136 (La_retval): Likewise.
3137 (int_retval): Likewise.
3138 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3140 (pltexit): Likewise.
3141 (La_regs): Likewise.
3142 (La_retval): Likewise.
3143 (int_retval): Likewise.
3144 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3146 (pltexit): Likewise.
3147 (La_regs): Likewise.
3148 (La_retval): Likewise.
3149 (int_retval): Likewise.
3150 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3152 (pltexit): Likewise.
3153 (La_regs): Likewise.
3154 (La_retval): Likewise.
3155 (int_retval): Likewise.
3156 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3158 (pltexit): Likewise.
3159 (La_regs): Likewise.
3160 (La_retval): Likewise.
3161 (int_retval): Likewise.
3162 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3164 (pltexit): Likewise.
3165 (La_regs): Likewise.
3166 (La_retval): Likewise.
3167 (int_retval): Likewise.
3168 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3169 macro definitions in tst-audit.h.
3170 * sysdeps/i386/tst-audit.h: New file.
3171 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3172 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3173 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3174 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3175 * sysdeps/sh/tst-audit.h: Likewise.
3176 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3177 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3178 * sysdeps/x86_64/tst-audit.h: Likewise.
3180 2012-07-26 Andreas Jaeger <aj@suse.de>
3182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3185 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3186 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3187 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3189 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3193 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3196 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3198 (si_call_addr, si_syscall, si_arch): Define new macro.
3199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3201 (si_call_addr, si_syscall, si_arch): Define new marcro.
3202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3204 (si_call_addr, si_syscall, si_arch): Define new macro.
3205 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3207 (si_call_addr, si_syscall, si_arch): Define new macro.
3209 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3213 Change to 2.4.21 where previously 2.4.1.
3214 * sysdeps/unix/sysv/linux/configure: Regenerated.
3215 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3216 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3217 Linux kernel version.
3218 (__ASSUME_STD_AUXV): Remove.
3219 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3221 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3222 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3223 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3224 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3225 (__ASSUME_NETLINK_SUPPORT): Likewise.
3226 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3227 (__no_netlink_support): Remove conditional definition.
3228 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3230 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3231 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3232 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3233 (if_nameindex_ioctl): Remove.
3234 (if_nameindex_netlink): Do not handle __no_netlink_support.
3235 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3237 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3238 Remove conditional code.
3239 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3241 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3243 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3244 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3245 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3248 [!__ASSUME_STD_AUXV]: Remove conditional code.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3250 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3251 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3253 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3254 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3256 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3258 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3259 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3261 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3263 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3266 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3269 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3271 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3273 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3275 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3278 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3280 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3283 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3285 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3287 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3289 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3292 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3294 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3296 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3298 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3301 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3303 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3304 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3305 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3306 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3307 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3308 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3310 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3311 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3312 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3313 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3315 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3316 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3317 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3318 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3319 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3321 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3323 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3324 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3327 2012-07-25 Florian Weimer <fweimer@redhat.com>
3329 * Versions.def: Add GLIBC_2.17.
3330 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3331 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3332 Introduce __libc_secure_getenv.
3333 * stdlib/Versions (2.17): Add secure_getenv
3334 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3335 * stdlib/secure-getenv.c: Rename __secure_getenv to
3336 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3337 symbol __secure_getenv for GLIBC_2.0.
3338 * stdlib/tst-secure-getenv.c: New.
3339 * stdlib/Makefile (tests): Add testcase.
3340 * manual/startup.texi (Environment Access): Document
3342 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3343 __libc_secure_getenv.
3344 * inet/ruserpass.c (ruserpass): Likewise.
3345 * malloc/mtrace.c (mtrace): Likewise.
3346 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3347 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3348 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3349 * sysdeps/posix/tempname.c: Likewise. Evaluate
3351 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3352 __secure_getenv to __libc_secure_getenv.
3353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3366 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3368 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3369 (struct La_i86_retval): Likewise.
3370 (struct La_x86_64_regs): Likewise.
3371 (struct La_x86_64_retval): Likewise.
3372 (struct La_x32_regs): Likewise.
3373 (struct La_x32_retval): Likewise.
3374 (struct La_ppc32_regs): Likewise.
3375 (struct La_ppc32_retval): Likewise.
3376 (struct La_ppc64_regs): Likewise.
3377 (struct La_ppc64_retval): Likewise.
3378 (struct La_sh_regs): Likewise.
3379 (struct La_sh_retval): Likewise.
3380 (struct La_s390_32_regs): Likewise.
3381 (struct La_s390_32_retval): Likewise.
3382 (struct La_s390_64_regs): Likewise.
3383 (struct La_s390_64_retval): Likewise.
3384 (struct La_sparc32_regs): Likewise.
3385 (struct La_sparc32_retval): Likewise.
3386 (struct La_sparc64_regs): Likewise.
3387 (struct La_sparc64_retval): Likewise.
3388 (struct audit_ifaces): Remove architecture-specific pltenter and
3390 * sysdeps/i386/ldsodefs.h: New file.
3391 * sysdeps/powerpc/ldsodefs.h: Likewise.
3392 * sysdeps/s390/ldsodefs.h: Likewise.
3393 * sysdeps/sh/ldsodefs.h: Likewise.
3394 * sysdeps/sparc/ldsodefs.h: Likewise.
3395 * sysdeps/x86_64/ldsodefs.h: Likewise.
3397 2012-07-25 Marek Polacek <polacek@redhat.com>
3400 * math/libm-test.inc (yn_test): Add another test.
3401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3402 to ERANGE when the result is +-Inf.
3403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3404 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3406 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3408 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3410 * conform/data/time.h-data (NULL): Use macro-constant. Require
3412 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3414 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3416 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3418 * configure.in <sysdeps resolving>: Correct printing
3420 * configure: Regenerate.
3422 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3424 * math/w_ilogb.c: Include <limits.h>.
3425 * math/w_ilogbl.c: Likewise.
3427 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3429 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3430 va_copy. Document allowing for unavailable va_copy only as
3431 pre-C99 compatibility.
3432 * manual/string.texi (Copying and Concatenation): Use va_copy
3433 instead of __va_copy in concat example.
3435 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3437 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3438 (__sendto): Use create_address_port. Initialize APORT and deallocate
3441 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3442 with O_NOLINK passed to __file_name_lookup.
3444 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3445 with O_NOLINK passed to __file_name_lookup.
3447 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3448 negative N or less than NGIDS.
3450 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3451 type to string_t. Set ERANGE as errno and return it if NAME is not big
3452 enough. Use memcpy instead of strncpy.
3454 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3456 * elf/Makefile (check-data): Remove.
3457 (localplt.data): New vpath directive.
3458 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3459 instead of $(check-data).
3460 * scripts/data/localplt-generic.data: Move to ...
3461 * sysdeps/generic/localplt.data: ... here.
3462 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3463 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3464 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3467 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3470 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3473 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3476 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3479 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3483 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3486 PPC32 and PPC64 files.
3487 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3488 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3490 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3492 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3493 __makecontext_ret to ...
3494 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3495 ... here and call exit if uc_link is NULL. New file.
3496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3497 __makecontext_ret.S.
3498 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3499 __makecontext_ret to ...
3500 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3501 ... here and call exit if uc_link is NULL. New file.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3503 __makecontext_ret.S.
3505 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3507 * elf/elf.h (R_390_IRELATIVE): New definition.
3508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3509 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3510 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3512 (elf_machine_lazy_rel): Likewise.
3513 * sysdeps/s390/dl-irel.h: New file.
3514 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3515 * sysdeps/s390/s390-64/memset.S: New asm code.
3516 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3517 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3519 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3520 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3521 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3522 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3523 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3524 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3525 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3526 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3527 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3528 * sysdeps/s390/s390-32/memset.S: New asm code.
3529 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3531 2012-07-17 Marek Polacek <polacek@redhat.com>
3534 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3535 * sysdeps/s390/s390-64/configure.in: Likewise.
3536 * sysdeps/sparc/configure.in: Likewise.
3537 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3538 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3539 * sysdeps/i386/configure.in: Likewise.
3540 * sysdeps/x86_64/configure.in: Likewise.
3541 * sysdeps/sh/configure.in: Likewise.
3542 * sysdeps/s390/s390-32/configure: Regenerated.
3543 * sysdeps/s390/s390-64/configure: Likewise.
3544 * sysdeps/x86_64/configure: Likewise.
3545 * sysdeps/sh/configure: Likewise.
3546 * sysdeps/powerpc/powerpc64/configure: Likewise.
3547 * sysdeps/powerpc/powerpc32/configure: Likewise.
3548 * sysdeps/sparc/configure: Likwise.
3549 * sysdeps/i386/configure: Likewise.
3551 * elf/dl-open.c: Comment fixes.
3553 2012-07-17 Joseph Myers <joseph@codesourcery.com>
3555 * Makefile [CXX] (check-data): Remove.
3556 [CXX] (c++-types.data): New vpath directive.
3557 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3558 vpath. Do not allow for C++ type data being missing.
3559 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3560 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3561 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3562 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3563 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3564 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3565 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3568 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3571 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3574 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3577 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3580 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3583 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3586 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3589 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3590 definitions to architecture-specific files.
3594 * sysdeps/i386/tls-macros.h: New file.
3595 * sysdeps/powerpc/tls-macros.h: Likewise.
3596 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3597 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3598 * sysdeps/sh/tls-macros.h: Likewise.
3599 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3600 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3601 * sysdeps/x86_64/tls-macros.h: Likewise.
3603 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3606 zero value for regular exit case.
3608 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3609 (__start_context): Preserve zero value for regular exit case.
3611 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3614 * manual/setjmp.texi (setcontext): Clarify normal process
3615 termination when uc_link is the null pointer.
3616 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3619 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3621 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3622 preprocessor. Test for each exception mask separately.
3624 2012-07-16 Andreas Jaeger <aj@suse.de>
3626 * po/ru.po: Update from translation team.
3628 2012-07-15 Joseph Myers <joseph@codesourcery.com>
3630 * conform/data/string.h-data (NULL): Use macro-constant. Require
3632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3633 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3634 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3635 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3638 2012-07-13 Andreas Jaeger <aj@suse.de>
3640 * po/fr.po: Update from translation team.
3642 2012-07-12 Marek Polacek <polacek@redhat.com>
3645 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3646 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3649 2012-07-12 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3653 Change to 2.4.1 where previously 2.4.0.
3654 * sysdeps/unix/sysv/linux/configure: Regenerated.
3655 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3656 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3658 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3659 (__ASSUME_AT_CLKTCK): Remove.
3660 (__ASSUME_AT_PAGESIZE): Likewise.
3661 (__ASSUME_AT_XID): Likewise.
3662 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3663 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3664 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3666 (HAVE_AUX_PAGESIZE): Likewise.
3667 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3668 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3669 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3671 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3675 the temporary buffer used to invoke __gethostbyname2_r,
3676 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3677 host_data / struct gaih_addrtuple.
3678 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3679 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3680 header file nss/nsswitch.h.
3681 * nss/nsswitch.h (global scope): Add definition of implementation
3682 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3683 resolv/nss_dns/dns-host.c).
3685 2012-07-11 Andreas Jaeger <aj@suse.de>
3687 * po/fr.po: Update from translation team.
3689 * po/sv.po: Update from translation team
3690 * po/fr.po: Another update from translation team.
3692 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3695 for subnormals or multiply small sinh result by itself.
3696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3699 2012-07-11 David S. Miller <davem@davemloft.net>
3701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3703 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3706 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3707 (INTERNAL_MARK): Shift it here.
3709 2012-07-10 Marek Polacek <polacek@redhat.com>
3712 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3713 libc_cv_asm_global_directive with .globl.
3714 * configure: Regenerated.
3715 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3717 * sysdeps/i386/configure: Regenerated.
3718 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3720 * sysdeps/x86_64/configure: Regenerated.
3721 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3722 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3723 * elf/tst-unique2mod2.c: Likewise.
3724 * elf/tst-unique2mod1.c: Likewise.
3725 * elf/tst-unique1mod2.c: Likewise.
3726 * elf/tst-unique1mod1.c: Likewise.
3727 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3731 * sysdeps/mach/sysdep.h: Likewise.
3732 * sysdeps/i386/sysdep.h: Likewise.
3733 * sysdeps/i386/i386-mcount.S: Likewise.
3734 * sysdeps/x86_64/_mcount.S: Likewise.
3735 * sysdeps/x86_64/sysdep.h: Likewise.
3736 * sysdeps/sh/_mcount.S: Likewise.
3737 * sysdeps/sh/sysdep.h: Likewise.
3738 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3739 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3740 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3742 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3743 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3744 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3745 * locale/localeinfo.h: Likewise.
3746 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3747 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3749 2012-07-09 Roland McGrath <roland@hack.frob.com>
3752 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3754 * manual/message.texi (The Uniforum approach): Likewise.
3755 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3756 (glibc iconv Implementation): Likewise.
3758 2012-07-09 Joseph Myers <joseph@codesourcery.com>
3761 * math/s_clog.c (__clog): Avoid scaling a value down where that
3762 could result in underflow.
3763 * math/s_clog10.c (__clog10): Likewise.
3764 * math/s_clog10f.c (__clog10f): Likewise.
3765 * math/s_clog10l.c (__clog10l): Likewise.
3766 * math/s_clogf.c (__clogf): Likewise.
3767 * math/s_clogl.c (__clogl): Likewise.
3768 * math/libm-test.inc (clog_test): Add more tests.
3769 (clog10_test): Likewise.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3773 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3776 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3777 by 7 not 8 to examine high bit of fractional part.
3780 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3781 for call to __mcount_internal.
3782 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3783 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3784 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3786 2012-07-06 Joseph Myers <joseph@codesourcery.com>
3789 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3790 approximation for values within 0x1p-13f of an odd multiple of
3792 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3793 exception. Add more tests.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3797 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3798 inputs and return -1 for them. Do not check for +Inf in case not
3800 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3801 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3802 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3803 and return -1 for them. Do not check for +Inf in case not
3805 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3807 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3808 and return -1 for them. Do not check for +Inf in case not
3810 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3815 2012-07-06 Mike Frysinger <vapier@gentoo.org>
3817 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3819 2012-07-05 Joseph Myers <joseph@codesourcery.com>
3823 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3824 could result in spurious underflow. Scale down values above
3825 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3826 * math/s_csqrtf.c (__csqrtf): Likewise.
3827 * math/s_csqrtl.c (__csqrtl): Likewise.
3828 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3830 * sysdeps/i386/fpu/libm-test-ulps: Update.
3831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3833 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3835 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3837 * catgets/xopen-msg.awk: New file.
3838 * catgets/xopen-msg.sed: Removed.
3840 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3842 * intl/po2test.awk: New file.
3843 * intl/po2test.sed: Removed.
3845 2012-07-04 Joseph Myers <joseph@codesourcery.com>
3848 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3849 or multiply small sinh result by itself.
3850 * math/s_ctanf.c (__ctanf): Likewise.
3851 * math/s_ctanh.c (__ctanh): Likewise.
3852 * math/s_ctanhf.c (__ctanhf): Likewise.
3853 * math/s_ctanhl.c (__ctanhl): Likewise.
3854 * math/s_ctanl.c (__ctanl): Likewise.
3855 * math/libm-test.inc (ctan_test_tonearest): New function.
3856 (ctan_test_towardzero): Likewise.
3857 (ctan_test_downward): Likewise.
3858 (ctan_test_upward): Likewise.
3859 (ctanh_test_tonearest): Likewise.
3860 (ctanh_test_towardzero): Likewise.
3861 (ctanh_test_downward): Likewise.
3862 (ctanh_test_upward): Likewise.
3863 (main): Call these new functions.
3864 * sysdeps/i386/fpu/libm-test-ulps: Update.
3865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3867 2012-07-03 Mike Frysinger <vapier@gentoo.org>
3869 * .gitignore: Delete /ports entry.
3871 2012-07-03 Andreas Jaeger <aj@suse.de>
3873 * po/bg.po: Update from translation team.
3874 * po/cs.po: Likewise.
3875 * po/de.po: Likewise.
3876 * po/hr.po: Likewise.
3877 * po/nl.pl: Likewise.
3878 * po/pl.po: Likewise.
3879 * po/vi.po: Likewise.
3881 2012-07-03 Joseph Myers <joseph@codesourcery.com>
3883 * Makeconfig [!+link] (+link-before-libc): New variable.
3884 [!+link] (+link-after-libc): Likewise.
3885 [!+link] (+link-tests): Likewise.
3886 [!+link] (+link): Define in terms of $(+link-before-libc) and
3887 $(+link-after-libc).
3888 [!+link-static] (+link-static-before-libc): New variable.
3889 [!+link-static] (+link-static-after-libc): Likewise.
3890 [!+link-static] (+link-static-tests): Likewise.
3891 [!+link-static] (+link-static): Define in terms of
3892 $(+link-static-before-libc) and $(+link-static-after-libc).
3893 [build-shared] (link-libc-before-gnulib): New variable.
3894 [build-shared] (link-libc-tests): Likewise.
3895 [build-shared] (link-libc): Define in terms of
3896 $(link-libc-before-gnulib).
3897 [!build-shared] (link-libc-tests): New variable.
3898 (link-libc-static-tests): New variable.
3899 [!gnulib] (gnulib-arch): New variable.
3900 [!gnulib] (gnulib-tests): Likewise.
3901 [!gnulib] (static-gnulib-arch): Likewise.
3902 [!gnulib] (static-gnulib-tests): Likewise.
3903 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3904 Define with "=" instead of ":=".
3905 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3906 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3907 * Rules (binaries-all-notests): New variable.
3908 (binaries-all-tests): Likewise.
3909 (binaries-static-notests): Likewise.
3910 (binaries-static-tests): Likewise.
3911 (binaries-all): Define using $(binaries-all-notests) and
3912 $(binaries-all-tests).
3913 (binaries-static): Define using $(binaries-static-notests) and
3914 $(binaries-static-tests).
3915 (binaries-shared-tests): New variable.
3916 (binaries-shared-notests): Likewise.
3917 (binaries-shared): Remove variable.
3918 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3919 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3920 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3921 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3922 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3923 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3924 * elf/Makefile (sln-modules): New variable.
3925 (extra-objs): Add $(sln-modules:=.o).
3926 (ldconfig-modules): Add static-stubs.
3927 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3928 * elf/static-stubs.c: New file.
3931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3932 by 7 not 8 to examine high bit of fractional part. Use volatile
3933 variables when splitting into final array of floats if
3934 __FLT_EVAL_METHOD__ != 0.
3935 * math/libm-test.inc (cos_test): Add another test.
3936 (sin_test): Likewise.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3940 * math/libm-test.inc (cosh_test): Add more tests.
3942 * version.h (RELEASE): Set to "development".
3943 (VERSION): Set to "2.16.90".
3945 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3947 * NEWS: Update copyright. Remove last-updated date.
3948 Mention math library bug fixes and timezone data changes.
3949 * README: Mention GNU/Hurd, x32, and HPPA support status.
3951 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3953 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3955 2012-06-27 Andreas Jaeger <aj@suse.de>
3957 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3959 2012-06-25 Andreas Jaeger <aj@suse.de>
3961 * sysdeps/s390/fpu/libm-test-ulps: Update.
3963 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3964 Thomas Schwinge <thomas@codesourcery.com>
3966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3967 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3971 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3973 * sysdeps/mach/start.c: Remove file.
3974 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3975 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3976 * sysdeps/sh/init-first.c: Likewise.
3978 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3979 registers for frame unwinding purposes, add CFI directives.
3980 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3982 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3985 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3986 __fortify_fail returning.
3987 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3989 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3990 sysdeps/sh/____longjmp_chk.S.
3991 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3992 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3993 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3994 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3996 * sysdeps/sh/abort-instr.h: New file.
3997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3998 process in case exit returns.
4000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4001 initialize the GOT register before use.
4003 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4004 calculation of ARGC > 4.
4006 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4007 meaningful names to some local labels.
4009 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4010 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4012 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4013 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4014 (__arch_compare_and_exchange_val_16_acq): Likewise.
4015 (__arch_compare_and_exchange_val_32_acq): Likewise.
4016 (atomic_exchange_and_add): Fix gUSA sequence.
4017 (atomic_add): Likewise.
4018 (atomic_add_negative): Likewise.
4019 (atomic_add_zero): Likewise.
4020 (atomic_bit_test_set): Likewise.
4022 2012-06-22 Andreas Schwab <schwab@redhat.com>
4025 * include/link.h (struct link_map): Add l_free_initfini.
4026 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4028 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4029 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4030 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4033 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4035 * configure.in: Use AC_LANG_SOURCE.
4036 * configure: Regenerate.
4038 2012-06-22 Roland McGrath <roland@hack.frob.com>
4040 * configure.in (libc_cv_localstatedir): New substituted variable.
4041 * configure: Regenerated.
4042 * config.make.in (localstatedir): New variable, substituted from
4043 libc_cv_localstatedir.
4044 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4045 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4046 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4047 * sysdeps/gnu/configure: Regenerated.
4049 2012-06-21 Jeff Law <law@redhat.com>
4052 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4053 free. Simplify list management for _LIBC case.
4055 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4059 Clear sign bit of 64-bit integer value before comparing against
4062 * sysdeps/mach/configure: Regenerated.
4064 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4067 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4069 2012-06-21 Jeff Law <law@redhat.com>
4072 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4073 uint16_t for elements in the "seen" array to avoid char overflows.
4074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4075 * elf/dl-open.c (dl_open_worker): Likewise.
4077 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4079 * scripts/list-sources.sh: Scan PORTS for translations.
4080 * po/libc.pot: Regenerated.
4082 2012-06-21 Andreas Jaeger <aj@suse.de>
4085 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4087 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4088 * bits/byteswap-16.h (__bswap_16): Likewise.
4089 * bits/byteswap.h (__bswap_constant_16): Likewise.
4091 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4094 * sysdeps/i386/fpu_control.h: Removed.
4095 * sysdeps/x86_64/fpu_control.h: Moved to ...
4096 * sysdeps/x86/fpu_control.h: Here.
4098 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4099 (_FPU_SETCW): Likewise.
4101 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4105 * sysdeps/x86/fpu/bits/mathinline.h: This.
4106 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4110 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4111 functions if __x86_64__ is defined.
4113 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4115 * string/endian.h: Add !__ASSEMBLER__ condition for including
4116 conversion interfaces.
4118 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4122 of ABS(x) in calculating zero to negative powers other than odd
4124 * math/libm-test.inc (pow_test): Add more tests.
4126 2012-06-15 Andreas Jaeger <aj@suse.de>
4128 * manual/contrib.texi (Contributors): Update entry of Liubov
4129 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4132 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4134 * string/string.h: Add __wur to GNU version of strerror_r.
4136 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4139 * string/Makefile (tests): Add tst-strtok_r.
4140 * string/tst-strtok_r.c: New file.
4141 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4142 RAX_LP/RDX_LP on SAVE_PTR.
4144 2012-06-14 Roland McGrath <roland@hack.frob.com>
4146 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4148 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4150 * libm_test.inc (csqrt_test): Allow more spurious underflow
4152 (j0_test): Likewise.
4153 (j1_test): Likewise.
4154 (y0_test): Likewise.
4155 (y1_test): Likewise.
4157 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4159 * po/Makefile (libc.pot): Use UTF-8 charset.
4161 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4164 Suppress sign-conversion warning from FD_SET.
4165 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4166 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4167 not unsigned long int.
4168 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4170 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4174 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4175 __extern_always_inline instead of __extern_inline.
4176 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4177 (__signbit): Likewise.
4178 (__signbitl): Support C++ namespace.
4179 (lrintf): New inline function.
4181 (llrintf): Likewise.
4193 (nearbyint): Likewise.
4194 (nearbyintf): Likewise.
4196 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4198 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4199 non-default versions.
4201 2012-06-11 Roland McGrath <roland@hack.frob.com>
4204 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4206 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4208 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4209 (FE_UPWARD, FE_DOWNWARD): Don't define.
4210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4215 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4218 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4220 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4223 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4225 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4228 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4229 * sysdeps/i386/fpu/Implies: New file.
4230 * sysdeps/x86_64/fpu/Implies: Likewise.
4231 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4232 * sysdeps/x86/fpu/bits/fenv.h: This.
4234 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4237 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4240 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4241 character 0xffff that matches the last element of the
4244 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4249 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4252 values higher than 25.6283.
4254 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4257 subnormal exponent extraction and add some __builtin_expect.
4258 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4259 Fix for subnormal mantissa calculation.
4261 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4263 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4264 cpu2 is -1 and errno is not ENOSYS.
4266 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4269 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4270 * sysdeps/x86/bits/string.h: This.
4271 * sysdeps/x86_64/bits/string.h: Removed.
4273 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4274 if not compiling for x86-64, but compiling for >= i486.
4276 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4277 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4279 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4280 New macro from Linux kernel 3.4.0.
4281 (FP_XSTATE_MAGIC2): Likewise.
4282 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4283 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4284 (struct _fpx_sw_bytes): New struct.
4285 (struct _xsave_hdr): Likewise.
4286 (struct _ymmh_state): Likewise.
4287 (struct _xstate): Likewise.
4289 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4290 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4292 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4293 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4294 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4296 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4297 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4298 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4299 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4300 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4301 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4303 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4306 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4307 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4308 (sysdep_headers): Include sys/platform/ppc.h.
4309 * sysdeps/powerpc/test-gettimebase.c: Test for
4310 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4311 * manual/Makefile (appendices): Include platform.texi.
4312 * manual/contrib.texi (Contributors): Update @node pointers.
4313 * manual/maint.texi (Maintenance): Likewise.
4314 (Platform): New node.
4315 * manual/platform.texi: New file. Document the new features.
4317 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4318 Jakub Jelinek <jakub@redhat.com>
4321 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4322 where __builtin_expect is unavailable.
4324 2012-06-03 David S. Miller <davem@davemloft.net>
4326 * stdlib/longlong.h: Updated from GCC.
4328 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4331 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4332 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4335 (GLIBC_2.16): Likewise.
4337 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4341 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4344 (default-abi): New variable.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4348 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4350 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4355 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4356 definition. Document in comment.
4358 2012-06-01 David S. Miller <davem@davemloft.net>
4360 * stdlib/longlong.h: Updated from GCC.
4362 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4365 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4366 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4367 sys/debugreg.h sys/io.h here.
4368 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4369 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4371 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4372 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4373 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4374 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4375 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4376 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4379 Define only if __x86_64__ is defined.
4381 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4385 Use int64_t for variable i.
4386 * math/libm-test.inc (fmod_test): Add more tests.
4388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4389 z computation is not scheduled after fetestexcept.
4390 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4391 Use math_force_eval instead of asm to ensure calculation scheduled
4392 before exception test.
4393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4394 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4396 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4399 computation is not scheduled after fetestexcept.
4401 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4405 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4407 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4409 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4410 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4412 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4417 (__WCHAR_MIN): Support __WORDSIZE == 64.
4418 (__WCHAR_MAX): Likewise.
4420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4425 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4429 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4431 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4432 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4435 Defined to 1 if __x86_64__ isn't defined.
4436 (_STAT_VER_LINUX_OLD): New.
4437 (st_atime): Remove duplicate.
4438 (st_mtime): Likewise.
4439 (st_ctime): Likewise.
4441 2012-05-31 David S. Miller <davem@davemloft.net>
4443 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4446 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4448 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4452 * elf/dl-reloc.c: Include <_itoa.h>.
4453 (_dl_reloc_bad_type): Remove use of INTUSE.
4454 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4455 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4456 * stdio-common/psiginfo.c (psiginfo): Likewise.
4457 * stdio-common/psignal.c (psignal): Likewise.
4458 * string/strsignal.c (strsignal): Likewise.
4459 * include/signal.h (_sys_siglist): Declare hidden proto.
4460 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4461 INTVARDEF with libc_hidden_data_def.
4462 * stdio-common/itoa-udigits.c: Likewise.
4463 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4464 (_itoa_lower_digits_internal): Remove declaration.
4465 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4466 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4467 (_sys_sigabbrev_internal): Remove aliases.
4468 (_sys_siglist): Define hidden alias.
4470 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4475 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4479 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4482 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4484 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4486 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4488 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4489 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4490 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4492 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4504 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4505 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4506 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4507 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4509 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4511 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4512 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4515 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4519 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4521 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4522 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4524 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4526 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4527 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4528 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4530 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4532 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4534 2012-05-31 Joseph Myers <joseph@codesourcery.com>
4536 * math/math.h (M_El): Use two more decimal places.
4537 (M_LOG2El): Likewise.
4538 (M_LOG10El): Likewise.
4540 (M_LN10l): Likewise.
4542 (M_PI_2l): Likewise.
4543 (M_PI_4l): Likewise.
4544 (M_1_PIl): Likewise.
4545 (M_2_PIl): Likewise.
4546 (M_2_SQRTPIl): Likewise.
4547 (M_SQRT2l): Likewise.
4548 (M_SQRT1_2l): Likewise.
4550 2012-05-31 David S. Miller <davem@davemloft.net>
4552 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4553 values between float registers.
4554 * sysdeps/sparc/sparc64/memset.S: Likewise.
4555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4557 2012-05-31 Mike Frysinger <vapier@gentoo.org>
4559 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4560 -D_FORTIFY_SOURCE=1.
4561 (CPPFLAGS-tst-longjmp_chk.c): Define.
4562 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4563 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4564 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4565 CFLAGS-tst-wchar-h.c.
4567 2012-05-31 Marek Polacek <polacek@redhat.com>
4570 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4571 __endmntent_internal): Remove declaration.
4572 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4573 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4574 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4576 2012-05-30 David S. Miller <davem@davemloft.net>
4578 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4579 (___Q_simulate_exceptions): Use real FP ops rather than writing
4581 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4584 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4587 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4588 * sysdeps/x86/bits/xtitypes.h: This.
4590 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4591 * sysdeps/x86/bits/wordsize.h: This.
4593 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4594 * sysdeps/x86/bits/huge_vall.h: This.
4596 * sysdeps/i386/bits/select.h: Removed.
4597 * sysdeps/x86_64/bits/select.h: Renamed to ...
4598 * sysdeps/x86/bits/select.h: This.
4600 * sysdeps/i386/bits/setjmp.h: Removed.
4601 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4602 * sysdeps/x86/bits/setjmp.h: This.
4604 * sysdeps/i386/bits/mathdef.h: Removed.
4605 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4606 * sysdeps/x86/bits/mathdef.h: This.
4608 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4611 * include/sys/socket.h (__connect_internal)
4612 (__libc_sa_len_internal): Remove declaration.
4613 (__connect, __libc_sa_len): Declare hidden_proto.
4614 (SA_LEN): Remove use of INTUSE.
4615 * socket/connect.c: Add libc_hidden_def.
4616 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4617 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4618 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4620 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4622 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4623 of adding _internal alias.
4625 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4628 * sysdeps/i386/bits/link.h: Removed.
4629 * sysdeps/i386/bits/linkmap.h: Likewise.
4630 * sysdeps/x86_64/bits/link.h: Renamed to ...
4631 * sysdeps/x86/bits/link.h: This.
4632 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4633 * sysdeps/x86/bits/linkmap.h: This.
4635 * sysdeps/i386/bits/endian.h: Removed.
4636 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4637 * sysdeps/x86/bits/endian.h: This.
4639 * sysdeps/i386/bits/byteswap.h: Removed.
4640 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4641 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4642 * sysdeps/x86/bits/byteswap.h: This.
4643 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4644 * sysdeps/x86/bits/byteswap-16.h: This.
4645 * sysdeps/i386/Implies: Add x86.
4646 * sysdeps/x86_64/Implies: Likewise.
4648 2012-05-30 David S. Miller <davem@davemloft.net>
4650 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4651 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4653 (FP_TRAPPING_EXCEPTIONS): Define.
4654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4655 (FP_TRAPPING_EXCEPTIONS): Define.
4656 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4657 subnormals only when inexact has been signalled or underflow
4658 exceptions are enabled.
4659 (_FP_PACK_CANONICAL): Likewise.
4661 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4665 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4667 2012-05-30 Richard Henderson <rth@twiddle.net>
4669 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4670 with #ifndef NOT_IN_libc.
4672 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4673 marked to avoid plt entry.
4675 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4678 * Makeconfig (default-abi): New macro.
4679 (abi-includes): Likewise.
4680 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4681 $(abi-$(default-abi)-lib-soname) for soname if defined.
4682 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4684 * Makefile (installed-stubs): Likewise.
4685 * include/stubs-biarch.h: Removed.
4686 * scripts/lib-names.awk: Only handle one library at a time.
4687 * scripts/soversions.awk: Remove WORDSIZE support.
4688 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4692 (syscall-list-default-condition): Likewise.
4693 (syscall-list-default-condition): Likewise.
4694 (syscall-list-includes): Likewise.
4695 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4696 syscall-list-* with abi-*. Handle undefined abi-variants.
4697 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4698 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4699 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4702 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4704 (syscall-list-32-options): Likewise.
4705 (syscall-list-32-condition): Likewise.
4706 (syscall-list-64-options): Likewise.
4707 (syscall-list-64-condition): Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4710 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4713 (abi-64-ld-soname): New macro.
4714 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4718 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4719 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4721 2012-05-30 Joseph Myers <joseph@codesourcery.com>
4723 * sysdeps/unix/sysv/linux/kernel-features.h
4724 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4725 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4726 include <kernel-features.h>.
4727 [!__NR_ftruncate64]: Remove conditional code.
4728 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4729 [__NR_ftruncate64]: Make code unconditional.
4730 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4731 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4732 include <kernel-features.h>.
4733 [!__NR_ftruncate64]: Remove conditional code.
4734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4735 [__NR_ftruncate64]: Make code unconditional.
4736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4738 include <kernel-features.h>.
4739 [!__NR_ftruncate64]: Remove conditional code.
4740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4741 [__NR_ftruncate64]: Make code unconditional.
4742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4744 include <kernel-features.h>.
4745 [!__NR_ftruncate64]: Remove conditional code.
4746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4747 [__NR_ftruncate64]: Make code unconditional.
4748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4750 * configure.in (libc_cv_fpie): Weaken to a compile test using
4752 * configure: Regenerated.
4754 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4769 2012-05-27 David S. Miller <davem@davemloft.net>
4771 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4773 (__Q_simulate_exceptions): Return void. Change to simulate
4774 exceptions by writing into the %fsr.
4775 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4776 (__Qp_handle_exceptions): Likewise.
4778 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4779 __Qp_handle_exceptions.
4780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4781 __Qp_handle_exceptions.
4782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4783 as unused and give dummy FP_RND_NEAREST initializer.
4784 (FP_INHIBIT_RESULTS): Define.
4785 (___Q_simulate_exceptions): Update declaration.
4786 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4788 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4789 as unused and give dummy FP_RND_NEAREST initializer.
4790 (__Qp_handle_exceptions): Update declaration.
4791 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4794 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4796 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4797 the temporary FPU control word.
4798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4799 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4800 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4801 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4804 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4807 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4810 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4815 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4817 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4818 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4819 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4820 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4822 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4823 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4826 2012-05-27 Ulrich Drepper <drepper@gmail.com>
4828 * po/h.po: Update from translation team.
4830 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4832 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4835 handling of denormals.
4836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4838 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4845 2012-05-26 Marek Polacek <polacek@redhat.com>
4848 * math/libm-test.inc (fma_test): Don't always expect underflow
4851 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4854 * elf/tst-execstack.c: Include stackinfo.h.
4855 (do_test): Adjust test case to ensure that pthread_getattr_np
4856 behaviour remains the same after marking stack executable.
4858 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4860 * sysdeps/unix/sysv/linux/kernel-features.h
4861 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4866 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4868 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4869 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4871 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4873 * configure.in: Define the default includes to being none.
4874 * configure: Regenerated.
4876 2012-05-25 Roland McGrath <roland@hack.frob.com>
4878 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4879 * sysdeps/x86_64/setjmp.S: Likewise.
4880 * sysdeps/i386/bsd-setjmp.S: Likewise.
4881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4882 * sysdeps/i386/setjmp.S: Likewise.
4883 * sysdeps/i386/__longjmp.S: Likewise.
4884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4885 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4887 * include/stap-probe.h: New file.
4888 * configure.in: Handle --enable-systemtap.
4889 * configure: Regenerated.
4890 * config.h.in (USE_STAP_PROBE): New #undef.
4891 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4892 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4895 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4899 to 2.4.0 where earlier.
4900 * sysdeps/unix/sysv/linux/configure: Regenerated.
4901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4902 <kernel-features.h>.
4903 [__ASSUME_32BITUIDS]: Make code unconditional.
4904 [!__ASSUME_32BITUIDS]: Remove conditional code.
4905 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4906 <kernel-features.h>.
4907 [__ASSUME_32BITUIDS]: Make code unconditional.
4908 [!__ASSUME_32BITUIDS]: Remove conditional code.
4909 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4910 [__ASSUME_32BITUIDS]: Make code unconditional.
4911 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4912 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4913 <kernel-features.h>.
4914 [__ASSUME_32BITUIDS]: Make code unconditional.
4915 [!__ASSUME_32BITUIDS]: Remove conditional code.
4916 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4917 <kernel-features.h>.
4918 [__ASSUME_32BITUIDS]: Make code unconditional.
4919 [!__ASSUME_32BITUIDS]: Remove conditional code.
4920 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4921 <kernel-features.h>.
4922 [__ASSUME_32BITUIDS]: Make code unconditional.
4923 [!__ASSUME_32BITUIDS]: Remove conditional code.
4924 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4925 <kernel-features.h>.
4926 [__ASSUME_32BITUIDS]: Make code unconditional.
4927 [!__ASSUME_32BITUIDS]: Remove conditional code.
4928 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4929 <kernel-features.h>.
4930 [__ASSUME_32BITUIDS]: Make code unconditional.
4931 [!__ASSUME_32BITUIDS]: Remove conditional code.
4932 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4933 <kernel-features.h>.
4934 [__ASSUME_32BITUIDS]: Make code unconditional.
4935 [!__ASSUME_32BITUIDS]: Remove conditional code.
4936 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4937 <kernel-features.h>.
4938 [__ASSUME_32BITUIDS]: Make code unconditional.
4939 [!__ASSUME_32BITUIDS]: Remove conditional code.
4940 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4941 <kernel-features.h>.
4942 [__ASSUME_32BITUIDS]: Make code unconditional.
4943 [!__ASSUME_32BITUIDS]: Remove conditional code.
4944 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4945 <kernel-features.h>.
4946 [__ASSUME_32BITUIDS]: Make code unconditional.
4947 [!__ASSUME_32BITUIDS]: Remove conditional code.
4948 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4949 <kernel-features.h>.
4950 [__ASSUME_32BITUIDS]: Make code unconditional.
4951 [!__ASSUME_32BITUIDS]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4953 <kernel-features.h>.
4954 [__NR_setresgid] (__setresgid): Do not declare.
4955 [__ASSUME_32BITUIDS]: Make code unconditional.
4956 [!__ASSUME_32BITUIDS]: Remove conditional code.
4957 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4958 <kernel-features.h>.
4959 [__NR_setresuid] (__setresuid): Do not declare.
4960 [__ASSUME_32BITUIDS]: Make code unconditional.
4961 [!__ASSUME_32BITUIDS]: Remove conditional code.
4962 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4963 <kernel-features.h>.
4964 [__ASSUME_32BITUIDS]: Make code unconditional.
4965 [!__ASSUME_32BITUIDS]: Remove conditional code.
4966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4967 <kernel-features.h>.
4968 [__ASSUME_32BITUIDS]: Make code unconditional.
4969 [!__ASSUME_32BITUIDS]: Remove conditional code.
4970 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4971 <kernel-features.h>.
4972 [__ASSUME_32BITUIDS]: Make code unconditional.
4973 [!__ASSUME_32BITUIDS]: Remove conditional code.
4974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4975 <kernel-features.h>.
4976 [__ASSUME_32BITUIDS]: Make code unconditional.
4977 [!__ASSUME_32BITUIDS]: Remove conditional code.
4978 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4979 <kernel-features.h>.
4980 [__ASSUME_32BITUIDS]: Make code unconditional.
4981 [!__ASSUME_32BITUIDS]: Remove conditional code.
4982 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4983 <kernel-features.h>.
4984 [__ASSUME_32BITUIDS]: Make code unconditional.
4985 [!__ASSUME_32BITUIDS]: Remove conditional code.
4986 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4987 <kernel-features.h>.
4988 [__ASSUME_32BITUIDS]: Make code unconditional.
4989 [!__ASSUME_32BITUIDS]: Remove conditional code.
4990 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4991 <kernel-features.h>.
4992 [__ASSUME_32BITUIDS]: Make code unconditional.
4993 [!__ASSUME_32BITUIDS]: Remove conditional code.
4994 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4995 <kernel-features.h>.
4996 [__ASSUME_32BITUIDS]: Make code unconditional.
4997 [!__ASSUME_32BITUIDS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4999 <kernel-features.h>.
5000 [__ASSUME_32BITUIDS]: Make code unconditional.
5001 [!__ASSUME_32BITUIDS]: Remove conditional code.
5002 * sysdeps/unix/sysv/linux/kernel-features.h
5003 (__ASSUME_SETRESUID_SYSCALL): Remove.
5004 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5005 (__ASSUME_32BITUIDS): Likewise.
5006 (__ASSUME_LDT_WORKS): Likewise.
5007 (__ASSUME_O_DIRECTORY): Likewise.
5008 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5009 architecture but not kernel version.
5010 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5011 (__ASSUME_MMAP2_SYSCALL): Likewise.
5012 (__ASSUME_STAT64_SYSCALL): Likewise.
5013 (__ASSUME_IPC64): Likewise.
5014 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5015 <kernel-features.h>.
5016 [__ASSUME_32BITUIDS]: Make code unconditional.
5017 [!__ASSUME_32BITUIDS]: Remove conditional code.
5018 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5019 <kernel-features.h>.
5020 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5021 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5022 132096]: Remove conditional code.
5023 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5025 <kernel-features.h>.
5026 [__ASSUME_32BITUIDS]: Make code unconditional.
5027 [!__ASSUME_32BITUIDS]: Remove conditional code.
5028 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5029 <kernel-features.h>.
5030 [__ASSUME_32BITUIDS]: Make code unconditional.
5031 [!__ASSUME_32BITUIDS]: Remove conditional code.
5032 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5033 <kernel-features.h>.
5034 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5036 (__setresgid): Do not declare.
5037 [__ASSUME_32BITUIDS]: Make code unconditional.
5038 [!__ASSUME_32BITUIDS]: Remove conditional code.
5039 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5040 <kernel-features.h>.
5041 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5043 (__setresuid): Do not declare.
5044 [__ASSUME_32BITUIDS]: Make code unconditional.
5045 [!__ASSUME_32BITUIDS]: Remove conditional code.
5046 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5047 <kernel-features.h>.
5048 [__ASSUME_32BITUIDS]: Make code unconditional.
5049 [!__ASSUME_32BITUIDS]: Remove conditional code.
5050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5051 <kernel-features.h>.
5052 [__ASSUME_32BITUIDS]: Make code unconditional.
5053 [!__ASSUME_32BITUIDS]: Remove conditional code.
5055 2012-05-25 Richard Henderson <rth@twiddle.net>
5057 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5058 dl_hwcap to ifunc resolver.
5059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5061 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5062 dl_hwcap to ifunc resolver.
5063 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5065 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5068 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5069 for |x| <= 2**-26, not 2**-57.
5070 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5073 2012-05-24 Jeff Law <law@redhat.com>
5075 * stdio-common/Makefile (tests): Add bug25.
5076 * stdio-common/bug25.c: New test.
5078 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5081 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5082 multiple of MALLOC_ALIGNMENT in size.
5083 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5087 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5089 (FILENAME_MAX): Use macro-int-constant.
5090 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5091 (_IOFBF): Use macro-int-constant.
5094 (SEEK_CUR): Likewise.
5095 (SEEK_END): Likewise.
5096 (SEEK_SET): Likewise.
5097 (TMP_MAX): Likewise.
5098 (EOF): Use macro-int-constant. Require < 0.
5099 (NULL): Use macro-constant. Require == 0.
5100 (stdin): Require type to be FILE *.
5103 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5105 (EXIT_SUCCESS): Likewise.
5106 (NULL): Use macro-constant. Require == 0.
5107 (RAND_MAX): Use macro-int-constant.
5108 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5109 [C99-based standards] (strtof): Require function.
5110 [C99-based standards] (strtold): Likewise.
5111 [C99-based standards] (strtoll): Likewise.
5112 [C99-based standards] (strtoull): Likewise.
5113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5114 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5115 [ISO || ISO99 || ISO11] (math.h): Likewise.
5116 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5117 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5120 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5123 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5124 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5125 * intl/dgettext.c (DCGETTEXT): Likewise.
5126 * intl/gettext.c (DCGETTEXT): Likewise.
5127 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5128 * posix/regex_internal.h (gettext): Likewise.
5129 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5131 * include/argz.h (__argz_count_internal)
5132 (__argz_stringify_internal): Remove declaration.
5133 (__argz_count, __argz_stringify): Declare hidden proto.
5134 * intl/dcgettext.c: Remove use of INTDEF.
5135 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5136 * string/argz-stringify.c: Likewise.
5137 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5138 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5139 Declare hidden proto.
5140 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5141 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5142 Declare hidden proto.
5143 * include/stdio.h (__asprintf_internal): Don't declare.
5144 (__asprintf): Don't define as macro. Declare hidden proto.
5145 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5146 (__fsetlocking): Declare hidden proto.
5147 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5148 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5150 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5151 (_IO_setlinebuf): Remove use of INTUSE.
5152 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5153 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5154 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5156 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5157 (_IO_do_flush): Remove use of INTUSE.
5158 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5159 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5160 (_IO_adjust_column, _IO_least_wmarker)
5161 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5162 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5163 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5164 (_IO_default_doallocate, _IO_wdefault_doallocate)
5165 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5166 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5167 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5168 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5169 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5170 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5171 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5172 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5173 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5174 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5175 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5176 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5177 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5179 (_IO_flush_all_internal, _IO_adjust_column_internal)
5180 (_IO_default_uflow_internal, _IO_default_finish_internal)
5181 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5182 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5183 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5184 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5185 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5186 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5187 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5188 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5189 (_IO_file_close_internal, _IO_file_close_it_internal)
5190 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5191 (_IO_file_init_internal, _IO_file_attach_internal)
5192 (_IO_file_fopen_internal, _IO_file_read_internal)
5193 (_IO_file_sync_internal, _IO_file_seek_internal)
5194 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5195 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5196 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5197 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5198 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5199 (_IO_list_all_internal, _IO_link_in_internal)
5200 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5201 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5202 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5203 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5204 (_IO_do_write_internal, _IO_padn_internal)
5205 (_IO_getline_info_internal, _IO_getline_internal)
5206 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5207 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5208 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5209 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5210 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5211 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5212 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5213 with libc_hidden_ver, remove use of INTUSE.
5214 * libio/genops.c: Likewise.
5215 * libio/freopen.c: Likewise.
5216 * libio/freopen64.c: Likewise.
5217 * libio/iofclose.c: Likewise.
5218 * libio/iofdopen.c: Likewise.
5219 * libio/iofflush.c: Likewise.
5220 * libio/iofflush_u.c: Likewise.
5221 * libio/iofgets.c: Likewise.
5222 * libio/iofgets_u.c: Likewise.
5223 * libio/iofopen.c: Likewise.
5224 * libio/iofopncook.c: Likewise.
5225 * libio/iofread.c: Likewise.
5226 * libio/iofread_u.c: Likewise.
5227 * libio/ioftell.c: Likewise.
5228 * libio/iofwrite.c: Likewise.
5229 * libio/iogetline.c: Likewise.
5230 * libio/iogets.c: Likewise.
5231 * libio/iogetwline.c: Likewise.
5232 * libio/iopadn.c: Likewise.
5233 * libio/iopopen.c: Likewise.
5234 * libio/ioseekoff.c: Likewise.
5235 * libio/ioseekpos.c: Likewise.
5236 * libio/iosetbuffer.c: Likewise.
5237 * libio/iosetvbuf.c: Likewise.
5238 * libio/ioungetc.c: Likewise.
5239 * libio/ioungetwc.c: Likewise.
5240 * libio/iovdprintf.c: Likewise.
5241 * libio/iovsprintf.c: Likewise.
5242 * libio/iovsscanf.c: Likewise.
5243 * libio/memstream.c: Likewise.
5244 * libio/obprintf.c: Likewise.
5245 * libio/oldfileops.c: Likewise.
5246 * libio/oldiofclose.c: Likewise.
5247 * libio/oldiofdopen.c: Likewise.
5248 * libio/oldiofopen.c: Likewise.
5249 * libio/oldiopopen.c: Likewise.
5250 * libio/oldstdfiles.c: Likewise.
5251 * libio/putc.c: Likewise.
5252 * libio/setbuf.c: Likewise.
5253 * libio/setlinebuf.c: Likewise.
5254 * libio/stdfiles.c: Likewise.
5255 * libio/strops.c: Likewise.
5256 * libio/vasprintf.c: Likewise.
5257 * libio/vscanf.c: Likewise.
5258 * libio/vsnprintf.c: Likewise.
5259 * libio/vswprintf.c: Likewise.
5260 * libio/wfiledoalloc.c: Likewise.
5261 * libio/wfileops.c: Likewise.
5262 * libio/wgenops.c: Likewise.
5263 * libio/wmemstream.c: Likewise.
5264 * libio/wstrops.c: Likewise.
5265 * libio/__fpurge.c: Likewise.
5266 * libio/__fsetlocking.c: Likewise.
5267 * assert/assert.c: Likewise.
5268 * debug/fgets_chk.c: Likewise.
5269 * debug/fgets_u_chk.c: Likewise.
5270 * debug/fread_chk.c: Likewise.
5271 * debug/fread_u_chk.c: Likewise.
5272 * debug/gets_chk.c: Likewise.
5273 * debug/obprintf_chk.c: Likewise.
5274 * debug/vasprintf_chk.c: Likewise.
5275 * debug/vdprintf_chk.c: Likewise.
5276 * debug/vsnprintf_chk.c: Likewise.
5277 * debug/vsprintf_chk.c: Likewise.
5278 * malloc/mtrace.c: Likewise.
5279 * misc/error.c: Likewise.
5280 * misc/syslog.c: Likewise.
5281 * stdio-common/asprintf.c: Likewise.
5282 * stdio-common/fxprintf.c: Likewise.
5283 * stdio-common/getw.c: Likewise.
5284 * stdio-common/isoc99_fscanf.c: Likewise.
5285 * stdio-common/isoc99_scanf.c: Likewise.
5286 * stdio-common/isoc99_vfscanf.c: Likewise.
5287 * stdio-common/isoc99_vscanf.c: Likewise.
5288 * stdio-common/isoc99_vsscanf.c: Likewise.
5289 * stdio-common/printf-prs.c: Likewise.
5290 * stdio-common/printf_fp.c: Likewise.
5291 * stdio-common/printf_fphex.c: Likewise.
5292 * stdio-common/printf_size.c: Likewise.
5293 * stdio-common/putw.c: Likewise.
5294 * stdio-common/scanf.c: Likewise.
5295 * stdio-common/sprintf.c: Likewise.
5296 * stdio-common/tmpfile.c: Likewise.
5297 * stdio-common/vfprintf.c: Likewise.
5298 * stdio-common/vfscanf.c: Likewise.
5299 * stdlib/strfmon_l.c: Likewise.
5300 * sunrpc/openchild.c: Likewise.
5301 * sunrpc/xdr_stdio.c: Likewise.
5302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5303 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5305 2012-05-24 Roland McGrath <roland@hack.frob.com>
5307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5309 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5310 in the third column, to generate for the shared library an IFUNC
5311 that uses _dl_vdso_vsym.
5312 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5313 * Makeconfig (object-suffixes-noshared): New variable.
5315 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5316 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5317 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5318 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5321 * include/sys/time.h (__gettimeofday): Remove macro.
5322 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5323 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5325 (__gettimeofday): Add libc_hidden_def.
5326 (gettimeofday): Add libc_hidden_weak.
5327 * sysdeps/mach/gettimeofday.c: Likewise.
5328 * sysdeps/posix/gettimeofday.c: Likewise.
5329 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5330 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5332 (__gettimeofday_internal): Remove strong_alias.
5333 (__gettimeofday): Add libc_hidden_def.
5334 (gettimeofday): Add libc_hidden_weak.
5335 * sysdeps/unix/syscalls.list (gettimeofday):
5336 Remove __gettimeofday_internal alias.
5338 2012-05-24 Daniel Jacobowitz <drow@false.org>
5339 H.J. Lu <hongjiu.lu@intel.com>
5342 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5343 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5344 (largebin_index_32_big): New.
5345 (largebin_index): Use it for 16-byte alignment.
5346 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5347 correction with front_misalign.
5349 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5377 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5378 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5380 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5384 * math/libm-test.inc (exp_test): Add test from bug 14036.
5385 (pow_test): Add test from bug 10846.
5387 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5389 (special_function): Do not include flags in test name.
5390 (parse_args): Likewise.
5391 * sysdeps/i386/fpu/libm-test-ulps: Update.
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5393 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5397 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5399 * math/libm-test.inc ("Philosophy"): Update comment about
5401 (UNDERFLOW_EXCEPTION): New macro.
5402 (UNDERFLOW_EXCEPTION_OK): Likewise.
5403 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5404 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5405 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5406 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5407 (INVALID_EXCEPTION_OK): Update value.
5408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5409 (OVERFLOW_EXCEPTION_OK): Likewise.
5410 (IGNORE_ZERO_INF_SIGN): Likewise.
5411 (test_exceptions): Handle underflow exceptions.
5412 (acos_test): Update for underflow exception expectations.
5413 (cexp_test): Likewise.
5414 (clog_test): Likewise.
5415 (clog10_test): Likewise.
5416 (csqrt_test): Likewise.
5417 (ctan_test): Likewise.
5418 (ctanh_test): Likewise.
5419 (exp_test): Likewise.
5420 (exp10_test): Likewise.
5421 (exp2_test): Likewise.
5422 (expm1_test): Likewise.
5423 (fma_test): Likewise.
5424 (j0_test): Likewise.
5425 (jn_test): Likewise.
5426 (nexttoward_test): Likewise.
5427 (pow_test): Likewise.
5428 (scalbn_test): Likewise.
5429 (scalbln_test): Likewise.
5430 (tan_test): Likewise.
5431 (y1_test): Likewise.
5432 * sysdeps/i386/fpu/libm-test-ulps: Update.
5433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435 2012-05-23 David S. Miller <davem@davemloft.net>
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5438 (__libc_sigaction): Remove unused local variables.
5440 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5444 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5446 mktime: avoid signed integer overflow
5447 * time/mktime.c (__mktime_internal): Do not mishandle the case
5448 where diff == INT_MIN.
5450 mktime: simplify computation of average
5451 * time/mktime.c (ranged_convert): Use new time_t_avg function
5452 instead of rolling our own (probably-slower) code.
5454 mktime: do not assume signed right shift propagates sign bit
5455 * time/mktime.c (isdst_differ): New static function.
5456 (__mktime_internal): No need to normalize tm_isdst now.
5457 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5460 mktime: merge another wrapv change from gnulib
5461 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5462 from some compilers.
5464 mktime: remove incorrect attempt at unusual arithmetics
5465 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5466 The code didn't really work on such machines anyway.
5467 (TYPE_MINIMUM): Assume two's complement.
5468 (twos_complement_arithmetic): Verify that long_int and time_t
5469 are two's complement (or unsigned, in the latter case).
5471 mktime: check signed shifts on long_int and time_t, too
5472 * time/mktime.c (SHR): Check that shifts work as desired
5473 on the types long_int and time_t too, as SHR is used on
5476 mktime: do not assume 'long' is wide enough
5477 * time/mktime.c (verify): Move decl up.
5478 (long_int): New type.
5479 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5480 to remove assumption in the code that 'long' is wide enough to
5481 store year values. This assumption is not true on x32 and on
5482 some non-glibc platforms.
5484 mktime: merge wrapv change from gnulib
5485 * time/mktime.c (WRAPV): New macro.
5486 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5487 (guess_time_tm, __mktime_internal): Do not assume that signed
5488 integer overflow wraps around; modern compilers generate code
5489 where this assumption is no longer valid.
5491 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5493 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5494 Replace "jmp L(pseudo_end)" with "ret".
5495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5498 2012-05-23 Andreas Jaeger <aj@suse.de>
5500 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5501 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5503 2012-05-23 Andreas Jaeger <aj@suse.de>
5504 Maximilian Attems <max@stro.at>
5506 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5509 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5512 code so that pseudo_end is just ret and the stack pointer is
5513 correct also for static library in error case.
5515 2012-05-23 Joseph Myers <joseph@codesourcery.com>
5517 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5518 move to syscalls.list.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5524 * manual/install.texi (Running make install): Do not mention Linux
5525 kernel version for which pt_chown is not needed.
5526 (Linux): Do not mention problems with nscd with 2.0 kernels.
5527 * INSTALL: Regenerated.
5529 2012-05-23 Andreas Jaeger <aj@suse.de>
5531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5532 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5534 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5536 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5538 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5544 * sysdeps/unix/sysv/linux/bits/in.h
5545 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5547 2012-05-22 Roland McGrath <roland@hack.frob.com>
5549 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5550 (PREPARE_VERSION): Just use assert instead, it will be elided
5551 under [NDEBUG] anyway.
5553 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5555 * sysdeps/unix/sysv/linux/Makefile: Include
5556 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
5557 (sysdep_routines): Remove sysctl.
5558 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5559 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5562 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5564 2012-05-22 Andreas Jaeger <aj@suse.de>
5566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5567 that pseudo_end is just ret and the stack pointer is correct also
5568 for static library in error case.
5570 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5573 * nss/nsswitch.c (defconfig_entries): New variable.
5574 (__nss_database_lookup): Don't leak defconfig entries.
5575 (nss_parse_service_list): Don't leak on error paths.
5576 (free_database_entries): New function.
5577 (free_defconfig): New function.
5578 (free_mem): Move common code to free_database_entries.
5580 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5582 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5584 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5587 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5590 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5591 (INTERNAL_SYSCALL_TYPES): Likewise.
5592 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5593 (LOAD_REGS_TYPES_[1-6]): Likewise.
5594 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5595 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5597 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5600 copysignl for GLIBC_2_0.
5601 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5602 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5604 logbl for GLIBC_2_0.
5605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5606 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5608 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5613 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5616 * time/mktime.c: Update copyright years.
5618 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5620 mktime: merge comment-quoting-style change from gnulib
5621 * time/mktime.c: Quote 'like this' in comments.
5622 The GNU coding standards suggest that we no longer quote `like this',
5623 as "`" and "'" are typically rendered asymmetrically nowadays.
5624 The typical gnulib style is to quote 'like this' when quoting
5625 code, and "like this" when quoting English.
5627 * time/mktime.c (compile-command): Add "-I.".
5629 mktime: merge mktime-internal.h change from gnulib
5630 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5632 mktime: merge time_r change from gnulib
5633 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5635 mktime: merge DEBUG change from gnulib
5636 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5637 case system <time.h> has a #define.
5639 mktime: merge <sys/types.h> change from gnulib
5640 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5641 since <time.t> is now guaranteed to define time_t.
5643 mktime: merge HAVE_CONFIG_H change from gnulib
5644 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5646 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5653 (struct rusage): Use anonymous union to pad each field to
5656 2012-05-21 David S. Miller <davem@davemloft.net>
5658 * Makefules (o-iterator): Remove .s cases.
5659 (compile-command.s): Delete.
5660 (COMPILE.s): Delete.
5661 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5663 2012-05-21 Joseph Myers <joseph@codesourcery.com>
5665 * configure.in (libc_cv_predef_stack_protector): Only consider
5666 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5667 * configure: Regenerated.
5669 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5672 New macro. Use R*LP on int and pointer.
5673 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
5674 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5675 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5678 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5679 [__WORDSIZE_TIME64_COMPAT32] instead of
5680 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5681 (struct utmp): Likewise.
5682 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5683 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5685 (__WORDSIZE_TIME64_COMPAT32): This.
5686 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5687 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5688 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5689 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5691 (__WORDSIZE_TIME64_COMPAT32): New macro.
5693 2012-05-21 Andreas Jaeger <aj@suse.de>
5695 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5696 only if [SHARED]. Add prototype for __wcschr_ia32.
5698 2012-05-21 Roland McGrath <roland@hack.frob.com>
5700 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5701 of %rbp unmolested in the jmp_buf while mangling the low bits.
5702 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5703 unmolested high bits of %rbp while demangling the low bits.
5704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5706 2012-05-21 Andreas Jaeger <aj@suse.de>
5708 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5709 * sunrpc/svc_simple.c: Use it for registerrpc.
5710 * sunrpc/xcrypt.c: Use it for passwd2des.
5712 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5714 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5716 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5717 Don't define if [__SYSCALL_WORDSIZE != 32].
5718 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5721 2012-05-21 Bruno Haible <bruno@clisp.org>
5722 Andreas Jaeger <aj@suse.de>
5724 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5725 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5726 inptr and inend for must_buffer_ch.
5727 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5728 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5729 * stdio-common/Makefile (tests): Remove bug15.
5730 (bug15-ENV): Remove macro.
5731 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5734 2012-05-19 Andreas Jaeger <aj@suse.de>
5735 Roland McGrath <roland@hack.frob.com>
5737 * manual/contrib.texi: Completely rewritten. It contains now an
5738 alphabetical list of contributors and their contributions.
5740 2012-05-21 Richard Henderson <rth@twiddle.net>
5742 * misc/getauxval.c (__getauxval): Use unsigned long int.
5743 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5744 (getauxval): Use unsigned long int.
5746 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5748 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5750 2012-05-21 Roland McGrath <roland@hack.frob.com>
5752 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5753 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5754 __alignof__ (long double).
5756 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5760 2012-05-20 Richard Henderson <rth@twiddle.net>
5762 * misc/getauxval.c: New file.
5763 * misc/sys/auxv.h: New file.
5764 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5765 (routines): Add getauxval.
5766 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5768 * elf/dl-sysdep.c (_dl_auxv): Remove.
5769 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5770 * elf/dl-support.c (_dl_auxv): New variable.
5771 (_dl_aux_init): Initialize it.
5772 * manual/startup.texi (Auxiliary Vector): New node.
5773 * sysdeps/generic/bits/hwcap.h: New file.
5774 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5775 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5776 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5777 * sysdeps/sparc/sysdep.h: ... here. Include it.
5778 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5791 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5795 2012-05-19 David S. Miller <davem@davemloft.net>
5797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5799 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5802 * math/s_ccosh.c: Include <float.h>
5803 (__ccosh): Avoid internal overflow calculating sinh and cosh
5804 values before multiplying by sin and cos values.
5805 * math/s_ccoshf.c: Likewise.
5806 * math/s_ccoshl.c: Likewise.
5807 * math/s_csin.c: Likewise.
5808 * math/s_csinf.c: Likewise.
5809 * math/s_csinl.c: Likewise.
5810 * math/s_csinh.c: Likewise.
5811 * math/s_csinhf.c: Likewise.
5812 * math/s_csinhl.c: Likewise.
5813 * math/libm-test.inc (ccos_test): Add more tests.
5814 (ccosh_test): Likewise.
5815 (csin_test): Likewise.
5816 (csinh_test): Likewise.
5817 * sysdeps/i386/fpu/libm-test-ulps: Update.
5818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5822 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5823 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5825 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5827 2012-05-19 Joseph Myers <joseph@codesourcery.com>
5829 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5830 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5831 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5832 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5833 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5834 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5835 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5836 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5837 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5838 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5839 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5840 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5841 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5842 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5843 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5844 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5845 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5846 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5847 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5848 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5849 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5850 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5851 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5852 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5853 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5854 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5855 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5856 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5857 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5858 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5859 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5861 2012-05-18 Andreas Jaeger <aj@suse.de>
5863 * csu/.gitignore: Delete.
5865 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5867 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5868 (timex): Use __syscall_slong_t.
5870 2012-05-18 Andreas Jaeger <aj@suse.de>
5871 Carlos O'Donell <carlos_odonell@mentor.com>
5873 * manual/install.texi (Configuring and compiling): Update
5874 description about files modified in the source directory.
5875 * INSTALL: Regenerated.
5877 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5879 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5880 value. Use "or" to set return value to -1.
5881 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5882 negate return value.
5884 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5886 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5887 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5888 failure if the compiler has Graphite support disabled.
5889 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5891 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5892 CFLAGS-memmove.c): Likewise.
5893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5898 * sysdeps/x86_64/x32/_itoa.h: New file.
5900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5901 getdents system call only if kernel and user dirents have the
5902 same d_ino and d_off.
5904 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5905 LLONG_MAX != LONG_MAX.
5906 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5907 (_fitoa_word): Likewise.
5909 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5911 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5916 include <bits/wordsize.h>. Check __x86_64__ instead of
5918 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5919 if __x86_64__ is defined. Use anonymous union on fpstate.
5921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5924 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5927 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5929 Refer to _rtld_local_ro instead of _rtld_global_ro.
5930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5932 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5934 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5936 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5937 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5938 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5940 * sysdeps/powerpc/powerpc32/dl-machine.c
5941 (__elf_machine_runtime_setup) [PROF]: Don't reference
5944 2012-05-18 Andreas Jaeger <aj@suse.de>
5946 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5947 function only available for GCCs before 3.4 since GCC 3.4
5948 introduced a builtin.
5950 (llrintf): Likewise.
5958 (nearbyint): Likewise.
5959 (nearbyintf): Likewise.
5965 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5967 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5968 on both fields and cast pointer to __syscall_ulong_t.
5970 * bits/types.h (__fsword_t): New type.
5971 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5972 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5974 (__FSWORD_T_TYPE): Likewise.
5975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5976 (__FSWORD_T_TYPE): Likewise.
5977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5978 (__FSWORD_T_TYPE): Likewise.
5979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5980 (__FSWORD_T_TYPE): Likewise.
5981 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5982 __SWORD_TYPE with __fsword_t.
5983 (statfs64): Likewise.
5985 2012-05-17 David S. Miller <davem@davemloft.net>
5987 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5989 2012-05-17 Andreas Jaeger <aj@suse.de>
5991 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5994 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5996 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5998 2012-05-17 Andreas Jaeger <aj@suse.de>
6000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6003 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6005 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6007 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6009 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6010 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6012 2012-05-17 Andreas Jaeger <aj@suse.de>
6013 Carlos O'Donell <carlos_odonell@mentor.com>
6016 * sysdeps/x86_64/multiarch/init-arch.h
6017 (bit_YMM_Usable): Rename to...
6018 (bit_AVX_Usable): ... this.
6019 (bit_FMA4_Usable): New macro.
6020 (bit_XMM_state): New macro.
6021 (bit_YMM_state): New macro.
6022 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6023 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6024 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6025 (CPUID_OSXSAVE): New macro.
6026 (CPUID_AVX): New macro.
6027 (CPUID_FMA4): New macro.
6028 (index_YMM_Usable): Rename to...
6029 (index_AVX_Usable): ... this.
6030 (HAS_AVX): Use HAS_ARCH_FEATURE.
6031 (HAS_FMA4): Likewise.
6032 (HAS_YMM_USABLE): Remove.
6033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6034 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6036 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6037 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6038 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6039 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6040 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6042 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6044 * math/libm-test.c: Support platforms without multiple rounding modes.
6045 * math/bug-nextafter.c: Support platforms without FP exceptions.
6046 * math/bug-nexttoward.c: Likewise.
6047 * math/test-fenv.c: Likewise.
6048 * math/test-misc.c: Likewise.
6049 * stdlib/bug-getcontext.c: Likewise.
6051 2012-05-17 Andreas Jaeger <aj@suse.de>
6053 * manual/examples/search.c (critter_cmp): Change signature to
6055 * manual/string.texi (Collation Functions): Likewise.
6057 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6059 * bits/types.h: Fold copyright years.
6060 * bits/typesizes.h: Likewise.
6061 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6065 * time/time.h: Likewise.
6067 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6070 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6071 in instead of returning them. Return void.
6072 (__libc_mallinfo): Accumulate over all arenas.
6073 (__malloc_stats): Adjust for change in int_mallinfo interface.
6075 2012-05-16 Roland McGrath <roland@hack.frob.com>
6078 * configure.in (NM): Add AC_CHECK_TOOL for it.
6079 (libc_extra_cflags): New substituted variable.
6080 Check for -fstack-protector being used implicitly.
6081 * configure: Regenerated.
6082 * config.make.in (config-extra-cflags): New variable,
6083 gets @libc_extra_cflags@.
6084 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6087 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6088 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6089 * configure: Regenerated.
6090 * config.make.in (CPPUNDEFS): New substituted variable.
6091 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6092 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6093 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6097 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6098 (mq_attr): Use __syscall_slong_t.
6100 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6103 Check __x86_64__ instead of __WORDSIZE.
6104 (_STAT_VER_LINUX): Likewise.
6105 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6106 __syscall_ulong_t and __syscall_slong_t.
6109 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6113 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6115 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6117 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6119 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6122 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6123 include <bits/wordsize.h>. Check __x86_64__ instead of
6125 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6127 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6130 include <bits/wordsize.h>. Check __x86_64__ instead of
6132 (user_regs_struct): Use "__extension__ unsigned long long"
6133 instead of "unsigned long" if __x86_64__ is defined.
6134 (user): Likewise. Pad after pointer field if __ILP32__ is
6137 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6139 * configure.in (makeinfo): Require version 4.5 or later. Allow
6141 * configure: Regenerated.
6142 * manual/install.texi (texinfo): Increase version requirement to
6144 * INSTALL: Regenerated.
6146 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6150 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6152 * sysdeps/x86_64/x32/ffs.c: New file.
6154 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6156 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6157 defined. Use __syscall_ulong_t.
6158 (shminfo): Use __syscall_ulong_t.
6159 (shm_info): Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6166 (msgqnum_t): Use __syscall_ulong_t.
6167 (msglen_t): Likewise.
6168 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6171 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6174 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6176 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6177 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6179 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6183 include <bits/wordsize.h>. Check __x86_64__ instead of
6186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6187 "unsigned long long int" if __x86_64__ is defined.
6188 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6192 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6196 (GET_PC): Cast to uintptr_t first.
6197 (GET_FRAME): Likewise.
6198 (GET_STACK): Likewise.
6200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6206 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6208 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6219 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6221 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6223 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6230 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6232 * Makerules (+depfiles): Also collect depfiles from .oS in
6234 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6235 .oS, $(libnldbl-routines)).
6237 * Makerules (native-compile-mkdep-flags): Define.
6238 * sunrpc/Makefile (extra-objs): Add $(addprefix
6239 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6240 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6241 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6242 calling $(make-target-directory).
6244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6246 * bits/types.h (__snseconds_t): Removed.
6247 * time/time.h (struct timespec): Replace __snseconds_t with
6249 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6250 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6253 (__SNSECONDS_T_TYPE): Likewise.
6254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6255 (__SNSECONDS_T_TYPE): Likewise.
6256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6257 (__SNSECONDS_T_TYPE): Likewise.
6259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6261 * sysdeps/mach/hurd/bits/typesizes.h
6262 (__SYSCALL_SLONG_TYPE): New macro.
6263 (__SYSCALL_ULONG_TYPE): Likewise.
6265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6267 * bits/types.h (__syscall_slong_t): New type.
6268 (__syscall_ulong_t): Likewise.
6270 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6271 (__SYSCALL_ULONG_TYPE): Likewise.
6272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6273 (__SYSCALL_SLONG_TYPE): Likewise.
6274 (__SYSCALL_ULONG_TYPE): Likewise.
6275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6276 (__SYSCALL_SLONG_TYPE): Likewise.
6277 (__SYSCALL_ULONG_TYPE): Likewise.
6278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6279 (__SYSCALL_SLONG_TYPE): Likewise.
6280 (__SYSCALL_ULONG_TYPE): Likewise.
6282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6284 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6285 Add sigaltstack-offsets.sym.
6286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6287 <sigaltstack-offsets.h>.
6288 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6289 longjmp_msg pointer.
6290 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6291 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6293 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6295 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6297 * elf/stackguard-macros.h: Remove file.
6298 * sysdeps/generic/stackguard-macros.h: New file.
6299 * sysdeps/i386/stackguard-macros.h: Likewise.
6300 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6301 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6302 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6303 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6304 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6305 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6306 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6307 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6308 <elf/stackguard-macros.h>.
6311 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6312 __aligned__ in attribute.
6313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6314 (gregset_t): Likewise.
6316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6318 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6319 * sysdeps/x86_64/64/Implies-after: Here. New file.
6320 * sysdeps/x86_64/x32/Implies-after: New file.
6322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6324 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6325 and access return value for _dl_profile_fixup. Use R10_LP to
6328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6330 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6334 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6335 * sysdeps/x86_64/x32/sysdep.h: New file.
6337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6339 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6340 * sysdeps/x86_64/setjmp.S: Likewise.
6342 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6346 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6347 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6348 remove unused global constant.
6350 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6352 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6353 include of <not-cancel.h>.
6355 2012-05-15 Roland McGrath <roland@hack.frob.com>
6357 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6359 2012-05-15 Jeff Law <law@redhat.com>
6360 Andreas Jaeger <aj@suse.de>
6363 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6365 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6366 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6367 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6368 code changing __hst_map_handle.map.
6370 2012-05-15 Roland McGrath <roland@hack.frob.com>
6372 * configure.in (sysnames): Look for Implies-before and Implies-after
6374 * configure: Regenerated.
6376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6378 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6379 8-byte data alignment with LP_SIZE alignment.
6381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6383 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6388 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6392 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6393 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6400 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6401 (stackinfo_sub_sp): Likewise.
6403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6415 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6420 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6424 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6425 into R11_LP and load __x86_64_shared_cache_size_half into
6428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6433 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6442 powerpc32/power7/fpu/s_logb.c via #include.
6443 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6444 powerpc32/power7/fpu/s_logbf.c via #include.
6445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6446 powerpc32/power7/fpu/s_logbl.c via #include.
6448 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6450 * README.libm: Remove file.
6452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6454 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6455 count for x32. Use R*_LP and omit operand-size suffix.
6457 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6459 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6460 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6461 * sysdeps/x86_64/x32/shlib-versions: New file.
6463 2012-05-14 Roland McGrath <roland@hack.frob.com>
6465 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6466 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6467 Use _dl_fatal_printf instead.
6469 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6471 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6472 set if not set by the user. Do not allow for being unset.
6473 * sysdeps/unix/sysv/linux/configure: Regenerated.
6475 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6477 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6478 the `q' suffix from lea and replace .quad with ASM_ADDR.
6480 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6483 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6485 (PTR_DEMANGLE): Likewise.
6487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6489 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6491 (ASM_ADDR): Likewise.
6509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6511 * sysdeps/x86_64/x32/dl-machine.h: New file.
6513 2012-05-14 Andreas Jaeger <aj@suse.de>
6515 * manual/Makefile (subdir): Remove export of subdir.
6516 (all): Remove target.
6517 (.PHONY): Remove all from list.
6518 (mkinstalldirs): Remove.
6519 (.PHONY): Remove installdirs from list.
6520 ($(inst_infodir)/libc.info): Use make-target-directory.
6521 (installdirs): Remove.
6523 (glibc-targets): Remove.
6526 ($(objpfx)stubs ../po/manual.pot): Remove.
6527 ($(objpfx)stamp%): Remove.
6528 (make-target-directory): Remove.
6529 (subdir_install): Remove.
6537 * manual/.gitignore: Remove, it's not needed anymore.
6538 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6540 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6542 (texis): Renamed to $(objpfx)texis.
6543 (texis-path): New, contains path to generated files.
6544 (chapters.%): Use texis-path for complete path, add extra argument
6546 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6547 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6548 (summary,texi, stamp-summary): Use complete path of
6549 files. Generate files in build dir.
6550 (dir-add.texi): Build in build dir.
6551 (libm-err.texi,stamp-libm-err): Likewise.
6552 (version.texi, stamp-version): Likewise.
6553 (.%c.texi): Likewise.
6554 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6555 (mostlyclean): Remove target.
6556 (realclean): Remove target.
6557 (generated): Add new variable with contents from mostlyclean and
6558 realclean, remove entries duplicated in common-mostlyclean, add
6559 stamp-libm-err and stamp-version.
6560 (generated-dirs): Add libc directory.
6561 ($(inst_infodir)/libc.info): Install files from build dir.
6563 * manual/install.texi (Configuring and compiling): Adjust since
6564 the info files are not part of the tar ball anymore.
6566 2012-05-14 Andreas Jaeger <aj@suse.de>
6568 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6571 2012-05-14 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6575 to 2.2.0 where earlier.
6576 * sysdeps/unix/sysv/linux/configure: Regenerated.
6577 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6581 Remove conditional code.
6582 [!__NR_lchown]: Likewise.
6583 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6584 [__NR_lchown]: Likewise.
6585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6586 comment referencing __ASSUME_LCHOWN_SYSCALL.
6587 * sysdeps/unix/sysv/linux/i386/sigaction.c
6588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6591 Remove conditional code.
6592 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6593 (__protocol_available): Remove #if 0 code.
6594 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6596 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6597 * sysdeps/unix/sysv/linux/kernel-features.h
6598 (__ASSUME_GETCWD_SYSCALL): Don't define.
6599 (__ASSUME_REALTIME_SIGNALS): Likewise.
6600 (__ASSUME_PREAD_SYSCALL): Likewise.
6601 (__ASSUME_PWRITE_SYSCALL): Likewise.
6602 (__ASSUME_POLL_SYSCALL): Likewise.
6603 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6604 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6606 (__ASSUME_SIOCGIFNAME): Don't define.
6607 (__ASSUME_MSG_NOSIGNAL): Likewise.
6608 (__ASSUME_SENDFILE): Define unconditionally.
6609 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6610 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6612 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6613 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6614 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6615 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6616 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6617 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6618 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6623 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6624 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6629 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6643 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6644 Remove conditional code.
6645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6646 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6647 Remove conditional code.
6648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6649 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6650 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6651 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6652 Remove conditional code.
6653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6654 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6655 Remove conditional code.
6656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6657 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6658 Remove conditional code.
6659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6660 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6661 Remove conditional code.
6662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6663 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6664 Remove conditional code.
6665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6666 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6669 * sysdeps/unix/sysv/linux/sigaction.c
6670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6672 * sysdeps/unix/sysv/linux/sigpending.c
6673 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6674 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6675 * sysdeps/unix/sysv/linux/sigprocmask.c
6676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6678 * sysdeps/unix/sysv/linux/sigsuspend.c
6679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6682 (__libc_missing_rt_sigs): Remove.
6683 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6684 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6685 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6686 Remove conditional code.
6687 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6688 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6691 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6693 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6695 2012-05-14 Andreas Jaeger <aj@suse.de>
6697 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6698 it's not used in glibc.
6699 (__coshm1): Likewise.
6700 (__acosh1p): Likewise.
6703 * manual/string.texi (Copying and Concatenation): Add missing
6704 variable in concat example.
6705 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6707 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6711 __builtin_clzl with __builtin_clzll.
6713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6716 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6719 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6721 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6722 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6723 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6726 2012-05-14 Mike Frysinger <vapier@gentoo.org>
6728 * NEWS: Update ia64 info.
6730 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6732 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6735 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6737 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6738 * sysdeps/unix/syscalls.list (dup3): Likewise.
6739 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6740 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6742 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6744 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6745 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6747 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6749 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6751 (TLS_IE): Use mov/add instead of movq/addq to load thread
6753 (TLS_GD_PREFIX): New.
6756 2012-05-11 David S. Miller <davem@davemloft.net>
6758 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6759 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6760 (_FPU_SETCW): Likewise.
6762 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6764 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6767 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6770 * iconvdata/gb18030.c: Update tables.
6771 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6772 characters specially.
6773 (BODY for TO_LOOP): Add encoding of missing ranges.
6775 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6778 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6779 * sysdeps/mach/hurd/dup3.c: Likewise.
6780 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6781 * sysdeps/powerpc/memmove.c:: Likewise.
6783 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6786 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6788 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6790 * elf/elf.h (R_X86_64_RELATIVE64): New.
6791 (R_X86_64_NUM): Updated.
6792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6793 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6794 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6795 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6796 tst-quad1pie tst-quad2pie
6797 (modules-names): Add tst-quadmod1 tst-quadmod2.
6798 ($(objpfx)tst-quad1): New dependency.
6799 ($(objpfx)tst-quad2): Likewise.
6800 ($(objpfx)tst-quad1pie): Likewise.
6801 ($(objpfx)tst-quad2pie): Likewise.
6802 * sysdeps/x86_64/tst-quad1.c: New file.
6803 * sysdeps/x86_64/tst-quad1pie.c: New file.
6804 * sysdeps/x86_64/tst-quad2.c: Likewise.
6805 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6806 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6807 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6808 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6809 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6813 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6814 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6815 * streams/stropts.h (t_scalar_t): Define type.
6817 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6818 (_PATH_PRESERVE): Set to "/var/lib".
6819 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6821 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6824 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6825 if __dir_mkfile succeeded.
6827 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6828 checking for _hurd_dtablesize. Unlock it right after having
6829 finished _hurd_dtable allocation.
6831 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6833 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6834 * sysdeps/mach/hurd/configure: Regenerated.
6835 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6836 special-casing to...
6837 * sysdeps/gnu/configure.in: ... this new file.
6838 * sysdeps/unix/sysv/linux/configure: Regenerated.
6839 * sysdeps/gnu/configure: New generated file.
6841 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6842 for Linux: use nsec instead of usec, as well as:
6843 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6844 members of type struct timespec.
6845 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6847 (struct stat64): Likewise.
6848 (_STATBUF_ST_NSEC): New macro.
6849 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6852 __strtoul_internal rather than strtoul.
6854 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6856 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6861 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6862 which preserves existing values.
6863 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6865 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6867 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6868 TIMEOUT values. Return EINVAL for NFDS values either negative or
6869 greater than FD_SETSIZE.
6871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6873 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6874 allocated, call __vm_protect to finish enabling the existing space, and
6875 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6876 allocate the remainder.
6878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6880 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6881 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6885 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6886 sysdeps/mach/hurd/readlink.c.
6888 * posix/tst-sysconf.c (posix_options): Only use
6889 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6890 _POSIX_SYNCHRONIZED_IO when they are defined
6891 * sysdeps/mach/hurd/bits/posix_opt.h:
6892 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6893 (_XOPEN_REALTIME): Undefine macro.
6894 (_XOPEN_REALTIME_THREADS): Undefine macro.
6895 (_XOPEN_SHM): Undefine macro.
6896 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6898 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6900 (_POSIX_ASYNC_IO): Undefine macro.
6901 (_POSIX_PRIORITIZED_IO): Undefine macro.
6902 (_POSIX_SPIN_LOCKS): Define macro to -1.
6904 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6905 SA_NODEFER, SA_RESETHAND.
6906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6907 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6912 * elf/Makefile (pldd-modules): Define unconditionally.
6914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6916 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6920 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6921 Return ENOENT when name is empty.
6922 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6926 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6928 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6932 Fix mlock in all cases except non-readable pages.
6933 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6934 instead of VM_PROT_ALL as parameter to __vm_wire function.
6936 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6937 (__mkdir): When path is `/', just fail with EEXIST.
6938 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6942 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6943 <sys/uio.h> (for writev).
6944 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6945 and <sys/param.h> (for MIN).
6947 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6949 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6950 REQUESTED_TIME. Properly set the remaining time and return EINTR
6953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6955 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6956 Depend on against $(link-rpcuserlibs).
6958 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6960 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6961 (__libc_stack_end): Do not use attribute_relro.
6962 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6963 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
6964 to libthread-provided value.
6965 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6968 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
6971 * bits/libc-lock.h (__libc_once_get): New macro.
6972 * sysdeps/mach/bits/libc-lock.h: Likewise.
6973 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6975 instead of using implementation details.
6977 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6978 * libio/freopen.c: Likewise.
6979 * libio/freopen64.c: Likewise.
6980 * misc/syslog.c: Likewise.
6981 * nscd/connections.c: Likewise.
6982 * nscd/netgroupcache.c: Likewise.
6983 * sysdeps/posix/getcwd.c: Likewise.
6985 2012-05-10 Roland McGrath <roland@hack.frob.com>
6987 * math/w_ilogbf.c: Add #include <limits.h>.
6989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6991 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
6992 path instead of returning without unlocking.
6994 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6995 immediate-write ioctls.
6996 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7000 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7001 __builtin_frame_address instead of making assumptions about the
7002 location of the return address relative to DATA. Force early load of
7004 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7005 __builtin_frame_address.
7008 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7009 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7010 implement dup3 and do some further code clean-ups.
7011 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7012 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7016 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7018 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7019 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7020 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7021 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7022 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7025 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7026 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7027 when handler == SIG_ERR, not when handler != SIG_ERR.
7029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7031 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7032 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7035 accept4 for GNU Hurd.
7036 * include/sys/socket.h (__libc_accept4): New prototype.
7037 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7038 to implement __libc_accept4.
7039 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7041 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7043 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7044 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7045 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7050 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7052 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7054 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7055 assertion on O_CLOEXEC flag.
7056 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7057 * hurd/intern-fd.c: Likewise.
7058 * hurd/port2fd.c: Likewise.
7060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7063 * bits/in.h (IPV6_PKTINFO): Define new macro.
7064 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7066 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7071 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7073 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7076 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7077 * math/libm-test.inc (logb_test) : Additional logb tests.
7079 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7080 Andreas Jaeger <aj@suse.de>
7082 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7083 * configure: Regenerated.
7084 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7085 * config.make.in (link-obsolete-rpc): New substituted variable.
7086 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7087 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7088 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7089 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7090 so that libc.a contains the symbols.
7091 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7092 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7093 * sunrpc/auth_none.c: Likewise.
7094 * sunrpc/auth_unix.c: Likewise.
7095 * sunrpc/authdes_prot.c: Likewise.
7096 * sunrpc/authuxprot.c: Likewise.
7097 * sunrpc/clnt_gen.c: Likewise.
7098 * sunrpc/clnt_perr.c: Likewise.
7099 * sunrpc/clnt_raw.c: Likewise.
7100 * sunrpc/clnt_simp.c: Likewise.
7101 * sunrpc/clnt_tcp.c: Likewise.
7102 * sunrpc/clnt_udp.c: Likewise.
7103 * sunrpc/clnt_unix.c: Likewise.
7104 * sunrpc/des_crypt.c: Likewise.
7105 * sunrpc/des_soft.c: Likewise.
7106 * sunrpc/get_myaddr.c: Likewise.
7107 * sunrpc/key_call.c: Likewise.
7108 * sunrpc/key_prot.c: Likewise.
7109 * sunrpc/netname.c: Likewise.
7110 * sunrpc/pm_getmaps.c: Likewise.
7111 * sunrpc/pm_getport.c: Likewise.
7112 * sunrpc/pmap_clnt.c: Likewise.
7113 * sunrpc/pmap_prot.c: Likewise.
7114 * sunrpc/pmap_prot2.c: Likewise.
7115 * sunrpc/pmap_rmt.c: Likewise.
7116 * sunrpc/publickey.c: Likewise.
7117 * sunrpc/rpc_cmsg.c: Likewise.
7118 * sunrpc/rpc_common.c: Likewise.
7119 * sunrpc/rpc_dtable.c: Likewise.
7120 * sunrpc/rpc_prot.c: Likewise.
7121 * sunrpc/rpc_thread.c: Likewise.
7122 * sunrpc/rtime.c: Likewise.
7123 * sunrpc/svc.c: Likewise.
7124 * sunrpc/svc_auth.c: Likewise.
7125 * sunrpc/svc_raw.c: Likewise.
7126 * sunrpc/svc_run.c: Likewise.
7127 * sunrpc/svc_tcp.c: Likewise.
7128 * sunrpc/svc_udp.c: Likewise.
7129 * sunrpc/svc_unix.c: Likewise.
7130 * sunrpc/svcauth_des.c: Likewise.
7131 * sunrpc/xcrypt.c: Likewise.
7132 * sunrpc/xdr.c: Likewise.
7133 * sunrpc/xdr_array.c: Likewise.
7134 * sunrpc/xdr_float.c: Likewise.
7135 * sunrpc/xdr_intXX_t.c: Likewise.
7136 * sunrpc/xdr_mem.c: Likewise.
7137 * sunrpc/xdr_rec.c: Likewise.
7138 * sunrpc/xdr_ref.c: Likewise.
7139 * sunrpc/xdr_sizeof.c: Likewise.
7140 * sunrpc/xdr_stdio.c: Likewise.
7142 2012-05-10 Roland McGrath <roland@hack.frob.com>
7144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7145 change. Update copyright years.
7147 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7149 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7151 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7152 Joseph Myers <joseph@codesourcery.com>
7153 Paul Pluzhnikov <ppluzhnikov@google.com>
7156 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7158 [cross-compiling] (extra-libs): Likewise.
7159 [cross-compiling] (extra-libs-others): Likewise.
7160 [cross-compiling] (librpcsvc-routines): Likewise.
7161 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7162 [cross-compiling] (omit-deps): Likewise.
7163 (sunrpc-CPPFLAGS): New variable.
7164 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7165 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7166 (cross-rpcgen-objs): New variable.
7167 (extra-objs): Append $(cross-rpcgen-objs).
7168 ($(cross-rpcgen-objs)): New rule.
7169 ($(objpfx)cross-rpcgen): Likewise.
7170 (rpcgen-cmd): Define to use $(built-program-file). Expand
7172 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7173 ($(objpfx)x%.stmp): Likewise.
7174 * sunrpc/proto.h [IS_IN_build] (_): Define.
7175 [IS_IN_build] (_libc_intl_domainname): Likewise.
7177 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7180 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7181 and R_X86_64_TPOFF64.
7183 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7186 sysdeps/unix/sysv/syscalls.list.
7189 * sysdeps/unix/sysv/syscalls.list: Remove file.
7191 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7194 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7195 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7196 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7197 (__LC_IDENTIFICATION): Make these macros useful in #if
7198 expressions, as required by C99.
7200 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7202 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7203 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7206 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7208 * stdlib/longlong.h: Updated from GCC.
7210 2012-05-09 Andreas Jaeger <aj@suse.de>
7212 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7213 default is first entry.
7214 (run_mode): Set type.
7215 (main): Remove informal message about syslog.
7216 (options): Fix typo.
7219 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7222 (llrintf): Likewise.
7226 (nearbyint): Likewise.
7227 (nearbyintf): Likewise.
7229 2012-05-09 Andreas Jaeger <aj@suse.de>
7230 Pedro Alves <palves@redhat.com>
7232 * nscd/nscd.c (run_mode): Use enum.
7233 (main): Cleanup coding style issue.
7235 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7236 Andreas Jaeger <aj@suse.de>
7238 * nscd/nscd.c (go_background): Replaced with...
7239 (run_mode): ... this.
7240 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7241 (options): Add -F --foreground.
7242 (main): Implement it.
7243 (parse_opt): Parse it.
7245 2012-05-09 Andreas Jaeger <aj@suse.de>
7248 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7249 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7250 -Wconversion warning.
7251 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7254 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7256 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7258 (LC_ALL): Use macro-int-constant.
7259 (LC_COLLATE): Likewise.
7260 (LC_CTYPE): Likewise.
7261 (LC_MESSAGES): Likewise.
7262 (LC_MONETARY): Likewise.
7263 (LC_NUMERIC): Likewise.
7264 (LC_TIME): Likewise.
7265 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7266 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7268 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7270 [C99-based standards] (float_t): Expect type.
7271 [C99-based standards] (double_t): Expect type.
7272 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7274 [C99-based standards] (HUGE_VALL): Likewise.
7275 [C99-based standards] (INFINITY): Likewise.
7276 [C99-based standards] (NAN): Likewise.
7277 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7278 [C99-based standards] (FP_NAN): Likewise.
7279 [C99-based standards] (FP_NORMAL): Likewise.
7280 [C99-based standards] (FP_SUBNORMAL): Likewise.
7281 [C99-based standards] (FP_ZERO): Likewise.
7282 [C99-based standards] (FP_FAST_FMA): Use
7283 optional-macro-int-constant. Specify type. Require == 1.
7284 [C99-based standards] (FP_FAST_FMAF): Likewise.
7285 [C99-based standards] (FP_FAST_FMAL): Likewise.
7286 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7287 [C99-based standards] (FP_ILOGBNAN): Likewise.
7288 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7290 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7291 [C99-based standards] (math_errhandling): Specify type.
7292 [ISO99 || ISO11] (signgam): Do not allow.
7293 [non-C99-based standards] (copysignf): Do not allow.
7294 [non-C99-based standards] (exp2f): Likewise.
7295 [non-C99-based standards] (log2f): Likewise.
7296 [non-C99-based standards] (modff): Allow.
7297 [non-C99-based standards] (erff): Do not allow.
7298 [non-C99-based standards] (erfcf): Likewise.
7299 [non-C99-based standards] (gammaf): Likewise.
7300 [non-C99-based standards] (hypotf): Likewise.
7301 [non-C99-based standards] (j0f): Likewise.
7302 [non-C99-based standards] (j1f): Likewise.
7303 [non-C99-based standards] (jnf): Likewise.
7304 [non-C99-based standards] (lgammaf): Likewise.
7305 [non-C99-based standards] (tgammaf): Likewise.
7306 [non-C99-based standards] (y0f): Likewise.
7307 [non-C99-based standards] (y1f): Likewise.
7308 [non-C99-based standards] (ynf): Likewise.
7309 [non-C99-based standards] (isnanf): Likewise.
7310 [non-C99-based standards] (acoshf): Likewise.
7311 [non-C99-based standards] (asinhf): Likewise.
7312 [non-C99-based standards] (atanhf): Likewise.
7313 [non-C99-based standards] (cbrtf): Likewise.
7314 [non-C99-based standards] (expm1f): Likewise.
7315 [non-C99-based standards] (ilogbf): Likewise.
7316 [non-C99-based standards] (log1pf): Likewise.
7317 [non-C99-based standards] (logbf): Likewise.
7318 [non-C99-based standards] (nextafterf): Likewise.
7319 [non-C99-based standards] (remainderf): Likewise.
7320 [non-C99-based standards] (rintf): Likewise.
7321 [non-C99-based standards] (scalbf): Likewise.
7322 [non-C99-based standards] (copysignl): Likewise.
7323 [non-C99-based standards] (exp2l): Likewise.
7324 [non-C99-based standards] (log2l): Likewise.
7325 [non-C99-based standards] (modfl): Allow.
7326 [non-C99-based standards] (erfl): Do not allow.
7327 [non-C99-based standards] (erfcl): Likewise.
7328 [non-C99-based standards] (gammal): Likewise.
7329 [non-C99-based standards] (hypotl): Likewise.
7330 [non-C99-based standards] (j0l): Likewise.
7331 [non-C99-based standards] (j1l): Likewise.
7332 [non-C99-based standards] (jnl): Likewise.
7333 [non-C99-based standards] (lgammal): Likewise.
7334 [non-C99-based standards] (tgammal): Likewise.
7335 [non-C99-based standards] (y0l): Likewise.
7336 [non-C99-based standards] (y1l): Likewise.
7337 [non-C99-based standards] (ynl): Likewise.
7338 [non-C99-based standards] (isnanl): Likewise.
7339 [non-C99-based standards] (acoshl): Likewise.
7340 [non-C99-based standards] (asinhl): Likewise.
7341 [non-C99-based standards] (atanhl): Likewise.
7342 [non-C99-based standards] (cbrtl): Likewise.
7343 [non-C99-based standards] (expm1l): Likewise.
7344 [non-C99-based standards] (ilogbl): Likewise.
7345 [non-C99-based standards] (log1pl): Likewise.
7346 [non-C99-based standards] (logbl): Likewise.
7347 [non-C99-based standards] (nextafterl): Likewise.
7348 [non-C99-based standards] (remainderl): Likewise.
7349 [non-C99-based standards] (rintl): Likewise.
7350 [non-C99-based standards] (scalbl): Likewise.
7351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7352 [non-C99-based standards] (FP_*): Do not allow.
7353 [C99-based standards] (FP_*): Change to
7354 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7355 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7357 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7358 (SIG_ERR): Likewise.
7359 [X/Open-based standards] (SIG_HOLD): Likewise.
7360 (SIG_IGN): Likewise.
7361 (SIGABRT): Use macro-int-constant. Specify type. Require
7366 (SIGSEGV): Likewise.
7368 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7369 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7370 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7371 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7372 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7373 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7374 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7375 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7376 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7377 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7378 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7379 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7380 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7381 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7382 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7383 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7384 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7385 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7386 [X/Open-based standards] (SIGTRAP): Likewise.
7387 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7388 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7389 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7390 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7391 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7394 2012-05-08 Ian Wienand <ianw@vmware.com>
7397 * time/tzset.c (__tzset_parse_tz): Update default rules for
7398 daylight time changes in the Energy Policy Act of 2005.
7400 2012-05-09 Andreas Jaeger <aj@suse.de>
7403 * elf/ldconfig.c (parse_conf): Change string to make clear that
7404 ldconfig only issued a warning if ld.so.conf does not exist.
7406 2012-05-08 David S. Miller <davem@davemloft.net>
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7409 movxtod instead of popping the value on the stack.
7411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7413 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7415 * config.h.in: Add HAVE_ARM_PCS_VFP.
7417 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7420 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7421 checking but the checks are disabled for any reason.
7423 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7425 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7426 and ELF64_R_TYPE with ELFW(R_TYPE).
7428 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7430 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7433 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7434 (settimeofday): Likewise.
7436 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7438 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7439 a struct th_u2 inside the union, and move tu_block/tu_code into
7440 a new th_u3 union of tu_block/tu_code inside of that. Move
7441 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7442 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7443 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7444 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7445 (th_stuff): Change to th_u1.tu_stuff.
7447 (th_msg): Change to th_u1.th_u2.tu_data.
7449 2012-05-07 David S. Miller <davem@davemloft.net>
7451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7454 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7455 (SETUP_PIC_REG): Use it.
7456 (SETUP_PIC_REG_LEAF): Use it.
7458 2012-05-07 Joseph Myers <joseph@codesourcery.com>
7462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7464 (EXPL_FINITE): Likewise.
7466 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7467 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7469 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7471 (EXPL_FINITE): Likewise.
7473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7474 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7476 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7477 test of -max_value argument for long double.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7481 2012-05-06 David S. Miller <davem@davemloft.net>
7483 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7484 quad soft-float symbols whose references which are compiler
7486 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7488 2012-05-06 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7494 (EXPL_FINITE): Likewise.
7498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7499 Adjust comments for base varying.
7500 (__expl_finite): Change alias to EXPL_FINITE.
7501 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7503 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7504 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7506 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7509 (EXPL_FINITE): Likewise.
7513 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7514 Adjust comments for base varying.
7515 (__expl_finite): Change alias to EXPL_FINITE.
7516 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7521 * math/libm-test.inc (check_float_internal): Correct ulp
7522 calculation for subnormal expected results.
7524 2012-05-06 Andreas Jaeger <aj@suse.de>
7526 * Makeconfig (+math-flags): New, set to -frounding-math.
7527 (+cflags): Add +math-flags so that all of glibc gets compiled with
7530 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7532 2012-05-05 Joseph Myers <joseph@codesourcery.com>
7534 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7540 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7541 (__ieee754_expl): Allow for and saturate large arguments.
7542 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7543 (u_threshold): Likewise.
7544 (__exp): Call __ieee754_exp before checking for overflow and
7546 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7547 (u_threshold): Likewise.
7548 (__expf): Call __ieee754_expf before checking for overflow and
7550 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7551 (u_threshold): Likewise.
7552 (__expl): Call __ieee754_expl before checking for overflow and
7554 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7555 (__ieee754_expl): Allow for and saturate large arguments.
7556 * math/libm-test.inc (exp_test): Add another test. Do not allow
7557 missing overflow exception on overflow.
7558 (expm1_test): Do not allow missing overflow exception on overflow.
7560 * sysdeps/i386/fpu/e_expl.c: Move to ...
7561 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7562 rather than using inline asm.
7563 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7564 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7565 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7567 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7574 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7576 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7577 sysdeps/unix/common/syscalls.list.
7580 (ftruncate): Likewise.
7581 (getrusage): Likewise.
7582 (gettimeofday): Likewise.
7583 (setpgid): Likewise.
7584 (setregid): Likewise.
7585 (setreuid): Likewise.
7586 (sigaction): Likewise.
7587 (truncate): Likewise.
7588 (vhangup): Likewise.
7589 * sysdeps/unix/common/syscalls.list: Remove file.
7590 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7591 * sysdeps/unix/sysv/linux/Implies: Likewise.
7593 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7595 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7597 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7601 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7604 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7607 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7610 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7623 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7627 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7634 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7638 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7640 * sysdeps/unix/common/bits/dirent.h: Remove file.
7641 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7643 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7644 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7645 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7646 * sysdeps/unix/bsd/isatty.c: Likewise.
7647 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7648 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7649 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7651 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7655 long double comparison inaccuracies.
7656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7659 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7661 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7664 2012-05-04 Joseph Myers <joseph@codesourcery.com>
7667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7668 nonzero digits before rounding a hex value.
7669 * stdlib/tst-strtod.c (tests): Add another test.
7671 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7673 * sysdeps/s390/fpu/libm-test-ulps: Update.
7675 2012-05-03 Andreas Jaeger <aj@suse.de>
7677 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7678 does not get optimized out.
7679 (malloc_opt_barrier): New.
7681 2012-05-03 Andreas Jaeger <aj@suse.de>
7682 Roland McGrath <roland@hack.frob.com>
7684 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
7685 intermediate file deletion.
7686 (generated): Add .symlist files.
7688 2012-05-03 Joseph Myers <joseph@codesourcery.com>
7691 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7692 Redirect under this condition.
7693 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7694 [__USE_GNU] (__dprintf_chk): Not under this condition.
7695 [__USE_GNU] (__vdprintf_chk): Likewise.
7696 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7697 under this condition.
7698 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7699 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7700 [__USE_XOPEN2K8] (vdprintf): Likewise.
7701 [__USE_GNU] (__dprintf_chk): Not under this condition.
7702 [__USE_GNU] (__vdprintf_chk): Likewise.
7703 [__USE_GNU] (dprintf): Likewise.
7704 [__USE_GNU] (vdprintf): Likewise.
7706 2012-05-03 Roland McGrath <roland@hack.frob.com>
7708 * elf/Makefile (common-generated): Set this instead of generated for
7709 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7710 $(all-built-dso)-derived lists.
7712 2012-05-03 Andreas Jaeger <aj@suse.de>
7714 * sysdeps/i386/fpu/libm-test-ulps: Update.
7718 * scripts/gen-FAQ.pl: Likewise.
7719 * manual/install.texi (Installation): Point to online location of
7721 * Makefile (files-for-dist): Remove FAQ.
7724 2012-05-02 Allan McRae <allan@archlinux.org>
7726 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7727 (LDFLAGS-reldepmod5.so): Likewise.
7728 (LDFLAGS-reldep6mod1.so): Likewise.
7729 (LDFLAGS-reldep6mod4.so): Likewise.
7730 (LDFLAGS-reldep8mod3.so): Likewise.
7731 (LDFLAGS-unload4mod1.so): Likewise.
7732 (LDFLAGS-unload4mod2.so): Likewise.
7733 (LDFLAGS-tst-initorder): Likewise.
7734 (LDFLAGS-tst-initordera2.so): Likewise.
7735 (LDFLAGS-tst-initordera3.so): Likewise.
7736 (LDFLAGS-tst-initordera4.so): Likewise.
7737 (LDFLAGS-tst-initorderb2.so): Likewise.
7738 (LDFLAGS-noload): Likewise.
7739 (LDFLAGS-next): Likewise.
7740 (LDFLAGS-order2mod1.so): Likewise.
7741 (LDFLAGS-order2mod2.so): Likewise.
7742 (LDFLAGS-tst-initorder2): Likewise.
7743 (LDFLAGS-tst-initorder2a.so): Likewise.
7744 (LDFLAGS-tst-initorder2b.so): Likewise.
7745 (LDFLAGS-tst-initorder2c.so): Likewise.
7746 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7748 2012-05-02 David S. Miller <davem@davemloft.net>
7750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7752 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7755 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7757 2012-05-02 Andreas Jaeger <aj@suse.de>
7759 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7760 since we manipulate rounding mode.
7761 (CPPFLAGS-test-idouble.c): Likewise.
7762 (CPPFLAGS-test-ifloat.c): Likewise.
7763 (CFLAGS-test-ldouble.c): Likewise.
7764 (CFLAGS-test-double.c): Likewise.
7765 (CFLAGS-test-float.c): Likewise.
7766 (CFLAGS-test-misc.c): Likewise.
7767 (CFLAGS-test-test-fenv.c): Likewise.
7769 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7774 comparisons to determine direction to adjust input.
7776 2012-05-01 Roland McGrath <roland@hack.frob.com>
7778 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7779 output to the target.
7781 * scripts/localplt.awk: New file.
7782 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7783 (check-localplt-CFLAGS): Variable removed.
7784 ($(all-built-dso:=.jmprel)): New static pattern rule.
7785 (generated): Add those targets.
7786 (localplt-built-dso): New variable.
7787 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7789 * elf/check-localplt.c: File removed.
7791 * scripts/check-execstack.awk: New file.
7792 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7793 (check-execstack-CFLAGS): Variable removed.
7794 ($(objpfx)check-execstack.h): Target removed.
7795 ($(objpfx)execstack-default): New target.
7796 (generated): Add that instead of check-execstack.h.
7797 ($(all-built-dso:=.phdr)): New static pattern rule.
7798 (generated): Add those targets.
7799 * elf/check-execstack.c: File removed.
7801 * scripts/check-textrel.awk: New file.
7802 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7803 (check-textrel-CFLAGS): Variable removed.
7804 (all-built-dso): Use := to define.o
7805 ($(all-built-dso:=.dyn)): New static pattern rule.
7806 (generated): Add those targets.
7807 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7808 * config.make.in (READELF): New substituted variable.
7809 * elf/check-textrel.c: File removed.
7811 2012-05-01 Joseph Myers <joseph@codesourcery.com>
7813 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7815 * conform/data/ctype.h-data [C99-based standards] (isblank):
7817 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7818 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7820 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7821 Specify type. Require positive value.
7824 [ISO || POSIX] (EILSEQ): Do not expect.
7825 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7826 Specify type. Require positive value.
7827 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7832 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7833 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7834 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7835 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7836 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7837 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7838 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7839 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7840 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7841 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7842 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7843 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7844 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7845 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7846 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7847 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7848 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7849 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7850 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7851 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7852 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7853 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7854 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7855 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7856 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7857 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7858 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7859 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7860 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7861 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7862 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7863 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7864 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7865 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7866 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7867 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7868 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7869 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7870 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7871 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7873 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7874 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7875 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7876 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7877 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7878 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7879 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7880 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7882 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7884 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7885 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7886 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7887 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7888 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7889 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7890 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7891 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7892 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7893 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7894 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7895 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7896 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7897 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7898 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7899 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7900 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7901 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7902 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7903 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7905 (FLT_ROUNDS): Expect as macro, not constant.
7906 (FLT_MANT_DIG): Use macro-int-constant.
7907 (DBL_MANT_DIG): Likewise.
7908 (LDBL_MANT_DIG): Likewise.
7909 (FLT_DIG): Likewise.
7910 (DBL_DIG): Likewise.
7911 (LDBL_DIG): Likewise.
7912 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7913 (DBL_MIN_EXP): Likewise.
7914 (LDBL_MIN_EXP): Likewise.
7915 (FLT_MAX_EXP): Use macro-int-constant.
7916 (DBL_MAX_EXP): Likewise.
7917 (LDBL_MAX_EXP): Likewise.
7918 (FLT_MAX_10_EXP): Likewise.
7919 (DBL_MAX_10_EXP): Likewise.
7920 (LDBL_MAX_10_EXP): Likewise.
7921 (FLT_MAX): Use macro-constant.
7922 (DBL_MAX): Likewise.
7923 (LDBL_MAX): Likewise.
7924 (FLT_EPSILON): Use macro-constant. Give upper bound.
7925 (DBL_EPSILON): Likewise.
7926 (LDBL_EPSILON): Likewise.
7927 (FLT_MIN): Likewise.
7928 (DBL_MIN): Likewise.
7929 (LDBL_MIN): Likewise.
7930 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7931 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7932 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7933 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7934 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7935 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7936 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7937 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7938 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7939 [ISO11] (FLT_TRUE_MIN): Likewise.
7940 [ISO11] (LDBL_TRUE_MIN): Likewise.
7941 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7942 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7943 (SCHAR_MIN): Use macro-int-constant. Specify type.
7944 (SCHAR_MAX): Likewise.
7945 (UCHAR_MAX): Likewise.
7946 (CHAR_MIN): Likewise.
7947 (CHAR_MAX): Likewise.
7948 (MB_LEN_MAX): Use macro-int-constant.
7949 (SHRT_MIN): Use macro-int-constant. Specify type.
7950 (SHRT_MAX): Likewise.
7951 (USHRT_MAX): Likewise.
7952 (INT_MAX): Likewise.
7953 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7955 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7957 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7959 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7960 bound negative. Suffix upper bound with "L".
7961 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7963 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7965 [C99-based standards] (LLONG_MAX): Likewise.
7966 [C99-based standards] (ULLONG_MAX): Likewise.
7967 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7969 [ISO11] (max_align_t): Require type.
7970 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7972 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7973 from $CFLAGS, without defining away __attribute__ calls.
7974 (checknamespace): Use $CFLAGS_namespace.
7976 * conform/conformtest.pl (@keywords): Only include C99 keywords
7977 for standards based on C99 or C11.
7979 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7981 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7984 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7985 usability of symbols in #if.
7987 * conform/conformtest.pl: If macro or constant types start
7988 "promoted:", expect the symbol to be of the following type
7989 promoted by the integer promotions.
7991 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7992 in one place. Also handle "macro-constant".
7994 * conform/conformtest.pl: Only accept expected macro values with
7995 "==". Parse all "macro" lines in one place.
7996 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7998 * conform/conformtest.pl: Handle braced types on "constant" lines
7999 instead of handling "typed-constant".
8000 * conform/data/signal.h-data: Use "constant" instead of
8003 * conform/conformtest.pl: Handle "optional-" at start of lines in
8004 one place rather than duplicating several cases. Handle each
8005 format of "macro" line with initial "optional-".
8007 * conform/conformtest.pl: Only accept expected constant or
8008 optional-constant values with "==". Parse all "constant" lines in
8009 one place. Parse all "optional-constant" lines in one place.
8010 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8011 * conform/data/fmtmsg.h-data: Likewise.
8012 * conform/data/netinet/in.h-data: Likewise.
8013 * conform/data/tar.h-data: Likewise.
8014 * conform/data/limits.h-data: Use "==" form on "constant" and
8015 "optional-constant" lines.
8017 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8018 Use -std=c99 for XOPEN2K.
8019 (@knownproblems): Remove.
8020 (newtoken): Don't check %isknown.
8022 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8023 Do not expect macro.
8024 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8036 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8037 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8054 [XPG3] (acosh): Likewise.
8055 [XPG3] (asinh): Likewise.
8056 [XPG3] (atanh): Likewise.
8057 [XPG3] (cbrt): Likewise.
8058 [XPG3] (expm1): Likewise.
8059 [XPG3] (ilogb): Likewise.
8060 [XPG3] (log1p): Likewise.
8061 [XPG3] (logb): Likewise.
8062 [XPG3] (nextafter): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8065 [XPG3] (remainder): Likewise.
8066 [XPG3] (rint): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8074 [UNIX98 || XOPEN2K] (scalb): Expect.
8075 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8076 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8143 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8144 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8145 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8146 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8147 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8148 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8149 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8150 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8151 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8152 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8153 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8154 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8155 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8156 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8157 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8158 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8159 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8160 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8161 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8162 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8163 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8164 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8165 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8166 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8167 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8168 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8169 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8170 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8171 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8172 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8173 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8174 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8175 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8176 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8177 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8178 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8179 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8180 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8181 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8182 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8183 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8184 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8185 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8186 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8187 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8188 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8189 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8190 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8191 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8192 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8193 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8194 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8195 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8196 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8197 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8198 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8199 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8200 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8201 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8202 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8203 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8204 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8205 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8206 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8207 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8208 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8209 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8210 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8211 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8213 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8214 _XOPEN_SOURCE_EXTENDED for XPG4.
8216 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8218 * Makeconfig (localtime): Remove variable.
8219 (inst_localtime-file): Likewise.
8221 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8242 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8246 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8247 comparisons to determine direction to adjust input.
8248 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8249 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8259 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8261 * math/libm-test.inc (nexttoward_test): Add more tests.
8263 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8267 in version GLIBC_2.1, not GLIBC_2.0.
8268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8271 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8277 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8278 * math/libm-test.inc (acos_test): Add more tests.
8279 (asin_test): Likewise.
8280 * sysdeps/i386/fpu/libm-test-ulps: Update.
8281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8284 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8286 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8288 * math/libm-test.inc (acos_test_tonearest): New function.
8289 (acos_test_towardzero): Likewise.
8290 (acos_test_downward): Likewise.
8291 (acos_test_upward): Likewise.
8292 (asin_test_tonearest): Likewise.
8293 (asin_test_towardzero): Likewise.
8294 (asin_test_downward): Likewise.
8295 (asin_test_upward): Likewise.
8296 (main): Call the new functions.
8297 * sysdeps/i386/fpu/libm-test-ulps: Update.
8298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8302 * math/e_exp10.c: Include <float.h>.
8303 (__ieee754_exp10): Handle underflow here rather than multiplying
8304 large negative argument by M_LN10.
8305 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8307 * math/e_exp10l.c: Include <float.h>.
8308 (__ieee754_exp10l): Handle underflow here rather than multiplying
8309 large negative argument by M_LN10l.
8310 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8311 spurious overflow exception on underflow.
8313 2012-04-29 Marek Polacek <polacek@redhat.com>
8315 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8316 (__fortify_function): New macro.
8317 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8318 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8319 __extern_always_inline.
8320 * libio/bits/stdio2.h: Likewise.
8321 * libio/bits/stdio.h: Likewise.
8322 * string/string.h: Likewise.
8323 * string/bits/string3.h: Likewise.
8324 * include/stdio.h: Likewise.
8325 * stdlib/bits/stdlib.h: Likewise.
8326 * stdlib/stdlib.h: Likewise.
8327 * rt/bits/mqueue2.h: Likewise.
8328 * rt/mqueue.h: Likewise.
8329 * posix/bits/unistd.h: Likewise.
8330 * posix/unistd.h: Likewise.
8331 * io/bits/poll2.h: Likewise.
8332 * io/bits/fcntl2.h: Likewise.
8333 * io/fcntl.h: Likewise.
8334 * io/sys/poll.h: Likewise.
8335 * misc/bits/syslog.h: Likewise.
8336 * misc/bits/syslog-ldbl.h: Likewise.
8337 * misc/sys/syslog.h: Likewise.
8338 * socket/bits/socket2.h: Likewise.
8339 * socket/sys/socket.h: Likewise.
8340 * debug/tst-chk1.c: Likewise.
8341 * wcsmbs/bits/wchar2.h: Likewise.
8342 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8343 * wcsmbs/wchar.h: Likewise.
8345 2012-04-29 Andreas Jaeger <aj@suse.de>
8347 * Makerules (tests): Remove enable-check-abi protection.
8348 (check-abi-warn): Remove.
8349 (check-abi-%): Remove check-abi-warn usage.
8351 * configure.in: Remove check-abi configure option.
8352 * configure: Regenerated.
8353 * config.make.in (enable-check-abi): Remove.
8355 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8358 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8359 double functions to double *_finite functions.
8362 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8363 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8365 * stdio-common/Makefile (tests): Add tst-sprintf3.
8366 * stdio-common/tst-sprintf3.c: New file.
8368 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8369 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8371 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8373 * conform/conformtest.pl: Remove duplicate typed-constant
8376 2012-04-28 David S. Miller <davem@davemloft.net>
8378 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8379 (check-abi-%): Remove AWK script prerequisite and explicit
8381 (check-abi): Rewrite to just diff the symlist with the abilist.
8382 (config-tls, config-abi-config): Delete, no longer used.
8383 (update-abi-%): Remove AWK script and explicit abilist directory.
8384 (update-abi): Rewrite to simply compare and conditionally copy the
8385 symlist and the sysdep abilist file. Remove update-abi-config
8387 * abilist/ld.abilist: Remove.
8388 * abilist/libBrokenLocale.abilist: Remove.
8389 * abilist/libanl.abilist: Remove.
8390 * abilist/libcrypt.abilist: Remove.
8391 * abilist/libdl.abilist: Remove.
8392 * abilist/librt.abilist: Remove.
8393 * abilist/libthread_db.abilist: Remove.
8394 * abilist/libutil.abilist: Remove.
8395 * scripts/extract-abilist.awk: Remove.
8396 * scripts/merge-abilist.awk: Remove.
8397 * sysdeps/generic/libcidn.abilist: New file.
8398 * sysdeps/generic/libnss_compat.abilist: New file.
8399 * sysdeps/generic/libnss_db.abilist: New file.
8400 * sysdeps/generic/libnss_dns.abilist: New file.
8401 * sysdeps/generic/libnss_files.abilist: New file.
8402 * sysdeps/generic/libnss_hesiod.abilist: New file.
8403 * sysdeps/generic/libnss_nis.abilist: New file.
8404 * sysdeps/generic/libnss_nisplus.abilist: New file.
8405 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8406 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8407 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8409 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8410 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8411 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8412 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8413 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8414 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8415 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8416 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8417 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8419 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8420 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8421 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8422 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8424 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8425 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8426 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8429 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8432 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8433 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8435 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8538 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8539 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8540 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8543 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8544 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8545 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8546 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8547 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8548 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8550 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8551 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8603 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8605 * conform/conformtest.pl: Fix typo in handling typed-constant from
8608 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8610 * README: Cut down references to pre-2.6 Linux kernels and
8611 Linuxthreads. Update lists of configurations in libc and ports
8612 and sort alphabetically. Say "or newer" with Linux kernel version
8615 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8617 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8620 * math/libm-test.inc (logb_test_downward): New test to expose
8621 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8624 2012-04-27 Joseph Myers <joseph@codesourcery.com>
8627 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8629 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8630 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8632 2012-04-26 Joseph Myers <joseph@codesourcery.com>
8634 * sysdeps/unix/i386/brk.S: Remove file.
8635 * sysdeps/unix/i386/dl-brk.S: Likewise.
8636 * sysdeps/unix/i386/pipe.S: Likewise.
8637 * sysdeps/unix/i386/sigreturn.S: Likewise.
8638 * sysdeps/unix/i386/syscall.S: Likewise.
8639 * sysdeps/unix/i386/vfork.S: Likewise.
8640 * sysdeps/unix/i386/wait.S: Likewise.
8642 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8643 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8645 * configure.in (arm*-none*): Do not allow without
8646 --enable-hacker-mode.
8647 (netbsd*): Remove case setting base_os.
8648 (386bsd*): Likewise.
8649 (freebsd*): Likewise.
8653 (ultrix*): Likewise.
8654 (newsos*): Likewise.
8664 (solaris[2-9]*): Likewise.
8666 * configure: Regenerated.
8668 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8672 overflow or cancellation in calculating denominator.
8673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8675 down expression to avoid unexpected rounding in newer GCCs.
8676 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8678 2012-04-26 David S. Miller <davem@davemloft.net>
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8681 long-double compat symbols.
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8696 2012-04-25 David S. Miller <davem@davemloft.net>
8698 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8699 HWCAP_* values only after the memory barriers have been defined.
8700 (atomic_full_barrier): Define.
8701 (atomic_read_barrier): Define.
8702 (atomic_write_barrier): Define.
8704 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8706 * shlib-versions: Add libgcc_s version information.
8707 * sysdeps/generic/libgcc_s.h: Remove.
8708 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8710 * sysdeps/gnu/unwind-resume.c: Likewise.
8711 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8713 2012-04-25 David S. Miller <davem@davemloft.net>
8715 * sysdeps/unix/sparc/brk.S: Delete.
8716 * sysdeps/unix/sparc/dl-brk.S: Delete.
8717 * sysdeps/unix/sparc/pipe.S: Delete.
8718 * sysdeps/unix/sparc/sysdep.S: Delete.
8719 * sysdeps/unix/sparc/sysdep.h: Delete.
8720 * sysdeps/unix/sparc/vfork.S: Delete.
8721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8722 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8724 ret_ERRVAL, r0, r1, MOVE): Define.
8725 (JUMPTARGET): Remove.
8726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8727 sysdeps/unix/sparc/sysdep.h
8728 (ENTRY, END): Remove.
8729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8731 2012-04-25 Joseph Myers <joseph@codesourcery.com>
8733 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8734 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8737 * timezone/README: Update upstream location and email address for
8739 * timezone/zdump.c: Update from tzcode 2012b.
8740 * timezone/zic.c: Likewise.
8742 * configure.in (libc_cv_as_needed): Remove test.
8743 * configure: Regenerated.
8744 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8745 conditional definition.
8746 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8747 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8748 * config.make.in (have-as-needed): Remove variable.
8750 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 Paul Pluzhnikov <ppluzhnikov@google.com>
8753 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8756 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8758 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8759 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8760 * sysdeps/sh/strlen.S: Likewise.
8762 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8764 * sysdeps/unix/fork.S: Remove file.
8765 * sysdeps/unix/i386/fork.S: Likewise.
8766 * sysdeps/unix/sparc/fork.S: Likewise.
8768 * sysdeps/unix/system.c: Remove file.
8769 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8771 * sysdeps/unix/getegid.S: Remove file.
8772 * sysdeps/unix/geteuid.S: Likewise.
8774 2012-04-24 Roland McGrath <roland@hack.frob.com>
8776 * scripts/check-localplt.awk: New file.
8777 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8779 * scripts/data/localplt-generic.data: Add a comment.
8781 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8782 NODE when __dir_mkfile failed.
8783 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8784 Reported by Ludovic Courtès <ludo@gnu.org>.
8786 2012-04-24 Andreas Jaeger <aj@suse.de>
8788 * Makerules (common-clean): Also remove gen-as-const-headers
8791 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8793 * Makerules (native-compile): Do not change working directory for
8794 build. Use $(OUTPUT_OPTION) in command.
8795 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8797 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8800 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8801 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8802 * math/libm-test.inc (floor_test): Add more tests.
8803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8805 2012-04-24 Joseph Myers <joseph@codesourcery.com>
8807 * sysdeps/unix/getdents.c: Remove file.
8808 * sysdeps/unix/sysv/getdents.c: Likewise.
8809 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8811 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8812 sysdeps/unix/mman/syscalls.list.
8814 (mprotect): Likewise.
8817 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8818 * sysdeps/unix/mman/syscalls.list: Remove.
8819 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8821 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8822 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8823 * configure: Regenerated.
8824 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8826 * config.make.in (libgcc_s_suffix): Remove variable.
8828 2012-04-23 Joseph Myers <joseph@codesourcery.com>
8830 * sysdeps/unix/sysv/gethostname.c: Move to ...
8831 * sysdeps/posix/gethostname.c: ... here.
8833 * sysdeps/unix/execve.S: Remove file.
8835 * sysdeps/unix/_exit.S: Remove file.
8837 2012-04-23 Andreas Jaeger <aj@suse.de>
8840 * manual/Makefile: Remove make dist support, there's no
8841 need for a stand-alone documentation tar ball.
8842 (TEXI2DVI): Define always, it's not in Makeconfig.
8846 (glibc-doc-$(edition).tar): Removed
8850 (ETAGS): Remove, it's in Makeconfig.
8851 (move-if-change): Remove, it's in Makeconfig.
8853 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8856 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8857 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8858 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8859 (strtod_l, strtof_l, strtold_l): Remove __wur.
8860 It is not necessarily an error to ignore strtol's return value.
8861 One can reliably look at the stored endptr to decide whether
8862 the number had valid syntax.
8864 2012-04-21 Andreas Jaeger <aj@suse.de>
8867 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8869 2012-04-21 Joseph Myers <joseph@codesourcery.com>
8871 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8872 * sysdeps/unix/sysv/Versions: Remove file.
8874 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8879 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
8882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8883 version from __vm86.
8885 2012-04-20 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/unix/common/lxstat.c: Remove file.
8888 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8890 * sysdeps/unix/sysv/Makefile: Remove file.
8892 * sysdeps/unix/sysv/direct.h: Remove file.
8894 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8895 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8896 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8897 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8898 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8899 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8900 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8902 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8904 * sysdeps/unix/xmknod.c: Remove file.
8905 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8907 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8909 * sysdeps/unix/sysv/i386/time.S: Remove file.
8911 * sysdeps/unix/fxstat.c: Remove file.
8912 * sysdeps/unix/xstat.c: Likewise.
8913 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8915 * sysdeps/unix/sysv/sigaction.c: Remove file.
8917 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8918 (sysdep_headers): Remove variable.
8919 [termio.h not in sysdep_headers] (generated): Likewise.
8920 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8921 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8922 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8923 * sysdeps/unix/sysv/tcflow.c: Likewise.
8924 * sysdeps/unix/sysv/tcflush.c: Likewise.
8925 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8926 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8927 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8928 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8929 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8931 * sysdeps/unix/siglist.c: Remove file.
8933 * sysdeps/unix/getppid.S: Remove file.
8935 * sysdeps/unix/mkdir.c: Remove file.
8936 * sysdeps/unix/rmdir.c: Likewise.
8938 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8940 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8943 errlist-compat value.
8945 2012-04-18 David S. Miller <davem@davemloft.net>
8947 * sysdeps/generic/memcopy.h (reg_char): Delete.
8948 * debug/strcat_chk.c: Use char, not reg_char.
8949 * debug/strcpy_chk.c: Likewise.
8950 * debug/strncat_chk.c: Likewise.
8951 * debug/strncpy_chk.c: Likewise.
8952 * string/memchr.c: Likewise.
8953 * string/memrchr.c: Likewise.
8954 * string/rawmemchr.c: Likewise.
8955 * string/strcat.c: Likewise.
8956 * string/strchr.c: Likewise.
8957 * string/strchrnul.c: Likewise.
8958 * string/strcmp.c: Likewise.
8959 * string/strcpy.c: Likewise.
8960 * string/strncat.c: Likewise.
8961 * string/strncmp.c: Likewise.
8962 * string/strncpy.c: Likewise.
8964 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8966 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8967 __builtin_memcopy is called when src and dest ranges are known to not
8970 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8972 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8973 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8974 fwd_align_merge macro call.
8975 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8976 bwd_align_merge macro call.
8977 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8979 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8981 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8982 bwd_align_merge macros.
8983 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8984 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8987 2012-04-18 David S. Miller <davem@davemloft.net>
8989 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8991 2012-04-18 Andreas Jaeger <aj@suse.de>
8994 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8995 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8999 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9000 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9002 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9003 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9004 Adjust for changed ldbl-128 files.
9006 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9007 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9010 2012-04-17 David S. Miller <davem@davemloft.net>
9012 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9014 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9016 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9017 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9018 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9019 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9020 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9021 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9023 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9026 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9027 * math/libm-test.inc: Add ilogb errno and exception tests.
9028 * math/w_ilogb.c: New file: ilogb wrapper.
9029 * math/w_ilogbf.c: New file: ilogbf wrapper.
9030 * math/w_ilogbl.c: New file: ilogbl wrapper.
9031 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9032 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9033 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9034 exception being thrown with 0.0 as argument.
9035 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9036 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9037 exception being thrown with 0.0 as argument.
9038 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9039 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9040 exception being thrown with 0.0 as argument.
9041 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9042 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9043 exception being thrown with 0.0 as argument.
9044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9045 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9047 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9048 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9049 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9050 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9051 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9052 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9054 2012-04-17 Petr Baudis <pasky@ucw.cz>
9056 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9059 2012-04-16 Marek Polacek <polacek@redhat.com>
9061 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9063 2012-04-16 Marek Polacek <polacek@redhat.com>
9065 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9066 operands of fdivp instruction.
9068 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9070 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9071 * elf/tst-auditmod3b.c: Likewise.
9072 * elf/tst-auditmod4b.c: Likewise.
9073 * elf/tst-auditmod5b.c: Likewise.
9074 * elf/tst-auditmod6b.c: Likewise.
9075 * elf/tst-auditmod6c.c: Likewise.
9076 * elf/tst-auditmod7b.c: Likewise.
9077 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9078 * sysdeps/x86_64/preconfigure.in: Likewise.
9079 * sysdeps/x86_64/preconfigure: Regenerated.
9081 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9086 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9089 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9091 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9094 * locale/iso-639.def: Fix gl language name. Spotted by
9097 2012-04-12 Roland McGrath <roland@hack.frob.com>
9100 * libio/libio.h (__io_write_fn): Update comment.
9102 2012-04-12 Petr Baudis <pasky@ucw.cz>
9105 * stdio.texi (Hook Functions): The user provided writer function
9106 is not allowed to return -1.
9108 2012-04-11 David S. Miller <davem@davemloft.net>
9110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9112 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9114 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9115 Add a leading slash to rtkaio.
9117 2012-04-11 Jim Meyering <meyering@redhat.com>
9120 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9121 It is not necessarily an error to ignore fwrite's return
9122 value. One can reliably use ferror to test for errors after
9125 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9127 * bits/types.h (__snseconds_t): New type.
9128 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9130 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9132 (__SNSECONDS_T_TYPE): Likewise.
9133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9134 (__SNSECONDS_T_TYPE): Likewise.
9135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9136 (__SNSECONDS_T_TYPE): Likewise.
9138 2012-04-10 Andreas Jaeger <aj@suse.de>
9141 * manual/time.texi (Processor Time): Return type of times is
9142 elapsed real time since an arbitrary point in the past.
9143 (CPU Time): Move CLK_TCK from here...
9144 (Processor Time): ...to here. Correct description.
9145 * manual/conf.texi (Constants for Sysconf): Correct description of
9148 2012-04-10 David S. Miller <davem@davemloft.net>
9151 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9152 where the is a gap between DT_REL(A) and DT_JMPREL.
9154 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9156 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9157 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9158 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9160 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9162 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9163 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9164 (dl_main): Handle --inhibit-cache.
9165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9167 * elf/dl-load.c (_dl_map_object): Use it.
9168 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9170 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9173 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9174 (__ieee754_powl): Saturate large exponents rather than testing for
9175 overflow of y*log2(x).
9176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9177 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9181 * math/s_ctan.c: Include <float.h>.
9182 (__ctan): Avoid internal overflow or cancellation in calculating
9184 * math/s_ctanf.c: Likewise.
9185 * math/s_ctanl.c: Likewise.
9186 * math/s_ctanh.c: Likewise.
9187 * math/s_ctanhf.c: Likewise.
9188 * math/s_ctanhl.c: Likewise.
9189 * math/libm-test.inc (ctan_test): Add more tests.
9190 (ctanh_test): Likewise.
9191 * sysdeps/i386/fpu/libm-test-ulps: Update.
9192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9194 2012-04-09 Andreas Jaeger <aj@suse.de>
9197 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9198 is an optional BSD extension.
9201 * manual/stdio.texi (Opening Streams): Document additional fopen
9204 2012-04-09 Roland McGrath <roland@hack.frob.com>
9206 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9207 %eax without telling the compiler.
9209 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9212 * manual/install.texi: Use sourceware.org.
9214 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9217 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9218 (__ieee754_pow): Generate overflow and underflow using huge*huge
9219 and tiny*tiny rather than just returning constant infinity or zero
9220 for large exponents.
9221 * math/libm-test.inc (pow_test): Require overflow exceptions for
9222 applicable cases of large exponents.
9225 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9226 (__ieee754_pow): Use iterative multiplication algorithm only for
9227 integer exponents with absolute value below 1024. Check for odd
9228 integer exponents when using algorithm for real exponents.
9229 * math/libm-test.inc (pow_test): Add more tests.
9230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9232 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9235 * math/libm-test.inc (exp_test): Do not allow overflow exception
9238 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9241 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9242 instead of __kernel_standard_f.
9244 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9246 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9247 * sysdeps/x86_64/memset_chk.S: Likewise.
9249 2012-04-08 Andreas Jaeger <aj@suse.de>
9252 * manual/startup.texi (Environment Access): Describe return value
9253 for putenv and setenv.
9256 * manual/filesys.texi (Directory Entries): Add description for
9260 * manual/filesys.texi (Directory Entries): Clarify that it's file
9261 system not operating system in the description of DT_UNKNOWN.
9264 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9266 2012-04-08 Stephen Compall <s11@member.fsf.org>
9269 * manual/llio.texi (Opening and Closing Files): Add cross
9270 reference to explain mode argument.
9272 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9274 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9275 * sysdeps/x86_64/memset_chk.S: Likewise.
9277 2012-04-07 David S. Miller <davem@davemloft.net>
9279 * elf/elf.h (R_SPARC_WDISP10): Define.
9280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9282 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9283 R_SPARC_SIZE64 and R_SPARC_H34.
9285 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9288 conditions and remove no longer applicable assertion.
9290 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9292 * bits/byteswap.h: Include <features.h>.
9293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9296 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9298 * bits/byteswap.h (__bswap_16): Removed.
9299 Include <bits/byteswap-16.h> to get __bswap_16.
9300 * sysdeps/i386/bits/byteswap.h: Likewise.
9301 * sysdeps/s390/bits/byteswap.h: Likewise.
9302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9303 * bits/byteswap-16.h: New file.
9304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9305 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9306 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9307 * string/Makefile (headers): Add bits/byteswap-16.h.
9309 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9312 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9314 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9315 * nss/tst-nss-static.c: New.
9317 2012-04-06 Robert Millan <rmh@gnu.org>
9320 * manual/llio.texi (File Position Primitive): lseek
9321 refers to WHENCE when it really means OFFSET.
9323 2012-04-06 Andreas Jaeger <aj@suse.de>
9325 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9326 strncmp declarations.
9328 * abilist/libc.abilist: Add __poll and __ppoll.
9330 2012-04-05 David S. Miller <davem@davemloft.net>
9332 * scripts/check-local-headers.sh: Accept a host triplet in the
9333 path matched by the exclude regexp.
9335 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9337 * sysdeps/powerpc/powerpc32/dl-machine.h
9338 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9339 * sysdeps/s390/s390-32/dl-machine.h
9340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9341 * sysdeps/sparc/sparc32/dl-machine.h
9342 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9343 * sysdeps/sparc/sparc64/dl-machine.h
9344 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9346 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9348 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9349 undefined symbol errors.
9351 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9354 2012-04-05 Michael Matz <matz@suse.de>
9357 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9359 2012-04-05 Andreas Jaeger <aj@suse.de>
9362 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9365 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9368 which ROUND is no valid rounding mode.
9370 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9372 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9374 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9379 an exception using FPU order intentionally.
9381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9383 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9384 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9385 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9386 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9388 2012-04-05 Simon Josefsson <simon@josefsson.org>
9391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9392 EINVAL when BUFLEN is too smal.
9394 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9397 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9398 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9400 2012-04-03 Andreas Jaeger <aj@suse.de>
9403 * manual/setjmp.texi (System V contexts): Fix sentence.
9406 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9407 New macro for this case.
9408 [!__GNUC__] (__bswap_64): New inline function for this case.
9409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9410 * bits/byteswap.h: Likewise.
9411 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9412 ull, guard with __GLIBC_HAVE_LONG_LONG.
9414 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9415 __GLIBC_HAVE_LONG_LONG.
9417 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9418 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9420 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9423 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9424 inptr and inend, rather than using last_ch.
9426 2012-04-02 David S. Miller <davem@davemloft.net>
9428 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9429 * stdio-common/printf-parse.h (read_int): Change return type to
9430 'int', return -1 on INT_MAX overflow.
9431 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9432 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9433 overflows INT_MAX. Check for overflow of in-format-string precision
9434 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9435 SIZE_MAX not INT_MAX for integer overflow test.
9436 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9437 skip the construct in the format string but do not record anything.
9438 * stdio-common/bug22.c: Adjust to test both width/prevision
9439 INT_MAX overflow as well as total length INT_MAX overflow. Check
9440 explicitly for proper errno values.
9442 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9444 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9446 * string/test-strcmp.c [! WIDE]: Likewise.
9447 * time/tst-mktime2.c: Likewise for INT_MAX.
9448 * string/test-string.h: #include <sys/param.h> for MIN.
9450 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9451 * sysdeps/i386/init-first.c (init): Likewise.
9452 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9453 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9454 * sysdeps/sh/init-first.c (init): Likewise.
9456 2012-04-01 Ulrich Drepper <drepper@gmail.com>
9458 * po/ru.po: Update from translation team.
9459 * po/vi.po: Likewise.
9461 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9463 * resolv/nss_dns/dns-host.c: Merge copyright years.
9465 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9468 Optimize memcpy with prefetch if
9469 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9470 src, dst pointers have unequal 16 byte alignments.
9472 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9475 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9476 from a CNAME entry and return the minimum ttl for the query.
9477 (gaih_getanswer_slice): Likewise.
9479 2012-03-30 Jeff Law <law@redhat.com>
9481 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9483 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9484 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9486 * resolv/nss_dns/dns-host.c: Update copyright year.
9488 2012-03-30 Ulrich Drepper <drepper@gmail.com>
9490 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
9491 requests to save a system call. Fix check that all bytes are sent.
9493 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9494 comments for sendmmsg.
9496 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9499 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9500 with only 1 character between 0x0041 and 0x01b0.
9501 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9502 * wcsmbs/tst-mbsnrtowcs.c: New file.
9504 2012-03-29 David S. Miller <davem@davemloft.net>
9506 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9507 small copies by hand.
9509 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9512 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9513 _nss_compat_initgroups_dyn): Fall back to malloc/free
9514 for large group memberships.
9516 2012-03-28 David S. Miller <davem@davemloft.net>
9518 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9519 that branches into memcpy.
9520 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9523 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9526 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9528 * sysdeps/sparc/mempcpy.S: New file.
9530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9531 the IFUNC routine in the libc case.
9532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9536 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9537 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9538 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9539 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9540 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9541 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9543 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9544 loop to 256 bytes instead of 64 bytes and fix test signedness.
9546 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9547 * sysdeps/sparc/sparc32/Makefile: rather than here...
9548 * sysdeps/sparc/sparc64/Makefile: and here.
9550 2012-03-28 Ulrich Drepper <drepper@gmail.com>
9552 * malloc/mallocbug.c: Avoid warnings about unused variables.
9554 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9557 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9558 in the right place. Discard and retry query if response is
9559 larger than input buffer size.
9561 2012-03-28 Joseph Myers <joseph@codesourcery.com>
9566 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9567 x for large integer exponent.
9568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9570 sign of result as needed afterwards.
9571 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9572 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9573 result for underflowing pow the same as for overflow.
9574 (__kernel_standard_l): Handle powl overflow and underflow here
9575 rather than calling __kernel_standard.
9576 * math/libm-test.inc (pow_test): Add more tests.
9591 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9592 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9593 (__kernel_standard_l): New function.
9594 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9596 * math/w_acosl.c (__acosl): Likewise.
9597 * math/w_asinl.c (__asinl): Likewise.
9598 * math/w_atan2l.c (__atan2l): Likewise.
9599 * math/w_atanhl.c (__atanhl): Likewise.
9600 * math/w_coshl.c (__coshl): Likewise.
9601 * math/w_exp10l.c (__exp10l): Likewise.
9602 * math/w_exp2l.c (__exp2l): Likewise.
9603 * math/w_fmodl.c (__fmodl): Likewise.
9604 * math/w_hypotl.c (__hypotl): Likewise.
9605 * math/w_j0l.c (__j0l, __y0l): Likewise.
9606 * math/w_j1l.c (__j1l, __y1l): Likewise.
9607 * math/w_jnl.c (__jnl, __ynl): Likewise.
9608 * math/w_lgammal.c (__lgammal): Likewise.
9609 * math/w_log10l.c (__log10l): Likewise.
9610 * math/w_log2l.c (__log2l): Likewise.
9611 * math/w_logl.c (__logl): Likewise.
9612 * math/w_powl.c (__powl): Likewise.
9613 * math/w_remainderl.c (__remainderl): Likewise.
9614 * math/w_scalbl.c (sysv_scalbl): Likewise.
9615 * math/w_sinhl.c (__sinhl): Likewise.
9616 * math/w_sqrtl.c (__sqrtl): Likewise.
9617 * math/w_tgammal.c (__tgammal): Likewise.
9618 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9619 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9620 * math/libm-test.inc (acos_test): Add more tests.
9621 (acosh_test): Likewise.
9622 (asin_test): Likewise.
9623 (atanh_test): Likewise.
9624 (exp_test): Likewise.
9625 (exp10_test): Likewise.
9626 (exp2_test): Likewise.
9627 (expm1_test): Likewise.
9628 (lgamma_test): Likewise.
9629 (log_test): Likewise.
9630 (log10_test): Likewise.
9631 (log1p_test): Likewise.
9632 (log2_test): Likewise.
9633 (pow_test): Do not allow some spurious overflow exceptions.
9634 (sqrt_test): Add more tests.
9635 (tgamma_test): Likewise.
9636 (y0_test): Likewise.
9637 (y1_test): Likewise.
9638 (yn_test): Likewise.
9640 2012-03-27 Anton Blanchard <anton@samba.org>
9642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9648 2012-03-27 David S. Miller <davem@davemloft.net>
9650 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9652 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9655 2012-03-27 Andreas Jaeger <aj@suse.de>
9657 * sysdeps/x86_64/elf/configure.in: Moved to ...
9658 * sysdeps/x86_64/configure.in: ... here.
9659 * sysdeps/x86_64/elf/start.S: Moved to ...
9660 * sysdeps/x86_64/start.S: ... here.
9661 * sysdeps/x86_64/elf/configure: Delete.
9663 * sysdeps/x86_64/configure.in: Merge contents from
9664 sysdeps/i386/configure.in (without i686 check).
9666 * sysdeps/i386/elf/Versions: Merge into ...
9667 * sysdeps/i386/Versions: ... this.
9668 * sysdeps/i386/elf/Versions: Delete file.
9669 * sysdeps/i386/elf/start.S: Moved to ...
9670 * sysdeps/i386/start.S: ...here.
9671 * sysdeps/i386/elf/configure.in: Merge into...
9672 * sysdeps/i386/configure.in: ...here.
9673 * sysdeps/i386/elf/configure.in: Delete file.
9674 * sysdeps/i386/elf/configure: Delete file.
9676 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9677 * debug/backtracesyms.c: ... here.
9678 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9679 * debug/backtracesymsfd.c: ... here.
9680 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9681 * sysdeps/generic/ifunc-sel.h: ... here.
9683 * sysdeps/unix/i386/start.c: Delete file.
9684 * sysdeps/unix/sparc/start.c: Delete file.
9685 * sysdeps/unix/start.c: Delete file.
9687 * sysdeps/sh/elf/configure.in: Moved to ...
9688 * sysdeps/sh/configure.in: ... here.
9689 * sysdeps/sh/elf/start.S: Moved to ...
9690 * sysdeps/sh/start.S: ... here.
9691 * sysdeps/sh/elf/configure: Delete file.
9693 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9694 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9695 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9696 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9697 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9698 * sysdeps/powerpc/powerpc64/start.S: here.
9699 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9700 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9701 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9702 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9703 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9705 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9706 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9707 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9708 * sysdeps/powerpc/powerpc32/start.S: ... here.
9709 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9710 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9711 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9713 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9714 * sysdeps/powerpc/ifunc-sel.h: ... here.
9715 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9716 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9718 * sysdeps/sparc/elf/configure.in: Moved to ...
9719 * sysdeps/sparc/configure.in: ... here.
9720 * sysdeps/sparc/elf/configure: Delete file.
9721 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9722 * sysdeps/sparc/sparc32/start.S: ... here.
9723 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9724 * sysdeps/sparc/sparc64/start.S: ... here.
9725 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9726 * sysdeps/sparc/sparc32/Makefile: ... this.
9727 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9728 * sysdeps/sparc/sparc64/Makefile: ... this.
9730 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9731 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9732 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9733 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9734 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9735 * sysdeps/s390/s390-32/setjmp.S: ... here.
9736 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9737 * sysdeps/s390/s390-32/configure.in: ... here.
9738 * sysdeps/s390/s390-32/elf/configure: Delete file.
9739 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9740 * sysdeps/s390/s390-32/start.S: ... here.
9742 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9743 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9744 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9745 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9746 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9747 * sysdeps/s390/s390-64/setjmp.S: ... here.
9748 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9749 * sysdeps/s390/s390-64/configure.in: ... here
9750 * sysdeps/s390/s390-64/elf/configure: Delete file.
9751 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9752 * sysdeps/s390/s390-64/start.S: ... here.
9753 * sysdeps/s390/s390-64/elf/configure: Delete.
9755 * configure.in: Remove support for elf directories in sysdeps.
9757 * configure: Regenerated.
9758 * sysdeps/i386/configure: Regenerated.
9759 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9760 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9761 * sysdeps/s390/s390-32/configure: Regenerated.
9762 * sysdeps/s390/s390-64/configure: Regenerated.
9763 * sysdeps/sh/configure: Regenerated.
9764 * sysdeps/sparc/configure: Regenerated.
9765 * sysdeps/x86_64/configure: Regenerated.
9767 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9772 denormal result into account.
9774 2012-03-25 Roland McGrath <roland@hack.frob.com>
9776 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9777 Reported by Allan McRae <allan@archlinux.org>.
9779 2012-03-23 Jeff Law <law@redhat.com>
9781 * nss/getnssent.c (__nss_getent): Fix typo.
9783 2012-03-23 David S. Miller <davem@davemloft.net>
9785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9787 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9789 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9790 to pad to uint64_t for each field.
9791 (dl_tls_index): Replace unsigned long with uint64_t.
9793 2012-03-23 Daniel Jacobowitz <dmj@google.com>
9794 Paul Pluzhnikov <ppluzhnikov@google.com>
9797 * grp/Makefile (otherlibs): Don't set it.
9798 * inet/Makefile (otherlibs): Likewise.
9799 * login/Makefile (otherlibs): Likewise.
9800 * nscd/Makefile (otherlibs): Likewise.
9801 * posix/Makefile (otherlibs): Likewise.
9802 * pwd/Makefile (otherlibs): Likewise.
9803 * rt/Makefile (otherlibs): Likewise.
9804 * sunrpc/Makefile (otherlibs): Likewise.
9805 * nss/Makefile (otherlibs): Likewise.
9806 Add libnss_files to routines and static-only-routines.
9807 ($(objpfx)getent): Remove rule.
9808 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9809 static-only-routines.
9811 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9814 * math/s_cexp.c: Include <float.h>.
9815 (__cexp): Handle exp result overflowing not necessarily
9816 overflowing both real and imaginary parts of result.
9817 * math/s_cexpf.c: Likewise.
9818 * math/s_cexpl.c: Likewise.
9819 * math/libm-test.inc (cexp_test): Add more tests.
9820 * sysdeps/i386/fpu/libm-test-ulps: Update.
9821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9823 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9825 * include/link.h (ELFW): New macro.
9826 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9827 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9829 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9831 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9834 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9836 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9838 (struct La_x32_retval): Likewise.
9840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9842 * sysdeps/x86_64/preconfigure.in: New file.
9843 * sysdeps/x86_64/preconfigure: New generated file.
9845 2012-03-22 Joseph Myers <joseph@codesourcery.com>
9848 * math/e_exp2l.c: Include <float.h>.
9849 (__ieee754_exp2l): Handle overflow and underflow cases
9850 separately. Only pass fractional part of argument to
9852 * math/libm-test.inc (exp2_test): Add more tests.
9854 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9855 negating x to take absolute value.
9856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9861 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9862 computing low part if x was negated.
9863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9865 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9867 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9869 (pltexit): Cast int_retval to ptrdiff_t.
9870 * elf/tst-auditmod3b.c: Likewise.
9871 * elf/tst-auditmod4b.c: Likewise.
9872 * elf/tst-auditmod5b.c: Likewise.
9873 * elf/tst-auditmod6b.c: Likewise.
9874 * elf/tst-auditmod6c.c: Likewise.
9875 * elf/tst-auditmod7b.c: Likewise.
9877 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9878 and x32_gnu_pltexit.
9880 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9882 (La_x32_regs): New macro.
9883 (La_x32_retval): Likewise.
9884 (la_x32_gnu_pltenter): New function prototype.
9885 (la_x32_gnu_pltexit): Likewise.
9887 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9894 * configure.in (libc_cv_cc_nofma): Check for option to disable
9895 generation of FMA instructions.
9896 * configure: Regenerate.
9897 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9898 * sysdeps/ieee754/dbl-64/Makefile: New file.
9899 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9900 Remove brandred-fma4.
9901 (CFLAGS-brandred-fma4.c): Remove.
9902 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9908 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9911 LLONG_MAX != LONG_MAX.
9912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9913 (_fitoa_word): Likewise.
9914 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9915 LLONG_MAX != LONG_MAX.
9916 * stdio-common/_itowa.h: Include <_itoa.h>.
9917 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9918 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9919 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9920 only if not defined.
9921 (_ITOA_WORD_TYPE): Likewise.
9922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9923 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9925 2012-03-21 David S. Miller <davem@davemloft.net>
9927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9929 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9931 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9932 of x86_64 when setting libc_cv_slibdir, libdir and
9934 * sysdeps/unix/sysv/linux/configure: Regenerated.
9936 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9938 * manual/lang.texi (Old Varargs): Remove section.
9939 (How Variadic): Update menu.
9940 (va_start): Do not mention varargs.h.
9942 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9943 Joseph Myers <joseph@codesourcery.com>
9945 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9947 * configure: Regenerated.
9949 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9951 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9952 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9955 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9958 * Makefile (files-for-dist): Remove NOTES.
9959 (NOTES): Remove rule.
9960 * README: Don't refer to NOTES.
9961 * manual/creature.texi: Don't include macros.texi.
9962 * manual/intro.texi (creature.texi): Remove comment referring to
9965 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9966 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9967 * configure: Regenerated.
9968 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9970 (libc_cv_as_i686): Likewise.
9971 (libc_cv_cc_avx): Likewise.
9972 (libc_cv_cc_sse2avx): Likewise.
9973 (libc_cv_cc_fma4): Likewise.
9974 (libc_cv_cc_novzeroupper): Likewise.
9975 * sysdeps/i386/configure: Regenerated.
9978 * sysdeps/i386/fpu/s_cexp.S: Remove.
9979 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9980 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9981 * math/libm-test.inc (cexp_test): Add more tests.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9985 2012-03-21 Allan McRae <allan@archlinux.org>
9987 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9989 2012-03-21 Joseph Myers <joseph@codesourcery.com>
9992 * math/w_exp2.c: Do not include <float.h>.
9993 (o_threshold, u_threshold): Remove.
9994 (__exp2): Calculate result before checking finiteness and calling
9996 * math/w_exp2f.c: Likewise.
9997 * math/w_exp2l.c: Likewise.
9998 * math/libm-test.inc (exp2_test): Require overflow exception for
10002 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10003 range of signed 64-bit integers before using fistpll. Remove
10004 checks for whether integers fit in mantissa bits.
10005 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10006 the range of signed 32-bit integers before using fistpl. Remove
10007 checks for whether integers fit in mantissa bits.
10008 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10009 (__ieee754_powl): Test for y outside the range of signed 64-bit
10010 integers before using fistpll. Reduce 64-bit values to 63-bit
10012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10013 divide-by-zero is raised for zero to large negative powers.
10014 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10015 (__ieee754_powl): Test for y outside the range of signed 64-bit
10016 integers before using fistpll. Reduce 64-bit values to 63-bit
10018 * math/libm-test.inc (pow_test): Add more tests.
10020 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10022 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10023 <stdio-common/_itoa.h>.
10024 * debug/segfault.c: Likewise.
10025 * elf/dl-cache.c: Likewise.
10026 * elf/dl-minimal.c: Likewise.
10027 * elf/dl-misc.c: Likewise.
10028 * elf/dl-sysdep.c: Likewise.
10029 * elf/dl-version.c: Likewise.
10030 * elf/rtld.c: Likewise.
10031 * hurd/hurdsock.c: Likewise.
10032 * hurd/lookup-retry.c: Likewise.
10033 * malloc/malloc.c: Likewise.
10034 * malloc/mtrace.c: Likewise.
10035 * nscd/nscd_getgr_r.c: Likewise.
10036 * nscd/nscd_getpw_r.c: Likewise.
10037 * nscd/nscd_getserv_r.c: Likewise.
10038 * posix/getopt_init.c: Likewise.
10039 * posix/wordexp.c: Likewise.
10040 * stdio-common/_itoa.c: Likewise.
10041 * stdio-common/printf_fphex.c: Likewise.
10042 * stdio-common/vfprintf.c: Likewise.
10043 * string/_strerror.c: Likewise.
10044 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10045 * sysdeps/i386/i686/hp-timing.h: Likewise.
10046 * sysdeps/mach/_strerror.c: Likewise.
10047 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10048 * sysdeps/mach/hurd/sethostid.c: Likewise.
10049 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10050 * sysdeps/mach/xpg-strerror.c: Likewise.
10051 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10052 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10053 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10054 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10055 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10056 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10057 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10058 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10059 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10060 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10061 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10063 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10064 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10065 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10069 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10070 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10071 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10073 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10075 * stdio-common/_itoa.h: Moved to ...
10076 * sysdeps/generic/_itoa.h: Here.
10078 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10080 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10081 instead of "_itoa.h" and "_itowa.h".
10082 * stdio-common/vfprintf.: Likewise.
10084 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10086 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10088 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10089 (__signbit): Likwise.
10090 (llrintf): Likwise.
10093 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10095 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10098 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10100 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10101 OVERFLOW_EXCEPTION_OK.
10102 * math/libm-test.inc ("Philosophy"): Update comment about
10104 (OVERFLOW_EXCEPTION): Define.
10105 (OVERFLOW_EXCEPTION_OK): Likewise.
10106 (INVALID_EXCEPTION_OK): Renumber.
10107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10108 (IGNORE_ZERO_INF_SIGN): Likewise.
10109 (test_exceptions): Handle FE_OVERFLOW.
10110 (exp10_test): Expect overflow exceptions.
10111 (exp2_test): Likewise.
10112 (expm1_test): Likewise.
10113 (nextafter_test): Likewise.
10114 (pow_test): Likewise.
10115 (scalbn_test): Likewise.
10116 (scalbln_test): Likewise.
10118 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10120 * sysdeps/x86_64/bits/atomic.h
10121 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10123 (atomic_exchange_acq): Likewise.
10124 (__arch_exchange_and_add_body): Likewise.
10125 (__arch_add_body): Likewise.
10126 (atomic_add_negative): Likewise.
10127 (atomic_add_zero): Likewise.
10129 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10131 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10132 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10136 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10137 Check __x86_64__ instead of __WORDSIZE.
10139 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10141 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10143 2012-03-19 David S. Miller <davem@davemloft.net>
10145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10147 * sysdeps/sparc/fpu/fenv_private.h: New file.
10148 * sysdeps/sparc/fpu/math_private.h: Use it.
10149 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10152 (libc_feholdexcept_setroundl): Remove.
10153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10160 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10161 int64_t instead of long int.
10162 (INSERT_WORDS64): Likwise.
10164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10166 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10167 _Unwind_GetCFA return to _Unwind_Ptr first.
10169 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10172 * math/s_clog.c: Include <float.h>.
10173 (__clog): Scale large or subnormal inputs.
10174 * math/s_clogf.c: Likewise.
10175 * math/s_clogl.c: Likewise.
10176 * math/s_clog10.c: Include <float.h>.
10177 (M_LOG10_2): Define.
10178 (__clog10): Scale large or subnormal inputs.
10179 * math/s_clog10f.c: Likewise.
10180 * math/s_clog10l.c: Likewise.
10181 * math/libm-test.inc (clog_test): Add more tests.
10182 (clog10_test): Likewise.
10183 * sysdeps/i386/fpu/libm-test-ulps: Update.
10184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10187 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10189 * math/libm-test.inc (atan2_test): Add another test.
10191 * Makerules (common-objdir-compile): Remove.
10192 * sysdeps/unix/Makefile (config-generated): Do not add
10193 $(unix-generated) to variable.
10194 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10195 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10197 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10199 [generic bits/local_lim.h] (before-compile): Do not append to
10201 [generic bits/local_lim.h] (common-generated): Likewise.
10202 [generic sys/param.h] (before-compile): Do not append to variable.
10203 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10204 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10208 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10209 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10210 [generic sys/param.h] ($(addprefix
10211 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10212 [generic sys/param.h] (common-generated): Do not append to
10214 [generic sys/param.h] (sysdep_headers): Likewise.
10215 [generic bits/errno.h] (before-compile): Do not append to
10217 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10219 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10220 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10221 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10222 [generic bits/errno.h] (common-generated): Do not append to
10224 [generic bits/ioctls.h] (before-compile): Do not append to
10226 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10228 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10229 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10230 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10232 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10233 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10234 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10235 [generic bits/ioctls.h] (common-generated): Do not append to
10237 [generic sys/syscall.h] (syscall.h): Remove variable.
10238 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10240 [generic sys/syscall.h] (before-compile): Do not append to
10242 [generic sys/syscall.h] (common-generated): Likewise.
10243 * sysdeps/unix/errnos-tmpl.c: Remove file.
10244 * sysdeps/unix/errnos.awk: Likewise.
10245 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10246 * sysdeps/unix/ioctls.awk: Likewise.
10247 * sysdeps/unix/mk-local_lim.c: Likewise.
10248 * sysdeps/unix/snarf-ioctls: Likewise.
10250 2012-03-19 Richard Henderson <rth@twiddle.net>
10252 * sysdeps/i386/fpu/fenv_private.h: New file.
10253 * sysdeps/i386/fpu/math_private.h: Use it.
10254 (math_opt_barrier, math_force_eval): Remove.
10255 (libc_feholdexcept_setround_53bit): Remove.
10256 (libc_feupdateenv_53bit): Remove.
10257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10258 (math_opt_barrier, math_force_eval): Remove.
10259 (libc_feholdexcept): Remove.
10260 (libc_feholdexcept_setround): Remove.
10261 (libc_fetestexcept, libc_fesetenv): Remove.
10262 (libc_feupdateenv_test): Remove.
10263 (libc_feupdateenv, libc_feholdsetround): Remove.
10264 (libc_feresetround): Remove.
10266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10267 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10269 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10270 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10271 (libc_feupdateenv_testl): New.
10272 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10273 (libc_feupdateenv_testf): New.
10274 (libc_feupdateenv): Use libc_feupdateenv_test.
10275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10276 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10278 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10279 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10280 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10281 (libc_feresetround_noex): New.
10282 (libc_feresetround_noexf): New.
10283 (libc_feresetround_noexl): New.
10284 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10285 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10286 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10292 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10294 SET_RESTORE_ROUND_NOEX.
10295 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10296 SET_RESTORE_ROUND_NOEXF.
10297 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10298 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10299 (libc_feholdsetroundf): New.
10300 (libc_feresetround, libc_feresetroundf): New.
10302 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10303 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10304 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10306 * sysdeps/generic/math_private.h: Include <fenv.h>.
10307 (default_libc_feholdexcept): New.
10308 (default_libc_feholdexcept_setround): New.
10309 (default_libc_fesetenv, default_libc_feupdateenv): New.
10310 (libc_feholdexcept): Only define if undefined.
10311 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10313 (libc_feholdexcept_setroundl): Likewise.
10314 (libc_feholdexcept_setround_53bit): Likewise.
10315 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10318 (libc_feupdateenv_53bit): Likewise.
10319 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10320 (libc_feholdexcept): Convert from macro to inline function.
10321 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10322 (libc_fesetenv, libc_feupdateenv): Likewise.
10324 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10325 not previously defined.
10326 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10327 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10328 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10330 * sysdeps/ieee754/flt-32/math_private.h: New file.
10331 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10332 math_private.h below SET_FLOAT_WORD.
10333 (__isnan, __isinf_ns, __finite): Remove.
10334 (__isnanf, __isinf_nsf, __finitef): Remove.
10336 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10340 2012-03-17 David S. Miller <davem@davemloft.net>
10343 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10346 2012-03-16 David S. Miller <davem@davemloft.net>
10348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10352 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10354 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10355 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10356 sysdep_routines when subdir is sysvipc.
10357 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10358 __getshmlba helper.
10360 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10362 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10364 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10367 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10370 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10371 (__lround): Renamed to ...
10372 (__llround): This. Replace long int with long long int.
10373 Define lround functions as aliases of llround functions.
10374 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10376 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10378 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10379 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10380 adresses to uintptr_t. Replace "long int" and "unsigned long
10381 int" with "greg_t" on va_arg.
10383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10385 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10386 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10388 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10389 Move e_machine check before EI_CLASS check. Handle x32
10390 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10391 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10392 SKIP_EM_IA_64 and include
10393 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10395 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10396 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10397 (add_system_dir): New macro.
10399 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10400 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10402 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10413 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10415 * math/w_j0f.c (j0f): Likewise.
10417 * math/w_j0l.c (__j0l): Likewise.
10419 * math/w_j1.c (j1): Likewise.
10421 * math/w_j1f.c (j1f): Likewise.
10423 * math/w_j1l.c (__j1l): Likewise.
10425 * math/w_jn.c (jn): Likewise.
10427 * math/w_jnf.c (jnf): Likewise.
10429 * math/w_jnl.c (__jnl): Likewise.
10431 * math/libm-test.inc (j0_test): Add more tests.
10432 (j1_test): Likewise.
10433 (jn_test): Likewise. Add trailing semicolon to existing test.
10434 (y0_test): Likewise.
10435 (y1_test): Likewise.
10436 * sysdeps/i386/fpu/libm-test-ulps: Update.
10437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10442 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10443 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10444 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10445 (__tanl): Set errno for infinite argument.
10446 * sysdeps/i386/fpu/mptan.c: Remove.
10447 * sysdeps/i386/fpu/s_tan.S: Likewise.
10448 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10449 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10450 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10451 * math/libm-test.inc (tan_test): Add more tests and enable more
10452 tests for double and long double.
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10456 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10458 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10459 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10461 2012-03-16 Roland McGrath <roland@hack.frob.com>
10463 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10464 * configure.in: Use it for both main tree and add-ons.
10465 * configure: Regenerated.
10467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10469 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10471 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10473 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10477 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10478 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10483 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10485 != 0 for prec == 2.
10486 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10487 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10488 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10489 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10490 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10491 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10492 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10493 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10494 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10495 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10496 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10497 * math/libm-test.inc (cos_test): Add more tests and enable more
10498 tests for long double.
10499 (sin_test): Likewise.
10500 (sincos_test): Likewise.
10501 * sysdeps/i386/fpu/libm-test-ulps: Update.
10502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10504 2012-03-16 David S. Miller <davem@davemloft.net>
10506 * sysdeps/sparc/fpu/math_private.h: New file.
10508 2012-03-15 David S. Miller <davem@davemloft.net>
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10524 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10525 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10527 * sysdeps/sparc/sparc-ifunc.h: New file.
10528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10573 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10575 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10579 2012-03-15 Andreas Jaeger <aj@suse.de>
10582 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10583 ieee754/flt-32 implementation for sin, cos and sincos.
10584 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10585 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10586 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10587 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10588 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10589 ieee754/flt-32 implementation for tan.
10591 * math/libm-test.inc (cos_test): Enable some large input tests for
10593 (sin_test): Likewise.
10594 (sincos_test): Likewise.
10595 (tan_test): Add tests for large input.
10597 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 2012-03-15 Andreas Jaeger <aj@suse.de>
10602 * math/libm-test.inc (cos_test): Add more test cases.
10603 (sin_test): Likewise.
10604 (sincos_test): Likewise.
10606 2012-03-15 Andreas Jaeger <aj@suse.de>
10609 * math/libm-test.inc (cos_test): Add a test case for large input
10611 (sin_test): Likewise.
10612 (sincos_test): Likewise.
10614 2012-03-15 Andreas Jaeger <aj@suse.de>,
10615 Joseph Myers <joseph@codesourcery.com>
10618 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
10619 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10620 * sysdeps/i386/fpu/branred.c: Likewise.
10621 * sysdeps/i386/fpu/dosincos.c: Likewise.
10622 * sysdeps/i386/fpu/mpa.c: Likewise.
10623 * sysdeps/i386/fpu/s_cos.S: Likewise.
10624 * sysdeps/i386/fpu/s_sin.S: Likewise.
10625 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10626 * sysdeps/i386/fpu/sincos32.c: Likewise.
10628 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10630 (libc_feupdateenv_53bit): Define.
10631 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10633 (libc_feupdateenv_53bit): Define.
10635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10636 53 bit (without extend i386 double precision).
10638 * math/libm-test.inc (sincos_test): Add tests for large input.
10642 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10644 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10648 2012-03-15 David S. Miller <davem@davemloft.net>
10650 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10651 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10652 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10653 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10678 fmin/fmax sysdep routines.
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10681 2012-03-14 David S. Miller <davem@davemloft.net>
10683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
10722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
10725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
10749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10755 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10760 * sysdeps/sparc/configure.in: New file.
10761 * sysdeps/sparc/configure: Generate.
10762 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10763 * configure: Regenerate.
10764 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10765 * config.make.in (have-as-vis3): New.
10766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10767 available use -Av9d instead of -Av9a.
10768 * sysdeps/sparc/sparc64/Makefile: Likewise.
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10784 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10785 fzeros/fnegs to load 0x80000000 into a float register instead of
10787 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10789 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10793 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10794 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10795 ($(inst_includedir)/bits/syscall.h): Remove rule.
10796 ($(objpfx)bits/syscall.d): Include instead of
10797 $(objpfx)syscall-list.d.
10798 (generated): Change syscall-list.h and syscall-list.d to
10799 bits/syscall.h and bits/syscall.d.
10801 2012-03-14 Roland McGrath <roland@hack.frob.com>
10804 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10806 2012-03-14 Joseph Myers <joseph@codesourcery.com>
10809 * math/s_csqrt.c: Include <float.h>.
10810 (__csqrt): Scale large or subnormal inputs.
10811 * math/s_csqrtf.c: Likewise.
10812 * math/s_csqrtl.c: Likewise.
10813 * math/libm-test.inc (csqrt_test): Add more tests.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 * math/libm-test.inc (hypot_test): Add more tests.
10820 2012-03-13 David S. Miller <davem@davemloft.net>
10823 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10824 double-precision for the calculation instead of scaling.
10826 2012-03-13 Joseph Myers <joseph@codesourcery.com>
10828 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10829 manipulate bits before adding and subtracting TWO52[sx].
10830 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10833 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10835 2012-03-13 David S. Miller <davem@davemloft.net>
10837 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10838 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10840 rtld-global-offsets.h
10841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10843 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10846 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10848 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10849 'err' in the ifdef scope in which it is actually used.
10851 * nss/nss_db/db-init.c: Include string.h
10853 2012-03-12 David S. Miller <davem@davemloft.net>
10855 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10856 masking out of the most significant byte of random value used.
10857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10858 Fix coding style in previous change.
10860 * sysdeps/unix/sysv/linux/kernel-features.h
10861 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10862 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10864 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10867 2012-03-11 David S. Miller <davem@davemloft.net>
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10870 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10872 for 'resultvar' otherwise things get truncated on 64-bit.
10874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10875 Fix masking out of the most significant byte of random value used.
10877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10879 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10883 2012-03-09 David S. Miller <davem@davemloft.net>
10885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10886 variables with appropriate CPP guards.
10887 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10888 frame pointer, not the stack pointer. Correct layout comments. Fix test
10889 on resulting framesize and the management of the outregs buffer for pltexit.
10890 Preserve floating point return values across _dl_call_pltexit call.
10891 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10892 framesize and the management of the outregs buffer for pltexit.
10893 Preserve floating point return values across _dl_call_pltexit
10895 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10896 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10897 (print_exit): Fix format string for return register value.
10899 2012-03-10 Joseph Myers <joseph@codesourcery.com>
10901 * sunrpc/Makefile (others): Add rpcgen.
10902 ($(objpfx)rpcgen): Remove special build rule and dependency on
10904 * sunrpc/rpcgen.c: New file.
10906 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10909 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10910 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10911 * sysdeps/i386/crti.S: Likewise.
10912 * sysdeps/i386/crtn.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10915 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10916 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10917 * sysdeps/sh/crti.S: Likewise.
10918 * sysdeps/sh/crtn.S: Likewise.
10919 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10922 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10924 * locale/programs/locfile-kw.gperf: Likewise.
10925 * locale/programs/charmap-kw.h: Regenerated.
10926 * locale/programs/locfile-kw.h: Likewise.
10929 * intl/plural.y: Replace FSF snail mail address with URL.
10930 * intl/plural.c: Regenerated.
10932 2012-03-09 Richard Henderson <rth@twiddle.net>
10934 * include/math_private.h: Remove file.
10935 * math/math_private.h: Move file ...
10936 * sysdeps/generic/math_private.h: ... here.
10938 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10939 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10942 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
10943 and <math_private.h>.
10944 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10945 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10946 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10947 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10948 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10976 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10978 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10979 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10980 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10984 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11008 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11009 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11010 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11011 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11015 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11032 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11038 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11039 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11041 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11042 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11044 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11045 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11046 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11047 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11056 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11058 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11063 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11066 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11071 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11082 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11083 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11084 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11085 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11092 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11093 * sysdeps/ieee754/k_standard.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11197 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11198 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11221 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11222 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11225 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11226 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11227 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11235 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11236 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11237 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11243 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11249 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11254 * sysdeps/ieee754/s_lib_version.c: Likewise.
11255 * sysdeps/ieee754/s_matherr.c: Likewise.
11256 * sysdeps/ieee754/s_signgam.c: Likewise.
11257 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11259 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11260 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11261 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11262 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11263 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11264 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11265 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11266 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11267 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11268 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11269 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11270 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11271 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11272 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11273 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11275 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11279 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11281 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11282 * sunrpc/rpc_main.c: Likewise.
11283 * sunrpc/rpc_svcout.c: Likewise.
11285 2012-03-09 David S. Miller <davem@davemloft.net>
11287 * include/math_private.h: New file.
11289 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11291 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11292 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11293 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11294 from <bits/socket_type.h>.
11295 (enum __socket_type): Don't define here.
11296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11298 bits/socket_type.h.
11301 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11302 checking __USE_GNU.
11304 * Makerules ($(inst_includedir)/%.h): New rule.
11305 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11306 (install-others): Remove variable setting.
11307 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11309 2012-03-08 Richard Henderson <rth@twiddle.net>
11311 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11312 from macro to inline function; merge with the
11313 !__LIBC_INTERNAL_MATH_INLINES version.
11314 (__ieee754_sqrtf): Likewise.
11316 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11317 to inline function.
11318 (__rintf, __floor, __floorf): Likewise.
11320 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11321 macro to inline function.
11322 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11325 not <math/math_private.h>.
11327 2012-03-08 David S. Miller <davem@davemloft.net>
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11331 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11333 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11335 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11337 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11338 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11340 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11342 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11343 be defined individually, they must be defined as a block. Define
11344 S for printing a string instead of hidint the different by using a
11345 macro for adding the 'l'.
11346 * stdio-common/tst-fphex-wide.c: Adjust.
11348 2012-03-07 Marek Polacek <polacek@redhat.com>
11350 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11352 2012-03-08 Marek Polacek <polacek@redhat.com>
11355 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11356 * stdio-common/tst-fphex.c: Define a few macros to make the
11357 test reusable. Use them.
11358 * stdio-common/tst-fphex-wide.c: New file.
11360 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11363 * manual/macros.texi (gnusystems): New macro.
11364 (nongnusystems): Likewise.
11365 (gnulinuxhurdsystems): Likewise.
11366 (gnuhurdsystems): Likewise..
11367 (gnulinuxsystems): Likewise.
11368 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11369 variants of the GNU system, not "GNU system".
11370 * manual/conf.texi: Likewise.
11371 * manual/errno.texi: Likewise. Update example of errno macro
11373 * manual/filesys.texi: Likewise.
11374 (getumask): Document as specific to GNU/Hurd.
11375 * manual/install.texi: Likewise. Reword some references to
11377 * manual/intro.texi: Likewise.
11378 * manual/io.texi: Likewise.
11379 (File Name Portability): Detail which constraints are inapplicable
11380 to all GNU systems and which are only inapplicable to GNU/Hurd.
11381 * manual/job.texi: Likewise.
11382 * manual/llio.texi: Likewise.
11383 (O_NOCTTY): Document as present on GNU/Linux.
11384 * manual/maint.texi: Likewise.
11385 * manual/memory.texi: Likewise.
11386 * manual/pattern.texi: Likewise.
11387 * manual/pipe.texi: Likewise.
11388 * manual/process.texi: Likewise.
11389 * manual/resource.texi: Likewise.
11390 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11392 * manual/setjmp.texi: Likewise.
11393 * manual/signal.texi: Likewise.
11394 * manual/startup.texi: Likewise.
11395 * manual/stdio.texi: Likewise.
11396 * manual/terminal.texi: Likewise.
11397 (ONLCR): Document as POSIX.
11398 (OXTABS): Document availability on GNU/Linux as XTABS.
11399 (ONOEOT): Document availability separately from other bits.
11400 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11401 * manual/time.texi: Likewise.
11402 * manual/users.texi: Likewise.
11403 * INSTALL: Regenerated.
11404 * sysdeps/gnu/errlist.c: Regenerated.
11406 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11407 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11408 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11410 * configure: Regenerated.
11412 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11414 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11415 default includes instead of AC_HEADER_CHECK.
11416 * sysdeps/i386/configure: Regenerated.
11419 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11420 * math/s_cacoshf.c (__cacoshf): Likewise.
11421 * math/s_cacoshl.c (__cacoshl): Likewise.
11422 * math/s_casinh.c (__casinh): Set signs of result from argument.
11423 * math/s_casinhf.c (__casinhf): Likewise.
11424 * math/s_casinhl.c (__casinhl): Likewise.
11425 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11426 (casinh_test): Add more tests.
11427 * sysdeps/i386/fpu/libm-test-ulps: Update.
11428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11430 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11432 * po/zh_TW.po: Update from translation team.
11434 * login/Makefile (distribute): Remove variable.
11435 * catgets/Makefile: Likewise.
11436 * mach/Makefile: Likewise.
11437 * malloc/Makefile: Likewise.
11438 * misc/Makefile: Likewise.
11439 * iconv/Makefile: Likewise.
11440 * nscd/Makefile: Likewise.
11441 * hurd/Makefile: Likewise.
11442 * manual/Makefile: Likewise.
11443 * locale/Makefile: Likewise.
11444 * intl/Makefile: Likewise.
11445 * conform/Makefile: Likewise.
11446 * nss/Makefile: Likewise.
11447 * time/Makefile: Likewise.
11448 * soft-fp/Makefile: Likewise.
11449 * dirent/Makefile: Likewise.
11450 * gmon/Makefile: Likewise.
11451 * po/Makefile: Likewise.
11452 * rt/Makefile: Likewise.
11453 * socket/Makefile: Likewise.
11454 * math/Makefile: Likewise.
11455 * signal/Makefile: Likewise.
11456 * debug/Makefile: Likewise.
11457 * elf/Makefile: Likewise.
11458 * timezone/Makefile: Likewise.
11459 * stdlib/Makefile: Likewise.
11460 * iconvdata/Makefile: Likewise.
11461 * sunrpc/Makefile: Likewise.
11462 * io/Makefile: Likewise.
11463 * argp/Makefile: Likewise.
11464 * inet/Makefile: Likewise.
11465 * hesiod/Makefile: Likewise.
11466 * grp/Makefile: Likewise.
11467 * csu/Makefile: Likewise.
11468 * wctype/Makefile: Likewise.
11469 * crypt/Makefile: Likewise.
11470 * libio/Makefile: Likewise.
11471 * string/Makefile: Likewise.
11472 * nis/Makefile: Likewise.
11473 * resolv/Makefile: Likewise.
11474 * stdio-common/Makefile: Likewise.
11475 * wcsmbs/Makefile: Likewise.
11476 * dlfcn/Makefile: Likewise.
11477 * posix/Makefile: Likewise.
11480 * timezone/Makefile: Don't install timezone files, just the programs
11483 2012-03-06 Ulrich Drepper <drepper@gmail.com>
11485 * nss/databases.def: Add missing gshadow entry.
11487 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11489 2012-03-06 Marek Polacek <polacek@redhat.com>
11492 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11493 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11494 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11495 * stdio-common/tst-long-dbl-fphex.c: New file.
11497 2012-03-06 David S. Miller <davem@davemloft.net>
11499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11500 (set_obp_int): New function.
11501 (get_obp_int): New function.
11502 (__get_clockfreq_via_dev_openprom): Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11504 Avoid unused variable warnings on 'val' and use builtin_expect.
11505 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11507 (INLINE_CLONE_SYSCALL): Likewise.
11509 2012-03-05 David S. Miller <davem@davemloft.net>
11511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11513 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11518 only for |x| >= 40.
11519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11521 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
11523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11524 Replace gettimeofday with __vdso_gettimeofday.
11526 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11527 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11528 __vdso_clock_gettime and __vdso_getcpu.
11530 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11531 time with __vdso_time.
11533 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11535 * manual/lang.texi (size_t): Note types to which size_t may be
11536 equivalent with the GNU C Library, but do not describe when
11537 differences between them are significant.
11539 2012-03-05 Andreas Jaeger <aj@suse.de>
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11543 2012-03-05 Joseph Myers <joseph@codesourcery.com>
11546 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11547 (__ieee754_pow): Save and restore rounding mode and use
11548 round-to-nearest for main computations.
11549 * math/libm-test.inc (pow_test_tonearest): New function.
11550 (pow_test_towardzero): Likewise.
11551 (pow_test_downward): Likewise.
11552 (pow_test_upward): Likewise.
11553 (main): Call the new functions.
11554 * sysdeps/i386/fpu/libm-test-ulps: Update.
11555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11558 * math/libm-test.inc (cosh_test_tonearest): New function.
11559 (cosh_test_towardzero): Likewise.
11560 (cosh_test_downward): Likewise.
11561 (cosh_test_upward): Likewise.
11562 (sinh_test_tonearest): Likewise.
11563 (sinh_test_towardzero): Likewise.
11564 (sinh_test_downward): Likewise.
11565 (sinh_test_upward): Likewise.
11566 (main): Call the new functions.
11567 * sysdeps/i386/fpu/libm-test-ulps: Update.
11568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11570 2012-03-05 Tom de Vries <tom@codesourcery.com>
11572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11573 default stack guard is set in last bytes.
11574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11576 2012-03-05 Kees Cook <keescook@chromium.org>
11578 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
11581 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11582 possibly allocate from heap instead of stack.
11583 * stdio-common/bug-vfprintf-nargs.c: New file.
11584 * stdio-common/Makefile (tests): Add nargs overflow test.
11586 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11590 2012-03-03 Marek Polacek <polacek@redhat.com>
11592 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11593 * math/math_private.h: Likewise.
11594 * stdlib/tst-strtod.c: Likewise.
11595 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11596 * sysdeps/x86_64/bits/atomic.h: Likewise.
11598 2012-03-02 David S. Miller <davem@davemloft.net>
11600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11604 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11605 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11606 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11607 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11609 2012-03-02 Roland McGrath <roland@hack.frob.com>
11612 * manual/examples/README: New file, says the example source files
11613 can be used under GPL>=2.
11614 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11615 line containing just "*/".
11616 * manual/examples/add.c: Add copyright header (GPL>=2).
11617 * manual/examples/argp-ex1.c: Likewise.
11618 * manual/examples/argp-ex2.c: Likewise.
11619 * manual/examples/argp-ex3.c: Likewise.
11620 * manual/examples/argp-ex4.c: Likewise.
11621 * manual/examples/atexit.c: Likewise.
11622 * manual/examples/db.c: Likewise.
11623 * manual/examples/dir.c: Likewise.
11624 * manual/examples/dir2.c: Likewise.
11625 * manual/examples/execinfo.c: Likewise.
11626 * manual/examples/filecli.c: Likewise.
11627 * manual/examples/filesrv.c: Likewise.
11628 * manual/examples/fmtmsgexpl.c: Likewise.
11629 * manual/examples/genpass.c: Likewise.
11630 * manual/examples/inetcli.c: Likewise.
11631 * manual/examples/inetsrv.c: Likewise.
11632 * manual/examples/isockad.c: Likewise.
11633 * manual/examples/longopt.c: Likewise.
11634 * manual/examples/memopen.c: Likewise.
11635 * manual/examples/memstrm.c: Likewise.
11636 * manual/examples/mkfsock.c: Likewise.
11637 * manual/examples/mkisock.c: Likewise.
11638 * manual/examples/mygetpass.c: Likewise.
11639 * manual/examples/pipe.c: Likewise.
11640 * manual/examples/popen.c: Likewise.
11641 * manual/examples/rprintf.c: Likewise.
11642 * manual/examples/search.c: Likewise.
11643 * manual/examples/select.c: Likewise.
11644 * manual/examples/setjmp.c: Likewise.
11645 * manual/examples/sigh1.c: Likewise.
11646 * manual/examples/sigusr.c: Likewise.
11647 * manual/examples/stpcpy.c: Likewise.
11648 * manual/examples/strdupa.c: Likewise.
11649 * manual/examples/strftim.c: Likewise.
11650 * manual/examples/strncat.c: Likewise.
11651 * manual/examples/subopt.c: Likewise.
11652 * manual/examples/swapcontext.c: Likewise.
11653 * manual/examples/termios.c: Likewise.
11654 * manual/examples/testopt.c: Likewise.
11655 * manual/examples/testpass.c: Likewise.
11656 * manual/examples/timeval_subtract.c: Likewise.
11659 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11661 * manual/timeval_subtract.c.texi: ... here, new file.
11663 2012-03-02 David S. Miller <davem@davemloft.net>
11665 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11667 2012-03-02 Joseph Myers <joseph@codesourcery.com>
11670 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11671 (__sin): Save and restore rounding mode and use round-to-nearest
11672 for all computations.
11673 (__cos): Save and restore rounding mode and use round-to-nearest
11674 for all computations.
11675 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11677 (tan): Save and restore rounding mode and use round-to-nearest for
11679 * math/libm-test.inc (cos_test_tonearest): New function.
11680 (cos_test_towardzero): Likewise.
11681 (cos_test_downward): Likewise.
11682 (cos_test_upward): Likewise.
11683 (sin_test_tonearest): Likewise.
11684 (sin_test_towardzero): Likewise.
11685 (sin_test_downward): Likewise.
11686 (sin_test_upward): Likewise.
11687 (tan_test_tonearest): Likewise.
11688 (tan_test_towardzero): Likewise.
11689 (tan_test_downward): Likewise.
11690 (tan_test_upward): Likewise.
11691 (main): Call the new functions.
11692 * sysdeps/i386/fpu/libm-test-ulps: Update.
11693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11696 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11697 small n, then large n, before computing and testing k+n.
11698 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11703 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11704 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11711 * math/libm-test.inc (scalbn_test): Add more tests.
11712 (scalbln_test): Likewise.
11714 * manual/filesys.texi (mode_t): Describe constraints on size and
11715 signedness, not exact equivalence to a particular type.
11717 (ino64_t): Likewise.
11719 (nlink_t): Likewise.
11720 (blkcnt_t): Likewise.
11721 (blkcnt64_t): Likewise.
11722 * manual/llio.texi (off_t): Likewise.
11725 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11726 (__ieee754_exp): Save and restore rounding mode and use
11727 round-to-nearest for all computations.
11728 * math/libm-test.inc (exp_test_tonearest): New function.
11729 (exp_test_towardzero): Likewise.
11730 (exp_test_downward): Likewise.
11731 (exp_test_upward): Likewise.
11732 (main): Call the new functions.
11733 * sysdeps/i386/fpu/libm-test-ulps: Update.
11734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11736 2012-03-01 Chris Demetriou <cgd@google.com>
11738 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11739 have predictable order.
11741 2012-03-01 David S. Miller <davem@davemloft.net>
11743 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11745 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11746 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11747 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11748 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11750 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11751 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11752 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11754 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11755 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11756 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11757 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11758 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11763 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11764 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11766 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11769 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11770 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11779 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11782 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11783 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11784 * sysdeps/sparc/elf/configure: Regenerated.
11786 2012-03-01 Joseph Myers <joseph@codesourcery.com>
11788 * configure.in (AS, LD): Require binutils 2.20 or later.
11789 * configure: Regenerated.
11790 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11791 as required minimum version.
11792 * INSTALL: Regenerated.
11796 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11797 before squaring exponent.
11798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11799 bottom long double and 27 bits of top long double before squaring
11801 * math/libm-test.inc (erfc_test): Add more tests.
11802 * sysdeps/i386/fpu/libm-test-ulps: Update.
11803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11806 2012-03-01 Kai Tietz <ktietz@redhat.com>
11808 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11809 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11810 containing bit-fields.
11811 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11812 * soft-fp/single.h (_FP_UNION_S): Likewise.
11813 * soft-fp/double.h (_FP_UNION_D): Likewise.
11815 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11818 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11819 not include ../strcmp.S.
11820 [USE_AS_STRNCASECMP_L]: Likewise.
11821 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11822 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11823 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11824 (__strncasecmp_l_ia32): Define as alias to
11825 __strncasecmp_l_nonascii.
11828 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11829 * sysdeps/i386/fpu/libm-test-ulps: Update.
11830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11832 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11835 2012-02-29 Jeff Law <law@redhat.com>
11837 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11838 out of bounds read.
11840 2012-02-29 Marek Polacek <polacek@redhat.com>
11843 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11844 * elf/Makefile: Add rules to run tst-unused-dep.out.
11846 2012-02-28 David S. Miller <davem@davemloft.net>
11848 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11849 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11851 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11855 2012-02-29 Joseph Myers <joseph@codesourcery.com>
11857 * math/libm-test.inc (llround_test): Move one test from
11858 lround_test. Use TEST_f_L in moved test.
11859 (lround_test): Move misplaced test to llround_test. Add testcase
11862 2012-02-28 Ulrich Drepper <drepper@gmail.com>
11864 * sysdeps/x86_64/fpu/e_expf.S: New file.
11865 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11867 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11870 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11871 of remain_len that may cause incomplete multi-byte character and
11873 * posix/bug-regex33.c: New file.
11874 * posix/Makefile (tests): Add bug-regex33.
11876 2012-02-28 Joseph Myers <joseph@codesourcery.com>
11878 * manual/macros.texi: New file.
11879 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11880 * manual/libc.texinfo: Include macros.texi.
11881 * manual/creatute.texi: Likewise.
11882 * manual/install.texi: Likewise.
11883 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11884 @glibcadj{} in references to the GNU C Library.
11885 * manual/charset.texi: Likewise.
11886 * manual/conf.texi: Likewise.
11887 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11888 when not using those macros.
11889 * manual/creature.texi: Likewise.
11890 * manual/crypt.texi: Likewise.
11891 * manual/errno.texi: Likewise.
11892 * manual/filesys.texi: Likewise.
11893 * manual/header.texi: Likewise.
11894 * manual/install.texi: Likewise.
11895 * manual/intro.texi: Likewise.
11896 * manual/io.texi: Likewise.
11897 * manual/job.texi: Likewise.
11898 * manual/lang.texi: Likewise.
11899 * manual/libc.texiinfo: Likewise.
11900 * manual/llio.texi: Likewise.
11901 * manual/locale.texi: Likewise.
11902 * manual/maint.texi: Likewise.
11903 * manual/math.texi: Likewise.
11904 * manual/memory.texi: Likewise.
11905 * manual/message.texi: Likewise.
11906 * manual/nss.texi: Likewise.
11907 * manual/pattern.texi: Likewise.
11908 * manual/process.texi: Likewise.
11909 * manual/resource.texi: Likewise.
11910 * manual/search.texi: Likewise.
11911 * manual/setjmp.texi: Likewise.
11912 * manual/signal.texi: Likewise.
11913 * manual/socket.texi: Likewise.
11914 * manual/startup.texi: Likewise.
11915 * manual/stdio.texi: Likewise.
11916 * manual/string.texi: Likewise.
11917 * manual/sysinfo.texi: Likewise.
11918 * manual/syslog.texi: Likewise.
11919 * manual/terminal.texi: Likewise.
11920 * manual/time.texi: Likewise.
11921 * manual/users.texi: Likewise.
11922 * INSTALL: Regenerated.
11923 * NOTES: Regenerated.
11924 * sysdeps/gnu/errlist.c: Regenerated.
11926 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11928 * include/dirent.h: Include <dirstream.h> before
11931 2012-02-28 David S. Miller <davem@davemloft.net>
11933 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11934 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11935 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11938 2012-02-27 David S. Miller <davem@davemloft.net>
11940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11942 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11943 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11946 frame pointer instead of stack pointer relative arg slot.
11947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11948 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11949 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11951 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11954 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11956 2012-02-27 David S. Miller <davem@davemloft.net>
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11964 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11967 2012-02-27 Joseph Myers <joseph@codesourcery.com>
11969 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11970 later. Allow versions 5-9.
11971 * configure: Regenerated.
11972 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11973 required minimum version and 4.6 as recommended version. Do not
11974 mention bugs in GCC 2.7 and 2.8.
11975 * INSTALL: Regenerated.
11977 2012-02-27 David S. Miller <davem@davemloft.net>
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11985 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11989 manipulate bits before adding and subtracting TWO112[sx].
11990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11992 2012-02-27 Roland McGrath <roland@hack.frob.com>
11995 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11996 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11997 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11998 being in POSIX, because they are in 1003.1-2008.
12000 * rt/tst-aio.c: Include <fcntl.h>.
12001 * rt/tst-aio7.c: Likewise.
12002 * rt/tst-aio64.c: Likewise.
12004 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12006 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12008 * manual/install.texi (--with-headers): Describe headers as
12009 interface headers, not private headers.
12010 (Specific advice for GNU/Linux systems): Describe use of headers
12011 from "make headers_install", not private headers from older
12013 * INSTALL: Regenerated.
12014 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12016 * sysdeps/unix/sysv/linux/configure: Regenerated.
12018 * manual/llio.texi (fclean): Remove documentation.
12020 * manual/Makefile (libc-texi-generated): New variable. Include
12022 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12023 $(libc-texi-generated), not duplicated list of files.
12024 (version.texi, stamp-version): New rules.
12025 (realclean): Remove $(libc-texi-generated), not individual files
12026 from that list. Do not remove dir-add.texinfo.
12027 * manual/libc.texinfo: Comment out uses of edition numbers and
12028 references to printed manual. Remove last-updated dates.
12029 (EDITION): Comment out.
12031 (VERSION, UPDATED): Remove.
12032 (version.texi): Include.
12034 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12036 * sysdeps/posix/spawni.c: Include <signal.h>.
12037 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12038 * sysdeps/pthread/aio_fsync.c: Likewise.
12040 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12042 * conform/Makefile (tests): Run only when not cross-compiling and
12043 when fast-check is not defined.
12045 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12046 * conform/data/limits.h-data: Fixes for POSIX2008.
12047 * conform/run-conformtest.sh: Run all tests.
12048 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12050 * include/bits/dlfcn.h: Likewise.
12051 * include/langinfo.h: Likewise.
12052 * include/monetary.h: Likewise.
12053 * include/sys/poll.h: Likewise.
12055 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12057 * posix/spawn.h: Define __need_sigset_t.
12058 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12059 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12060 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12061 to get sigevent_t only.
12062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12063 only for __USE_GNU.
12064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12066 process_vm_writev only for __USE_GNU.
12067 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12069 * conform/Makefile: For now ignore errors from run-conformtest.
12070 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12071 POSIX to avoid namespace pollution. Don't prepend headers.
12072 * conform/data/aio.h-data: Fixes for POSIX testing.
12073 * conform/data/fcntl.h-data: Likewise.
12074 * conform/data/glob.h-data: Likewise.
12075 * conform/data/grp.h-data: Likewise.
12076 * conform/data/pthread.h-data: Likewise.
12077 * conform/data/pwd.h-data: Likewise.
12078 * conform/data/signal.h-data: Likewise.
12079 * conform/data/spawn.h-data: Likewise.
12080 * conform/data/stdio.h-data: Likewise.
12081 * conform/data/stdlib.h-data: Likewise.
12082 * conform/data/stropts.h-data: Likewise.
12083 * conform/data/sys/mman.h-data: Likewise.
12084 * conform/data/sys/stat.h-data: Likewise.
12085 * conform/data/sys/types.h-data: Likewise.
12086 * conform/data/sys/wait.h-data: Likewise.
12087 * conform/data/time.h-data: Likewise.
12088 * conform/data/unistd.h-data: Likewise.
12089 * conform/data/utime.h-data: Likewise.
12091 * io/sys/stat.h: fchmod was always in POSIX.
12092 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12093 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12094 * rt/aio.h: Define __need_timespec before including <time.h>.
12095 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12096 struct. Add forward declaration of pthread_attr_t and use it in
12098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12100 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12101 always remove CLK_TCK definition.
12103 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12105 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12107 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12109 * conform/run-conformtest.sh: New file.
12110 * conform/Makefile: Run run-conformtest for tests.
12111 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12114 * conform/data/uchar.h-data: New file.
12115 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12116 * conform/data/arpa/inet.h-data: Likewise.
12117 * conform/data/assert.h-data: Likewise.
12118 * conform/data/complex.h-data: Likewise.
12119 * conform/data/cpio.h-data: Likewise.
12120 * conform/data/ctype.h-data: Likewise.
12121 * conform/data/dirent.h-data: Likewise.
12122 * conform/data/dlfcn.h-data: Likewise.
12123 * conform/data/errno.h-data: Likewise.
12124 * conform/data/fcntl.h-data: Likewise.
12125 * conform/data/float.h-data: Likewise.
12126 * conform/data/fmtmsg.h-data: Likewise.
12127 * conform/data/fnmatch.h-data: Likewise.
12128 * conform/data/ftw.h-data: Likewise.
12129 * conform/data/glob.h-data: Likewise.
12130 * conform/data/grp.h-data: Likewise.
12131 * conform/data/iconv.h-data: Likewise.
12132 * conform/data/inttypes.h-data: Likewise.
12133 * conform/data/langinfo.h-data: Likewise.
12134 * conform/data/libgen.h-data: Likewise.
12135 * conform/data/limits.h-data: Likewise.
12136 * conform/data/locale.h-data: Likewise.
12137 * conform/data/math.h-data: Likewise.
12138 * conform/data/monetary.h-data: Likewise.
12139 * conform/data/mqueue.h-data: Likewise.
12140 * conform/data/ndbm.h-data: Likewise.
12141 * conform/data/net/if.h-data: Likewise.
12142 * conform/data/netdb.h-data: Likewise.
12143 * conform/data/netinet/in.h-data: Likewise.
12144 * conform/data/nl_types.h-data: Likewise.
12145 * conform/data/poll.h-data: Likewise.
12146 * conform/data/pthread.h-data: Likewise.
12147 * conform/data/pwd.h-data: Likewise.
12148 * conform/data/regex.h-data: Likewise.
12149 * conform/data/sched.h-data: Likewise.
12150 * conform/data/search.h-data: Likewise.
12151 * conform/data/semaphore.h-data: Likewise.
12152 * conform/data/setjmp.h-data: Likewise.
12153 * conform/data/signal.h-data: Likewise.
12154 * conform/data/spawn.h-data: Likewise.
12155 * conform/data/stdarg.h-data: Likewise.
12156 * conform/data/stdio.h-data: Likewise.
12157 * conform/data/stdlib.h-data: Likewise.
12158 * conform/data/string.h-data: Likewise.
12159 * conform/data/strings.h-data: Likewise.
12160 * conform/data/stropts.h-data: Likewise.
12161 * conform/data/sys/ipc.h-data: Likewise.
12162 * conform/data/sys/mman.h-data: Likewise.
12163 * conform/data/sys/msg.h-data: Likewise.
12164 * conform/data/sys/resource.h-data: Likewise.
12165 * conform/data/sys/select.h-data: Likewise.
12166 * conform/data/sys/sem.h-data: Likewise.
12167 * conform/data/sys/shm.h-data: Likewise.
12168 * conform/data/sys/socket.h-data: Likewise.
12169 * conform/data/sys/stat.h-data: Likewise.
12170 * conform/data/sys/statvfs.h-data: Likewise.
12171 * conform/data/sys/time.h-data: Likewise.
12172 * conform/data/sys/timeb.h-data: Likewise.
12173 * conform/data/sys/times.h-data: Likewise.
12174 * conform/data/sys/types.h-data: Likewise.
12175 * conform/data/sys/uio.h-data: Likewise.
12176 * conform/data/sys/un.h-data: Likewise.
12177 * conform/data/sys/utsname.h-data: Likewise.
12178 * conform/data/sys/wait.h-data: Likewise.
12179 * conform/data/syslog.h-data: Likewise.
12180 * conform/data/tar.h-data: Likewise.
12181 * conform/data/termios.h-data: Likewise.
12182 * conform/data/utime.h-data: Likewise.
12183 * conform/data/utmpx.h-data: Likewise.
12184 * conform/data/varargs.h-data: Likewise.
12185 * conform/data/wchar.h-data: Likewise.
12186 * conform/data/wctype.h-data: Likewise.
12187 * conform/data/wordexp.h-data: Likewise.
12189 * include/stropts.h: New file.
12190 * include/uchar.h: New file.
12191 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12192 * include/assert.h: Likewise.
12193 * include/ctype.h: Likewise.
12194 * include/dirent.h: Likewise.
12195 * include/dlfcn.h: Likewise.
12196 * include/fcntl.h: Likewise.
12197 * include/fnmatch.h: Likewise.
12198 * include/glob.h: Likewise.
12199 * include/grp.h: Likewise.
12200 * include/libio.h: Likewise.
12201 * include/locale.h: Likewise.
12202 * include/math.h: Likewise.
12203 * include/net/if.h: Likewise.
12204 * include/netdb.h: Likewise.
12205 * include/netinet/in.h: Likewise.
12206 * include/pthread.h: Likewise.
12207 * include/pwd.h: Likewise.
12208 * include/regex.h: Likewise.
12209 * include/sched.h: Likewise.
12210 * include/search.h: Likewise.
12211 * include/setjmp.h: Likewise.
12212 * include/signal.h: Likewise.
12213 * include/stdio.h: Likewise.
12214 * include/stdlib.h: Likewise.
12215 * include/string.h: Likewise.
12216 * include/sys/cdefs.h: Likewise.
12217 * include/sys/mman.h: Likewise.
12218 * include/sys/msg.h: Likewise.
12219 * include/sys/resource.h: Likewise.
12220 * include/sys/select.h: Likewise.
12221 * include/sys/socket.h: Likewise.
12222 * include/sys/stat.h: Likewise.
12223 * include/sys/statvfs.h: Likewise.
12224 * include/sys/time.h: Likewise.
12225 * include/sys/times.h: Likewise.
12226 * include/sys/uio.h: Likewise.
12227 * include/sys/utsname.h: Likewise.
12228 * include/sys/wait.h: Likewise.
12229 * include/termios.h: Likewise.
12230 * include/time.h: Likewise.
12231 * include/ulimit.h: Likewise.
12232 * include/unistd.h: Likewise.
12233 * include/utime.h: Likewise.
12234 * include/wchar.h: Likewise.
12235 * include/wctype.h: Likewise.
12236 * include/wordexp.h: Likewise.
12238 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12240 * time/time.h: TIME_UTC must be a macro.
12241 Make timespec_get available for ISO C11 only as well.
12243 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12245 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12246 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12250 * configure.in: Use -o not -a in test for unsupported multi-arch.
12252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12254 * manual/texinfo.tex: Update to version 2012-01-19.16.
12256 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12258 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12260 2012-02-24 Roland McGrath <roland@hack.frob.com>
12263 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12264 * manual/fdl-1.3.texi: New file.
12265 * manual/fdl-1.1.texi: File removed.
12268 * manual/libc.texinfo (FDL_VERSION): New @set.
12269 Use it for mention of FDL in cover text.
12270 (Documentation License): Use it in @include file name.
12272 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12273 Roland McGrath <roland@hack.frob.com>
12276 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12277 not LONG_LONG_MAX and LONG_LONG_MIN.
12278 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12279 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12281 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12283 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12288 manipulate bits before adding and subtracting TWO23[sx].
12289 * math/libm-test.inc (nearbyint_test): Add more tests.
12291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12294 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12295 bits before adding and subtracting TWO23[sx].
12296 * math/libm-test.inc (rint_test): Add more tests.
12297 (rint_test_tonearest): Likewise.
12298 (rint_test_towardzero): Likewise.
12299 (rint_test_downward): Likewise.
12300 (rint_test_upward: Likewise.
12302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12305 * include/stdc-predef.h: New file. Extracted from features.h.
12306 * include/features.h: Include stdc-predef.h.
12307 * Makefile (headers): Add stdc-predef.h.
12308 * CONFORMANCE (Compiler limitations): Update.
12310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12312 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12314 2012-02-21 David S. Miller <davem@davemloft.net>
12316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12319 2012-02-20 David S. Miller <davem@davemloft.net>
12321 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12322 using a normal save/restore sequence, rather than allocating a
12323 dummy stack frame just to store a frame pointer and restore.
12324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12326 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12328 * manual/install.texi: Fix stray word in line-wrapped comment.
12330 2012-02-20 David S. Miller <davem@davemloft.net>
12332 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12333 both binutils and gcc support GOTDATA.
12335 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12336 "rd %pc" in the PIC register setup sequences.
12338 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12339 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12340 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12341 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12344 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12347 (SYSCALL_ERROR_HANDLER): Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12351 (SYSCALL_ERROR_HANDLER): Likewise.
12353 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12354 (HAVE_GCC_GOTDATA): New.
12355 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12356 relocation support in both binutils and gcc.
12357 * sysdeps/sparc/elf/configure: Regenerate.
12359 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12360 * sysdeps/sparc/sparc32/elf/configure: Delete.
12361 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12362 * sysdeps/sparc/sparc64/elf/configure: Delete.
12363 * sysdeps/sparc/elf/configure.in: New file.
12364 * sysdeps/sparc/elf/configure: Generate.
12366 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12367 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12368 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12369 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12370 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12372 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12374 * manual/install.texi: Do not mention specific glibc version
12376 * manual/libc.texinfo (VERSION, UPDATED): Update.
12377 (@copying): Use @copyright{} and range of years.
12379 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12382 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12383 [crti.S not in sysdirs] (generated): Do not append.
12384 [crti.S not in sysdirs] (omit-deps): Likewise.
12385 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12386 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12387 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12388 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12389 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12391 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12392 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12393 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12394 * csu/defs.awk: Remove file.
12395 * sysdeps/generic/initfini.c: Likewise.
12396 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12398 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12401 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12404 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12405 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12408 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12410 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12411 (__EPOLL_PACKED): Define to empty if not defined by
12413 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12417 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12419 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12420 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12422 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12424 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12428 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12430 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12437 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12440 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12442 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12444 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12445 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12447 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12449 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12452 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12454 * math/w_acos.c: Use non-signaling floating-point comparisons.
12455 * math/w_acosf.c: Likewise.
12456 * math/w_acosh.c: Likewise.
12457 * math/w_acoshf.c: Likewise.
12458 * math/w_acoshl.c: Likewise.
12459 * math/w_acosl.c: Likewise.
12460 * math/w_asin.c: Likewise.
12461 * math/w_asinf.c: Likewise.
12462 * math/w_asinl.c: Likewise.
12463 * math/w_atanh.c: Likewise.
12464 * math/w_atanhf.c: Likewise.
12465 * math/w_atanhl.c: Likewise.
12466 * math/w_exp2.c: Likewise.
12467 * math/w_exp2f.c: Likewise.
12468 * math/w_exp2l.c: Likewise.
12469 * math/w_j0.c: Likewise.
12470 * math/w_j0f.c: Likewise.
12471 * math/w_j0l.c: Likewise.
12472 * math/w_j1.c: Likewise.
12473 * math/w_j1f.c: Likewise.
12474 * math/w_j1l.c: Likewise.
12475 * math/w_jn.c: Likewise.
12476 * math/w_jnf.c: Likewise.
12477 * math/w_log.c: Likewise.
12478 * math/w_log10.c: Likewise.
12479 * math/w_log10f.c: Likewise.
12480 * math/w_log10l.c: Likewise.
12481 * math/w_log2.c: Likewise.
12482 * math/w_log2f.c: Likewise.
12483 * math/w_log2l.c: Likewise.
12484 * math/w_logf.c: Likewise.
12485 * math/w_logl.c: Likewise.
12486 * math/w_sqrt.c: Likewise.
12487 * math/w_sqrtf.c: Likewise.
12488 * math/w_sqrtl.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12495 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12498 * manual/string.texi (strnlen): Use correct parameter name in
12499 equivalent expression.
12501 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12504 * manual/users.texi (seteuid): Consistently use neweuid for
12507 2012-02-19 Joseph Myers <joseph@codesourcery.com>
12510 * manual/nss.texi (Services in the NSS configuration): Correct
12511 list of services in example configuration file.
12513 2012-02-19 Nick Bowler <nbowler@draconx.ca>
12516 * manual/arith.texi: Remove statements about negative zero
12517 behaving identically to zero.
12519 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12522 * manual/install.texi: Do not document upgrading from libc5.
12524 2012-02-18 Joseph Myers <joseph@codesourcery.com>
12527 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12529 2012-02-18 David S. Miller <davem@davemloft.net>
12531 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12532 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12533 %o7 across the call.
12534 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12537 SETUP_PIC_REG_LEAF.
12538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12539 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12540 * sysdeps/sparc/crtn.S: Likewise.
12542 2012-02-17 Ulrich Drepper <drepper@gmail.com>
12544 * aout/Makefile: Remove.
12546 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12549 * manual/examples/argp-ex1.c (main): Format definition in GNU
12551 * manual/examples/argp-ex2.c (main): Likewise.
12552 * manual/examples/argp-ex3.c (main): Likewise.
12553 * manual/examples/argp-ex4.c (main): Likewise.
12554 * manual/examples/longopt.c (main): Use new-style prototype
12556 * manual/examples/strncat.c (main): Specify return type and use
12557 (void) for arguments.
12558 * manual/examples/subopt.c (main): Use char **argv argument.
12560 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12563 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12566 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12569 * manual/string.texi (strchr): Change when strchrnul is
12572 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12575 * manual/locale.texi (setlocale): Document LOCPATH.
12577 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12580 * manual/process.texi (execle): Move @dots{} before last argument.
12582 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
12585 * manual/charset.texi (Generic Charset Conversion): Fix typo
12586 (LC_TYPE -> LC_CTYPE).
12588 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12591 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12592 (scalbnf): Likewise.
12593 (scalbnl): Likewise.
12594 (scalbln): Likewise.
12595 (scalblnf): Likewise.
12596 (scalblnl): Likewise.
12597 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12598 (vwarnx): Likewise.
12601 * manual/filesys.texi (telldir): Use braces around return type.
12602 * manual/llio.texi (mmap): Add space after comma.
12603 (mmap64): Likewise.
12604 * manual/math.texi (jn): Use @var{} on parameter names.
12610 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12612 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12614 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12615 (sched_get_priority_max): Likewise.
12616 * manual/signal.texi (sigvec): Add space after comma.
12617 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12619 (if_indextoname): Likewise.
12620 (if_freenameindex): Likewise.
12621 (sendto): Use ',' instead of '.' in prototype.
12622 * manual/startup.texi (syscall): Use @dots{} instead of literal
12624 * manual/stdio.texi (__fpending): Separate initial words of
12625 paragraph from @deftypefun line.
12626 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12628 (vsyslog): Use @var{} on parameter names.
12629 * manual/terminal.texi (stty): Use @var{} on parameter names.
12630 * manual/users.texi (getutmp): Use @var{} on parameter names.
12631 (getutmpx): Likewise.
12633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12636 * manual/stdio.texi (fopen): Fix typos in description of
12639 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12642 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12643 get clock_id definition.
12645 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
12648 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12649 (madvise): Cast every argument to void on its own.
12651 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12654 * manual/startup.texi (Exit Status): Fix typo.
12656 2012-02-17 Joseph Myers <joseph@codesourcery.com>
12659 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12660 * manual/examples/argp-ex2.c: Likewise.
12661 * manual/examples/argp-ex3.c: Likewise.
12663 2012-02-16 Richard Henderson <rth@redhat.com>
12665 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12666 * sysdeps/s390/s390-32/initfini.c: Remove.
12667 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12668 * sysdeps/s390/s390-64/initfini.c: Remove.
12670 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12672 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12673 compiler output for sysdeps/generic/initfini.c.
12674 * sysdeps/sh/elf/initfini.c: Remove file.
12676 2012-02-16 David S. Miller <davem@davemloft.net>
12679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12681 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12682 * sysdeps/sparc/crti.S: New file.
12683 * sysdeps/sparc/crtn.S: New file.
12684 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12685 * sysdeps/sparc/sparc64/Makefile: Likewise.
12687 2012-02-15 Mike Frysinger <vapier@gentoo.org>
12690 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12692 2012-02-15 Roland McGrath <roland@hack.frob.com>
12695 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12697 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12698 (write, read, close): Likewise.
12699 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12701 2012-02-15 Joseph Myers <joseph@codesourcery.com>
12703 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12704 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12706 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12708 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12712 2012-02-14 Marek Polacek <polacek@redhat.com>
12714 * sysdeps/x86_64/crti.S: New file.
12715 * sysdeps/x86_64/crtn.S: New file.
12716 * sysdeps/x86_64/elf/initfini.c: Remove file.
12718 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12720 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12721 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12722 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12723 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12725 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12729 2012-02-13 Joseph Myers <joseph@codesourcery.com>
12731 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12732 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12734 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12736 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12740 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12742 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12743 __feraiseexcept instead of feraiseexcept.
12745 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12746 nanosleep invocations.
12747 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12748 strings, and add error checking for a nanosleep invocations.
12750 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12752 Replace FSF snail mail address with URLs, as per GNU coding standards.
12753 Most of the snail mail addresses were wrong anyway, and omitting
12754 them makes the source code easier to maintain. Almost all of the
12755 changes are to license notices and to locale LC_IDENTIFICATION
12756 addresses, except for this one:
12757 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12758 not its snail mail address.
12760 2012-02-09 Richard Henderson <rth@twiddle.net>
12762 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12763 of kernel-features.h.
12765 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12767 2012-02-08 Marek Polacek <polacek@redhat.com>
12769 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12770 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12771 * sysdeps/gnu/_G_config.h: Likewise.
12772 * sysdeps/generic/_G_config.h: Likewise.
12774 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12776 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12780 * sysdeps/powerpc/powerpc32/crti.S: New file.
12781 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12782 * sysdeps/powerpc/powerpc64/crti.S: New file.
12783 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12785 * Makeconfig (have-initfini): Don't set.
12786 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12787 * configure.in (nopic_initfini): Don't substitute.
12788 * config.h.in (HAVE_INITFINI): Don't #undef.
12789 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12790 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12792 2012-02-08 Joseph Myers <joseph@codesourcery.com>
12794 Support crti.S and crtn.S provided directly by architectures.
12795 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12796 [crti.S in sysdirs] (omit-deps): Likewise.
12797 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12798 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12799 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12800 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12801 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12802 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12803 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12804 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12805 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12806 compiler output for sysdeps/generic/initfini.c.
12807 * sysdeps/i386/elf/Makefile: Remove file.
12808 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12810 2012-02-07 Marek Polacek <polacek@redhat.com>
12812 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12813 * sysdeps/gnu/_G_config.h: Likewise.
12814 * sysdeps/mach/hurd/_G_config.h: Likewise.
12816 2012-02-07 Marek Polacek <polacek@redhat.com>
12818 * math/Makefile (tests): Add tst-CMPLX2.
12819 * math/tst-CMPLX2.c: New file.
12821 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12823 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12825 * math/libm-test.inc (jn_test): Add missing L suffix.
12827 2012-02-06 Marek Polacek <polacek@redhat.com>
12829 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12830 * sysdeps/i386/fpu/e_powf.S: Likewise.
12831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12832 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12834 * sysdeps/i386/fpu/e_pow.S: Likewise.
12835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12839 * sysdeps/i386/fpu/e_log2.S: Likewise.
12840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12842 * sysdeps/i386/fpu/e_powl.S: Likewise.
12843 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12846 * sysdeps/i386/fpu/e_logl.S: Likewise.
12847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12848 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12849 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12850 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12851 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12853 * sysdeps/i386/fpu/e_log.S: Likewise.
12854 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12855 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12856 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12857 * sysdeps/i386/fpu/e_logf.S: Likewise.
12858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12860 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12863 * sysdeps/i386/fpu/e_log10.S: Likewise.
12864 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12865 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12866 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12867 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12868 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12870 * sysdeps/i386/asm-syntax.h: Likewise.
12871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12874 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12875 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12876 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12877 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12878 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12879 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12880 * sysdeps/powerpc/sysdep.h: Likewise.
12881 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12884 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12887 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12889 2012-02-06 Joseph Myers <joseph@codesourcery.com>
12891 * sysdeps/i386/sysdep.h: Include <features.h>.
12892 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12895 2012-02-05 Joseph Myers <joseph@codesourcery.com>
12897 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12899 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12902 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12904 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12905 (SETUP_PIC_REG): Use GET_PC_THUNK.
12906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12909 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12911 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12912 for non-PIC compilation.
12913 (SETUP_PIC_REG): Add .p2align directive.
12914 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12915 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12916 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12918 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12920 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12928 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12929 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12930 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12931 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12932 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12933 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12956 2012-02-03 Joseph Myers <joseph@codesourcery.com>
12958 * math/tst-CMPLX.c: Include <stdio.h>.
12960 2012-01-31 Joseph Myers <joseph@codesourcery.com>
12962 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12964 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12965 * sysdeps/sparc/bits/mathdef.h: Likewise.
12967 2012-01-31 Marek Polacek <polacek@redhat.com>
12969 * libio/libio.h: Don't define _PARAMS.
12970 * locale/programs/config.h: Don't define PARAMS.
12971 * stdlib/strtol_l.c: Likewise.
12972 (__strtol_l): Remove PARAMS from the prototype.
12974 2012-01-31 Ulrich Drepper <drepper@gmail.com>
12976 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12977 names. Just use the correct names. Remove unnecessary wrapper
12979 * malloc/arena.c: Likewise.
12980 * malloc/hooks.c: Likewise.
12982 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12983 ARENA_TEST says not to. Simplify test for creation of a new arena.
12984 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12986 2012-01-30 Ulrich Drepper <drepper@gmail.com>
12988 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12990 (update_get_addr): New function.
12991 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12992 GET_ADDR_MODULE parameter.
12994 2012-01-30 Joseph Myers <joseph@codesourcery.com>
12996 * crypt/cert.c: Remove __STDC__ conditionals.
12997 * crypt/crypt-entry.c: Likewise.
12998 * crypt/crypt_util.c: Likewise.
12999 * libio/filedoalloc.c: Likewise.
13000 * libio/fileops.c: Likewise.
13001 * libio/genops.c: Likewise.
13002 * libio/iofclose.c: Likewise.
13003 * libio/iofdopen.c: Likewise.
13004 * libio/iofopen.c: Likewise.
13005 * libio/iofopen64.c: Likewise.
13006 * libio/iogetdelim.c: Likewise.
13007 * libio/iopopen.c: Likewise.
13008 * libio/obprintf.c: Likewise.
13009 * libio/oldfileops.c: Likewise.
13010 * libio/oldiofclose.c: Likewise.
13011 * libio/oldiofdopen.c: Likewise.
13012 * libio/oldiofopen.c: Likewise.
13013 * libio/oldiopopen.c: Likewise.
13014 * libio/wfiledoalloc.c: Likewise.
13015 * libio/wgenops.c: Likewise.
13016 * locale/programs/xmalloc.c: Likewise.
13017 * misc/syslog.c: Likewise.
13018 * stdio-common/xbug.c: Likewise.
13019 * string/memchr.c: Likewise.
13020 * string/memcmp.c: Likewise.
13021 * string/memrchr.c: Likewise.
13022 * string/rawmemchr.c: Likewise.
13023 * sysdeps/posix/getcwd.c: Likewise.
13024 * time/strftime_l.c: Likewise.
13026 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13028 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13029 * config.make.in (config-cflags-sse2avx): Define.
13030 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13033 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13035 * scripts/config.guess: Update from upstream config git repository.
13036 * scripts/config.sub: Likewise.
13038 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13040 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13042 (R_TILEPRO_*, R_TILEGX_*): New macros.
13044 * scripts/firstversions.awk: Fix bug in version range handling.
13046 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13048 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13050 * include/sys/epoll.h: New file.
13051 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13054 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13056 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13057 Avoid unnecessary __WORDSIZE == 64 test.
13058 (fmaxf): Use VEX format if possible.
13063 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13064 * math/math_private.h: Remove libc_fegetround* and
13066 * sysdeps/i386/configure.in: Check for -msse2avx.
13067 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13068 also if SSE2AVX is defined.
13069 Remove libc_fegetround* and libc_fesetround*.
13070 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13071 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13080 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13082 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13088 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13091 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13093 * Makeconfig (libm): Define.
13094 * elf/Makefile: Add rules to build and run tst-relsort1.
13095 * elf/tst-relsort1.c: New file.
13096 * elf/tst-relsort1mod1.c: New file.
13097 * elf/tst-relsort1mod2.c: New file.
13099 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13101 * math/s_ldexp.c: Remove __STDC__ conditionals.
13102 * math/s_ldexpf.c: Likewise.
13103 * math/s_ldexpl.c: Likewise.
13104 * math/s_nextafter.c: Likewise.
13105 * math/s_nexttowardf.c: Likewise.
13106 * math/s_significand.c: Likewise.
13107 * math/s_significandf.c: Likewise.
13108 * math/s_significandl.c: Likewise.
13109 * math/w_jnl.c: Likewise.
13110 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13111 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13112 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13113 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13114 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13132 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13133 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13134 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13135 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13142 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13146 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13150 * sysdeps/ieee754/k_standard.c: Likewise.
13151 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13214 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13217 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13225 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13226 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13230 * sysdeps/ieee754/s_matherr.c: Likewise.
13231 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13232 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13236 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13238 * crypt/md5.h: Remove __STDC__ conditionals.
13239 * libio/libioP.h: Likewise.
13240 * locale/programs/config.h: Likewise.
13241 * sysdeps/generic/sysdep.h: Likewise.
13242 * sysdeps/i386/asm-syntax.h: Likewise.
13243 * sysdeps/s390/asm-syntax.h: Likewise.
13244 * sysdeps/unix/sysdep.h: Likewise.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13248 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13250 * libio/libio.h: Remove __STDC__ conditionals.
13251 * malloc/obstack.h: Likewise.
13252 * math/complex.h: Likewise.
13253 * math/math.h: Likewise.
13254 * sysdeps/generic/_G_config.h: Likewise.
13255 * sysdeps/gnu/_G_config.h: Likewise.
13256 * sysdeps/mach/hurd/_G_config.h: Likewise.
13257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13258 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13259 * sysdeps/sparc/bits/mathdef.h: Likewise.
13261 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13264 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13265 Clean up HAS_* macros.
13266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13267 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13277 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13279 * elf/tst-unique3.cc (gets): Remove declaration.
13280 * elf/tst-unique3lib.cc (gets): Likewise.
13281 * elf/tst-unique3lib2.cc (gets): Likewise.
13282 * elf/tst-unique4.cc (gets): Likewise.
13284 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13286 * include/stdio.h: Add C++ protection. Add gets declarations and
13288 * debug/tst-chk1.c: Don't declare gets here.
13289 * stdio-common/tst-gets.c: Likewise.
13291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13293 * posix/glob: Remove directory.
13295 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13297 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13299 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13301 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13302 of the non-standard EPFNOSUPPORT.
13304 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13306 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13307 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13308 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13310 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13312 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13314 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13316 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13318 * nscd/grpcache.c (cache_addgr): Likewise.
13319 * nscd/hstcache.c (cache_addhst): Likewise.
13320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13321 * nscd/pwdcache.c (cache_addpw): Likewise.
13322 * nscd/servicescache.c (cache_addserv): Likewise.
13324 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13326 * malloc/malloc.c: Various cleanups.
13327 * malloc/hooks.c: Likewise.
13329 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13330 * stdlib/bug-fmtmsg1.c: New file.
13332 * stdlib/fmtmsg.c (init): Add missing unlock.
13333 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13335 2012-01-12 Marek Polacek <polacek@redhat.com>
13337 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13340 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13342 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13343 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13344 macro to ensure uniqueness of label name.
13345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13348 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13350 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13352 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13357 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13359 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13361 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13362 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13363 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13365 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13368 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13369 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13372 * math/bits/math-finite.h: Add ldexp support.
13374 2012-01-10 Marek Polacek <polacek@redhat.com>
13376 * locale/programs/localedef.h (show_archive_content): Add noreturn
13379 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13383 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13385 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13387 * io/Makefile (headers): Add bits/poll2.h.
13389 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13392 typo #include statement.
13394 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13396 * include/sys/cdefs.h: Define __attribute_alloc_size.
13397 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13398 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13399 * elf/pldd.c: Likewise.
13400 * iconv/iconv_charmap.c: Likewise.
13401 * iconv/iconvconfig.c: Likewise.
13402 * iconv/strtab.c: Likewise.
13403 * locale/programs/locale.c: Likewise.
13404 * locale/programs/localedef.h: Likewise.
13405 * locale/programs/simple-hash.c: Likewise.
13406 * nscd/nscd.h: Likewise.
13407 * nss/makedb.c: Likewise.
13408 * sysdeps/generic/ldconfig.h: Likewise.
13409 * locale/programs/localedef.c: Remove xmalloc prototype.
13410 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13412 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13414 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13417 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13419 * math/Makefile (tests): Add tst-CMPLX.
13420 * math/tst-CMPLX.c: New file.
13422 * math/complex.h (CMPLXL): Fix typo.
13424 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13425 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13427 * debug/tst-chk1.c: Add poll and ppoll tests.
13428 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13429 * include/sys/poll.h: Add hidden proto for ppoll.
13430 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13431 * sysdeps/mach/hurd/ppoll.c: Likewise.
13432 * io/ppoll.c: Likewise.
13433 * debug/poll_chk.c: New file.
13434 * debug/ppoll_chk.c: New file.
13435 * include/bits/poll2.h: New file.
13436 * io/bits/poll2.h: New file.
13439 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13441 * configure.in: static is always set to yes. Remove.
13442 * config.make.in: Don't set build-static.
13443 * Makeconfig: Remove use of build-static.
13444 * dlfcn/Makefile: Likewise.
13445 * elf/Makefile: Likewise.
13446 * math/Makefile: Likewise.
13447 * misc/Makefile: Likewise.
13448 * nptl/Makefile: Likewise.
13449 * sysdeps/mach/hurd/Makefile: Likewise.
13451 * configure.in: PWD_P is not used anymore.
13452 * config.make.in: Remove PWD_P entry.
13454 * configure.in: Remove last remnants of RANLIB.
13455 No need to check for signed size_t anymore.
13456 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13458 Remove __builtin_expect test because we require at least gcc 3.4.
13459 * aclocal.m4: Likewise.
13461 * wcsmbs/mbrtoc16.c: Implement using towc function.
13462 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13463 * wcsmbs/wcsmbsload.c: Likewise.
13464 * iconv/gconv_simple.c: Likewise.
13465 * iconv/gconv_int.h: Likewise.
13466 * iconv/gconv_builtin.h: Likewise.
13467 * iconv/iconv_prog.c: Remove CHAR16 handling.
13469 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13471 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13473 * configure.in: Remove --with-elf and --enable-bounded options.
13474 Dont set base_machine for ia64. More non-ELF conditions removed.
13475 Remove testing and setting of leading underscore information.
13476 * config.make.in (build-bounded): Set to no.
13477 * config.h.in: Remove NO_UNDERSCORES entry.
13478 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13480 * csu/start.c: Remove !NO_UNDERSCORE code.
13481 * locale/localeinfo.h: Likewise.
13482 * sysdeps/generic/machine-gmon.h: Likewise.
13483 * sysdeps/generic/sysdep.h: Likewise.
13484 * sysdeps/i386/sysdep.h: Likewise.
13485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13486 * sysdeps/mach/sysdep.h: Likewise.
13487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13489 * sysdeps/sh/sysdep.h: Likewise.
13490 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13491 * sysdeps/unix/i386/sysdep.S: Likewise.
13492 * sysdeps/unix/sparc/start.c: Likewise.
13493 * sysdeps/unix/sparc/sysdep.S: Likewise.
13494 * sysdeps/unix/sparc/sysdep.h: Likewise.
13495 * sysdeps/unix/start.c: Likewise.
13496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13497 * sysdeps/x86_64/sysdep.h: Likewise.
13499 2012-01-07 Ulrich Drepper <drepper@gmail.com>
13502 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13504 * argp/argp-fmtstream.h: Use const instead __const.
13505 * argp/argp.h: Likewise.
13506 * assert/assert.h: Likewise.
13507 * bits/fenv.h: Likewise.
13508 * bits/sched.h: Likewise.
13509 * bits/sigset.h: Likewise.
13510 * bits/sigthread.h: Likewise.
13511 * catgets/nl_types.h: Likewise.
13512 * conform/data/pthread.h-data: Likewise.
13513 * crypt/crypt-private.h: Likewise.
13514 * crypt/crypt.h: Likewise.
13515 * crypt/crypt_util.c: Likewise.
13516 * ctype/ctype.h: Likewise.
13517 * debug/execinfo.h: Likewise.
13518 * debug/mbsnrtowcs_chk.c: Likewise.
13519 * debug/mbsrtowcs_chk.c: Likewise.
13520 * debug/wcsnrtombs_chk.c: Likewise.
13521 * debug/wcsrtombs_chk.c: Likewise.
13522 * debug/wcstombs_chk.c: Likewise.
13523 * dirent/dirent.h: Likewise.
13524 * dlfcn/dlfcn.h: Likewise.
13525 * elf/neededtest4.c: Likewise.
13526 * grp/grp.h: Likewise.
13527 * gshadow/gshadow.h: Likewise.
13528 * iconv/gconv.h: Likewise.
13529 * iconv/gconv_int.h: Likewise.
13530 * iconv/gconv_simple.c: Likewise.
13531 * iconv/iconv.h: Likewise.
13532 * iconv/loop.c: Likewise.
13533 * iconv/skeleton.c: Likewise.
13534 * include/aio.h: Likewise.
13535 * include/aliases.h: Likewise.
13536 * include/argz.h: Likewise.
13537 * include/arpa/inet.h: Likewise.
13538 * include/assert.h: Likewise.
13539 * include/dirent.h: Likewise.
13540 * include/dlfcn.h: Likewise.
13541 * include/execinfo.h: Likewise.
13542 * include/fcntl.h: Likewise.
13543 * include/fenv.h: Likewise.
13544 * include/glob.h: Likewise.
13545 * include/grp.h: Likewise.
13546 * include/libintl.h: Likewise.
13547 * include/mntent.h: Likewise.
13548 * include/netdb.h: Likewise.
13549 * include/pwd.h: Likewise.
13550 * include/rpc/netdb.h: Likewise.
13551 * include/sched.h: Likewise.
13552 * include/search.h: Likewise.
13553 * include/shadow.h: Likewise.
13554 * include/signal.h: Likewise.
13555 * include/stdio.h: Likewise.
13556 * include/stdlib.h: Likewise.
13557 * include/string.h: Likewise.
13558 * include/sys/socket.h: Likewise.
13559 * include/sys/stat.h: Likewise.
13560 * include/sys/statfs.h: Likewise.
13561 * include/sys/statvfs.h: Likewise.
13562 * include/sys/syslog.h: Likewise.
13563 * include/sys/time.h: Likewise.
13564 * include/sys/uio.h: Likewise.
13565 * include/time.h: Likewise.
13566 * include/unistd.h: Likewise.
13567 * include/utmp.h: Likewise.
13568 * include/wchar.h: Likewise.
13569 * include/wctype.h: Likewise.
13570 * inet/aliases.h: Likewise.
13571 * inet/arpa/inet.h: Likewise.
13572 * inet/netinet/ether.h: Likewise.
13573 * inet/netinet/in.h: Likewise.
13574 * intl/libintl.h: Likewise.
13575 * io/bits/fcntl2.h: Likewise.
13576 * io/fcntl.h: Likewise.
13577 * io/ftw.h: Likewise.
13578 * io/sys/poll.h: Likewise.
13579 * io/sys/stat.h: Likewise.
13580 * io/sys/statfs.h: Likewise.
13581 * io/sys/statvfs.h: Likewise.
13582 * io/utime.h: Likewise.
13583 * libio/bits/stdio.h: Likewise.
13584 * libio/bits/stdio2.h: Likewise.
13585 * libio/libio.h: Likewise.
13586 * libio/libioP.h: Likewise.
13587 * libio/stdio.h: Likewise.
13588 * locale/lc-ctype.c: Likewise.
13589 * locale/locale.h: Likewise.
13590 * login/utmp.h: Likewise.
13591 * malloc/arena.c: Likewise.
13592 * malloc/malloc.c: Likewise.
13593 * malloc/malloc.h: Likewise.
13594 * malloc/mcheck.c: Likewise.
13595 * malloc/mtrace.c: Likewise.
13596 * math/bits/mathcalls.h: Likewise.
13597 * math/fenv.h: Likewise.
13598 * math/math_private.h: Likewise.
13599 * misc/bits/error.h: Likewise.
13600 * misc/bits/syslog.h: Likewise.
13601 * misc/err.h: Likewise.
13602 * misc/error.h: Likewise.
13603 * misc/fstab.h: Likewise.
13604 * misc/mntent.h: Likewise.
13605 * misc/regexp.h: Likewise.
13606 * misc/search.h: Likewise.
13607 * misc/sgtty.h: Likewise.
13608 * misc/sys/mman.h: Likewise.
13609 * misc/sys/syslog.h: Likewise.
13610 * misc/sys/uio.h: Likewise.
13611 * misc/sys/xattr.h: Likewise.
13612 * misc/ttyent.h: Likewise.
13613 * nis/rpcsvc/ypclnt.h: Likewise.
13614 * nss/nss.h: Likewise.
13615 * posix/bits/unistd.h: Likewise.
13616 * posix/fnmatch.h: Likewise.
13617 * posix/glob.h: Likewise.
13618 * posix/sched.h: Likewise.
13619 * posix/spawn.h: Likewise.
13620 * posix/sys/wait.h: Likewise.
13621 * posix/unistd.h: Likewise.
13622 * posix/wordexp.h: Likewise.
13623 * pwd/pwd.h: Likewise.
13624 * resolv/netdb.h: Likewise.
13625 * resource/sys/resource.h: Likewise.
13626 * rt/aio.h: Likewise.
13627 * rt/bits/mqueue2.h: Likewise.
13628 * rt/mqueue.h: Likewise.
13629 * shadow/shadow.h: Likewise.
13630 * signal/signal.h: Likewise.
13631 * socket/send.c: Likewise.
13632 * socket/sendto.c: Likewise.
13633 * socket/sys/socket.h: Likewise.
13634 * stdio-common/printf.h: Likewise.
13635 * stdlib/bits/stdlib.h: Likewise.
13636 * stdlib/fmtmsg.h: Likewise.
13637 * stdlib/monetary.h: Likewise.
13638 * stdlib/stdlib.h: Likewise.
13639 * stdlib/ucontext.h: Likewise.
13640 * streams/stropts.h: Likewise.
13641 * string/argz.h: Likewise.
13642 * string/bits/string2.h: Likewise.
13643 * string/string.h: Likewise.
13644 * string/strings.h: Likewise.
13645 * sunrpc/rpc/auth.h: Likewise.
13646 * sunrpc/rpc/auth_des.h: Likewise.
13647 * sunrpc/rpc/clnt.h: Likewise.
13648 * sunrpc/rpc/netdb.h: Likewise.
13649 * sunrpc/rpc/pmap_clnt.h: Likewise.
13650 * sunrpc/rpc/xdr.h: Likewise.
13651 * sysdeps/generic/inttypes.h: Likewise.
13652 * sysdeps/generic/net/if.h: Likewise.
13653 * sysdeps/generic/sys/swap.h: Likewise.
13654 * sysdeps/gnu/net/if.h: Likewise.
13655 * sysdeps/gnu/utmpx.h: Likewise.
13656 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13657 * sysdeps/i386/i486/bits/string.h: Likewise.
13658 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13659 * sysdeps/s390/bits/string.h: Likewise.
13660 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13661 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13662 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13663 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13664 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13665 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13666 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13667 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13668 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13670 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13671 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13672 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13673 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13674 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13682 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13683 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13684 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13685 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13686 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13688 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13690 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13691 * sysvipc/sys/ipc.h: Likewise.
13692 * sysvipc/sys/msg.h: Likewise.
13693 * sysvipc/sys/sem.h: Likewise.
13694 * sysvipc/sys/shm.h: Likewise.
13695 * termios/termios.h: Likewise.
13696 * time/sys/time.h: Likewise.
13697 * time/time.h: Likewise.
13698 * wcsmbs/bits/wchar2.h: Likewise.
13699 * wcsmbs/uchar.h: Likewise.
13700 * wcsmbs/wchar.h: Likewise.
13701 * wctype/wctype.h: Likewise.
13704 * Makeconfig: Remove all but ELF support including AIX support.
13705 * Makerules: Likewise.
13706 * config.h.in: Likewise.
13707 * config.make.in: Likewise.
13708 * configure: Likewise.
13709 * configure.in: Likewise.
13710 * csu/Makefile: Likewise.
13711 * csu/version.c: Likewise.
13712 * debug/Makefile: Likewise.
13713 * dlfcn/Makefile: Likewise.
13714 * elf/Makefile: Likewise.
13715 * extra-lib.mk: Likewise.
13716 * iconv/Makefile: Likewise.
13717 * include/libc-symbols.h: Likewise.
13718 * include/shlib-compat.h: Likewise.
13719 * resolv/Makefile: Likewise.
13720 * resolv/res_libc.c: Likewise.
13721 * rt/Makefile: Likewise.
13722 * sysdeps/i386/asm-syntax.h: Likewise.
13723 * sysdeps/i386/sysdep.h: Likewise.
13724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13725 * sysdeps/mach/sysdep.h: Likewise.
13726 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13727 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13728 * sysdeps/s390/asm-syntax.h: Likewise.
13729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13731 * sysdeps/sh/sysdep.h: Likewise.
13732 * sysdeps/unix/sparc/sysdep.h: Likewise.
13733 * sysdeps/wordsize-32/divdi3.c: Likewise.
13734 * sysdeps/x86_64/sysdep.h: Likewise.
13736 * argp/Versions: Remove _argp_unlock_xxx.
13739 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13740 * abilist/libBrokenLocale.abilist: Likewise.
13741 * abilist/libanl.abilist: Likewise.
13742 * abilist/libc.abilist: Likewise.
13743 * abilist/libcrypt.abilist: Likewise.
13744 * abilist/libdl.abilist: Likewise.
13745 * abilist/libm.abilist: Likewise.
13746 * abilist/libnsl.abilist: Likewise.
13747 * abilist/libpthread.abilist: Likewise.
13748 * abilist/libresolv.abilist: Likewise.
13749 * abilist/librt.abilist: Likewise.
13750 * abilist/libthread_db.abilist: Likewise.
13751 * abilist/libutil.abilist: Likewise.
13752 * abilist/libnss_db.abilist: New file.
13754 * scripts/abilist.awk: Add support for indirect functions.
13756 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13758 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13760 * shlib-versions: Remove entries for ports architectures.
13762 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13764 * elf/stackguard-macros.h: Remove support for IA-64.
13765 * elf/tst-auditmod1.c: Likewise.
13766 * sysdeps/generic/ldsodefs.h: Likewise.
13768 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13769 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13773 * configure.in: Remove --enable-omitfp support.
13775 * config.make.in: Likewise.
13776 * Makeconfig: Likewise.
13777 * manual/install.texi: Likewise.
13779 In case anyone cares, the IA-64 architecture could move to ports.
13780 * sysdeps/ia64/*: Removed.
13781 * sysdeps/unix/sysv/linux/ia64/*: Removed.
13782 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
13785 * configure.in: Remove entries for unsupported architectures.
13788 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13789 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13791 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13792 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13793 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13794 fall back to using wcrtomb.
13795 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13796 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13798 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13799 * wcsmbs/tst-c16c32-1.c: New file.
13801 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13804 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13806 * elf/tst-unique3.cc: Add explicit declaration of gets.
13807 * elf/tst-unique3lib.cc: Likewise.
13808 * elf/tst-unique3lib2.cc: Likewise.
13809 * elf/tst-unique4.cc: Likewise.
13811 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13813 2012-01-06 Joseph Myers <joseph@codesourcery.com>
13816 * assert/assert.h (static_assert): Don't define for C++.
13817 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13818 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13820 2012-01-03 Ulrich Drepper <drepper@gmail.com>
13822 * iconv/loop.c (single loop): Fix assertion in storing of
13825 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13827 2012-01-01 Ulrich Drepper <drepper@gmail.com>
13829 * posix/getconf.c: Update copyright year.
13830 * nss/getent.c: Likewise.
13831 * nss/makedb.c: Likewise.
13832 * iconv/iconvconfig.c: Likewise.
13833 * iconv/iconv_prog.c: Likewise.
13834 * elf/ldconfig.c: Likewise.
13835 * elf/pldd.c: Likewise.
13836 * elf/sotruss.ksh: Likewise.
13837 * catgets/gencat.c: Likewise.
13838 * csu/version.c: Likewise.
13839 * elf/ldd.bash.in: Likewise.
13840 * elf/sprof.c (print_version): Likewise.
13841 * locale/programs/locale.c: Likewise.
13842 * locale/programs/localedef.c: Likewise.
13843 * login/programs/pt_chown.c: Likewise.
13844 * nscd/nscd.c (print_version): Likewise.
13845 * debug/xtrace.sh: Likewise.
13846 * malloc/memusage.sh: Likewise.
13847 * malloc/mtrace.pl: Likewise.
13848 * debug/catchsegv.sh: Likewise.
13850 2011-12-30 Jakub Jelinek <jakub@redhat.com>
13852 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13855 2011-12-24 Ulrich Drepper <drepper@gmail.com>
13858 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13859 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13861 * iconv/gconv_int.h: Likewise.
13862 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13863 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13864 from libc for GLIBC_2.16.
13865 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13866 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13867 * wcsmbs/uchar.h: Really define mbstate_t.
13868 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13869 * wcsmbs/c16rtomb.c: New file.
13870 * wcsmbs/mbrtoc16.c: New file.
13871 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13872 for C/POSIX locale.
13873 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13874 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13876 * wcsmbs/wchar.h: Add missing __restrict.
13878 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13881 * time/Makefile (routines): Add timespec_get.
13882 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13883 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13884 timespec for ISO C11.
13885 * time/timespec_get.c: New file.
13886 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13887 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13890 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13891 * stdlib/stdlib.h: Declare aligned_alloc.
13892 * Versions.def: Add GLIBC_2.16 for libc.
13893 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13896 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13899 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
13903 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13906 * assert/assert.h (static_assert): Define.
13908 * version.h: Update for 2.16 development version.
13911 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13914 * version.h (RELEASE): Bump for 2.15 release.
13915 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13917 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13918 Patch by Marek Polacek <mpolacek@redhat.com>.
13920 * bits/byteswap.h: Protect long long constants with __extension__.
13921 * sysdeps/i386/bits/byteswap.h: Likewise.
13922 * sysdeps/ia64/bits/byteswap.h: Likewise.
13923 * sysdeps/s390/bits/byteswap.h: Likewise.
13924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13926 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13929 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13930 destination buffer.
13931 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13933 2011-12-23 Marek Polacek <polacek@redhat.com>
13935 * elf/dl-addr.c (determine_info): Add inline keyword.
13936 * elf/tst-auditmod4b.c (check_avx): Likewise.
13937 * elf/tst-auditmod6b.c (check_avx): Likewise.
13938 * elf/tst-auditmod6c.c (check_avx): Likewise.
13939 * elf/tst-auditmod7b.c (check_avx): Likewise.
13941 2011-12-23 Ulrich Drepper <drepper@gmail.com>
13943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13946 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13949 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13950 processing for last bytes.
13952 2011-08-06 Bruno Haible <bruno@clisp.org>
13955 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13956 U+0385, not to U+1FEE.
13959 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13960 entry for U+00A5 U+0301.
13962 2011-12-22 Ulrich Drepper <drepper@gmail.com>
13965 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13966 buffer for the output is too small.
13968 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13972 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13973 SSE flags if possible.
13975 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13979 processing for last bytes.
13981 2011-12-22 Joseph Myers <joseph@codesourcery.com>
13983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13984 (syscall-list-default-options, syscall-list-default-condition)
13985 (syscall-list-includes): Define.
13986 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13987 list of ABIs and options and #if conditions for each ABI. Do not
13988 handle common syscalls between ABIs specially.
13989 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13991 (syscall-list-variants, syscall-list-32bit-options)
13992 (syscall-list-32bit-condition, syscall-list-64bit-options)
13993 (syscall-list-64bit-condition): Define.
13994 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13995 (syscall-list-variants, syscall-list-32bit-options)
13996 (syscall-list-32bit-condition, syscall-list-64bit-options)
13997 (syscall-list-64bit-condition): Define.
13998 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14000 (syscall-list-variants, syscall-list-32bit-options)
14001 (syscall-list-32bit-condition, syscall-list-64bit-options)
14002 (syscall-list-64bit-condition): Define.
14003 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14005 (syscall-list-variants, syscall-list-32bit-options)
14006 (syscall-list-32bit-condition, syscall-list-64bit-options)
14007 (syscall-list-64bit-condition): Define.
14009 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14011 * locale/iso-639.def: Add brx entry.
14014 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14015 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14017 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14018 __feraiseexcept_renamed.
14020 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14023 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14024 EPOLLET with unsigned values.
14025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14028 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14029 to large cancellation.
14030 * math/s_cacoshf.c: Likewise.
14031 * math/s_cacoshl.c: Likewise.
14033 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14037 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14038 * math/s_cacoshf.c: Likewise.
14039 * math/s_cacoshl.c: Likewise.
14041 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14044 * iconv/gconv.h: Define __GCONV_SWAP.
14045 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14046 * iconvdata/utf-16.c: Likewise.
14047 * iconvdata/utf-32.c: Likewise.
14049 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14053 numerator after shifting it by one limb.
14055 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14058 under [__USE_EXTERN_INLINES].
14060 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14063 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14065 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14067 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14068 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14070 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14071 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14072 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14073 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14074 for strncasecmp/strncasecmp_l compilation.
14075 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14076 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14078 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14081 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14084 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14087 * time/tzfile.c (__tzfile_read): Check values from file header.
14089 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14091 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14092 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14093 * powerpc/powerpc32/dl-start.S: Likewise.
14094 * powerpc/powerpc32/elf/start.S: Likewise.
14095 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14096 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14097 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14098 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14099 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14100 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14101 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14102 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14103 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14104 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14105 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14106 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14107 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14108 * powerpc/powerpc32/memset.S: Likewise.
14109 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14110 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14111 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14112 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14113 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14114 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14115 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14116 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14117 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14118 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14119 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14120 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14121 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14123 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14125 * math/libm-test.inc: Added more nearbyint tests.
14126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14127 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14129 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14131 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14133 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14136 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14138 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14139 Add wcscpy-ssse3 wcscpy-c.
14140 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14141 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14142 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14143 * sysdeps/x86_64/wcschr.S: New file.
14144 * sysdeps/x86_64/wcsrchr.S: New file.
14145 * string/test-strcmp.c: Remove checking of wcscmp function for
14147 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14148 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14149 wcsrchr-sse2 wcsrchr-c.
14150 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14151 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14152 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14153 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14154 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14155 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14156 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14159 * wcsmbc/wcschr.c (WCSCHR): New macro.
14161 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14163 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14164 * wcsmbs/test-wcsrchr.c: New file.
14165 * string/test-strrchr.c: Add wcsrchr support.
14167 * wcsmbs/test-wcscpy.c: New file.
14168 * string/test-strcpy.c: Add wcscpy support.
14171 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14173 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14176 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14179 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14181 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14183 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14184 Minor optimizations.
14186 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14187 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14188 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14190 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14192 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14193 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14194 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14195 for gcc to avoid warnings.
14196 * inet/Makefile (tests): Add tst-checks.
14197 * inet/tst-checks.c: New file.
14199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14202 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14205 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14206 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14208 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14210 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14212 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14215 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14217 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14219 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14220 conditional on GCC version.
14221 (__arch_compare_and_exchange_val_8_acq)
14222 (__arch_compare_and_exchange_val_16_acq)
14223 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14224 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14225 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14227 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14229 * sysdeps/sh/backtrace.c: New file.
14231 2011-12-02 Andreas Schwab <schwab@redhat.com>
14233 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14236 2011-12-01 Andreas Schwab <schwab@redhat.com>
14238 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14239 falling back to utime.
14241 2011-11-30 Andreas Schwab <schwab@redhat.com>
14243 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14244 expectations for float.
14246 2011-11-29 Andreas Schwab <schwab@redhat.com>
14248 * locale/weight.h (findidx): Add parameter len.
14249 * locale/weightwc.h (findidx): Likewise.
14250 * posix/fnmatch_loop.c (FCT): Adjust caller.
14251 * posix/regcomp.c (build_equiv_class): Likewise.
14252 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14253 * posix/regexec.c (check_node_accept_bytes): Likewise.
14254 * string/strcoll_l.c (STRCOLL): Likewise.
14255 * string/strxfrm_l.c (STRXFRM): Likewise.
14257 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14259 * Makefile.in: Remove CVSOPT handling.
14260 * configure.in: Remove use of AC_REVISION.
14261 * iconvdata/Makefile (distribute): No need to filter out CVS.
14262 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14265 2011-11-16 Andreas Schwab <schwab@redhat.com>
14267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14268 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14269 [USE_AS_STRNCASECMP_L]: Likewise.
14270 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14271 NO_TLS_DIRECT_SEG_REFS.
14272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14273 Fix argument offsets for non-PIC.
14274 [USE_AS_STRNCASECMP_L]: Likewise.
14275 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14276 NO_TLS_DIRECT_SEG_REFS.
14278 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14280 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14282 * locale/loadlocale.c (_nl_load_locale): Likewise.
14284 2011-11-15 Andreas Schwab <schwab@redhat.com>
14286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14287 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14289 (SYSCALL_GETTIME): Set errno on error.
14291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14292 count references to noai6ai_cached.
14294 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14296 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14298 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14299 FD_CLOEXEC for /proc/self/maps.
14301 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14302 FD_CLOEXEC for /proc/meminfo.
14304 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14307 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14308 FD_CLOEXEC for given file.
14310 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14312 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14313 FD_CLOEXEC for /etc/hosts.
14314 (_gethtent): Likewise.
14316 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14319 cancellation and set FD_CLOEXEC for /etc/netgroup.
14321 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14322 reading /etc/publickey.
14324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14325 allow cancellation when reading /etc/group.
14327 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14329 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14331 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14332 when using data file.
14334 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14336 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14337 (write_nis_obj): Use "c" and "e" in fopen.
14339 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14341 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14343 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14345 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14347 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14350 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14352 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14354 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14356 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14357 file parsing and set FD_CLOEXEC.
14359 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14361 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14363 2011-11-14 Andreas Schwab <schwab@redhat.com>
14365 * malloc/arena.c (arena_get2): Don't call reused_arena when
14366 _int_new_arena failed.
14368 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14370 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14371 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14373 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14376 to compile strcasecmp and strncasecmp.
14377 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14378 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14382 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14384 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14385 locale-defines.sym to gen-as-const-headers.
14386 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14387 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14389 to compile strcasecmp and strncasecmp.
14390 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14391 strcasecmp_l and strncasecmp_l.
14392 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14393 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14394 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14396 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14398 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14399 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14400 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14401 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14402 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14404 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14406 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14407 result of SYSDEP_GETTIME_CPU to retval.
14408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14409 parameter list to macro. Remove trailing semicolon. Adjust users.
14411 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14414 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14419 from unused variable.
14421 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14423 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14426 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14429 * sunrpc/rpc_prot.c (rejected): Fix case value.
14431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14432 unsigned long long int to avoid warnings in shift.
14434 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14436 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14439 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14440 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14443 * nis/nis_table.c (nis_list): Use variable of correct type for
14444 result of __follow_path call.
14446 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14448 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14449 of math functions ceil, trunc, floor, round, and sqrt, when
14450 avaliable on the platform.
14451 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14453 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14454 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14455 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14457 2011-10-30 Marek Polacek <mpolacek@redhat.com>
14459 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14462 2011-11-11 Roland McGrath <roland@hack.frob.com>
14464 * include/unistd.h: Fix __readlink return type.
14465 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14467 2011-11-11 Ulrich Drepper <drepper@gmail.com>
14469 * stdlib/ucontext.h: Undo last change for makecontext.
14471 2011-11-11 Andreas Schwab <schwab@redhat.com>
14473 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14475 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14476 * setjmp/setjmp.h: Mark functions as non-leaf.
14477 * setjmp/bits/setjmp2.h: Likewise.
14478 * stdlib/ucontext.h: Likewise.
14480 2011-11-10 Andreas Schwab <schwab@redhat.com>
14482 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14483 (reused_arena): Don't check arena limit.
14484 (arena_get2): Atomically check arena limit.
14486 2011-11-08 Ulrich Drepper <drepper@gmail.com>
14488 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14489 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14494 2011-11-07 Andreas Schwab <schwab@redhat.com>
14496 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14497 handler when locking.
14499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14500 Fix size of allocated buffer.
14502 2011-11-04 Andreas Schwab <schwab@redhat.com>
14505 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14506 declarations for long double functions.
14507 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14509 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14511 2011-11-03 Andreas Schwab <schwab@redhat.com>
14513 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14516 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14519 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14521 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14523 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14525 * include/alloca.h (stackinfo_alloca_round): Define.
14526 (extend_alloca): Use it.
14527 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14528 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14531 * scripts/check-local-headers.sh: Ignore libaudit.h.
14533 * nscd/Makefile (extra-objs): Make recursively expanded.
14535 2011-11-01 Ulrich Drepper <drepper@gmail.com>
14537 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14540 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14541 * posix/tst-rfc3484-2.c: Likewise.
14542 * posix/tst-rfc3484-3.c: Likewise.
14544 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14546 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14548 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14549 process_vm_writev from libc using GLIBC_2.15 version.
14551 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14553 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14555 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14558 2011-10-31 Ulrich Drepper <drepper@gmail.com>
14561 * nss/getent.c (initgroups_keys): Show error message in case no group
14564 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14565 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14566 __bump_nl_timestamp.
14567 * nscd/connections (nscd_init): When host database is served open
14568 netlink socket and request notification about configuration changes.
14569 (main_loop_poll): Track netlink file descriptor and bump timestamp
14570 in case data becomes available.
14571 (main_loop_epoll): Likewise.
14572 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14573 (database_pers_head): Add extra_data fileds.
14574 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14576 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14578 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14579 in6ai data, call __free_in6ai.
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14581 Add -DHAVE_NETLINK.
14582 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14583 interface information. Reuse previous data if netlink timestamp
14585 (__bump_nl_timestamp): New function.
14586 (__free_in6ai): New function.
14588 2011-10-30 Ulrich Drepper <drepper@gmail.com>
14590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14591 close_not_cancel_no_status here.
14592 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14594 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14597 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14600 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
14601 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14602 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14604 2011-07-03 Andreas Jaeger <aj@suse.de>
14607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14608 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14609 * math/libm-test.inc (sin_test): Add test case.
14611 2011-10-29 Ulrich Drepper <drepper@gmail.com>
14614 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14617 * elf/chroot_canon.c (chroot_canon): Cleanups.
14619 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14622 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14625 * string/test-strchr.c: Make usable for strchrnul testing.
14626 * string/test-strchrnul.c: New file.
14627 * string/Makefile (strop-tests): Add strchrnul.
14629 * po/it.po: Update from translation team.
14630 * po/es.po: Likewise.
14632 2011-10-28 Ulrich Drepper <drepper@gmail.com>
14634 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14635 the three constants needed as parameters. Drop the others.
14636 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14637 __m128i_strloadu_tolower.
14638 Create and initialize variable zero and use it in all the places
14639 where _mm_setzero_si128 was used.
14641 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14642 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14643 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14649 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14650 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14651 __mpranred, __mptan.
14652 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14653 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14654 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14655 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14656 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14657 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14658 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14659 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14662 2011-10-28 Andreas Schwab <schwab@redhat.com>
14664 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14665 redefine if SHARED.
14666 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14669 wide char related routines to wcsmbs subdir.
14671 2011-10-27 Andreas Schwab <schwab@redhat.com>
14674 * misc/sys/cdefs.h (__THROWNL): Define.
14675 * posix/unistd.h: Use __THREADNL instead of __THREAD
14676 for memory synchronization functions.
14678 2011-10-26 Roland McGrath <roland@hack.frob.com>
14681 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14683 * manual/stdio.texi (Obstack Streams): Node removed.
14685 2011-10-26 Andreas Schwab <schwab@redhat.com>
14687 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14688 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14691 * math/math_private.h (math_force_eval): Allow non-addressable
14693 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14695 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14698 file is not needed.
14700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14703 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14704 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14706 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14707 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14709 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14710 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14711 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14712 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14714 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14715 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14716 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14719 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14720 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14723 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14724 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14727 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14729 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14730 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14733 place. Use VEX encoding when compiling for AVX.
14735 2011-10-25 Andreas Schwab <schwab@redhat.com>
14737 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14738 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14740 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14742 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14744 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
14745 useless if() expression.
14746 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14766 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14768 2011-10-25 Andreas Schwab <schwab@redhat.com>
14770 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14772 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14774 2011-10-25 Ulrich Drepper <drepper@gmail.com>
14776 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14777 .text section. Avoid duplicate constants.
14778 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14790 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14793 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14801 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14802 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14803 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14804 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14805 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14809 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14810 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14811 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14812 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14813 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14814 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14816 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14817 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14824 2011-10-24 Ulrich Drepper <drepper@gmail.com>
14826 * sysdeps/x86_64/dla.h: Move to ...
14827 * sysdeps/x86_64/fpu/dla.h: ...here.
14828 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14829 situations. Use __builtin_fma only for gcc 4.6 and up.
14831 * config.make.in: Add have-mfma4 entry.
14832 * configure.in: Substitute libc_cv_cc_fma4.
14833 * math/Makefile (dbl-only-routines): Add sincostab.
14834 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14835 Use __sincostab not sincos.
14836 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14843 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14844 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14845 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14846 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14849 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14851 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14852 define aliases when function name is a macro.
14853 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14854 sysdeps/ieee754/dbl-64/sincos.tbl.
14855 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14856 fma4-enabled routines.
14857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14862 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14867 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14868 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14879 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14883 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14888 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14899 2011-10-24 Andreas Schwab <schwab@redhat.com>
14901 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14903 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14907 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14911 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14912 Remove unused variable magic_bits.
14913 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14915 * string/strnlen.c: Define and use STRNLEN macro.
14916 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14917 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14919 * wcsmbs/wcslen.c: Define and use WCSLEN.
14920 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14921 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14922 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14923 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14924 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14925 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14926 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14928 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14931 strnlen-sse2-no-bsf.
14932 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14934 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14935 Add strnlen support.
14936 (USE_AS_STRNLEN): New macro.
14937 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14939 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14940 * sysdeps/x86_64/wcslen.S: New file.
14942 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14945 XMM-moves are used for copying on small sizes.
14947 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14949 * wcsmbs/Makefile (strop-tests): Add wcschr.
14950 * wcsmbs/test-wcschr.c: New file.
14951 * string/test-strchr.c: Update.
14952 Add wcschr support.
14955 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14957 * wcsmbs/Makefile (strop-tests): Add wcslen.
14958 * wcsmbs/test-wcslen.c: New file.
14959 * string/test-strlen.c: Update.
14960 Add wcslen support.
14963 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14965 * po/it.po: Update from translation team.
14967 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14969 * sysdeps/x86_64/wcscmp.S: Update.
14970 Fix wrong comparison semantics.
14971 wcscmp shall use signed comparison not unsigned.
14972 Don't use substraction to avoid overflow bug.
14973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14974 * wcsmbc/wcscmp.c: Likewise.
14975 * string/test-strcmp.c: Likewise.
14976 Add new tests to check cases with negative values.
14978 2011-10-23 Ulrich Drepper <drepper@gmail.com>
14980 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14981 * sysdeps/x86_64/dla.h: ...here. New file.
14982 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14992 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14995 __ynl_finite aliases.
14997 2011-10-22 Ulrich Drepper <drepper@gmail.com>
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15001 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15003 [DLA_FMA] (EMULV): Use DLA_FMA.
15004 [DLA_FMA] (MUL12): Use EMULV.
15005 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15006 that are not needed.
15007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15015 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15017 * math/s_nan.c: Undef __nan.
15018 * math/s_nanf.c: Undef __nanf.
15019 * math/s_nanl.c: Undef __nanl.
15020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15023 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15025 * math/s_catan.c: Add branch predictions.
15026 * math/s_catanf.c: Likewise.
15027 * math/s_catanh.c: Likewise.
15028 * math/s_catanhf.c: Likewise.
15029 * math/s_catanhl.c: Likewise.
15030 * math/s_catanl.c: Likewise.
15031 * math/s_cexp.c: Likewise.
15032 * math/s_cexpf.c: Likewise.
15033 * math/s_cexpl.c: Likewise.
15034 * math/s_clog.c: Likewise.
15035 * math/s_clog10.c: Likewise.
15036 * math/s_clog10f.c: Likewise.
15037 * math/s_clog10l.c: Likewise.
15038 * math/s_clogf.c: Likewise.
15039 * math/s_clogl.c: Likewise.
15040 * math/s_csqrt.c: Likewise.
15041 * math/s_csqrtf.c: Likewise.
15042 * math/s_csqrtl.c: Likewise.
15043 * math/s_ctanf.c: Likewise.
15044 * math/s_ctanh.c: Likewise.
15045 * math/s_ctanhf.c: Likewise.
15046 * math/s_ctanhl.c: Likewise.
15047 * math/s_ctanl.c: Likewise.
15049 * math/math_private.h: Define __nan, __nanf, __nanl.
15050 * math/s_cacosh.c: Include <math_private.h>.
15051 * math/s_cacoshl.c: Likewise.
15052 * math/s_casinh.c: Likewise.
15053 * math/s_casinhf.c: Likewise.
15054 * math/s_casinhl.c: Likewise.
15055 * math/s_ccos.c: Rely entire on ccosh.
15056 * math/s_ccosf.c: Rely entire on ccoshf.
15057 * math/s_ccosl.c: Rely entirely on ccoshl.
15058 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15059 Remove tests for FE_INVALID.
15060 * math/s_ccoshf.c: Likewise.
15061 * math/s_ccoshl.c: Likewise.
15062 * math/s_csin.c: Likewise.
15063 * math/s_csinf.c: Likewise.
15064 * math/s_csinh.c Likewise.
15065 * math/s_csinhf.c: Likewise.
15066 * math/s_csinhl.c: Likewise.
15067 * math/s_csinl.c: Likewise.
15068 * math/s_ctan.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15070 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15073 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15076 compilation problems.
15078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15081 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15083 * sysdeps/i386/configure.in: Test for -mfma4 option.
15084 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15085 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15086 COMMON_CPUID_INDEX_80000001.
15087 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15088 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15089 use it if FMA3 is not supported.
15090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15092 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15093 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15095 2011-10-20 Andreas Schwab <schwab@redhat.com>
15098 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15099 it would create a cycle with a link time dependency.
15101 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15103 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15105 * string/Makefile (strop-tests): Add rawmemchr.
15106 * string/test-rawmemchr.c: New file.
15108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15110 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15111 when compiling str{,n}casecmp and when AVX is available. Hook up
15112 new optimized code in initializers.
15114 2011-10-19 Andreas Schwab <schwab@redhat.com>
15116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15117 __feraiseexcept instead of feraiseexcept.
15119 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15121 * math/math_private.h: Define defaults for libc_fetestexcept and
15123 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15124 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15125 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15126 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15129 libc_fetestexcept and libc_feupdateenv.
15131 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15132 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15133 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15134 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15135 libc_feholdexcept_setround.
15137 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15138 Add s_nearbyint-c and s_nearbyintf-c.
15139 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15140 nearbyintf inlines.
15141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15142 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15144 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15146 * math/math_private.h: Define defaults for libc_fegetround,
15147 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15148 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15149 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15150 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15151 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15152 standard functions.
15153 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15154 Remove comments and hacks for old compiler versions.
15155 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15156 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15157 libc_feholdexceptl.
15159 2011-10-18 Andreas Schwab <schwab@redhat.com>
15161 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15162 (__feraiseexcept_renamed): Add __NTH.
15163 (feraiseexcept): Add __NTH. Rename local variables to fix
15164 namespace violations.
15166 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15172 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15173 recently added interfaces.
15174 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15176 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15177 about macro parameter expansion.
15179 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15180 __NO_MATH_INLINES is defined. Cleanups.
15182 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15183 and __floorf is target has SSE4.1.
15184 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15185 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15186 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15189 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15191 (floorf): Likewise.
15193 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15195 2011-10-17 Andreas Schwab <schwab@redhat.com>
15197 * misc/sys/cdefs.h: Fix last change.
15199 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15202 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15204 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15206 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15212 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15213 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15214 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15216 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15217 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15218 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15219 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15221 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15223 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15224 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15225 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15227 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15230 ceil, ceilf, floor, floorf.
15232 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15233 Perform IRELATIVE relocations last.
15235 * elf/do-rel.h: Add another parameter nrelative, replacing the
15236 local variable with the same name. Change name of the function
15237 to end in Rel or Rela (uppercase).
15238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15239 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15240 elf_dynamic_do_##reloc function.
15242 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15244 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15245 is sufficient, at least on modern CPUs.
15247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15249 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15250 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15252 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15254 * math/bits/math-finite.h: Add entries for exp.
15255 * math/e_expl.c: Add __*_finite alias.
15256 * sysdeps/i386/fpu/e_exp.S: Likewise.
15257 * sysdeps/i386/fpu/e_expf.S: Likewise.
15258 * sysdeps/i386/fpu/e_expl.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15263 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15267 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15268 is sufficient, at least on modern CPUs.
15270 * ctype/ctype-info.c (__ctype_init): Define.
15271 * include/ctype.h (__ctype_init): Declare.
15272 (__ctype_b_loc): The variable is always initialized.
15273 (__ctype_toupper_loc): Likewise.
15274 (__ctype_tolower_loc): Likewise.
15275 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15276 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15278 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15280 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15282 * configure.in: Also look in $cxxmachine/include for C++ system
15285 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15287 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15288 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15289 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15290 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15291 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15292 (USE_AS_WMEMCMP): New macro.
15294 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15295 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15296 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15297 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15299 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15300 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15301 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15302 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15303 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15305 (USE_AS_WMEMCMP): New macro.
15306 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15307 * sysdeps/string/test-memcmp.c: Update.
15308 Fix simple_wmemcmp.
15310 * wcsmbs/wmemcmp.c: Update.
15311 (WMEMCMP): New macro.
15314 2011-10-12 Andreas Jaeger <aj@suse.de>
15317 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15319 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15321 * libio/iofwide.c (do_length): Avoid warning.
15323 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15325 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15327 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15329 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15330 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15331 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15332 * sysdeps/i386/i686/fpu/e_log.S: New file.
15333 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15334 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15336 * ctype/ctype.h: Add support for inlined isXXX functions when
15337 compiling C++ code.
15339 2011-10-14 Andreas Schwab <schwab@redhat.com>
15341 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15343 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15345 2011-10-13 Roland McGrath <roland@hack.frob.com>
15348 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15350 2011-10-13 Andreas Schwab <schwab@redhat.com>
15352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15353 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15356 * sysdeps/x86_64/memrchr.S: Check for zero size.
15358 * string/stratcliff.c: Add memrchr tests.
15360 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15363 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15364 rawmemchr-sse2 rawmemchr-sse2-bsf.
15365 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15366 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15367 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15368 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15369 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15370 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15371 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15372 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15374 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15375 * string/memrchr.c (MEMRCHR): New macro.
15377 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15379 Add integration with gcc's -ffinite-math-only and optimize wrapper
15381 * Versions.def: Define GLIBC_2.15 version for libm.
15382 * math/Makefile (headers): Add bits/math-finite.h.
15383 * math/bits/math-finite.h: New file.
15384 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15385 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15386 * math/e_acoshl.c: Add __*_finite alias.
15387 * math/e_acosl.c: Likewise.
15388 * math/e_asinl.c: Likewise.
15389 * math/e_atan2l.c: Likewise.
15390 * math/e_atanhl.c: Likewise.
15391 * math/e_coshl.c: Likewise.
15392 * math/e_exp10.c: Likewise.
15393 * math/e_exp10f.c: Likewise.
15394 * math/e_exp10l.c: Likewise.
15395 * math/e_exp2l.c: Likewise.
15396 * math/e_fmodl.c: Likewise.
15397 * math/e_gammal_r.c: Likewise.
15398 * math/e_hypotl.c: Likewise.
15399 * math/e_j0l.c: Likewise.
15400 * math/e_j1l.c: Likewise.
15401 * math/e_jnl.c: Likewise.
15402 * math/e_lgammal_r.c: Likewise.
15403 * math/e_log10l.c: Likewise.
15404 * math/e_log2l.c: Likewise.
15405 * math/e_logl.c: Likewise.
15406 * math/e_powl.c: Likewise.
15407 * math/e_sinhl.c: Likewise.
15408 * math/e_sqrtl.c: Likewise.
15409 * math/e_scalb.c: Completely rewritten and optimized.
15410 * math/e_scalbf.c: Likewise.
15411 * math/e_scalbl.c: Likewise.
15412 * math/w_acos.c: Likewise.
15413 * math/w_acosf.c: Likewise.
15414 * math/w_acosl.c: Likewise.
15415 * math/w_acosh.c: Likewise.
15416 * math/w_acoshf.c: Likewise.
15417 * math/w_acoshl.c: Likewise.
15418 * math/w_asin.c: Likewise.
15419 * math/w_asinf.c: Likewise.
15420 * math/w_asinl.c: Likewise.
15421 * math/w_atan2.c: Likewise.
15422 * math/w_atan2f.c: Likewise.
15423 * math/w_atan2l.c: Likewise.
15424 * math/w_atanh.c: Likewise.
15425 * math/w_atanhf.c: Likewise.
15426 * math/w_atanhl.c: Likewise.
15427 * math/w_exp10.c: Likewise.
15428 * math/w_exp10f.c: Likewise.
15429 * math/w_exp10l.c: Likewise.
15430 * math/w_fmod.c: Likewise.
15431 * math/w_fmodf.c: Likewise.
15432 * math/w_fmodl.c: Likewise.
15433 * math/w_j0.c: Likewise.
15434 * math/w_j0f.c: Likewise.
15435 * math/w_j0l.c: Likewise.
15436 * math/w_j1.c: Likewise.
15437 * math/w_j1f.c: Likewise.
15438 * math/w_j1l.c: Likewise.
15439 * math/w_jn.c: Likewise.
15440 * math/w_jnf.c: Likewise.
15441 * math/w_log.c: Likewise.
15442 * math/w_logf.c: Likewise.
15443 * math/w_logl.c: Likewise.
15444 * math/w_log10.c: Likewise.
15445 * math/w_log10f.c: Likewise.
15446 * math/w_log10l.c: Likewise.
15447 * math/w_log2.c: Likewise.
15448 * math/w_log2f.c: Likewise.
15449 * math/w_log2l.c: Likewise.
15450 * math/w_pow.c: Likewise.
15451 * math/w_powf.c: Likewise.
15452 * math/w_powl.c: Likewise.
15453 * math/w_remainder.c: Likewise.
15454 * math/w_remainderf.c: Likewise.
15455 * math/w_remainderl.c: Likewise.
15456 * math/w_scalb.c: Likewise.
15457 * math/w_scalbf.c: Likewise.
15458 * math/w_scalbl.c: Likewise.
15459 * math/w_sqrt.c: Likewise.
15460 * math/w_sqrtf.c: Likewise.
15461 * math/w_sqrtl.c: Likewise.
15462 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15463 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15465 * math/math_private.h: Declare __kernel_standard_f.
15466 * math/w_cosh.c: Remove cruft and optimize a bit.
15467 * math/w_coshf.c: Likewise.
15468 * math/w_coshl.c: Likewise.
15469 * math/w_exp2.c: Likewise.
15470 * math/w_exp2f.c: Likewise.
15471 * math/w_exp2l.c: Likewise.
15472 * math/w_hypot.c: Likewise.
15473 * math/w_hypotf.c: Likewise.
15474 * math/w_hypotl.c: Likewise.
15475 * math/w_lgamma.c: Likewise.
15476 * math/w_lgamma_r.c: Likewise.
15477 * math/w_lgammaf.c: Likewise.
15478 * math/w_lgammaf_r.c: Likewise.
15479 * math/w_lgammal.c: Likewise.
15480 * math/w_lgammal_r.c: Likewise.
15481 * math/w_sinh.c: Likewise.
15482 * math/w_sinhf.c: Likewise.
15483 * math/w_sinhl.c: Likewise.
15484 * math/w_tgamma.c: Likewise.
15485 * math/w_tgammaf.c: Likewise.
15486 * math/w_tgammal.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15489 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15490 Minor optimizations. Pretty printing. Remove cruft.
15491 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15492 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15494 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15495 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15496 * sysdeps/i386/fpu/e_asin.S: Likewise.
15497 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15498 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15499 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15500 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15504 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15505 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15506 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15507 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15508 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15509 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15510 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15511 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15512 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15513 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15514 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15515 * sysdeps/i386/fpu/e_log.S: Likewise.
15516 * sysdeps/i386/fpu/e_log10.S: Likewise.
15517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15518 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15519 * sysdeps/i386/fpu/e_log2.S: Likewise.
15520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15522 * sysdeps/i386/fpu/e_logf.S: Likewise.
15523 * sysdeps/i386/fpu/e_logl.S: Likewise.
15524 * sysdeps/i386/fpu/e_pow.S: Likewise.
15525 * sysdeps/i386/fpu/e_powf.S: Likewise.
15526 * sysdeps/i386/fpu/e_powl.S: Likewise.
15527 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15528 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15529 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15531 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15533 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15534 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15535 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15562 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15564 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15629 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15630 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15631 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15632 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15633 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15634 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15635 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15636 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15637 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15638 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15639 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15640 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15641 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15642 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15644 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15646 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15647 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15648 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15649 (__isnanf): Likewise.
15650 (__isinf_ns): Likewise.
15651 (__isinf_nsf): Likewise.
15652 (__finite): Likewise.
15653 (__finitef): Likewise.
15654 (__ieee754_sqrt): Define as macro.
15655 (__ieee754_sqrtf): Define as macro.
15656 (__ieee754_sqrtl): Define as macro.
15657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15659 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15660 __FINITE_MATH_ONLY__ consistent.
15661 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15663 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15665 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15670 2011-10-09 Ulrich Drepper <drepper@gmail.com>
15672 * po/ja.po: Update from translation team.
15674 2011-10-08 Roland McGrath <roland@hack.frob.com>
15676 * locale/programs/locarchive.c (prepare_address_space): New function.
15677 (create_archive, enlarge_archive, open_archive): Use it.
15679 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15680 inside [SHARED], where it is used.
15682 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15684 * nss/getent.c (netgroup_keys): Remove unused variable.
15685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15687 2011-10-08 Ulrich Drepper <drepper@gmail.com>
15689 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15690 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15692 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15694 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15695 * math/Makefile (libm-calls): Add s_isinf_ns.
15696 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15697 * math/multc3.c: Likewise.
15698 * math/s_casin.c: Likewise.
15699 * math/s_casinf.c: Likewise.
15700 * math/s_casinl.c: Likewise.
15701 * math/s_ccos.c: Likewise.
15702 * math/s_ccosf.c: Likewise.
15703 * math/s_ccosl.c: Likewise.
15704 * math/s_ctan.c: Likewise.
15705 * math/s_ctanf.c: Likewise.
15706 * math/s_ctanh.c: Likewise.
15707 * math/s_ctanhf.c: Likewise.
15708 * math/s_ctanhl.c: Likewise.
15709 * math/s_ctanl.c: Likewise.
15710 * math/w_fmod.c: Likewise.
15711 * math/w_fmodf.c: Likewise.
15712 * math/w_fmodl.c: Likewise.
15713 * math/w_remainder.c: Likewise.
15714 * math/w_remainderf.c: Likewise.
15715 * math/w_remainderl.c: Likewise.
15716 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15717 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15720 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15721 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15722 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15723 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15725 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15727 * stdio-common/printf_fphex.c: Likewise.
15728 * stdio-common/printf_size.c: Likewise.
15730 * math/e_exp10.c: Include math_private.h using <...> not "...".
15731 * math/e_exp10f.c: Likewise.
15732 * math/e_exp10l.c: Likewise.
15733 * math/e_exp2l.c: Likewise.
15734 * math/e_j0l.c: Likewise.
15735 * math/e_j1l.c: Likewise.
15736 * math/e_jnl.c: Likewise.
15737 * math/e_lgammal_r.c: Likewise.
15738 * math/e_rem_pio2l.c: Likewise.
15739 * math/e_scalb.c: Likewise.
15740 * math/e_scalbf.c: Likewise.
15741 * math/e_scalbl.c: Likewise.
15742 * math/k_cosl.c: Likewise.
15743 * math/k_sinl.c: Likewise.
15744 * math/k_tanl.c: Likewise.
15745 * math/s_cacoshf.c: Likewise.
15746 * math/s_catan.c: Likewise.
15747 * math/s_catanf.c: Likewise.
15748 * math/s_catanh.c: Likewise.
15749 * math/s_catanhf.c: Likewise.
15750 * math/s_catanhl.c: Likewise.
15751 * math/s_catanl.c: Likewise.
15752 * math/s_ccosh.c: Likewise.
15753 * math/s_ccoshf.c: Likewise.
15754 * math/s_ccoshl.c: Likewise.
15755 * math/s_cexp.c: Likewise.
15756 * math/s_cexpf.c: Likewise.
15757 * math/s_cexpl.c: Likewise.
15758 * math/s_clog.c: Likewise.
15759 * math/s_clog10.c: Likewise.
15760 * math/s_clog10f.c: Likewise.
15761 * math/s_clog10l.c: Likewise.
15762 * math/s_clogf.c: Likewise.
15763 * math/s_clogl.c: Likewise.
15764 * math/s_csin.c: Likewise.
15765 * math/s_csinf.c: Likewise.
15766 * math/s_csinh.c: Likewise.
15767 * math/s_csinhf.c: Likewise.
15768 * math/s_csinhl.c: Likewise.
15769 * math/s_csinl.c: Likewise.
15770 * math/s_csqrt.c: Likewise.
15771 * math/s_csqrtf.c: Likewise.
15772 * math/s_csqrtl.c: Likewise.
15773 * math/s_ctan.c: Likewise.
15774 * math/s_ctanf.c: Likewise.
15775 * math/s_ctanh.c: Likewise.
15776 * math/s_ctanhf.c: Likewise.
15777 * math/s_ctanhl.c: Likewise.
15778 * math/s_ctanl.c: Likewise.
15779 * math/s_ldexp.c: Likewise.
15780 * math/s_ldexpf.c: Likewise.
15781 * math/s_ldexpl.c: Likewise.
15782 * math/s_significand.c: Likewise.
15783 * math/s_significandf.c: Likewise.
15784 * math/s_significandl.c: Likewise.
15785 * math/w_acos.c: Likewise.
15786 * math/w_acosf.c: Likewise.
15787 * math/w_acosh.c: Likewise.
15788 * math/w_acoshf.c: Likewise.
15789 * math/w_acoshl.c: Likewise.
15790 * math/w_acosl.c: Likewise.
15791 * math/w_asin.c: Likewise.
15792 * math/w_asinf.c: Likewise.
15793 * math/w_asinl.c: Likewise.
15794 * math/w_atan2.c: Likewise.
15795 * math/w_atan2f.c: Likewise.
15796 * math/w_atan2l.c: Likewise.
15797 * math/w_atanh.c: Likewise.
15798 * math/w_atanhf.c: Likewise.
15799 * math/w_atanhl.c: Likewise.
15800 * math/w_cosh.c: Likewise.
15801 * math/w_coshf.c: Likewise.
15802 * math/w_coshl.c: Likewise.
15803 * math/w_dremf.c: Likewise.
15804 * math/w_exp10.c: Likewise.
15805 * math/w_exp10f.c: Likewise.
15806 * math/w_exp10l.c: Likewise.
15807 * math/w_exp2.c: Likewise.
15808 * math/w_exp2f.c: Likewise.
15809 * math/w_fmod.c: Likewise.
15810 * math/w_fmodf.c: Likewise.
15811 * math/w_fmodl.c: Likewise.
15812 * math/w_hypot.c: Likewise.
15813 * math/w_hypotf.c: Likewise.
15814 * math/w_hypotl.c: Likewise.
15815 * math/w_j0.c: Likewise.
15816 * math/w_j0f.c: Likewise.
15817 * math/w_j0l.c: Likewise.
15818 * math/w_j1.c: Likewise.
15819 * math/w_j1f.c: Likewise.
15820 * math/w_j1l.c: Likewise.
15821 * math/w_jn.c: Likewise.
15822 * math/w_jnf.c: Likewise.
15823 * math/w_jnl.c: Likewise.
15824 * math/w_lgamma.c: Likewise.
15825 * math/w_lgamma_r.c: Likewise.
15826 * math/w_lgammaf.c: Likewise.
15827 * math/w_lgammaf_r.c: Likewise.
15828 * math/w_lgammal.c: Likewise.
15829 * math/w_lgammal_r.c: Likewise.
15830 * math/w_log.c: Likewise.
15831 * math/w_log10.c: Likewise.
15832 * math/w_log10f.c: Likewise.
15833 * math/w_log10l.c: Likewise.
15834 * math/w_log2.c: Likewise.
15835 * math/w_log2f.c: Likewise.
15836 * math/w_log2l.c: Likewise.
15837 * math/w_logf.c: Likewise.
15838 * math/w_logl.c: Likewise.
15839 * math/w_pow.c: Likewise.
15840 * math/w_powf.c: Likewise.
15841 * math/w_powl.c: Likewise.
15842 * math/w_remainder.c: Likewise.
15843 * math/w_remainderf.c: Likewise.
15844 * math/w_remainderl.c: Likewise.
15845 * math/w_scalb.c: Likewise.
15846 * math/w_scalbf.c: Likewise.
15847 * math/w_scalbl.c: Likewise.
15848 * math/w_sinh.c: Likewise.
15849 * math/w_sinhf.c: Likewise.
15850 * math/w_sinhl.c: Likewise.
15851 * math/w_sqrt.c: Likewise.
15852 * math/w_sqrtf.c: Likewise.
15853 * math/w_sqrtl.c: Likewise.
15854 * math/w_tgamma.c: Likewise.
15855 * math/w_tgammaf.c: Likewise.
15856 * math/w_tgammal.c: Likewise.
15858 * po/ja.po: Update from translation team.
15860 2011-09-29 Andreas Jaeger <aj@suse.de>
15863 * sunrpc/netname.c (netname2host): Fix logic.
15867 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15869 * math/w_remainder.c (__remainder): Likewise.
15870 * math/w_remainderf.c (__remainderf): Likewise.
15871 * math/libm-test.inc (remainder_test): Add test cases.
15873 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15875 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15878 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15880 * string/test-memcmp.c: Avoid unncessary #defines.
15881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15883 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15885 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15886 Use new sse2 version for core i3 - i7 as it's faster
15887 than sse42 version.
15888 (bit_Prefer_PMINUB_for_stringop): New.
15889 * sysdeps/x86_64/rawmemchr.S: Update.
15890 Replace with faster SSE2 version.
15891 * sysdeps/x86_64/memrchr.S: New file.
15892 * sysdeps/x86_64/memchr.S: Update.
15893 Replace with faster SSE2 version.
15895 2011-09-12 Marek Polacek <mpolacek@redhat.com>
15897 * elf/dl-load.c (lose): Add cast to avoid warning.
15899 2011-10-07 Ulrich Drepper <drepper@gmail.com>
15901 * po/ca.po: Update from translation team.
15903 * inet/getnetgrent_r.c: Hook up nscd.
15904 * nscd/Makefile (routines): Add nscd_netgroup.
15905 (nscd-modules): Add netgroupcache.
15906 (CFLAGS-netgroupcache.c): Define.
15907 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15908 (cache_search): Add const to second parameter.
15909 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15911 (dbs): Add netgrdb entry.
15912 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15913 (verify_persistent_db): Handle netgrdb.
15914 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15915 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15917 (netgroup_response_header): Define.
15918 (innetgroup_response_header): Define.
15919 (datahead): Add netgroup_response_header and innetgroup_response_header
15921 * nscd/nscd.conf: Add entries for netgroup cache.
15922 * nscd/nscd.h (dbtype): Add netgrdb.
15923 (_PATH_NSCD_NETGROUP_DB): Define.
15924 (netgroup_iov_disabled): Declare.
15925 (xmalloc, xcalloc, xrealloc): Move declarations here.
15926 (cache_search): Adjust prototype.
15927 Add netgroup-related prototypes.
15928 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15929 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15930 (__nscd_innetgr): Declare.
15931 * nscd/selinux.c (perms): Use access_vector_t as element type and
15932 add netgroup-related initializers.
15933 * nscd/netgroupcache.c: New file.
15934 * nscd/nscd_netgroup.c: New file.
15935 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15936 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15937 For four parameters use innetgr.
15938 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15939 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15940 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15941 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15943 * nscd/connections.c (register_traced_file): Don't register file
15944 for disabled databases.
15946 2011-10-06 Ulrich Drepper <drepper@gmail.com>
15948 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15950 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15951 from tree and freeing node.
15953 2011-09-25 Jiri Olsa <jolsa@redhat.com>
15955 * nss/nsswitch.c (__nss_database_lookup): Handle
15956 nss_parse_service_list out of memory case.
15958 2011-09-15 Jiri Olsa <jolsa@redhat.com>
15960 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15961 out of memory case.
15963 2011-10-04 Andreas Schwab <schwab@redhat.com>
15965 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15966 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15968 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15969 elf_machine_rela, elf_machine_lazy_rel.
15970 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15971 (ELF_DYNAMIC_DO_REL): Likewise.
15972 (ELF_DYNAMIC_DO_RELA): Likewise.
15973 (ELF_DYNAMIC_RELOCATE): Likewise.
15974 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15975 to ELF_DYNAMIC_DO_REL.
15976 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15977 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15978 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15981 skip_ifunc, don't call ifunc function if non-zero.
15982 (elf_machine_rela): Likewise.
15983 (elf_machine_lazy_rel): Likewise.
15984 (elf_machine_lazy_rela): Likewise.
15985 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15986 (elf_machine_lazy_rel): Likewise.
15987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15989 (elf_machine_lazy_rel): Likewise.
15990 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15992 (elf_machine_lazy_rel): Likewise.
15993 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15994 (elf_machine_lazy_rel): Likewise.
15995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15996 (elf_machine_lazy_rel): Likewise.
15997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15998 (elf_machine_lazy_rel): Likewise.
15999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16000 (elf_machine_lazy_rel): Likewise.
16001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16002 (elf_machine_lazy_rel): Likewise.
16003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16004 (elf_machine_lazy_rel): Likewise.
16006 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16008 * nss/nss_files/files-init.c (_nss_files_init): Use static
16009 initialization for all the *_traced_file variables.
16011 2011-09-28 Andreas Schwab <schwab@redhat.com>
16013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16015 2011-09-27 Roland McGrath <roland@hack.frob.com>
16018 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16020 2011-09-27 Andreas Schwab <schwab@redhat.com>
16022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16023 Reread the line before reparsing it.
16025 2011-09-26 Andreas Schwab <schwab@redhat.com>
16027 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16029 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16030 Maxim Kuvyrkov <maxim@codesourcery.com>
16031 Joseph Myers <joseph@codesourcery.com>
16033 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16034 if needed for __stack_chk_guard.
16036 2011-09-19 Roland McGrath <roland@hack.frob.com>
16038 * sysdeps/posix/spawni.c (script_execute): Always define it.
16039 It will be optimized away if unused.
16040 (maybe_script_execute): New function.
16041 (__spawni): Call it.
16043 * Makerules: Don't include tls.make.
16044 (config-tls): Always set to thread.
16045 * tls.make.c: File removed.
16047 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16049 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16050 * config.make.in (CPPFLAGS-config): New substituted variable.
16052 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16054 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16057 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16058 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16060 2011-09-15 Roland McGrath <roland@hack.frob.com>
16062 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16063 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16065 (CALL_FAIL): Likewise.
16066 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16067 (CALL_FAIL): Macro removed.
16068 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16070 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16072 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16073 for __FINITE_MATH_ONLY__ == 1.
16075 2011-09-15 Andreas Schwab <schwab@redhat.com>
16077 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16078 __ieee754_sqrt instead of sqrt.
16079 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16080 __ieee754_sqrtf instead of sqrtf.
16081 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16082 __floorf instead of floorf.
16083 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16084 __floorf, __truncf instead of floorf, truncf.
16086 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16088 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16090 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16091 __extern_always_inline.
16092 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16095 2011-09-14 Andreas Schwab <schwab@redhat.com>
16097 * elf/rtld.c (dl_main): Also relocate in dependency order when
16098 doing symbol dependency testing.
16100 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16103 Always define `refsym'.
16105 2011-09-13 Andreas Schwab <schwab@redhat.com>
16107 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16108 (__FD_ELT): Renamed from __FDELT.
16109 * misc/bits/select2.h (__FD_ELT): Likewise.
16110 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16111 __FD_MASK instead of __FDELT, __FDMASK.
16112 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16114 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16117 * elf/Makefile (gen-ldd): Fix pattern.
16119 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16120 (init_tls): Likewise.
16122 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16126 2011-09-12 Andreas Schwab <schwab@redhat.com>
16128 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16129 `struct cmsghdr *' instead of `void *'.
16130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16133 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16135 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16137 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16138 ldd_rewrite_script.
16140 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16142 * configure.in: Remove --with-tls option.
16143 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16144 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16145 out in case it is missing.
16146 * sysdeps/ia64/elf/configure.in: Likewise.
16147 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16148 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16149 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16150 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16151 * sysdeps/sh/elf/configure.in: Likewise.
16152 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16154 * sysdeps/x86_64/elf/configure.in: Likewise.
16155 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16156 * sysdeps/mach/hurd/tls.h: Likewise.
16159 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16162 * configure.in: Fix use of AC_INIT.
16164 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16166 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16168 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16170 * malloc/hooks.c: Likewise.
16173 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16174 variables statically.
16175 (narenas): Initialize.
16176 (list_lock): Initialize.
16177 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16178 initializtion of main_arena and list_lock. Small cleanups.
16179 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16180 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16181 Add initializers to main_arena and mp_.
16182 (malloc_state): Remove pagesize member. Change all users to use
16185 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16186 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16187 is always initialized.
16189 * malloc/malloc.c: Removed unused configurations and dead code.
16190 * malloc/arena.c: Likewise.
16191 * malloc/hooks.c: Likewise.
16192 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16194 * include/tls.h: Removed. USE___THREAD must always be defined.
16195 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16196 * elf/dl-libc.c: Likewise.
16197 * elf/dl-tsd.c: Likewise.
16198 * include/errno.h: Likewise.
16199 * include/netdb.h: Likewise.
16200 * include/resolv.h: Likewise.
16201 * inet/herrno-loc.c: Likewise.
16202 * inet/herrno.c: Likewise.
16203 * malloc/arena.c: Likewise.
16204 * malloc/hooks.c: Likewise.
16205 * malloc/malloc.c: Likewise.
16206 * resolv/res-state.c: Likewise.
16207 * resolv/res_libc.c: Likewise.
16208 * sysdeps/i386/dl-machine.h: Likewise.
16209 * sysdeps/ia64/dl-machine.h: Likewise.
16210 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16211 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16212 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16213 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16214 * sysdeps/sh/dl-machine.h: Likewise.
16215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16216 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16217 * sysdeps/unix/i386/sysdep.S: Likewise.
16218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16219 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16229 * sysdeps/x86_64/dl-machine.h: Likewise.
16230 * tls.make.c: Likewise.
16232 * configure.in: Remove --with-__thread option. Make tests for
16233 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16234 tls_model attribute fail if no support is available. Remove
16236 * Makeconfig: Adjust for dropped configure option. All features are
16238 * Makerules: Likewise.
16239 * Versions.def: Likewise.
16240 * argp/argp-fmtstream.c: Likewise.
16241 * argp/argp-fmtstream.h: Likewise.
16242 * argp/argp-help.c: Likewise.
16243 * assert/assert.c: Likewise.
16244 * config.h.in: Likewise.
16245 * config.make.in: Likewise.
16246 * configure: Likewise.
16247 * configure.in: Likewise.
16248 * csu/Versions: Likewise.
16249 * csu/init.c: Likewise.
16250 * elf/tst-audit2.c: Likewise.
16251 * elf/tst-tls10.c: Likewise.
16252 * elf/tst-tls10.h: Likewise.
16253 * elf/tst-tls11.c: Likewise.
16254 * elf/tst-tls12.c: Likewise.
16255 * elf/tst-tls14.c: Likewise.
16256 * elf/tst-tlsmod11.c: Likewise.
16257 * elf/tst-tlsmod12.c: Likewise.
16258 * elf/tst-tlsmod13.c: Likewise.
16259 * elf/tst-tlsmod13a.c: Likewise.
16260 * elf/tst-tlsmod14a.c: Likewise.
16261 * elf/tst-tlsmod15b.c: Likewise.
16262 * elf/tst-tlsmod16a.c: Likewise.
16263 * elf/tst-tlsmod16b.c: Likewise.
16264 * elf/tst-tlsmod7.c: Likewise.
16265 * elf/tst-tlsmod8.c: Likewise.
16266 * elf/tst-tlsmod9.c: Likewise.
16267 * gmon/gmon.c: Likewise.
16268 * grp/fgetgrent_r.c: Likewise.
16269 * grp/putgrent.c: Likewise.
16270 * hurd/fopenport.c: Likewise.
16271 * include/libc-symbols.h: Likewise.
16272 * include/tls.h: Likewise.
16273 * intl/gettextP.h: Likewise.
16274 * intl/loadinfo.h: Likewise.
16275 * locale/global-locale.c: Likewise.
16276 * locale/localeinfo.h: Likewise.
16277 * mach/devstream.c: Likewise.
16278 * malloc/arena.c: Likewise.
16279 * malloc/set-freeres.c: Likewise.
16280 * misc/err.c: Likewise.
16281 * misc/getttyent.c: Likewise.
16282 * misc/mntent_r.c: Likewise.
16283 * posix/getopt.c: Likewise.
16284 * posix/wordexp.c: Likewise.
16285 * pwd/fgetpwent_r.c: Likewise.
16286 * resolv/Versions: Likewise.
16287 * resolv/res_hconf.c: Likewise.
16288 * shadow/fgetspent_r.c: Likewise.
16289 * shadow/putspent.c: Likewise.
16290 * stdio-common/printf_fphex.c: Likewise.
16291 * stdio-common/tmpfile.c: Likewise.
16292 * stdlib/abort.c: Likewise.
16293 * stdlib/fmtmsg.c: Likewise.
16294 * sunrpc/auth_unix.c: Likewise.
16295 * sunrpc/clnt_perr.c: Likewise.
16296 * sunrpc/clnt_tcp.c: Likewise.
16297 * sunrpc/clnt_udp.c: Likewise.
16298 * sunrpc/clnt_unix.c: Likewise.
16299 * sunrpc/openchild.c: Likewise.
16300 * sunrpc/svc_simple.c: Likewise.
16301 * sunrpc/svc_tcp.c: Likewise.
16302 * sunrpc/svc_udp.c: Likewise.
16303 * sunrpc/svc_unix.c: Likewise.
16304 * sunrpc/xdr.c: Likewise.
16305 * sunrpc/xdr_array.c: Likewise.
16306 * sunrpc/xdr_rec.c: Likewise.
16307 * sunrpc/xdr_ref.c: Likewise.
16308 * sunrpc/xdr_stdio.c: Likewise.
16310 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16312 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16314 2011-07-03 Andreas Jaeger <aj@suse.de>
16316 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16318 regenerate with gen-libm-tests.pl.
16320 2010-05-12 Petr Baudis <pasky@suse.cz>
16323 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16324 around j0() zero points by switching to j1().
16325 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16330 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16337 Patch in part by Pavel Roskin <proski@gnu.org>.
16340 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16342 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16343 Free memory block if necessary.
16346 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16347 be NULL. Don't lock in this case.
16349 2011-09-09 Roland McGrath <roland@hack.frob.com>
16351 * elf/elf.h (ELFOSABI_GNU): New macro.
16352 (ELFOSABI_LINUX): Define to that.
16354 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16356 * string/strncat.c (strncat): Undef the symbol in case it has been
16357 defined in bits/string.h.
16359 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16361 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16366 2011-08-17 Andreas Jaeger <aj@suse.de>
16368 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16370 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16371 Ian Lance Taylor <iant@google.com>
16373 * math/libm-test.inc (lround_test): New testcase.
16374 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16376 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16378 * Makefile: Remove support for automatic cvs check-ins.
16379 * Makerules: Likewise.
16380 * config.make.in: Likewise.
16381 * configure.in: Likewise.
16382 * intl/Makefile: Likewise.
16383 * locale/Makefile: Likewise.
16384 * po/Makefile: Likewise.
16385 * posix/Makefile: Likewise.
16386 * sysdeps/gnu/Makefile: Likewise.
16387 * sysdeps/mach/hurd/Makefile: Likewise.
16388 * sysdeps/sparc/sparc32/Makefile: Likewise.
16391 * posix/Makefile (bug-regex32-ENV): Define.
16392 Patch by John Stanley <jpsinthemix@verizon.net>.
16394 * misc/Makefile (headers): Add bits/select2.h.
16395 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16396 * misc/bits/select2.h: New file.
16397 * include/bits/select2.h: New file.
16398 * debug/Makefile (routines): Add fdelt_chk.
16399 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16400 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16402 * debug/fdelt_chk.c: New file.
16404 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16405 * wcsmbs/test-wmemcmp.c: Likewise.
16406 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16407 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16409 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16411 * string/Makefile (strop-tests): Add memcmp.
16412 * string/test-wmemcmp.c: New file.
16413 * string/test-memcmp.c: Add wmemcmp support.
16415 2011-09-08 Roland McGrath <roland@hack.frob.com>
16418 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16421 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16422 garbage value in a __mach_port_mod_refs call in the cases of the
16423 task-self and thread-self ports.
16425 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16427 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16429 2011-09-08 Andreas Schwab <schwab@redhat.com>
16431 * elf/dl-load.c (lose): Check for non-null L.
16433 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16435 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16437 * elf/dl-libc.c (dlerror_run): Pass back error code from
16441 * elf/dl-load.c (lose): Free l_origin if it is valid.
16443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16445 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16450 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16452 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16454 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16455 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16457 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16458 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16459 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16460 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16461 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16462 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16463 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16465 2011-08-15 Alan Modra <amodra@gmail.com>
16468 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16469 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16470 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16471 ppc_mcount to static-only-routines.
16472 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16474 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16475 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16477 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16479 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16480 for finite and infinity parameters.
16482 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16485 and add nop instructions for throughput optimization.
16486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16488 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16491 aligned copy for power7 with vector-scalar instructions.
16492 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16494 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16499 2011-09-07 Andreas Schwab <schwab@redhat.com>
16502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16505 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16508 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16509 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16513 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16516 Forgot to demangle the pointer.
16518 * sysdeps/i386/sysdep.h: Define atom_text_section.
16519 * sysdeps/x86_64/sysdep.h: Likewise.
16520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16521 section with atom_text_section.
16522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16524 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16530 already be defined. Change to take two parameters and don't assign
16531 result to variable. Adjust all users.
16532 Define INTERNAL_GETTIME if not already defined.
16533 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16536 HAVE_CLOCK_GETTIME_VSYSCALL.
16537 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16540 gettimeofday vsyscall, just use time.
16542 2011-09-06 Andreas Schwab <schwab@redhat.com>
16544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16547 2011-09-06 Ulrich Drepper <drepper@gmail.com>
16549 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16553 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16555 syscall if possible.
16557 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16559 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16560 e_ident. Don't pass to find_mapsXX.
16561 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16563 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16566 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16567 * sysdeps/x86_64/multiarch/strchr.S: Update.
16568 Check bit_slow_BSF bit.
16569 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16570 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16571 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16573 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16576 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16578 (tryshell): Define.
16579 (__spawni): Change last parameter to be flag. Test
16580 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16581 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16582 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16583 * posix/spawni.c: Likewise.
16584 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16585 * posix/spawnp.c: Likewise. Change normal version to use
16586 SPAWN_XFLAGS_USE_PATH.
16587 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16588 SPAWN_XFLAGS_TRY_SHELL.
16591 * posix/glob.h: Remove gcc 1.x support.
16594 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16596 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16599 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16601 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16602 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16603 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16605 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16608 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16610 * sysdeps/x86_64/wcscmp.S: New file.
16612 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16613 wcscmp-c wcscmp-sse2
16614 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16615 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16617 * wcsmbs/wcscmp.c: Allow renaming.
16619 2011-09-05 David S. Miller <davem@davemloft.net>
16621 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16622 stack slot, rather than the struct return pointer slot.
16623 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
16630 * po/ja.po: Update from translation team.
16633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16634 kernel in 64-bit binaries.
16636 2011-09-01 David S. Miller <davem@davemloft.net>
16638 * elf/elf.h (HWCAP_SPARC_*): Move to..
16639 * sysdeps/sparc/sysdep.h: this new file and add new values.
16640 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16641 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16642 _DL_HWCAP_COUNT to 24.
16643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16645 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16646 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16647 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16649 instead of magic constants.
16650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16652 2011-08-31 David S. Miller <davem@davemloft.net>
16654 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16656 Reimplement to do errno handling inline.
16657 (SYSCALL_ERROR_HANDLER): New macro.
16658 (__SYSCALL_STRING): Do not do errno handling in asm.
16659 (__CLONE_SYSCALL_STRING): Delete.
16660 (__INTERNAL_SYSCALL_STRING): Delete.
16661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16662 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16663 (PSEUDO): Reimplement to do errno handling inline.
16664 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16665 (SYSCALL_ERROR_HANDLER): New macro.
16666 (__SYSCALL_STRING): Do not do errno handling in asm.
16667 (__CLONE_SYSCALL_STRING): Delete.
16668 (__INTERNAL_SYSCALL_STRING): Delete.
16669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16670 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16672 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16673 (inline_syscall*): Add 'err' argument.
16674 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16675 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16676 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16677 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16679 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16680 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16682 2011-08-30 Andreas Schwab <schwab@redhat.com>
16684 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16686 2011-08-29 Jiri Olsa <jolsa@redhat.com>
16688 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16691 2011-08-24 David S. Miller <davem@davemloft.net>
16693 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16695 2011-08-24 Andreas Schwab <schwab@redhat.com>
16697 * elf/Makefile: Add rules to build and run unload8 test.
16698 * elf/unload8.c: New file.
16699 * elf/unload8mod1.c: New file.
16700 * elf/unload8mod1x.c: New file.
16701 * elf/unload8mod2.c: New file.
16702 * elf/unload8mod3.c: New file.
16704 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16707 2011-08-23 David S. Miller <davem@davemloft.net>
16709 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16710 subtract stack bias.
16711 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16712 %sp not %fp in calculations.
16713 (_JMPBUF_UNWINDS_ADJ): Likewise.
16715 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16716 (aio_suspend): Call it to force an exception region around the
16717 AIO_MISC_WAIT() invocation.
16719 2011-08-23 Andreas Schwab <schwab@redhat.com>
16721 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16724 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16726 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16728 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16729 and <dl-machine.h>.
16730 (Elf64_FuncDesc): Remove.
16732 2011-08-22 David S. Miller <davem@davemloft.net>
16734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16735 sigaltstack check, add missing cfi directives.
16736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16737 missing cfi directives, and sigaltstack handling.
16739 2011-08-16 Andreas Schwab <schwab@redhat.com>
16742 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16743 object is seen twice.
16744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16746 * elf/Makefile (distribute): Add tst-initorder2.c.
16747 (tests): Add tst-initorder2.
16748 (modules-names): Add tst-initorder2a tst-initorder2b
16749 tst-initorder2c tst-initorder2d. Add rules to build them.
16750 ($(objpfx)tst-initorder2.out): New rule.
16751 * elf/tst-initorder2.c: New file.
16752 * elf/tst-initorder2.exp: New file.
16754 2011-08-22 Andreas Schwab <schwab@redhat.com>
16756 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16758 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16759 dependencies back to end of function.
16761 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16762 $(elfobjdir)/ld.so.
16764 2011-08-21 Ulrich Drepper <drepper@gmail.com>
16766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16767 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16769 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16770 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16771 of __vdso_gettimeofday.
16772 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16773 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16775 (_libc_vdso_platform_setup): Remove initialization of
16776 __vdso_gettimeofday and __vdso_time.
16778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16780 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16781 and fgetc_unlocked.
16782 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16785 * elf/dl-open.c (add_to_global): Report additions to the global scope
16786 for LD_DEBUG=scopes.
16787 (dl_open_worker): Also print scope of newly loaded dependencies.
16788 (_dl_show_scope): Indicate if there is no scope.
16791 * stdio-common/Makefile (tests): Add bug24.
16792 * stdio-common/bug24.c: New file.
16794 2011-08-19 Andreas Jaeger <aj@suse.de>
16797 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16798 non-existant file when using close-on-exec mode.
16800 2011-08-20 Ulrich Drepper <drepper@gmail.com>
16802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16803 the very first instruction.
16805 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16806 the CFI state in the end.
16807 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16808 inclusion of dl-trampoline.h.
16809 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16811 2011-08-19 Andreas Schwab <schwab@redhat.com>
16813 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16814 expectations for long double.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16817 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16819 2011-08-14 David S. Miller <davem@davemloft.net>
16821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16822 artificual limit depends upon the system page size.
16824 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16826 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16827 * resolv/Makefile: Define CFLAGS-libresolv.
16829 2011-08-17 Andreas Schwab <schwab@redhat.com>
16831 * nss/makedb.c (compute_tables): Make variables used in nested
16834 2011-08-17 Ulrich Drepper <drepper@gmail.com>
16836 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16837 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16838 if buffer was too small.
16840 * elf/pldd.c (main): Attach to all threads in the process.
16841 Rewrite /proc handling to use *at functions.
16843 2011-08-16 Ulrich Drepper <drepper@gmail.com>
16845 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16846 specifies first scope to show.
16847 (dl_open_worker): Update callers. Move printing scope of new
16848 object to before the relocation.
16849 * elf/rtld.c (dl_main): Update _dl_show_scope call.
16850 * sysdeps/generic/ldsodefs.h: Update declaration.
16852 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16853 string for the scope number.
16855 2011-08-14 Ulrich Drepper <drepper@gmail.com>
16857 * nscd/servicescache.c (cache_addserv): Make sure written is always
16860 2011-08-14 Roland McGrath <roland@hack.frob.com>
16862 * sysdeps/i386/i486/bits/atomic.h
16863 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16864 statement expression, so as to suppress "set but not used" warning.
16865 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16867 * string/strncat.c (STRNCAT): Use prototype definition.
16869 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16870 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16872 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16873 (localedef-modules): Add localedef.
16874 (locale-modules): Add locale.
16876 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16877 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16878 to avoid a warning.
16880 2011-08-14 David S. Miller <davem@davemloft.net>
16882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16883 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16885 2011-08-13 Ulrich Drepper <drepper@gmail.com>
16887 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
16888 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16889 * elf/rtld.c (dl_main): Set l_name of vDSO.
16890 Call _dl_show_scope when DL_DEBUG_SCOPES.
16891 (process_dl_debug): Recognize scopes flag and also set it for all.
16892 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16893 Declare _dl_show_scope.
16895 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16896 (do_dlopen): Pass caller_dlopen to dl_open.
16897 (__libc_dlopen_mode): Initialize caller_dlopen.
16899 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16900 of libc. Make tolower call locale-independent. Optimize a bit by
16901 using isdigit instead of isalnum.
16902 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16904 2011-08-12 Ulrich Drepper <drepper@gmail.com>
16906 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16907 was a dependency or dynamically loaded.
16909 2011-08-11 Ulrich Drepper <drepper@gmail.com>
16911 * intl/l10nflist.c: Allow architecture-specific pop function.
16912 * sysdeps/x86_64/l10nflist.c: New file.
16914 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16917 2011-08-10 Andreas Schwab <schwab@redhat.com>
16919 * include/dirent.h: Add libc_hidden_proto for scandirat and
16920 scandirat64. Don't declare __scandirat64.
16921 * dirent/scandirat.c: Add libc_hidden_def.
16922 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16923 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16925 2011-08-10 David S. Miller <davem@davemloft.net>
16927 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16933 2011-08-09 Ulrich Drepper <drepper@gmail.com>
16935 * Versions.def [libc]: Add GLIBC_2.15.
16936 * dirent/Makefile (routines): Add scandirat and scandirat64.
16937 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16939 * dirent/dirent.h: Declare scandirat and scandirat64.
16940 * dirent/scandirat.c: New file.
16941 * dirent/scandirat64.c: New file.
16942 * sysdeps/wordsize-64/scandirat.c: New file.
16943 * sysdeps/wordsize-64/scandirat64.c: New file.
16944 * dirent/opendir.c: Define opendirat.
16945 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16947 * dirent/scandir64.c: Adjust for scandir.c change.
16948 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16949 __scandirat64, and __scandir_cancel_handler.
16950 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16951 additional parameter and use openat instead of open (outside of ld.so).
16952 Add new __opendir as wrapper around __opendirat.
16953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16954 here without requiring old scandirat implementation.
16956 2011-08-08 Ulrich Drepper <drepper@gmail.com>
16958 * dirent/scandir.c (cancel_handler): Renamed to
16959 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16960 defined. Adjust users.
16961 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16964 2011-08-04 Ulrich Drepper <drepper@gmail.com>
16966 * string/test-string.h (IMPL): Use __STRING to expand name and then
16969 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16972 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16974 * string/Makefile: Update.
16975 (strop-tests): Append strncat.
16976 * string/test-wcscmp.c: New file.
16977 New comprehensive test for wcscmp.
16978 * string/test-strcmp.c: Update.
16979 (WIDE): New define.
16981 2011-07-22 Andreas Schwab <schwab@redhat.com>
16983 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16986 2011-07-26 Andreas Schwab <schwab@redhat.com>
16988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16989 encoding to ACE if AI_IDN.
16991 2011-08-01 Jakub Jelinek <jakub@redhat.com>
16993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16994 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16996 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16999 Fix overflow bug in strncat.
17000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17002 * string/test-strncat.c: Update.
17003 Add new tests for checking overflow bugs.
17005 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17008 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17009 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17010 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17012 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17013 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17014 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17015 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17018 (USE_AS_STRCAT): Define.
17019 Add strcat and strncat support.
17020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17022 2011-07-25 Andreas Schwab <schwab@redhat.com>
17024 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17025 __n bigger than INT_MAX+1.
17026 (__strncmp_g): Likewise.
17028 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17030 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17031 * libio/stido.h: Likewise.
17033 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17038 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17041 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17045 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17050 (_dl_x86_64_save_sse): Likewise.
17052 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17056 (_dl_x86_64_save_sse): Likewise.
17058 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17060 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17062 2011-07-21 Andreas Schwab <schwab@redhat.com>
17064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17066 (_dl_x86_64_save_sse): Use correct AVX check.
17068 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17071 bug in strncpy/strncat.
17072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17074 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17076 * string/tester.c (test_strcat): Add tests for different alignments
17077 of source and destination.
17078 (test_strncat): Likewise.
17080 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17083 * posix/glob.c (glob): Check passed in values before using them in
17084 expressions to avoid some overflows.
17085 (glob_in_dir): Likewise.
17088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17089 check for AVX enablement so that we don't crash with old kernels and
17091 * elf/tst-audit4.c: Add same checks here.
17092 * elf/tst-audit6.c: Likewise.
17094 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17096 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17098 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17100 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17102 * po/cs.po: Update from translation team.
17103 * po/bg.po: Likewise.
17105 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17107 * misc/sys/cdefs.h: Add support for const attribute.
17108 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17109 to gnu_dev_{major,minor,makedev} functions.
17111 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17113 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17115 2011-07-20 Andreas Schwab <schwab@redhat.com>
17117 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17120 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17122 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17123 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17124 register in order to avoid conflicts with the soft frame pointer
17125 being held in r11 when necessary.
17126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17127 (INTERNAL_VSYSCALL_NCS): Likewise.
17129 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17131 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17132 * elf/dl-fini.c (_dl_fini): Adjust caller.
17133 * elf/dl-close.c (_dl_close_worker): Likewise.
17134 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17136 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17138 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17139 "aux_cache->nlibs < 0".
17141 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17142 in the reload-count case.
17144 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17147 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17148 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17149 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17150 * sysdeps/x86_64/multiarch/strcat.S: New file.
17151 * sysdeps/x86_64/multiarch/strncat.S: New file.
17152 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17153 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17154 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17155 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17157 (USE_AS_STRCAT): Define.
17158 Add strcat and strncat support.
17159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17161 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17162 * string/strncat.c: Update.
17163 (USE_AS_STRNCAT): Define.
17164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17165 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17167 * sysdeps/x86_64/multiarch/init-arch.h
17168 (bit_Prefer_PMINUB_for_stringop): New.
17169 (index_Prefer_PMINUB_for_stringop): Likewise.
17170 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17171 bit_Prefer_PMINUB_for_stringop.
17173 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17175 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17177 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17178 of casting of buffer.
17179 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17180 buffer32 and buffer64.
17181 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17182 writes instead of casting of buffer.
17183 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17185 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17188 2011-07-19 Andreas Schwab <schwab@redhat.com>
17190 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17192 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17194 * nscd/nscd.c (termination_handler): Don't do anything for a database
17195 if it has not yet been initialized.
17197 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17199 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17201 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17203 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17205 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17207 * po/nl.po: Update from translation team.
17208 * po/sv.po: Likewise.
17210 2011-07-16 Roland McGrath <roland@hack.frob.com>
17212 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17213 now disallowed by GCC.
17215 * configure.in (use-default-link): Default to yes if a test -shared
17216 link meets our qualifications.
17217 * configure: Regenerated.
17219 * config.make.in (output-format): New variable.
17220 * configure.in: Check for ld --print-output-format support.
17221 * configure: Regenerated.
17222 * Makerules ($(common-objpfx)format.lds)
17223 [$(output-format) != unknown]: Just use $(output-format),
17224 instead of the linker-script munging.
17226 2011-07-14 Roland McGrath <roland@hack.frob.com>
17228 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17229 of $(common-objpfx)shlib.lds.
17230 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17232 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17233 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17235 * configure.in (-z relro check): Adjust test code to add a large
17236 writable data section after it.
17237 * configure: Regenerated.
17239 2011-07-11 Roland McGrath <roland@hack.frob.com>
17241 * configure.in (-z relro check): Fix test code to make the variable
17243 * configure: Regenerated.
17245 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17247 * nscd/nscd.h (struct traced_file): Define.
17248 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17249 elements. Add traced_files.
17250 (inotify_fd): Declare.
17251 (register_traced_file): Declare.
17252 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17253 (inotify_fd): Export.
17254 (resolv_conf_descr): Remove.
17255 (nscd_init): Move inotify descriptor creation to main.
17256 Don't register files for notification here.
17257 (register_traced_file): New function.
17258 (invalidate_cache): Don't use reset_res to determine whether to call
17259 res_init, go through the list of registered files.
17260 (main_loop_poll): The inotify descriptors are now stored in the
17261 structures for the traced files.
17262 (main_loop_epoll): Likewise
17263 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17264 to __nss_disable_nscd.
17265 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17266 for a database anymore. Check the records for all the registered
17268 * nss/Makefile (libnss_files-routines): Add files-init.
17269 (libnss_db-routines): Add db-init.
17270 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17271 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17272 * nss/nss_db/db-init.c: New file.
17273 * nss/nss_files/files-init.c: New file.
17274 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17275 __nss_lookup_function.
17276 (__nss_lookup_function): Call nss_load_library.
17277 (nss_load_all_libraries): New function.
17278 (__nss_disable_nscd): Take parameter with callback function for files
17279 to register. Set is_nscd. Load all the DSOs for the NSS modules
17280 used for the cached services.
17281 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17282 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17283 options for features to all the files in nscd.
17285 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17287 2011-07-10 Roland McGrath <roland@hack.frob.com>
17289 * csu/elf-init.c (__libc_csu_init): Comment typo.
17291 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17293 * po/pl.po: Update from translation team.
17294 * po/ja.po: Likewise.
17295 * po/ru.po: Likewise.
17296 * po/ko.po: Likewise.
17297 * po/fr.po: Likewise.
17299 2011-07-09 Roland McGrath <roland@hack.frob.com>
17301 * configure.in (.ctors/.dtors header and trailer check):
17302 Use an empirical test on a built program.
17303 * configure: Regenerated.
17305 * configure.in (-z relro check): Use an empirical test on a built DSO.
17306 Detect, but do not require, on ia64.
17307 * configure: Regenerated.
17309 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17310 Update tests that use readelf to use $READELF instead.
17311 * configure: Regenerated.
17313 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17315 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17316 if the result is not used.
17318 2011-07-05 Andreas Jaeger <aj@suse.de>
17321 * stdlib/tst-strtod.c: Add testcase.
17323 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17325 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17326 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17327 The latter has a higher limit. Take additional parameter to pass to
17329 (__pathconf): Pass file to __statfs_link_max.
17330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17332 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17336 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17337 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17340 (__statfs_filesize_max): Likewise.
17341 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17343 2011-07-05 Andreas Jaeger <aj@suse.de>
17345 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17347 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17349 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17354 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17356 * Makefile (strop-tests): Add strncat.
17357 * string/test-strncat.c: New file.
17359 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17361 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17363 2011-06-21 Andreas Jaeger <aj@suse.de>
17365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17366 Copy rule from iconvdata/Makefile.
17368 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17371 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17372 but no long options are defined, just return 'W'.
17374 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17377 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17379 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17381 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17383 (innetgr): Likewise.
17385 2011-07-05 Roland McGrath <roland@hack.frob.com>
17387 * config.make.in (install_root): Default to $(DESTDIR).
17389 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17393 2011-07-02 Roland McGrath <roland@hack.frob.com>
17395 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17397 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17398 containing directory rather than embedding absolute directory names.
17400 * scripts/check-local-headers.sh: Rewritten using awk.
17401 Match by word, not by line. Print error messages for matches.
17402 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17404 * Makerules [shlib-lds-flags empty]:
17405 ($(common-objpfx)libc_pic.opts): New target.
17406 ($(common-objpfx)libc_pic.os.clean): New target.
17407 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17409 * config.make.in (OBJCOPY): New variable.
17410 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17411 * configure: Regenerated.
17413 * config.make.in (use-default-link): New variable.
17414 * configure.in (use_default_link): Grok --with-default-link to set it.
17415 * configure: Regenerated.
17416 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17417 (shlib-lds, shlib-lds-flags): Define to empty.
17419 * Makerules (shlib-lds): New variable.
17420 (shlib-lds-flags): New variable.
17421 (build-shlib, build-moduile, build-module-asneeded): Use it.
17422 ($(common-objpfx)libc.so): Use $(shlib-lds).
17423 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17424 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17426 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17427 DT_FLAGS/DT_FLAGS_1 with zero flags.
17429 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17430 linker script munging.
17432 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17434 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17436 * crypt/sha512.c (sha512_process_block): Perform total addition using
17437 128-bit if possible.
17438 (__sha512_finish_ctx): Likewise.
17439 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17441 * crypt/sha256.c (SWAP64): Define.
17442 (sha256_process_block): Perform total addition using 64-bit if
17444 (__sha256_finish_ctx): Likewise.
17446 2011-07-01 Ulrich Drepper <drepper@gmail.com>
17448 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17450 * nscd/hstcache.c (cache_addhst): Likewise.
17451 * nscd/grpcache.c (cache_addgr): Likewise.
17452 * nscd/aicache.c (addhstaiX): Likewise
17453 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17455 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
17457 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17459 * nscd/hstcache.c (cache_addhst): Likewise.
17460 * nscd/grpcache.c (cache_addgr): Likewise.
17461 * nscd/aicache.c (addhstaiX): Likewise
17463 2011-07-01 Andreas Schwab <schwab@redhat.com>
17465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17466 domain only when needed.
17468 2011-06-30 Andreas Schwab <schwab@redhat.com>
17470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17471 is always restored.
17473 2011-06-29 Ulrich Drepper <drepper@gmail.com>
17475 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17476 are re-adding the entry.
17477 * nscd/servicescache.c (cache_addserv): Likewise.
17479 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17481 * sysdeps/generic/dl-irel.h: fix protection against multiple
17483 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17485 2011-06-28 Ulrich Drepper <drepper@gmail.com>
17488 * malloc/memusage.sh: Fix quoting in message.
17489 * debug/xtrace.sh: Likewise.
17491 * configure.in: Remove support for --experimental-malloc option, make
17493 * config.make.in: Likewise.
17494 * malloc/Makefile: Likewise.
17496 2011-06-27 Andreas Schwab <schwab@redhat.com>
17498 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17499 two-byte characters.
17501 2011-06-27 Roland McGrath <roland@hack.frob.com>
17503 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17504 AC_CACHE_CHECK invocation.
17505 * configure: Regenerated.
17507 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17509 2011-06-27 Ulrich Drepper <drepper@gmail.com>
17512 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17513 bit from old_res_options.
17515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17517 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17518 value type for setfct.
17520 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17523 __gettimeofday instead of gettimeofday.
17525 2011-06-26 Ulrich Drepper <drepper@gmail.com>
17527 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17529 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17536 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17539 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17540 strcpy-sse2-unaligned strncpy-sse2-unaligned
17541 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17542 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17543 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17544 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17545 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17548 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17549 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17550 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17551 (STRCPY): Support SSE2 and SSSE3 versions.
17553 2011-06-24 Ulrich Drepper <drepper@gmail.com>
17556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17557 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17558 kernels which artificially limit size of requests.
17560 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17563 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17564 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17565 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17566 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17567 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17568 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17569 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17572 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17573 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17574 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17575 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17576 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17578 Enable unaligned load optimization for Intel Core i3, i5 and i7
17580 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17582 (index_Fast_Unaligned_Load): Define.
17583 (HAS_FAST_UNALIGNED_LOAD): Define.
17585 2011-06-23 Marek Polacek <mpolacek@redhat.com>
17587 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17589 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17593 until it is clear that the information is realy needed.
17594 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17596 2011-06-22 Andreas Schwab <schwab@redhat.com>
17598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17600 2011-06-22 Ulrich Drepper <drepper@gmail.com>
17602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17603 /sys/devices/system/cpu/online if it is usable.
17605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17606 reading the information from the /proc filesystem to once a second.
17608 2011-06-21 Andreas Jaeger <aj@suse.de>
17610 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17611 NULL after inclusion of kernel headers.
17613 2011-06-21 Ulrich Drepper <drepper@gmail.com>
17615 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17616 calls to internal_setent.
17619 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17620 addresses using gethostbyname4_r ignore IPv4 addresses.
17622 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17623 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17625 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17627 2011-06-20 David S. Miller <davem@davemloft.net>
17629 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17631 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17633 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17634 (elf_irel): Use it.
17635 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17636 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17637 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17638 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17639 * sysdeps/x86_64/dl-irel.h: Likewise.
17641 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17642 * elf/dl-sym.c: Likewise.
17644 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17646 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17647 need to dereference resplen2.
17649 2011-06-14 Andreas Schwab <schwab@redhat.com>
17651 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17653 2011-06-15 Ulrich Drepper <drepper@gmail.com>
17655 * Makeconfig: Define vardbdir and inst_vardbdir.
17656 * nss/Makefile: Add rules to install db-Makefile.
17658 * nss/nss_db/db-XXX.c: Cleanup.
17660 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17661 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17663 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17664 * nss/makedb.c: Implement -g option to specify that value strings
17665 are generated and should not be added to table iterated over for
17667 * nss/nss_db/db-initgroups.c: New file.
17669 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17672 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17673 (internal_getgrouplist): Adjust to name change.
17674 Update use_initgroups_entry if this is not the first call.
17675 * nss/databases.def: Add initgroups entry.
17677 * nss/makedb.c (compute_tables): Check result of multiple hash table
17678 sizes to minimize maximum chain length.
17680 2011-06-14 Ulrich Drepper <drepper@gmail.com>
17682 * Versions.def: Add entry for libnss_db.
17683 * shlib-versions: Likewise.
17684 * nss/Makefile: Add rules to build libnss_db.
17685 * nss/Versions: Add libnss_db information. Organize libnss_files
17687 * nss/db-Makefile: Add gshadow support. Change rules for the new
17688 makedb progra. Some minor improvements to generate smaller files.
17689 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17691 * nss/makedb.c: ...here.
17692 Improve database format to be smaller and require less memory at
17694 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17696 * nss/nss_db/db-netgrp.c: Likewise.
17697 * nss/nss_db/db-open.c: Likewise.
17698 * nss/nss_files/flies-XXX.x: Adjust comments.
17699 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17700 * nss/nss_files/files-grp.c: Likewise.
17701 * nss/nss_files/files-hosts.c: Likewise.
17702 * nss/nss_files/files-network.c: Likewise.
17703 * nss/nss_files/files-proto.c: Likewise.
17704 * nss/nss_files/files-pwd.c: Likewise.
17705 * nss/nss_files/files-rpc.c: Likewise.
17706 * nss/nss_files/files-service.c: Likewise.
17707 * nss/nss_files/files-sgrp.c: Likewise.
17708 * nss/nss_files/files-spwd.c: Likewise.
17709 * nss/nss_db/db-alias.c: Removed.
17710 * nss/nss_db/dummy-db.h: Removed.
17712 2011-06-02 Ulrich Drepper <drepper@gmail.com>
17714 * nss/makedb.c: Rewritten to not use database library.
17715 * nss/Makefile: Update to build new makedb program.
17717 2011-06-14 Andreas Jaeger <aj@suse.de>
17719 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17720 memset declaration.
17722 2011-06-10 Andreas Schwab <schwab@redhat.com>
17724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17727 2011-06-10 Roland McGrath <roland@hack.frob.com>
17729 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17730 * elf/Makefile ($(objpfx)ld.so): Likewise.
17732 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17733 Don't list ld.so twice in dependencies.
17735 * posix/bug-regex31.c: Include <stdlib.h>.
17737 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17739 * nis/nss_compat/compat-spwd.c
17740 (getspent_next_nss_netgr): Remove unused variable.
17741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17743 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17744 nonmembers" output to use the right array.
17746 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17748 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17750 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17751 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17752 * catgets/gencat.c (read_input_file): Likewise.
17753 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17756 variable definition inside #if's controlling its use.
17758 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17760 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17762 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17764 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17767 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17769 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17770 * configure: Regenerated.
17772 * Makerules: Revert last change.
17773 * elf/Makefile: Likewise.
17775 2011-06-09 Roland McGrath <roland@hack.frob.com>
17777 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17778 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17779 (reloc-link): Likewise.
17781 2011-06-09 Ulrich Drepper <drepper@gmail.com>
17783 * elf/Makefile: Add rules to build pldd.
17784 * elf/pldd.c: New file.
17785 * elf/pldd-xx.c: New file.
17787 2011-06-07 Ulrich Drepper <drepper@gmail.com>
17789 * version.h: Update for 2.15 development version.
17791 2011-06-07 David S. Miller <davem@davemloft.net>
17793 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17796 elf_machine_lazy_rel): Likewise.
17797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17799 elf_machine_lazy_rel): Likewise.
17800 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17801 dl_hwcap via passed in argument.
17802 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17805 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17807 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17809 2011-06-06 Roland McGrath <roland@hack.frob.com>
17812 * manual/fdl-1.1.texi: New file, verbatim from:
17813 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17814 * manual/lgpl-2.1.texi: New file, verbatim from:
17815 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17816 * manual/Makefile (licenses): New variable, list those new file names.
17818 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17820 * manual/fdl.texi: File removed.
17821 * manual/lesser.texi: File removed.
17822 * manual/libc.texinfo (Copying, Documentation License):
17823 Use new @include file names, put @appendix directive before @include.
17825 2011-06-04 Jakub Jelinek <jakub@redhat.com>
17828 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17829 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17830 (mq_open): Add __NTH.
17832 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17835 Assume Intel Core i3/i5/i7 processor if AVX is available.
17837 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17842 2011-05-31 Andreas Schwab <schwab@redhat.com>
17844 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17845 memory. Use alloca_account. Fix memory leak when retrying.
17847 2011-05-31 Ulrich Drepper <drepper@gmail.com>
17849 * version.h (RELEASE): Bump for 2.14 release.
17850 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17852 * config.make.in (RANLIB): Remove entry.
17854 2011-05-30 Ulrich Drepper <drepper@gmail.com>
17856 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17857 (libc.pot): Work around missing support for .ksh extension in xgettext.
17860 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17861 if both request failed.
17862 (send_dg): In case of server errors clear resplen or *resplen2.
17865 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17866 when there are multiple maps.
17867 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17868 (_dl_fini): Remove test here.
17870 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17872 2011-05-29 Ulrich Drepper <drepper@gmail.com>
17875 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17876 bit from old_res_options.
17877 (gaih_inet): Likewise.
17880 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
17883 * resolv/res_init.c (res_setoptions): Make the code more compact.
17886 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17890 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17892 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17895 * malloc/malloc.h: Declare malloc hook variables as volatile.
17897 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17901 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
17902 raise in the comment.
17903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
17907 2011-05-28 Ulrich Drepper <drepper@gmail.com>
17910 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17911 grow the buffers more if it already has to be sufficient.
17912 (build_wcs_upper_buffer): Likewise.
17913 * posix/regexec.c (check_matching): Likewise.
17914 (clean_state_log_if_needed): Likewise.
17915 (extend_buffers): Don't enlarge buffers beyond size of the input
17917 Patches mostly by Emil Wojak <emil@wojak.eu>.
17918 * posix/bug-regex32.c: New file.
17919 * posix/Makefile (tests): Add bug-regex32.
17921 * locale/findlocale.c (_nl_find_locale): Return right away if
17922 _nl_explode_name failed.
17923 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17925 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17927 * debug/xtrace.sh: Unify messages.
17928 * malloc/memusage.sh: Likewise.
17931 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17932 time symbol from vDSO. Substitute with vsyscall if not available.
17933 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17937 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17939 Add sendmmsg and internal_sendmmsg.
17940 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17944 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17945 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17948 2011-05-27 Ulrich Drepper <drepper@gmail.com>
17951 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17952 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17958 * iconvdata/Makefile (tests): Add bug-iconv9.
17959 * iconvdata/bug-iconv9.c: New file.
17961 2011-05-27 Andreas Schwab <schwab@redhat.com>
17964 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17966 2011-05-25 Jakub Jelinek <jakub@redhat.com>
17968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17969 (struct user_regs_struct): Change intcs field back to cs.
17971 2011-05-25 Ulrich Drepper <drepper@gmail.com>
17973 * po/ja.po: Update from translation team.
17975 2011-05-23 Ulrich Drepper <drepper@gmail.com>
17978 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17979 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17981 2011-05-20 Andreas Schwab <schwab@redhat.com>
17983 * stdlib/longlong.h: Update from GCC.
17985 2011-05-23 Andreas Schwab <schwab@redhat.com>
17987 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17989 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17990 Add parameter name.
17991 (__sysconf): Pass it down.
17993 2011-05-22 Ulrich Drepper <drepper@gmail.com>
17996 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17998 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17999 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18000 add in in __libc_use_alloca calls. Adjust callers.
18001 (glob): Use malloc in some situations.
18003 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18004 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18007 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18009 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18010 and CLOCK_BOOTTIME_ALARM.
18013 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18016 * string/_strerror.c (__strerror_r): Print negative errors as signed
18020 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18021 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18022 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18024 * configure.in: Fix typo in redirection and correct removal of test
18025 files in two cases.
18028 * locale/setlocale.c (new_composite_name): Fix test to check for
18029 identical name of all categories.
18032 * libio/filedoalloc.c (local_isatty): New function.
18033 (_IO_file_doallocate): Use local_isatty.
18034 * stdio-common/perror.c (perror): In case a new stream is used
18035 forward the stream error.
18036 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18039 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18044 * include/alloca.h (extend_alloca_account): Define.
18047 * posix/regex.h: Fix comments with documentation of user-accessible
18048 fields after compilation and describe correct free'ing of pattern
18049 after re_compile_pattern.
18050 Patch by Reuben Thomas <rrt@sc3d.org>.
18052 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18054 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18055 and -mno-altivec to prevent the compiler from using Altivec and/or
18056 VSX instructions when the corresponding registers are not available.
18058 2011-05-19 Andreas Schwab <schwab@redhat.com>
18060 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18062 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18064 * libio/freopen.c (freopen): Use __dup2, not dup2.
18065 * libio/freopen64.c (freopen64): Likewise.
18067 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18070 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18071 * math/Makefile (tests): Add test-powl.
18072 (CFLAGS-test-powl.c): Define.
18073 * math/test-powl.c: New file.
18075 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18077 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18079 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18082 * iconvdata/gb18030.c: Update to GB18020-2005.
18084 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18086 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18087 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18088 Patch by Aharon Robbins <arnold@skeeve.com>.
18091 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18095 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18096 through underflows.
18099 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18100 point to strings before performing equality test for error_one_per_line
18104 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18108 (struct user_fpregs_struct): Avoid __uint*_t types.
18111 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18112 symbol info. Use it instead of calling _dl_addr locally.
18113 (lock_and_info): New function.
18114 (tr_freehook): Call lock_and_info and pass symbol info as additional
18115 parameter to tr_where.
18116 (tr_mallochook): Likewise.
18117 (tr_reallochook): Likewise.
18118 (tr_memalignhook): Likewise.
18120 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18121 used and couldn't be at all thread-safe.
18123 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18125 * libio/freopen.c (freopen): Don't close old file descriptor
18126 before the new one is opened. Instead dup the new file descriptor
18127 to the old one after the new stream is created.
18128 * libio/freopen64.c (freopen64): Likewise.
18129 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18130 * libio/fileops.c (_IO_new_file_close_it): Handle new
18131 _IO_FLAGS2_NOCLOSE flag.
18132 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18133 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18134 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18135 _IO_FLAGS2_NOCLOSE flag.
18136 * include/unistd.h: Add hidden_proto for dup3.
18137 Define __have_dup3.
18138 * io/dup3.c: Define hidden symbol.
18139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18142 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18143 when an incomplete long option is used.
18144 * posix/tst-getopt_long1.c: New file.
18145 * posix/Makefile (tests): Add tst-getopt_long1.
18148 * scripts/config.guess: Update from autoconf-2.68.
18149 * scripts/config.sub: Likewise.
18152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18154 (has_cpuclock): ...this. New function.
18155 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18156 macro here based on has_cpuclock code.
18159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18160 First byte (not low byte) is now always NUL.
18161 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18163 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18164 Use non-cancelable interfaces.
18167 * locale/iso-639.def: Add entry for Sorani.
18170 * include/stdlib.h: Move include protection to the right place.
18171 Define abort_msg_s. Declare __abort_msg with it.
18172 * stdlib/abort.c (__abort_msg): Adjust type.
18173 * assert/assert.c (__assert_fail_base): New function. Majority
18174 of code from __assert_fail. Allocate memory for __abort_msg with
18176 (__assert_fail): Now call __assert_fail_base.
18177 * assert/assert-perr.c: Remove bulk of implementation. Use
18178 __assert_fail_base.
18179 * include/assert.hL Declare __assert_fail_base.
18180 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18182 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18184 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18188 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18189 until all modules are registered in the DTV.
18190 * elf/Makefile: Add rules to build and run tst-tls19.
18191 * elf/tst-tls19.c: New file.
18192 * elf/tst-tls19mod1.c: New file.
18193 * elf/tst-tls19mod2.c: New file.
18194 * elf/tst-tls19mod3.c: New file.
18195 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18198 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18202 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18203 two-byte sequence errors.
18204 * iconvdata/Makefile (tests): Add bug-iconv8.
18205 * iconvdata/bug-iconv8.c: New file.
18208 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18211 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18214 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18215 (dummy_getcfa): New function.
18216 (init): Get _Unwind_GetCFA address, use dummy if not found.
18217 (backtrace_helper): In recursion check, also check whether CFA changes.
18218 (__backtrace): Completely initialize arg.
18220 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18221 storing incomplete byte sequence in state object. Avoid testing for
18222 guaranteed too small input if we know there is enough data available.
18224 2011-05-11 Andreas Schwab <schwab@redhat.com>
18226 * Makeconfig (+link-pie): Indent.
18227 * Rules (binaries-pie): Define if $(have-fpie) and
18229 (binaries-shared): Also filter out $(binaries-pie).
18230 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18231 * nscd/Makefile (others-pie): Add nscd.
18232 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18233 ($(objpfx)nscd): Remove command override.
18234 * login/Makefile (others-pie): Add pt_chown.
18235 ($(objpfx)pt_chown): Remove command override.
18236 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18237 remove command overrides.
18239 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18241 * libio/tst_putwc.c: Fix error messages.
18244 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18245 currently writing and seek to current position when not.
18246 * libio/Makefile (tests): Add bug-fclose1.
18247 * libio/bug-fclose1.c: New file.
18249 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18252 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18253 don't set DF_1_NODELETE here.
18254 (do_lookup_x): When entering new entry test for copy relocation
18255 and if necessary set DF_1_NODELETE flag.
18256 * elf/tst-unique4.cc: New file.
18257 * elf/tst-unique4.h: New file.
18258 * elf/tst-unique4lib.cc: New file.
18259 * elf/Makefile: Add rules to build and run tst-unique4.
18260 Patch by Piotr Bury <pbury@goahead.com>.
18262 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18265 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18268 * misc/mntent_r.c (addmntent): Flush the stream after the output
18271 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18272 (is_trusted_path_normalize): Skip initial colon. Append slash
18273 to empty buffer. Duplicate is_trusted_path code but allow
18274 constructed patch to be prefix.
18275 (is_dst): Allow $ORIGIN followed by /.
18276 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18277 Correct testing of result of is_trusted_path_normalize
18278 (decompose_rpath): Fix warning.
18280 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18283 * grp/initgroups.c (internal_getgrouplist): When we found the service
18284 list through the initgroups entry in nsswitch.conf do not always
18285 continue on a successful lookup. Don't always use the
18286 __nss_group_database value if it is set.
18287 * nss/nsswitch.conf (initgroups): Change action for successful db
18288 lookup to continue for compatibility.
18290 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18293 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18295 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18297 * iconvdata/tst-tables.sh: Likewise.
18298 * iconvdata/cp770.c: New file.
18299 * iconvdata/cp771.c: New file.
18300 * iconvdata/cp772.c: New file.
18301 * iconvdata/cp773.c: New file.
18302 * iconvdata/cp774.c: New file.
18303 * iconvdata/testdata/CP770: New file.
18304 * iconvdata/testdata/CP770..UTF8: New file.
18305 * iconvdata/testdata/CP771: New file.
18306 * iconvdata/testdata/CP771..UTF8: New file.
18307 * iconvdata/testdata/CP772: New file.
18308 * iconvdata/testdata/CP772..UTF8: New file.
18309 * iconvdata/testdata/CP773: New file.
18310 * iconvdata/testdata/CP773..UTF8: New file.
18311 * iconvdata/testdata/CP774: New file.
18312 * iconvdata/testdata/CP774..UTF8: New file.
18314 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18316 * iconvdata/gen-8bit-gap.sh: Likewise.
18317 * iconvdata/gen-8bit.sh: Likewise.
18319 * locale/iso-639.def: Add ary entry.
18322 * locale/C-translit.h.in: Add U20A1 transliteration.
18325 * locale/iso-639.def: Add wae entry.
18326 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18329 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18333 * locale/C-translit.h.in: Add entry for U20B9.
18334 Patch by pravin.d.s@gmail.com.
18336 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18339 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18340 ENAMETOOLONG use generic getcwd.
18341 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18342 in rtld. Use *stat64.
18343 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18344 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18345 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18346 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18347 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18348 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18349 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18350 __fstatat64 macros.
18351 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18352 * dirent/rewinddir.c: Add libc_hidden_def.
18353 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18354 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18356 * include/dirent.h (__alloc_dir): Add flags parameter.
18357 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18358 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18360 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18361 from fdopendir if O_CLOEXEC is already set.
18363 2011-03-15 Alan Modra <amodra@gmail.com>
18365 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18366 l_tls_firstbyte_offset non-zero. Save padding offset in
18367 l_tls_firstbyte_offset for later use.
18368 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18369 freeing static tls block.
18371 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18373 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18374 where #ifdef was intended. The intent is to prevent ARG_MAX from
18375 being defined by the kernel headers.
18377 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18380 * resolv/resolv.h: Define RES_NOTLDQUERY.
18381 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18382 no-tld-query and set RES_NOTLDQUERY.
18383 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18384 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18385 modern BIND to search name as TLD unless forbidden.
18387 2011-05-07 Petr Baudis <pasky@suse.cz>
18388 Ulrich Drepper <drepper@gmail.com>
18391 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18392 (is_trusted_path): ...to here.
18393 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18394 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18395 using is_trusted_path_normalize() in setuid scripts.
18397 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18399 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18400 __BEGIN/__END_DECLS.
18402 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18405 NSS_STATUS_NOTFOUND if no record was found.
18407 2011-05-05 Andreas Schwab <schwab@redhat.com>
18409 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18410 (headers-not-in-tirpc): Remove rpc/netdb.h
18411 * resolv/netdb.h: Revert last change.
18413 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18415 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18416 circular dependency between libgcc.a and libc.a.
18418 2011-05-05 Andreas Schwab <schwab@redhat.com>
18420 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18421 * nis/Makefile: Don't install rpcsvc/*.
18422 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18423 instead of <rpc/types.h>.
18424 (MAXHOSTNAMELEN): Define.
18426 2011-05-03 Andreas Schwab <schwab@redhat.com>
18428 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18430 2011-04-28 Maciej Babinski <mbabinski@google.com>
18433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18434 gethostbyname4_r when IPv6 results are possible.
18436 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18439 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18440 _PC_PIPE_BUF handling.
18442 2011-04-30 Bruno Haible <bruno@clisp.org>
18445 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18446 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18448 * inet/getnameinfo.c (getnameinfo): Likewise.
18450 2011-04-29 Ulrich Drepper <drepper@gmail.com>
18452 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18453 to groups setting in database lookup.
18454 * nss/nsswitch.conf: Add initgroups entry.
18456 2011-04-22 Ulrich Drepper <drepper@gmail.com>
18459 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18461 Patch by Eric Blake <eblake@redhat.com>.
18463 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18465 * sunrpc/Makefile (need-export-routines): Add svc_run.
18466 (routines): Remove svc_run.
18467 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18468 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18469 * sunrpc/svc_run.c (svc_run): Likewise.
18470 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18472 2011-04-21 Ulrich Drepper <drepper@gmail.com>
18474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18475 problem in reallocation in last patch.
18477 2011-04-20 Ulrich Drepper <drepper@gmail.com>
18479 * sunrpc/Makefile: Move inclusion of Rules.
18481 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18483 * nss/nss_files/files-initgroups.c: New file.
18484 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18485 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18486 _nss_files_initgroups_dyn.
18488 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18490 * elf/elf.h (R_ARM_IRELATIVE): Define.
18492 2011-04-19 Ulrich Drepper <drepper@gmail.com>
18494 * po/ru.po: Update from translation team.
18496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18498 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18501 2011-02-06 Mike Frysinger <vapier@gentoo.org>
18504 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18505 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18508 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18510 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18514 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18518 2011-04-17 Ulrich Drepper <drepper@gmail.com>
18521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18523 * stdlib/bug-getcontext.c: New file.
18524 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18526 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18528 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18529 instructions into .machine "z9-109".
18530 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18531 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18533 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18535 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18536 between environment variables and auxiliary vector.
18538 2011-04-16 Ulrich Drepper <drepper@gmail.com>
18540 * Makefile: Add rules to build linkobj/libc.so.
18541 * include/libc-symbols.h: Define libc_hidden_nolink.
18542 * include/rpc/auth.h: Mark functions which are to be hidden.
18543 * include/rpc/auth_des.h: Likewise.
18544 * include/rpc/auth_unix.h: Likewise.
18545 * include/rpc/clnt.h: Likewise.
18546 * include/rpc/des_crypt.h: Likewise.
18547 * include/rpc/key_prot.h: Likewise.
18548 * include/rpc/pmap_clnt.h: Likewise.
18549 * include/rpc/pmap_prot.h: Likewise.
18550 * include/rpc/pmap_rmt.h: Likewise.
18551 * include/rpc/rpc_msg.h: Likewise.
18552 * include/rpc/svc.h: Likewise.
18553 * include/rpc/svc_auth.h: Likewise.
18554 * include/rpc/xdr.h: Likewise.
18555 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18556 * nss/Makefile: Likewise.
18557 * sunrpc/Makefile: Don't install headers. Build library with normal
18558 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18559 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18560 for the compat linking library. Remove use of INTDEF/INTUSE.
18561 * sunrpc/auth_none.c: Likewise.
18562 * sunrpc/auth_unix.c: Likewise.
18563 * sunrpc/authdes_prot.c: Likewise.
18564 * sunrpc/authuxprot.c: Likewise.
18565 * sunrpc/clnt_gen.c: Likewise.
18566 * sunrpc/clnt_perr.c: Likewise.
18567 * sunrpc/clnt_raw.c: Likewise.
18568 * sunrpc/clnt_simp.c: Likewise.
18569 * sunrpc/clnt_tcp.c: Likewise.
18570 * sunrpc/clnt_udp.c: Likewise.
18571 * sunrpc/clnt_unix.c: Likewise.
18572 * sunrpc/des_crypt.c: Likewise.
18573 * sunrpc/des_soft.c: Likewise.
18574 * sunrpc/get_myaddr.c: Likewise.
18575 * sunrpc/key_call.c: Likewise.
18576 * sunrpc/key_prot.c: Likewise.
18577 * sunrpc/netname.c: Likewise.
18578 * sunrpc/pm_getmaps.c: Likewise.
18579 * sunrpc/pm_getport.c: Likewise.
18580 * sunrpc/pmap_clnt.c: Likewise.
18581 * sunrpc/pmap_prot.c: Likewise.
18582 * sunrpc/pmap_prot2.c: Likewise.
18583 * sunrpc/pmap_rmt.c: Likewise.
18584 * sunrpc/publickey.c: Likewise.
18585 * sunrpc/rpc_cmsg.c: Likewise.
18586 * sunrpc/rpc_common.c: Likewise.
18587 * sunrpc/rpc_dtable.c: Likewise.
18588 * sunrpc/rpc_prot.c: Likewise.
18589 * sunrpc/rpc_thread.c: Likewise.
18590 * sunrpc/rtime.c: Likewise.
18591 * sunrpc/svc.c: Likewise.
18592 * sunrpc/svc_auth.c: Likewise.
18593 * sunrpc/svc_authux.c: Likewise.
18594 * sunrpc/svc_raw.c: Likewise.
18595 * sunrpc/svc_run.c: Likewise.
18596 * sunrpc/svc_simple.c: Likewise.
18597 * sunrpc/svc_tcp.c: Likewise.
18598 * sunrpc/svc_udp.c: Likewise.
18599 * sunrpc/svc_unix.c: Likewise.
18600 * sunrpc/svcauth_des.c: Likewise.
18601 * sunrpc/xcrypt.c: Likewise.
18602 * sunrpc/xdr.c: Likewise.
18603 * sunrpc/xdr_array.c: Likewise.
18604 * sunrpc/xdr_float.c: Likewise.
18605 * sunrpc/xdr_intXX_t.c: Likewise.
18606 * sunrpc/xdr_mem.c: Likewise.
18607 * sunrpc/xdr_rec.c: Likewise.
18608 * sunrpc/xdr_ref.c: Likewise.
18609 * sunrpc/xdr_sizeof.c: Likewise.
18610 * sunrpc/xdr_stdio.c: Likewise.
18612 2011-04-10 Ulrich Drepper <drepper@gmail.com>
18615 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18616 * sysdeps/ia64/dl-tls.h: Likewise.
18617 * sysdeps/powerpc/dl-tls.h: Likewise.
18618 * sysdeps/s390/dl-tls.h: Likewise.
18619 * sysdeps/sh/dl-tls.h: Likewise.
18620 * sysdeps/sparc/dl-tls.h: Likewise.
18621 * sysdeps/x86_64/dl-tls.h: Likewise.
18622 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18624 2011-03-14 Andreas Schwab <schwab@redhat.com>
18626 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18627 rpath element also skip the following colon.
18628 (expand_dynamic_string_token): Add is_path parameter and pass
18629 down to DL_DST_REQUIRED and _dl_dst_substitute.
18630 (decompose_rpath): Call expand_dynamic_string_token with
18631 non-zero is_path. Ignore empty rpaths.
18632 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18635 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18640 2011-04-09 Ulrich Drepper <drepper@gmail.com>
18643 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18644 Patch by Filipe David Manana <fdmanana@apache.org>.
18646 2011-04-07 Andreas Schwab <schwab@redhat.com>
18648 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18649 Maintain aligned stack.
18650 (CHECK_RSP): Remove unused macro.
18652 2011-04-03 Ulrich Drepper <drepper@gmail.com>
18654 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18657 2011-04-02 Ulrich Drepper <drepper@gmail.com>
18659 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18661 * include/features.h: Mention __USE_XOPEN2K8 in comment.
18663 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18666 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18667 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18668 * sysdeps/x86_64/memmove.c: New file.
18669 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18670 (memcpy): Renamed to ...
18671 (__new_memcpy): This.
18672 (memcpy): Provide GLIBC_2_14 memcpy.
18673 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18674 (memcpy): Provide GLIBC_2_2_5 memcpy.
18676 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18679 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18681 2011-03-30 Andreas Schwab <schwab@redhat.com>
18683 * misc/syncfs.c: New file.
18684 * misc/Makefile (routines): Add syncfs.
18685 * posix/unistd.h: Declare syncfs.
18686 * sysdeps/unix/syscalls.list: Add syncfs.
18688 2011-04-01 Andreas Schwab <schwab@redhat.com>
18690 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18697 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18700 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18703 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18704 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18710 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18711 sync_file_range.c with -fexceptions.
18712 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18713 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18714 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18715 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
18719 sync_file_range as cancellation point
18720 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18721 now a wrapper around __call_sync_file_range with cancellation handling.
18722 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18724 function name to __call_sync_file_range.
18725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18726 Add call_sync_file_range.
18728 2011-04-01 Andreas Schwab <schwab@redhat.com>
18730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18733 2011-04-01 Ulrich Drepper <drepper@gmail.com>
18735 * iconv/iconv.h: Fix typo in comment.
18736 * io/fcntl.h: Likewise.
18737 * libio/stdio.h: Likewise.
18738 * posix/spawn.h: Likewise.
18739 * posix/unistd.h: Likewise.
18740 * stdlib/stdlib.h: Likewise.
18741 * time/time.h: Likewise.
18742 * wcsmbs/wchar.h: Likewise.
18744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18745 open_by_handle): Add.
18746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18747 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18748 Augment a few comments.
18749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18754 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18757 * io/fcntl.h (AT_EMPTY_PATH): Define.
18759 2011-03-30 Ulrich Drepper <drepper@gmail.com>
18761 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18762 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18763 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18765 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
18766 * Versions.def: Add GLIBC_2.14.
18767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18770 2011-03-22 Ulrich Drepper <drepper@gmail.com>
18772 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18774 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18776 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18779 * string/test-strncmp.c (do_page_test): New function.
18780 (check2): Likewise.
18781 (test_main): Call check2.
18782 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18784 2011-03-20 Ulrich Drepper <drepper@gmail.com>
18787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18788 Handle cache information in CPU leaf 4.
18789 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18791 2011-03-18 Ulrich Drepper <drepper@gmail.com>
18794 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18795 character representation.
18796 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18798 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18800 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18801 END(__isnan) to END(__isnanf) to match function entry point/label
18802 EALIGN(__isnanf,...).
18804 2011-03-10 Jakub Jelinek <jakub@redhat.com>
18806 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18808 2011-03-10 Ulrich Drepper <drepper@gmail.com>
18811 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18812 copy from the symbol referenced in the relocation to initialize the
18814 Patch by Piotr Bury <pbury@goahead.com>.
18815 * elf/Makefile: Add rules to build and tst-unique3.
18816 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18817 * elf/tst-unique3.cc: New file.
18818 * elf/tst-unique3.h: New file.
18819 * elf/tst-unique3lib.cc: New file.
18820 * elf/tst-unique3lib2.cc: New file.
18822 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18824 2011-03-10 Mike Frysinger <vapier@gentoo.org>
18826 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18827 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18830 2011-03-06 Ulrich Drepper <drepper@gmail.com>
18832 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18833 to-be-loaded object along a path to loader is ld.so.
18835 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18836 Ulrich Drepper <drepper@gmail.com>
18838 * sysdeps/x86_64/memset.S: After aligning destination, code
18839 branches to different locations depending on the value of
18840 misalignment, when multiarch is enabled. Fix this.
18842 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18844 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18845 Set _x86_64_preferred_memory_instruction for AMD processsors.
18846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18847 Set bit_Prefer_SSE_for_memop for AMD processors.
18849 2011-03-04 Ulrich Drepper <drepper@gmail.com>
18851 * libio/fmemopen.c (fmemopen): Optimize a bit.
18853 2011-03-03 Andreas Schwab <schwab@redhat.com>
18855 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18857 2011-03-03 Roland McGrath <roland@redhat.com>
18859 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18861 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18863 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
18864 __bzero_ultra1 instead of __memset_ultra1.
18866 2011-02-23 Andreas Schwab <schwab@redhat.com>
18867 Ulrich Drepper <drepper@gmail.com>
18870 * include/link.h (struct link_map): Add l_orig_initfini.
18871 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18872 returning unsuccessfully.
18873 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18874 close of a file loaded at startup, restore the original l_initfini
18876 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18877 list, store the pointer.
18878 * elf/Makefile ($(objpfx)noload-mem): New rule.
18879 (noload-ENV): Define.
18880 (tests): Add $(objpfx)noload-mem.
18881 * elf/noload.c: Include <memcheck.h>.
18882 (main): Call mtrace. Close all opened handles.
18884 2011-02-17 Andreas Schwab <schwab@redhat.com>
18887 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18888 dependencies are missing.
18890 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18892 Fix __if_freereq crash: Unlike the generic version which uses free,
18894 * sysdeps/mach/hurd/ifreq.h: New file.
18896 2011-01-27 Petr Baudis <pasky@suse.cz>
18897 Ulrich Drepper <drepper@gmail.com>
18900 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18901 to extend_alloca().
18902 * stdio-common/bug23.c: New file.
18903 * stdio-common/Makefile (tests): Add bug23.
18905 2010-09-28 Andreas Schwab <schwab@redhat.com>
18906 Ulrich Drepper <drepper@gmail.com>
18909 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18910 before performing relro protection. At old place add assertion
18911 to make sure nothing changed.
18913 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18914 Glauber de Oliveira Costa <glommer@gmail.com>
18916 * elf/elf.h: Add new ARM TLS relocs.
18918 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18921 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18923 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18925 * sysdeps/wordsize-64/tst-writev.c: New file.
18927 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18929 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18930 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18931 insns in _dl_start to prevent a TOC reference before relocs are
18934 2011-02-15 Ulrich Drepper <drepper@gmail.com>
18937 * Makeconfig: Remove RANLIB definition.
18938 * Makerules: Don't use RANLIB.
18939 * aclocal.m4: Remove ranlib test.
18940 * configure.in: No need to check for ranlib.
18941 * elf/rtld-Rules: Don't use RANLIB.
18943 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18945 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18947 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18948 inclusion protection macro.
18950 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18951 SIGRTMIN and SIGRTMAX and print information in that case only when
18952 SIGRTMIN is defined.
18954 2011-02-11 Jakub Jelinek <jakub@redhat.com>
18956 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18957 arginfo fn returning -1.
18959 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18960 and thousands string is zero terminated.
18962 2011-02-03 Andreas Schwab <schwab@redhat.com>
18964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18965 sysdeps/unix/sysv/linux/bits/socket.h.
18967 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18969 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18970 (__CPU_COUNT): Remove old macros.
18971 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18972 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18973 (__CPU_ALLOC, __CPU_FREE): Add macros.
18974 (__sched_cpualloc, __sched_cpufree): Add declarations.
18976 2011-02-05 Ulrich Drepper <drepper@gmail.com>
18978 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18979 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18980 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18981 (readdhstai): Return value of addhstaiX call.
18982 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18983 (addgrbyX): Return value returned by cache_addgr.
18984 (readdgrbyname): Return value returned by addgrbyX.
18985 (readdgrbygid): Likewise.
18986 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18987 (addpwbyX): Return value returned by cache_addpw.
18988 (readdpwbyname): Return value returned by addhstbyX.
18989 (readdpwbyuid): Likewise.
18990 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18991 (addservbyX): Return value returned by cache_addserv.
18992 (readdservbyname): Return value returned by addservbyX:
18993 (readdservbyport): Likewise.
18994 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18995 (addhstbyX): Return value returned by cache_addhst.
18996 (readdhstbyname): Return value returned by addhstbyX.
18997 (readdhstbyaddr): Likewise.
18998 (readdhstbynamev6): Likewise.
18999 (readdhstbyaddrv6): Likewise.
19000 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19001 (readdinitgroups): Return value returned by addinitgroupsX.
19002 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19003 (prune_cache): Keep track of timeout value of re-added entries.
19004 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19005 * nscd/nscd.h: Adjust prototypes of readd* functions.
19007 2011-02-04 Roland McGrath <roland@redhat.com>
19009 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19010 (nis_stats): Likewise.
19011 * nis/nis_modify.c (nis_modify): Likewise.
19012 * nis/nis_remove.c (nis_remove): Likewise.
19013 * nis/nis_add.c (nis_add): Likewise.
19015 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19017 * posix/fnmatch_loop.c: Add some consts.
19019 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19021 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19024 * config.make.in (config-cflags-novzeroupper): Define.
19025 * configure.in: Substitute libc_cv_cc_novzeroupper.
19026 * elf/Makefile (AVX-CFLAGS): Define.
19027 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19028 (CFLAGS-tst-auditmod4a.c): Likewise.
19029 (CFLAGS-tst-auditmod4b.c): Likewise.
19030 (CFLAGS-tst-auditmod6b.c): Likewise.
19031 (CFLAGS-tst-auditmod6c.c): Likewise.
19032 (CFLAGS-tst-auditmod7b.c): Likewise.
19033 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19035 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19037 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19038 function to the callback.
19039 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19041 2011-02-02 Andreas Schwab <schwab@redhat.com>
19043 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19046 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19049 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19051 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19053 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19056 * elf/Makefile: Add rules to build and run new test.
19057 * elf/tst-initorder.c: New file.
19058 * elf/tst-initorder.exp: New file.
19059 * elf/tst-initordera1.c: New file.
19060 * elf/tst-initordera2.c: New file.
19061 * elf/tst-initordera3.c: New file.
19062 * elf/tst-initordera4.c: New file.
19063 * elf/tst-initorderb1.c: New file.
19064 * elf/tst-initorderb2.c: New file.
19065 * elf/tst-order-a1.c: New file.
19066 * elf/tst-order-a2.c: New file.
19067 * elf/tst-order-a3.c: New file.
19068 * elf/tst-order-a4.c: New file.
19069 * elf/tst-order-b1.c: New file.
19070 * elf/tst-order-b2.c: New file.
19071 * elf/tst-order-main.c: New file.
19072 New test case by George Gensure <werkt0@gmail.com>.
19074 2010-10-01 Andreas Schwab <schwab@redhat.com>
19076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19077 decoding ACE if AI_CANONIDN.
19079 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19081 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19083 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19085 * version.h (RELEASE): Bump for 2.13 release.
19086 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19088 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19090 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19092 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19096 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19099 * posix/getconf.c: Update copyright year.
19100 * catgets/gencat.c: Likewise.
19101 * csu/version.c: Likewise.
19102 * debug/catchsegv.sh: Likewise.
19103 * debug/xtrace.sh: Likewise.
19104 * elf/ldconfig.c: Likewise.
19105 * elf/ldd.bash.in: Likewise.
19106 * elf/sprof.c (print_version): Likewise.
19107 * iconv/iconv_prog.c: Likewise.
19108 * iconv/iconvconfig.c: Likewise.
19109 * locale/programs/locale.c: Likewise.
19110 * locale/programs/localedef.c: Likewise.
19111 * malloc/memusage.sh: Likewise.
19112 * malloc/mtrace.pl: Likewise.
19113 * nscd/nscd.c (print_version): Likewise.
19114 * nss/getent.c: Likewise.
19116 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19117 PF_CAIF, and PF_ALG.
19118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19120 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19122 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19123 (modules-names): Use them.
19124 (ifunc-test-modules, ifunc-pie-tests): Define.
19125 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19126 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19127 (test-extras): Likewise.
19128 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19129 $(compile-command.c).
19130 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19131 (all-built-dso): Define.
19132 (check-textrel.out, check-execstack.out): Depend on it.
19134 * configure.in: Don't override --enable-multi-arch.
19136 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19139 * nscd/hstcache.c (tryagain): Define.
19140 (cache_addhst): Return tryagain not notfound for temporary errors.
19141 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19144 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19148 to make the syscall.
19149 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19152 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19153 and fall back to matching as normal character if the string ends before
19154 the matching ']' is found. This is what POSIX requires.
19155 * posix/testfnm.c: Adjust test result.
19156 * posix/globtest.sh: Adjust test result. Add new test.
19157 * posix/tst-fnmatch.input: Likewise.
19158 * posix/tst-fnmatch2.c: Add new test.
19160 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19162 * elf/Makefile (check-execstack): Revert last change. Depend on
19164 (check-execstack.h): New target.
19165 (generated): Add check-execstack.h.
19166 * elf/check-execstack.c: Include "check-execstack.h".
19167 (main): Revert last change.
19168 (handle_file): Return zero if GNU_STACK is absent and
19169 DEFAULT_STACK_PERMS doesn't include PF_X.
19171 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19173 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19174 in child fails because the descriptor is already closed.
19175 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19176 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19180 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19184 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19185 temporary buffer used to handle multi lookups locally.
19186 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19188 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19190 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19193 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19195 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19196 alignment for SSE2.
19198 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19201 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19202 characters. When rounding increased number of integer digits recompute
19204 * stdio-common/tst-grouping.c: New file.
19205 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19207 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19209 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19210 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19212 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19214 * bits/select.h: Likewise.
19216 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19218 * po/ja.po: Update from translation team.
19220 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19223 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19224 implementation just like for lxstat, fxstatat, et al.
19226 2010-12-27 Jim Meyering <meyering@redhat.com>
19229 * posix/regexec.c (build_trtable): Return failure indication upon
19230 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19232 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19235 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19236 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19237 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19238 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19241 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19244 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19245 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19247 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19249 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19250 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19251 script has SORT_BY_INIT_PRIORITY.
19252 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19253 NO_CTORS_DTORS_SECTIONS is defined.
19254 * elf/soinit.c: Likewise.
19255 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19256 NO_CTORS_DTORS_SECTIONS is defined.
19257 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19258 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19259 * sysdeps/sh/init-first.c: Likewise.
19260 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19262 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19264 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19265 always use the slow path.
19267 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19269 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19270 similar rule which adds the sysdep directories to the header search in
19271 order to pick up the correct platform stackinfo.h.
19272 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19273 perform test if it is, otherwise return successfully without testing.
19274 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19275 DEFAULT_STACK_PERMS define in stackinfo.h.
19276 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19277 defined in stackinfo.h.
19278 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19279 DEFAULT_STACK_PERMS defined in stackinfo.h.
19280 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19281 * sysdeps/ia64/stackinfo.h: Likewise.
19282 * sysdeps/s390/stackinfo.h: Likewise.
19283 * sysdeps/sh/stackinfo.h: Likewise.
19284 * sysdeps/sparc/stackinfo.h: Likewise.
19285 * sysdeps/x86_64/stackinfo.h: Likewise.
19286 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19287 PF_X for powerpc64. Retain PF_X for powerpc32.
19289 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19291 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19293 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19294 GETDENTS_64BIT_ALIGNED.
19296 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19298 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19300 2010-12-10 Andreas Schwab <schwab@redhat.com>
19302 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19306 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19308 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19309 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19311 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19314 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19317 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19319 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19321 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19323 * po/it.po: Update from translation team.
19325 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19330 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19332 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19334 2010-11-24 Andreas Schwab <schwab@redhat.com>
19336 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19338 (gaih_getanswer_slice): Likewise.
19340 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19344 2010-05-31 Petr Baudis <pasky@suse.cz>
19347 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19348 silently even in the chroot mode.
19350 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19352 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19353 last patch a bit. Pretty printing
19355 2010-05-31 Petr Baudis <pasky@suse.cz>
19358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19359 initialization of skip_initgroups_dyn.
19361 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19363 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19366 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19368 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19370 2010-11-11 Andreas Schwab <schwab@redhat.com>
19372 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19373 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19374 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19375 ($(objpfx)tst-fnmatch-mem): New rule.
19376 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19377 * posix/tst-fnmatch.c (main): Call mtrace.
19379 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19382 Support Intel processor model 6 and model 0x2c.
19384 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19389 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19392 * string/test-strncasecmp.c (check_result): New function.
19393 (do_one_test): Use it.
19394 (check1): New function.
19395 (test_main): Use it.
19396 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19397 Support strcasecmp and strncasecmp.
19399 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19402 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19405 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19407 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19411 * sysdeps/x86_64/multiarch/bzero.S: New file.
19412 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19413 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19414 * sysdeps/x86_64/multiarch/memset.S: New file.
19415 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19417 Set bit_Prefer_SSE_for_memop for Intel processors.
19418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19420 (index_Prefer_SSE_for_memop): Define.
19421 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19423 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19426 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19428 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19431 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19432 (__x86_64_raw_data_cache_size_half): Likewise.
19433 (__x86_64_raw_shared_cache_size): Likewise.
19434 (__x86_64_raw_shared_cache_size_half): Likewise.
19436 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19437 (__x86_64_raw_data_cache_size_half): Likewise.
19438 (__x86_64_raw_shared_cache_size): Likewise.
19439 (__x86_64_raw_shared_cache_size_half): Likewise.
19440 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19441 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19442 and __x86_64_raw_shared_cache_size_half. Round
19443 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19444 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19445 to multiple of 256 bytes.
19447 2010-11-03 Ulrich Drepper <drepper@gmail.com>
19450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19451 of inacessible symlinks. Verify result of symlink before returning it.
19452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19453 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19455 2010-10-28 Erich Ritz <erichritz@gmail.com>
19457 * math/math.h (isinf): Fix typo in comment.
19459 2010-11-01 Ulrich Drepper <drepper@gmail.com>
19461 * po/da.po: Update from translation team.
19463 2010-10-26 Ulrich Drepper <drepper@gmail.com>
19465 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19466 is added to the list.
19468 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19469 Ulrich Drepper <drepper@gmail.com>
19471 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19472 the global list here. Move code to...
19473 (_dl_add_to_namespace_list): ...here. New function.
19474 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19475 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19476 * elf/dl-load.c (lose): Don't remove the element from the list.
19477 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19478 (_dl_map_object): Likewise.
19480 2010-10-25 Ulrich Drepper <drepper@gmail.com>
19483 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19484 into all bytes of SSE register.
19485 Patch by Richard Li <richardpku@gmail.com>.
19487 2010-10-24 Ulrich Drepper <drepper@gmail.com>
19490 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19493 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19495 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19496 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19497 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19498 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19503 2010-10-22 Andreas Schwab <schwab@redhat.com>
19505 * include/dlfcn.h (__RTLD_SECURE): Define.
19506 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19507 mode & __RTLD_SECURE instead.
19508 (open_path): Rename preloaded parameter to secure.
19509 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19510 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19511 * elf/dl-deps.c (openaux): Likewise.
19512 * elf/rtld.c (struct map_args): Remove is_preloaded.
19513 (map_doit): Don't use it.
19514 (dl_main): Likewise.
19515 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19516 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19518 2010-09-09 Andreas Schwab <schwab@redhat.com>
19520 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19521 (sysd-rules-targets): Remove duplicates.
19522 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19523 rtld-%.$o dependency.
19525 2010-10-18 Andreas Schwab <schwab@redhat.com>
19527 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19528 _dl_map_object do it.
19530 2010-10-19 Ulrich Drepper <drepper@gmail.com>
19532 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19533 fast fma builtins, define the macros in the C99 standard.
19534 (FP_FAST_FMAF): Likewise.
19535 (FP_FAST_FMAL): Likewise.
19536 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19538 * bits/mathdef.h: Update copyright year.
19539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19541 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19543 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19544 builtins, define the macros in the C99 standard.
19545 (FP_FAST_FMAF): Likewise.
19546 (FP_FAST_FMAL): Likewise.
19547 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19549 (FP_FAST_FMAF): Likewise.
19551 2010-10-15 Jakub Jelinek <jakub@redhat.com>
19554 * math/libm-test.inc (fma_test): Some new testcases.
19555 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19557 y and infinite z. Do multiplication by C already in long double.
19558 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19560 y and infinite z. Do bitwise or of inexact bit into u.d.
19561 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19562 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19563 * sysdeps/i386/fpu/s_fma.S: Removed.
19564 * sysdeps/i386/fpu/s_fmal.S: Removed.
19566 2010-10-16 Jakub Jelinek <jakub@redhat.com>
19569 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19571 computation is not scheduled after fetestexcept. Fix value
19572 of minimum denormal long double.
19574 2010-10-14 Jakub Jelinek <jakub@redhat.com>
19577 * math/libm-test.inc (fma_test): Add some more tests.
19578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19581 2010-10-15 Andreas Schwab <schwab@redhat.com>
19583 * scripts/data/localplt-s390-linux-gnu.data: New file.
19584 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19586 2010-10-13 Jakub Jelinek <jakub@redhat.com>
19589 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19590 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19592 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19594 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19596 if one of x and y is very large and the other is subnormal.
19597 * sysdeps/s390/fpu/s_fmaf.c: New file.
19598 * sysdeps/s390/fpu/s_fma.c: New file.
19599 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19600 * sysdeps/powerpc/fpu/s_fma.S: New file.
19601 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19602 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19603 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19605 2010-10-12 Jakub Jelinek <jakub@redhat.com>
19608 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19610 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19611 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19612 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19613 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19614 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19615 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19618 2010-10-12 Ulrich Drepper <drepper@redhat.com>
19621 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19622 * posix/bug-regex31.input: Add test case.
19624 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19626 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19627 * posix/bug-regex31.input: New file.
19630 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19631 (parse_sub_exp): Fix last change, use postorder.
19633 * posix/bug-regex31.c: New file.
19634 * posix/Makefile: Add rules to build and run bug-regex31.
19636 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19639 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19642 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19643 to have entries in sys_siglist.
19646 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19649 2010-10-07 Jakub Jelinek <jakub@redhat.com>
19652 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19653 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19654 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19655 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19656 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19657 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19658 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19659 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19660 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19661 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19662 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19664 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19665 * math/ftestexcept.c (fetestexcept): Likewise.
19666 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19667 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19668 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19669 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19670 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19671 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19674 2010-10-11 Ulrich Drepper <drepper@gmail.com>
19677 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19680 2010-10-06 Ulrich Drepper <drepper@gmail.com>
19682 * string/bug-strstr1.c: New file.
19683 * string/Makefile: Add rules to build and run bug-strstr1.
19685 2010-10-05 Eric Blake <eblake@redhat.com>
19688 * string/str-two-way.h (two_way_long_needle): Always clear memory
19689 when skipping input due to the shift table.
19691 2010-10-03 Ulrich Drepper <drepper@gmail.com>
19694 * malloc/mcheck.c: Handle large requests.
19697 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19698 for strncmp and strncasecmp.
19699 * string/stratcliff.c: Add tests for strcmp and strncmp.
19700 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19702 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19704 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19707 2010-09-30 Andreas Jaeger <aj@suse.de>
19709 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19710 (CGROUP_SUPER_MAGIC): Define.
19711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19712 Handle btrfs and cgroup file systems.
19713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19716 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
19718 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19719 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19721 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19724 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19725 trying to locate the ELF header.
19727 2010-09-27 Andreas Schwab <schwab@redhat.com>
19730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19731 Mask out sign-bit copies when constructing f_fsid.
19733 2010-09-24 Petr Baudis <pasky@suse.cz>
19735 * debug/stack_chk_fail_local.c: Add missing licence exception.
19736 * debug/warning-nop.c: Likewise.
19738 2010-09-15 Joseph Myers <joseph@codesourcery.com>
19740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19741 implementing getdents64 using getdents syscall, set d_type if
19742 __ASSUME_GETDENTS32_D_TYPE.
19744 2010-09-16 Andreas Schwab <schwab@redhat.com>
19746 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19747 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19749 2010-09-21 Ulrich Drepper <drepper@redhat.com>
19752 * posix/unistd.h: Undo change of feature selection for ftruncate from
19755 2010-09-20 Ulrich Drepper <drepper@redhat.com>
19757 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
19760 2010-09-20 Andreas Schwab <schwab@redhat.com>
19762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19766 2010-09-14 Andreas Schwab <schwab@redhat.com>
19768 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19769 variables after CHECK_SP call.
19770 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19772 2010-09-13 Andreas Schwab <schwab@redhat.com>
19773 Ulrich Drepper <drepper@redhat.com>
19775 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19776 re-relocationg ld.so.
19777 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19778 _dl_init_paths call.
19779 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19782 2010-09-14 Ulrich Drepper <drepper@redhat.com>
19784 * resolv/res_init.c (__res_vinit): Count the default server we added.
19786 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19787 Ulrich Drepper <drepper@redhat.com>
19790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19791 (____longjmp_chk): Use %ebx for saving value across system call.
19794 2010-09-06 Andreas Schwab <schwab@redhat.com>
19796 * manual/Makefile: Don't mix pattern rules with normal rules.
19798 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19800 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19802 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19803 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19804 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19805 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19809 2010-09-04 Ulrich Drepper <drepper@redhat.com>
19812 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19813 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19815 2010-09-02 Ulrich Drepper <drepper@redhat.com>
19817 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19818 * sysdeps/x86_64/addmul_1.S: Likewise.
19819 * sysdeps/x86_64/lshift.S: Likewise.
19820 * sysdeps/x86_64/mul_1.S: Likewise.
19821 * sysdeps/x86_64/rshift.S: Likewise.
19822 * sysdeps/x86_64/sub_n.S: Likewise.
19823 * sysdeps/x86_64/submul_1.S: Likewise.
19825 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19827 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19828 Define __sched_param instead of SCHED_* and sched_param when
19829 <bits/sched.h> is included with __need_schedparam defined.
19830 * bits/sched.h [__need_schedparam]
19831 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
19832 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19833 (__defined_schedparam): Define to 1.
19834 (__sched_param): New structure, identical to sched_param.
19835 (__need_schedparam): Undefine.
19837 2010-08-31 Mike Frysinger <vapier@gentoo.org>
19839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19840 (epoll_create1): Declare.
19842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19844 2010-08-31 Andreas Schwab <schwab@redhat.com>
19847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19848 shifting retval into place.
19850 2010-09-01 Ulrich Drepper <drepper@redhat.com>
19852 * nis/rpcsvc/nis.h: Update copyright notice.
19853 * nis/rpcsvc/nis.x: Likewise.
19854 * nis/rpcsvc/nis_callback.h: Likewise.
19855 * nis/rpcsvc/nis_callback.x: Likewise.
19856 * nis/rpcsvc/nis_object.x: Likewise.
19857 * nis/rpcsvc/nis_tags.h: Likewise.
19858 * nis/rpcsvc/yp.h: Likewise.
19859 * nis/rpcsvc/yp.x: Likewise.
19860 * nis/rpcsvc/ypupd.h: Likewise.
19861 * nis/yp_xdr.c: Likewise.
19862 * nis/ypupdate_xdr.c: Likewise.
19864 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19865 mainly the body of pmap_getport. Add parameters to specify timeouts.
19866 (pmap_getport): Use __libc_rpc_getport.
19867 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19868 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19869 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19871 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19876 2010-08-27 Roland McGrath <roland@redhat.com>
19878 * sysdeps/i386/i686/multiarch/Makefile
19879 (CFLAGS-varshift.c): New variable.
19881 2010-08-27 Ulrich Drepper <drepper@redhat.com>
19883 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19884 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19888 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19890 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19892 * sysdeps/x86_64/strlen.S: Unroll the loop.
19893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19894 strlen-sse2 strlen-sse2-bsf.
19895 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19896 __strlen_no_bsf if bit_Slow_BSF is set.
19897 (__strlen_sse42): Removed.
19898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19899 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19901 2010-08-25 Roland McGrath <roland@redhat.com>
19903 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19904 * sysdeps/x86_64/multiarch/varshift.c: New file.
19905 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19906 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19907 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19908 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19910 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19913 strlen-sse2 strlen-sse2-bsf.
19914 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19915 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19916 (__strlen_sse2): Removed.
19917 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19920 bit_Slow_BSF for Atom.
19921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19922 (index_Slow_BSF): Define.
19923 (HAS_SLOW_BSF): Define.
19925 2010-08-25 Ulrich Drepper <drepper@redhat.com>
19928 * resolv/res_init.c (__res_vinit): When no server address at all
19929 is given default to loopback.
19931 2010-08-24 Roland McGrath <roland@redhat.com>
19933 * configure.in: Remove config-name.h generation.
19934 * configure: Regenerated.
19935 * config-name.in: File removed.
19936 * scripts/config-uname.sh: New file.
19937 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19938 ($(objdir)config-name.h): New target.
19940 * sunrpc/rpc_parse.h: Avoid nested comment.
19942 2010-08-24 Richard Henderson <rth@redhat.com>
19943 Ulrich Drepper <drepper@redhat.com>
19944 H.J. Lu <hongjiu.lu@intel.com>
19946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19948 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19949 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19950 _mm_alignr_epi8 with _mm_loadu_si128.
19951 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19952 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19953 (__m128i_shift_right): Removed.
19954 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19955 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19956 * sysdeps/x86_64/multiarch/varshift.h: New file.
19957 * sysdeps/x86_64/multiarch/varshift.S: New file.
19959 2010-08-21 Mike Frysinger <vapier@gentoo.org>
19961 * configure.in: Move assembler checks to before sysdep dir checking.
19963 2010-08-20 Petr Baudis <pasky@suse.cz>
19965 * LICENSES: Sync the sunrpc license.
19967 2010-08-19 Ulrich Drepper <drepper@redhat.com>
19969 * sunrpc/auth_des.c: Update copyright notice once again.
19970 * sunrpc/auth_none.c: Likewise.
19971 * sunrpc/auth_unix.c: Likewise.
19972 * sunrpc/authdes_prot.c: Likewise.
19973 * sunrpc/authuxprot.c: Likewise.
19974 * sunrpc/bindrsvprt.c: Likewise.
19975 * sunrpc/clnt_gen.c: Likewise.
19976 * sunrpc/clnt_perr.c: Likewise.
19977 * sunrpc/clnt_raw.c: Likewise.
19978 * sunrpc/clnt_simp.c: Likewise.
19979 * sunrpc/clnt_tcp.c: Likewise.
19980 * sunrpc/clnt_udp.c: Likewise.
19981 * sunrpc/clnt_unix.c: Likewise.
19982 * sunrpc/des_crypt.c: Likewise.
19983 * sunrpc/des_soft.c: Likewise.
19984 * sunrpc/get_myaddr.c: Likewise.
19985 * sunrpc/getrpcport.c: Likewise.
19986 * sunrpc/key_call.c: Likewise.
19987 * sunrpc/key_prot.c: Likewise.
19988 * sunrpc/openchild.c: Likewise.
19989 * sunrpc/pm_getmaps.c: Likewise.
19990 * sunrpc/pm_getport.c: Likewise.
19991 * sunrpc/pmap_clnt.c: Likewise.
19992 * sunrpc/pmap_prot.c: Likewise.
19993 * sunrpc/pmap_prot2.c: Likewise.
19994 * sunrpc/pmap_rmt.c: Likewise.
19995 * sunrpc/rpc/auth.h: Likewise.
19996 * sunrpc/rpc/auth_unix.h: Likewise.
19997 * sunrpc/rpc/clnt.h: Likewise.
19998 * sunrpc/rpc/des_crypt.h: Likewise.
19999 * sunrpc/rpc/key_prot.h: Likewise.
20000 * sunrpc/rpc/netdb.h: Likewise.
20001 * sunrpc/rpc/pmap_clnt.h: Likewise.
20002 * sunrpc/rpc/pmap_prot.h: Likewise.
20003 * sunrpc/rpc/pmap_rmt.h: Likewise.
20004 * sunrpc/rpc/rpc.h: Likewise.
20005 * sunrpc/rpc/rpc_des.h: Likewise.
20006 * sunrpc/rpc/rpc_msg.h: Likewise.
20007 * sunrpc/rpc/svc.h: Likewise.
20008 * sunrpc/rpc/svc_auth.h: Likewise.
20009 * sunrpc/rpc/types.h: Likewise.
20010 * sunrpc/rpc/xdr.h: Likewise.
20011 * sunrpc/rpc_clntout.c: Likewise.
20012 * sunrpc/rpc_cmsg.c: Likewise.
20013 * sunrpc/rpc_common.c: Likewise.
20014 * sunrpc/rpc_cout.c: Likewise.
20015 * sunrpc/rpc_dtable.c: Likewise.
20016 * sunrpc/rpc_hout.c: Likewise.
20017 * sunrpc/rpc_main.c: Likewise.
20018 * sunrpc/rpc_parse.c: Likewise.
20019 * sunrpc/rpc_parse.h: Likewise.
20020 * sunrpc/rpc_prot.c: Likewise.
20021 * sunrpc/rpc_sample.c: Likewise.
20022 * sunrpc/rpc_scan.c: Likewise.
20023 * sunrpc/rpc_scan.h: Likewise.
20024 * sunrpc/rpc_svcout.c: Likewise.
20025 * sunrpc/rpc_tblout.c: Likewise.
20026 * sunrpc/rpc_util.c: Likewise.
20027 * sunrpc/rpc_util.h: Likewise.
20028 * sunrpc/rpcinfo.c: Likewise.
20029 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20030 * sunrpc/rpcsvc/key_prot.x: Likewise.
20031 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20032 * sunrpc/rpcsvc/mount.x: Likewise.
20033 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20034 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20035 * sunrpc/rpcsvc/rex.x: Likewise.
20036 * sunrpc/rpcsvc/rstat.x: Likewise.
20037 * sunrpc/rpcsvc/rusers.x: Likewise.
20038 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20039 * sunrpc/rpcsvc/spray.x: Likewise.
20040 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20041 * sunrpc/rtime.c: Likewise.
20042 * sunrpc/svc.c: Likewise.
20043 * sunrpc/svc_auth.c: Likewise.
20044 * sunrpc/svc_authux.c: Likewise.
20045 * sunrpc/svc_raw.c: Likewise.
20046 * sunrpc/svc_run.c: Likewise.
20047 * sunrpc/svc_simple.c: Likewise.
20048 * sunrpc/svc_tcp.c: Likewise.
20049 * sunrpc/svc_udp.c: Likewise.
20050 * sunrpc/svc_unix.c: Likewise.
20051 * sunrpc/svcauth_des.c: Likewise.
20052 * sunrpc/xcrypt.c: Likewise.
20053 * sunrpc/xdr.c: Likewise.
20054 * sunrpc/xdr_array.c: Likewise.
20055 * sunrpc/xdr_float.c: Likewise.
20056 * sunrpc/xdr_mem.c: Likewise.
20057 * sunrpc/xdr_rec.c: Likewise.
20058 * sunrpc/xdr_ref.c: Likewise.
20059 * sunrpc/xdr_sizeof.c: Likewise.
20060 * sunrpc/xdr_stdio.c: Likewise.
20062 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20065 2010-08-19 Andreas Schwab <schwab@redhat.com>
20067 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20069 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20071 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20073 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20074 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20075 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20076 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20078 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20081 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20083 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20084 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20086 2010-07-26 Anton Blanchard <anton@samba.org>
20088 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20089 * malloc/arena.c (heap_trim): Likewise.
20091 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20093 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20096 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20098 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20100 * sysdeps/i386/elf/Makefile: New file.
20102 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20104 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20105 from fanotify_init.
20106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20109 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20111 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20113 * sysdeps/multiarch/strcmp.S: Likewise.
20115 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20117 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20118 strncase_l-nonascii.
20119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20120 Add strncase_l-ssse3.
20121 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20122 * sysdeps/x86_64/strcmp.S: Likewise.
20123 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20124 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20125 * sysdeps/x86_64/strncase.S: New file.
20126 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20127 * sysdeps/x86_64/strncase_l.S: New file.
20128 * string/Makefile (strop-tests): Add strncasecmp.
20129 * string/test-strncasecmp.c: New file.
20131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20134 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20135 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20137 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20139 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20141 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20143 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20147 2010-05-01 Alan Modra <amodra@gmail.com>
20149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20150 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20151 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20152 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20153 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20154 tidying. Don't tail-call __sigjmp_save for static lib.
20155 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20157 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20158 (CALL_MCOUNT): Add eh info, and nop after bl.
20159 (TAIL_CALL_SYSCALL_ERROR): New macro.
20160 (PSEUDO_RET): Use it.
20161 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20162 Correct save location of integer regs and cr.
20163 (_dl_profile_resolve): Correct cr save location. Delete nops
20164 after bl when SHARED. Reduce cfi size a little by better
20165 placement of cfi directives.
20166 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20167 make a stack frame. Instead use parm save area as a temp.
20168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20169 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20171 Don't make a stack frame for parent, use parm save area.
20172 Increase child stack frame to 112 bytes. Don't save unused reg,
20173 and adjust reg usage. Set up cfi on error recovery and
20174 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20176 (__makecontext): Add dummy nop after jump to exit.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20178 Use correct parm save area and cr save, reduce stack frame.
20179 Correct cfi for possible PSEUDO_RET frame setup.
20180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20181 Branch to local label emitted by PSEUDO_RET rather than
20184 2010-08-12 Andreas Schwab <schwab@redhat.com>
20187 * locale/programs/locale.c (print_assignment): New function.
20188 (show_locale_vars): Use it.
20190 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20192 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20194 (struct statfs64): Likewise.
20195 (_STATFS_F_FLAGS): Define.
20196 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20198 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20199 (ST_VALID): Define locally.
20200 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20201 __statvfs_getflags, use the provided value.
20202 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20203 __ASSUME_STATFS_F_FLAGS.
20205 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20207 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20208 Add sys/fanotify.h.
20209 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20210 fanotify_mask for GLIBC_2.13.
20211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20212 fanotify_init and fanotify_mark.
20213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20214 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20216 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20218 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20219 prlimit64 for GLIBC_2.13.
20220 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20225 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20226 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20230 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20233 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20234 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20236 * nss/Makefile: Add rules to build and run tst-nss-test1.
20237 * shlib-versions: Add entry for libnss_test1.
20238 * nss/nss_test1.c: New file.
20239 * nss/tst-nss-test1.c: New file.
20241 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20242 (__nss_configure_lookup): Set appropriate entry in
20243 __nss_configure_lookup to true.
20244 * nss/nsswitch.h: Define enum with indeces of databases in
20245 databases and __nss_database_custom arrays. Declare
20246 __nss_database_custom.
20247 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20248 to avoid using nscd when custom rules are installed.
20249 * nss/getXXbyYY_r.c: Likewise.
20250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20252 * nss/nss_files/files-parse.c: Whitespace fixes.
20254 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20257 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20258 * posix/fnmatch_loop.c: Likewise.
20260 2010-07-17 Andi Kleen <ak@linux.intel.com>
20262 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20263 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20264 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20265 * Versions.def [GLIBC_2.13]: Add.
20267 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20270 Also fail if tpwd after pwuid call is NULL.
20272 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20274 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20275 when converting to ms.
20277 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20279 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20280 EOPNOTSUPP errors with ENOTTY.
20281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20282 EOPNOTSUPP errors with ENOTTY.
20284 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20287 Add strcasecmp_l-ssse3.
20288 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20290 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20291 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20294 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20296 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20298 * string/Makefile (strop-tests): Add strcasecmp.
20299 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20300 strcasecmp_l-nonascii.
20301 (gen-as-const-headers): Add locale-defines.sym.
20302 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20303 * sysdeps/x86_64/strcasecmp.S: New file.
20304 * sysdeps/x86_64/strcasecmp_l.S: New file.
20305 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20306 * sysdeps/x86_64/locale-defines.sym: New file.
20307 * string/test-strcasecmp.c: New file.
20309 * string/test-strcasestr.c: Test both ends of the range of characters.
20310 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20312 2010-07-29 Roland McGrath <roland@redhat.com>
20315 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20317 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20319 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20322 2010-07-27 Andreas Schwab <schwab@redhat.com>
20324 * manual/memory.texi (Malloc Tunable Parameters): Document
20327 2010-07-26 Roland McGrath <roland@redhat.com>
20330 * configure.in (-fgnu89-inline check): Set and substitute
20331 gnu89_inline, not libc_cv_gnu89_inline.
20332 * configure: Regenerated.
20333 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20335 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20337 * string/test-strnlen.c: New file.
20338 * string/Makefile (strop-tests): Add strnlen.
20339 * string/tester.c (test_strnlen): Add a few more test cases.
20340 * string/tst-strlen.c: Better error reporting.
20342 * sysdeps/x86_64/strnlen.S: New file.
20344 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20347 lower-latency instructions.
20349 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20351 * string/test-strcasestr.c: New file.
20352 * string/test-strstr.c: New file.
20353 * string/Makefile (strop-tests): Add strstr and strcasestr.
20354 * string/str-two-way.h: Don't undefine MAX.
20355 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20357 2010-07-21 Andreas Schwab <schwab@redhat.com>
20359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20360 strcasestr-nonascii.
20361 (CFLAGS-strcasestr-nonascii.c): Define.
20362 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20364 Remove unused attribute.
20366 2010-07-20 Roland McGrath <roland@redhat.com>
20368 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20369 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20370 ld.so.cache was broken. With it, there is no way to disable dsocaps
20371 like LD_HWCAP_MASK can disable hwcaps.
20373 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20375 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20377 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20379 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20380 call in strcasestr.
20381 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20382 __strcasestr_sse42_nonascii.
20383 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20384 strcasestr-nonascii.c.
20385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20387 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20390 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20394 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20399 2010-07-06 Andreas Schwab <schwab@redhat.com>
20402 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20405 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20408 _PC_PIPE_BUF using F_GETPIPE_SZ.
20410 2010-07-05 Roland McGrath <roland@redhat.com>
20412 * manual/arith.texi (Rounding Functions): Fix rint description
20413 implicit in round description.
20415 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20417 * elf/Makefile: Fix linking for a few tests to make recent linker
20420 2010-06-30 Andreas Schwab <schwab@redhat.com>
20422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20423 $(common-objpfx)libc_nonshared.a.
20425 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20427 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20428 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20429 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20430 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20431 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20432 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20434 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20449 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20450 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20451 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20452 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20453 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20454 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20455 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20456 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20457 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20458 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20459 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20460 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20476 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20478 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20479 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20480 * string/memmove.c (memmove): Renamed to ...
20481 (MEMMOVE): ...this. Default to memmove.
20482 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20483 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20486 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20487 mempcpy-ssse3-back memmove-ssse3-back.
20488 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20490 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20491 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20492 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20493 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20494 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20495 * sysdeps/x86_64/multiarch/memmove.c: New file.
20496 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20497 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20498 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20499 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20503 (index_Fast_Copy_Backward): Define.
20504 (HAS_ARCH_FEATURE): Define.
20505 (HAS_FAST_REP_STRING): Define.
20506 (HAS_FAST_COPY_BACKWARD): Define.
20508 2010-06-21 Andreas Schwab <schwab@redhat.com>
20510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20511 Restore proper fallback handling.
20513 2010-06-19 Ulrich Drepper <drepper@redhat.com>
20516 * posix/group_member.c (__group_member): Correct checking loop.
20518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20519 OOM in getpwuid_r correctly. Return error number when the caller
20520 should return, otherwise -1.
20521 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20522 call returning > 0 value.
20523 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20525 2010-06-07 Andreas Schwab <schwab@redhat.com>
20527 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20528 libc_nonshared.a from targets in modules-names.
20530 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20532 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20535 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
20537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20542 2010-06-02 Andreas Schwab <schwab@redhat.com>
20544 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20546 2010-06-14 Ulrich Drepper <drepper@redhat.com>
20548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20554 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20557 2010-06-14 Roland McGrath <roland@redhat.com>
20559 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20561 2010-06-07 Jakub Jelinek <jakub@redhat.com>
20563 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20564 __REDIRECT followed by __THROW.
20565 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20566 * posix/getopt.h (getopt): Likewise.
20568 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20570 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20571 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20572 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20574 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20575 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20577 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
20579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20581 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20585 Properly check family and model.
20587 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20589 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20591 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
20593 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20595 2010-05-21 Ulrich Drepper <drepper@redhat.com>
20597 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20600 2010-05-19 Andreas Schwab <schwab@redhat.com>
20602 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20605 2010-05-21 Andreas Schwab <schwab@redhat.com>
20607 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20608 and internal_recvmmsg.
20609 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20610 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20611 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20612 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20614 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20615 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20616 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20618 2010-05-20 Andreas Schwab <schwab@redhat.com>
20620 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20622 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
20624 POWER7 optimizations.
20625 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20626 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20628 2010-05-19 Ulrich Drepper <drepper@redhat.com>
20630 * version.h: Update for 2.13 development version.
20632 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
20634 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20635 exceptions. Return 0.
20637 2010-05-07 Roland McGrath <roland@redhat.com>
20639 * elf/ldconfig.c (main): Add a const.
20641 2010-05-06 Ulrich Drepper <drepper@redhat.com>
20643 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20644 (args_options): Add no-idn option.
20645 (ahosts_keys_int): Add idn_flags to ai_flags.
20646 (parse_option): Handle 'i' option to clear idn_flags.
20648 * malloc/malloc.c (_int_free): Possible race in the most recently
20649 added check. Only act on the data if no current modification
20652 See ChangeLog.17 for earlier changes.