1 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3 * string/mempcpy.c: Implement by calling memcpy.
5 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13 values in the mantissa.
15 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17 (sub_magnitudes): Simplify code a bit.
19 2013-02-12 Roland McGrath <roland@hack.frob.com>
21 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22 from the message. The linker prefixes all warnings with that already.
24 2013-02-12 Andreas Schwab <schwab@suse.de>
27 * posix/regexec.c (extend_buffers): Add parameter min_len.
28 (check_matching): Pass minimum needed length.
29 (clean_state_log_if_needed): Likewise.
30 (get_subexp): Likewise.
31 * posix/Makefile (tests): Add bug-regex34.
32 (bug-regex34-ENV): Define.
33 * posix/bug-regex34.c: New file.
36 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37 elements compare against the byte sequence of it, not its name.
38 * posix/Makefile (tests): Add bug-regex35.
39 (bug-regex35-ENV): Define.
40 * posix/bug-regex35.c: New file.
42 2013-02-11 Tom de Vries <tom@codesourcery.com>
44 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
46 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48 (CHECK_EOL): Add undef.
50 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
52 * bits/stdlib-bsearch.h: New file.
53 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54 * stdlib/stdlib.h: Likewise.
56 2013-02-11 Roland McGrath <roland@hack.frob.com>
58 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
59 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
61 * manual/search.texi (Array Search Function): Add missing const in
63 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64 declaration to use rlim_t.
65 (Basic Scheduling Functions): Remove erroneous const from
66 sched_getparam prototype. Remove erroneous * from
67 sched_get_priority_max and sched_get_priority_min prototypes.
68 (Resource Usage): Fix summary @comment on vtimes to refer to
69 sys/vtimes.h rather than vtimes.h.
70 Add missing *s in vtimes prototype.
71 (Limits on Resources): Fix ulimit prototype to return long int.
72 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
73 prototypes to use long int rather than double.
74 (BSD Random): Fix initstate and setstate to use char *, not void *.
75 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
76 prototype to make second argument 'struct aiocb64 *const[]'.
77 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
78 (Status of AIO Operations): Remove erroneous const in aio_return and
79 aio_return64 prototypes.
80 (Synchronizing I/O): Fix sync prototype to return void.
81 * manual/startup.texi (Suboptions): Remove an erroneous const in
83 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
84 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
85 use size_t rather than int.
86 (Scanning All Users): Likewise for getpwent_r.
87 (Setting Groups): Add missing const to setgroups prototype.
88 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
89 * manual/socket.texi (Host Names): Fix gethostbyaddr and
90 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
91 'const void *' rather than 'const char *'.
92 (Host Address Functions): Likewise for inet_ntop.
93 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
94 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
95 ssize_t for return value.
96 (Sending Data): Likewise for send, sendto, sendmsg.
97 (Socket Option Functions): Add a missing const in setsockopt prototype.
98 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
99 use wchar_t for the argument.
100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
104 double/float/long double for second argument.
105 Fix return types of significand, significandf, significandl.
106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
107 argument in fchmod prototype.
108 (File Owner): Use uid_t and gid_t in fchown prototype.
109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
112 use 'const struct dirent **' as argument types to CMP function pointer
114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
115 (File Times): Fix summary magic @comment for struct utimbuf and utime
116 to refer to utime.h, not time.h.
117 * manual/string.texi (Argz Functions): Add missing const in
118 argz_extract and argz_next prototypes.
119 (Finding Tokens in a String): Likewise for basename.
120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
121 (Copying and Concatenation): Fix typo in wmemmove prototype.
122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
123 (Signal Stack): Remove erroneous const in sigstack prototype.
124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
126 (Simple Calendar Time): Likewise for stime.
127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
130 say sys/sysctl.h instead.
131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
132 and vsyslog prototypes.
134 2013-02-11 Tom de Vries <tom@codesourcery.com>
136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
139 2013-02-11 Roland McGrath <roland@hack.frob.com>
141 * misc/sys/mman.h: Fix typo in mremap comment.
143 2013-02-08 Roland McGrath <roland@hack.frob.com>
145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
148 2013-02-08 Joseph Myers <joseph@codesourcery.com>
151 * debug/segfault.c: Don't include <bp-checks.h>.
152 * sysdeps/generic/bp-checks.h: Remove file.
153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
154 (__GETDENTS): Don't use CHECK_N.
155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
157 (__getgroups): Don't use CHECK_N.
158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
159 (setgroups): Don't use CHECK_N.
160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
162 (__libc_msgrcv): Don't use CHECK_N.
163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
164 (__libc_msgsnd): Don't use CHECK_N.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
167 (__libc_pread): Don't use CHECK_N.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
169 include <bp-checks.h>.
170 (__libc_pread64): Don't use CHECK_N.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
172 include <bp-checks.h>.
173 (__libc_pwrite): Don't use CHECK_N.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
175 include <bp-checks.h>.
176 (__libc_pwrite64): Don't use CHECK_N.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
179 (__libc_pread): Don't use CHECK_N.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
181 include <bp-checks.h>.
182 (__libc_pread64): Don't use CHECK_N.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
184 include <bp-checks.h>.
185 (__libc_pwrite): Don't use CHECK_N.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
187 include <bp-checks.h>.
188 (__libc_pwrite64): Don't use CHECK_N.
189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
190 (do_pread): Don't use CHECK_N.
191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
192 (do_pread64): Don't use CHECK_N.
193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
194 (do_pwrite): Don't use CHECK_N.
195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
196 (do_pwrite64): Don't use CHECK_N.
197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
198 (__libc_readv): Don't use CHECK_N.
199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
200 (semop): Don't use CHECK_N.
201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
203 (semtimedop): Don't use CHECK_N.
204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
205 (__libc_pread): Don't use CHECK_N.
206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
208 (__libc_pread64): Don't use CHECK_N.
209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
211 (__libc_pwrite): Don't use CHECK_N.
212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
214 (__libc_pwrite64): Don't use CHECK_N.
215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
217 (__libc_msgrcv): Don't use CHECK_N.
218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
221 (__libc_writev): Don't use CHECK_N.
223 2013-02-08 Roland McGrath <roland@hack.frob.com>
225 * string/strcpy.c: Removed unused variable.
227 * Makeconfig (+sysdep-includes): Define with := rather than =.
228 Use an existing include/ subdir of each sysdeps dir before it.
230 2013-02-08 Carlos O'Donell <carlos@redhat.com>
232 * nscd/connection.c (register_traced_file): Comment function.
233 [HAVE_INOTIFY] (union __inev): Define.
234 [HAVE_INOTIFY] (inotify_check_files): New function.
235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
243 loaded if not already and that a failure is permanent.
245 2013-02-08 Carlos O'Donell <carlos@redhat.com>
248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
251 2013-02-08 Joseph Myers <joseph@codesourcery.com>
254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
255 (CHECK_1_NULL_OK): Likewise.
256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
257 (__fxstat): Do not use CHECK_1.
258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
260 (___fxstat64): Do not use CHECK_1.
261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
263 (__fxstatat): Do not use CHECK_1.
264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
266 (__fxstatat64): Do not use CHECK_1.
267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
269 (__fxstat): Do not use CHECK_1.
270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
272 (__fxstatat): Do not use CHECK_1.
273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
275 (__getresgid): Do not use CHECK_1.
276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
278 (__getresuid): Do not use CHECK_1.
279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
281 (__lxstat): Do not use CHECK_1.
282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
284 (__old_msgctl): Do not use CHECK_1.
285 (__new_msgctl): Likewise.
286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
288 (__new_setrlimit): Do not use CHECK_1.
289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
291 (__old_shmctl): Do not use CHECK_1.
292 (__new_shmctl): Likewise.
293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
295 (__xstat): Do not use CHECK_1.
296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
297 (__lxstat): Do not use CHECK_1.
298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
300 (___lxstat64): Do not use CHECK_1.
301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
302 (__old_msgctl): Do not use CHECK_1.
303 (__new_msgctl): Likewise.
304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
306 (__gettimeofday): Do not use CHECK_1.
307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
311 (__gettimeofday): Do not use CHECK_1.
312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
314 (__new_shmctl): Do not use CHECK_1.
315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
317 (do_sigtimedwait): Do not use CHECK_1.
318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
320 (do_sigwaitinfo): Do not use CHECK_1.
321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
323 (msgctl): Do not use CHECK_1.
324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
326 (shmctl): Do not use CHECK_1.
327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
328 (ustat): Do not use CHECK_1.
329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
331 (__fxstat): Do not use CHECK_1.
332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
334 (__fxstatat): Do not use CHECK_1.
335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
337 (__lxstat): Do not use CHECK_1.
338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
340 (__xstat): Do not use CHECK_1.
341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
342 (__xstat): Do not use CHECK_1.
343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
344 (___xstat64): Do not use CHECK_1.
347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
349 (CHECK_BOUNDS_HIGH): Likewise.
350 * string/strcpy.c: Do not include <bp-checks.h>.
351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
353 2013-02-07 Roland McGrath <roland@hack.frob.com>
355 * nscd/nscd-client.h (__nscd_drop_map_ref):
356 Add __attribute__ ((unused)).
357 * nis/nss-nisplus.h (niserr2nss): Likewise.
359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
363 Remove inline keyword.
364 * include/rounding-mode.h (round_away): Likewise.
365 * libio/wfileops.c (adjust_wide_data): Likewise.
366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
367 (__m128i_strloadu_tolower): Likewise.
368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
369 (__m128i_strloadu_tolower): Likewise.
370 * time/mktime.c (ydhms_diff): Likewise.
371 * locale/elem-hash.h (elem_hash): Likewise.
372 * locale/setlocale.c (setdata): Likewise.
373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
374 (re_string_wchar_at): Likewise.
375 (bitset_not, bitset_merge, bitset_mask): Likewise.
376 [!(__GNUC__ > 3)] (inline): Remove macro.
377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
381 * string/memcmp.c (memcmp_bytes): Likewise.
382 * locale/programs/locarchive.c (compute_hashval): Likewise.
383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
386 * nss/getent.c (print_rpc, print_protocols): Likewise.
387 (print_passwd, print_group, print_aliases): Likewise.
388 * nis/nss-nisplus.h (niserr2nss): Likewise.
389 * nscd/connections.c (restart_p): Likewise.
390 Change return type to bool.
392 2013-02-05 Roland McGrath <roland@hack.frob.com>
394 * Makeconfig (all-Depend-files): Add existing
395 $(sorted-subdirs:=/Depend) files.
396 (all-subdirs): Remove nss.
397 * sysdeps/unix/inet/Subdirs: Add it here instead.
398 * hesiod/Depend: New file.
400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
401 instead of calling alloca.
403 * io/lseek.c (__lseek): Rename to __libc_lseek.
404 Define __lseek as an alias.
406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
408 2013-02-04 Carlos O'Donell <carlos@redhat.com>
410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
411 else clause and remove check for non-standard endianness.
413 2013-02-04 David S. Miller <davem@davemloft.net>
415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
417 2013-02-04 Joseph Myers <joseph@codesourcery.com>
420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
421 (__ubp_memchr): Remove prototype.
422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
429 (__ubp_memchr): Likewise.
430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
431 (__ubp_memchr): Likewise.
432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
439 (__getcwd): Do not use CHECK_STRING.
440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
442 (__real_chown): Do not use CHECK_STRING.
443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
445 (fchownat): Do not use CHECK_STRING.
446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
450 (__lchown): Do not use CHECK_STRING.
451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
456 include <bp-checks.h>.
457 (truncate64): Do not use CHECK_STRING.
458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
460 (__real_chown): Do not use CHECK_STRING.
461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
463 (__lchown): Do not use CHECK_STRING.
464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
466 (__chown): Do not use CHECK_STRING.
467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
469 (truncate64): Do not use CHECK_STRING.
470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
473 (__xmknod): Do not use CHECK_STRING.
474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
476 (__xmknodat): Do not use CHECK_STRING.
477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
480 2013-02-04 Andreas Schwab <schwab@suse.de>
483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
484 * include/netdb.h: Likewise for h_errno.
485 * elf/tst-stackguard1.c: Include <tls.h>.
487 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
489 * elf/link.h (struct link_map): Extend the l_addr comment.
490 * include/link.h (struct link_map): Likewise.
492 2013-02-01 Joseph Myers <joseph@codesourcery.com>
495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
496 (BOUNDED_1): Remove macro.
497 * debug/backtrace.c: Don't include <bp-checks.h>.
498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
499 (__backtrace): Likewise.
500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
502 (__backtrace): Don't use BOUNDED_1.
503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
505 (__backtrace): Don't use BOUNDED_1.
506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
507 (__backtrace): Don't use BOUNDED_1.
508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
509 (shmat): Don't use BOUNDED_N.
511 2013-01-31 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/generic/bp-start.h: Remove file.
515 * csu/libc-start.c: Don't include <bp-start.h>.
516 (LIBC_START_MAIN): Set up __environ directly instead of using
517 INIT_ARGV_and_ENVIRON.
518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
524 (CHECK_FCNTL): Likewise.
525 (CHECK_N_PAGES): Likewise.
528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
530 (CHECK_SIGSET_NULL_OK): Likewise.
531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
533 (sigpending): Don't use CHECK_SIGSET.
534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
539 (do_sigsuspend): Don't use CHECK_SIGSET.
540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
543 (do_sigwait): Don't use CHECK_SIGSET.
544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
547 include <bp-checks.h>.
548 (sigpending): Don't use CHECK_SIGSET.
549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
550 include <bp-checks.h>.
551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
554 (sigpending): Don't use CHECK_SIGSET.
555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
560 * sysdeps/generic/bp-semctl.h: Remove file.
561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
562 <bp-checks.h> and <bp-semctl.h>.
563 (__old_semctl): Don't use CHECK_SEMCTL.
564 (__new_semctl): Likewise.
565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
567 (__old_semctl): Don't use CHECK_SEMCTL.
568 (__new_semctl): Likewise.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
570 <bp-checks.h> and <bp-semctl.h>.
571 (__old_semctl): Don't use CHECK_SEMCTL.
572 (__new_semctl): Likewise.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
574 <bp-checks.h> and <bp-semctl.h>.
575 (semctl): Don't use CHECK_SEMCTL.
578 * Makerules (elide-bp-thunks): Remove variable.
579 (elide-routines.oS): Don't use $(elide-bp-thunks).
580 (elide-routines.os): Likewise.
581 (elide-routines.o): Likewise.
582 (elide-routines.op): Likewise.
583 (elide-routines.og): Likewise.
584 (objects): Don't use $(bp-thunks).
585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
587 (common-generated): Do not add s-proto-bp.d.
588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
591 Do not generate makefile rules for bounded-pointer thunks.
592 * sysdeps/generic/bp-thunks.h: Remove file.
593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
594 * sysdeps/unix/s-proto-bp.S: Likewise.
597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
598 parts of result separately when argument is not close to line from
599 -i to i and one part of argument is small.
600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
602 * math/libm-test.inc (cacos_test): Add more tests.
603 (casin_test): Likewise.
604 (casinh_test): Likewise.
605 * sysdeps/i386/fpu/libm-test-ulps: Update.
606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
608 2013-01-31 David S. Miller <davem@davemloft.net>
610 * po/de.po: Update from translation team.
612 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
616 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
618 * configure.in (_AC_PROG_CC_C89): New definition.
619 * configure: Regenerate.
621 * configure.in (AC_PROG_CPP): New definition.
622 * configure: Regenerate.
624 2013-01-23 Joseph Myers <joseph@codesourcery.com>
626 * debug/tst-backtrace.h: New file.
627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
628 (ret): Remove variable.
630 (FAIL): Remove macro.
631 (NO_INLINE): Likewise.
632 (fn1): Use match function instead of strstr.
633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
634 (ret): Remove variable.
636 (FAIL): Remove macro.
637 (NO_INLINE): Likewise.
638 (fn): Use match function instead of strstr.
639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
640 (ret): Remove variable.
642 (FAIL): Remove macro.
643 (NO_INLINE): Likewise.
644 (handle_signal): Use match function instead of strstr.
645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
646 (ret): Remove variable.
648 (FAIL): Remove macro.
649 (NO_INLINE): Likewise.
650 (handle_signal): Use match function instead of strstr.
652 2013-01-23 Roland McGrath <roland@hack.frob.com>
654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
656 2013-01-23 David S. Miller <davem@davemloft.net>
658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
660 argument of CAS if possible.
661 * sysdeps/sparc/sparc64/bits/atomic.h
662 (__arch_compare_and_exchange_val_32_acq): Likewise.
663 (__arch_compare_and_exchange_val_64_acq): Likewise.
665 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
668 * sysdeps/posix/ulimit.c: ... this.
670 * sysdeps/unix/bsd/ulimit.c: Remove file.
672 2013-01-23 Adam Conrad <adconrad@0c3.net>
674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
675 (LDFLAGS-tst-array5): Likewise.
677 2013-01-23 Joseph Myers <joseph@codesourcery.com>
680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
685 2013-01-21 David S. Miller <davem@davemloft.net>
687 * sysdeps/sparc/backtrace.c: New file.
688 * sysdeps/sparc/sparc32/backtrace.h: New file.
689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
690 * sysdeps/sparc/sparc64/backtrace.h: New file.
691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
695 2013-01-21 Andreas Schwab <schwab@suse.de>
698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
701 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
707 2013-01-18 Joseph Myers <joseph@codesourcery.com>
708 Mark Mitchell <mark@codesourcery.com>
709 Tom de Vries <tom@codesourcery.com>
710 Paul Pluzhnikov <ppluzhnikov@google.com>
712 * debug/tst-backtrace2.c: New file.
713 * debug/tst-backtrace3.c: Likewise.
714 * debug/tst-backtrace4.c: Likewise.
715 * debug/tst-backtrace5.c: Likewise.
716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
717 (CFLAGS-tst-backtrace3.c): Likewise.
718 (CFLAGS-tst-backtrace4.c): Likewise.
719 (CFLAGS-tst-backtrace5.c): Likewise.
720 (LDFLAGS-tst-backtrace2): Likewise.
721 (LDFLAGS-tst-backtrace3): Likewise.
722 (LDFLAGS-tst-backtrace4): Likewise.
723 (LDFLAGS-tst-backtrace5): Likewise.
724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
725 tst-backtrace4 and tst-backtrace5.
727 2013-01-18 Anton Blanchard <anton@samba.org>
728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
736 "+r" and remove output regs list as redundant. Add explicit inline
737 asm to specify register of return val to work around compiler codegen
738 bug. Remove (int) cast on return value. Add return type parameter to
739 use in macro so that this macro does not truncate return value for
741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
742 pass to INTERNAL_VSYSCALL_NCS.
743 (INLINE_VSYSCALL): Add 'long int' as return type to
744 INTERNAL_VSYSCALL_NCS macro invocation.
745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
746 INTERNAL_VSYSCALL_NCS macro invocation.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
749 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
753 Fix application of SIMD FP exception mask.
755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
756 mp_no from a power of two.
757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
758 __mpexp_twomm1. Use __pow_mp.
760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
763 2013-01-17 David S. Miller <davem@davemloft.net>
765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
767 2013-01-17 Joseph Myers <joseph@codesourcery.com>
770 * include/complex.h: Condition contents on [!_COMPLEX_H].
771 (__kernel_casinhf): New prototype.
772 (__kernel_casinh): Likewise.
773 (__kernel_casinhl): Likewise.
774 * math/Makefile (libm_calls): Add k_casinh.
775 * math/k_casinh.c: New file.
776 * math/k_casinhf.c: Likewise.
777 * math/k_casinhl.c: Likewise.
778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
779 finite nonzero arguments.
780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
781 finite nonzero arguments.
782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
783 finite nonzero arguments.
784 * math/s_casinh.c: Do not include <float.h>.
785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
786 * math/s_casinhf.c: Do not include <float.h>.
787 (__casinhf): Move code for finite nonzero arguments to
789 * math/s_casinhl.c: Do not include <float.h>.
790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
792 (__casinhl): Move code for finite nonzero arguments to
794 * math/libm-test.inc (cacos_test): Add more tests.
795 * sysdeps/i386/fpu/libm-test-ulps: Update.
796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
798 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
802 [!HAVE_MREMAP]: Remove [defined linux] case.
803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
805 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
809 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
811 * elf/elf.h (R_386_SIZE32): New relocation.
812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
814 (elf_machine_rela): Likewise.
815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
818 2013-01-17 Joseph Myers <joseph@codesourcery.com>
820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
821 (FP_FAST_FMA): Do not define.
822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
826 !_SOFT_FLOAT]: Likewise.
827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
838 2013-01-16 Andreas Schwab <schwab@suse.de>
841 * include/stdlib.h (__mktemp): Add declaration.
842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
845 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
869 2013-01-15 David S. Miller <davem@davemloft.net>
871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
872 trunc{,f} to libm-sysdep_routes.
873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
891 nearbyint{,f} to libm-sysdep_routes.
892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
913 libc_feholdexcept and libc_fesetenv.
915 2013-01-15 Mike Frysinger <vapier@gentoo.org>
917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
919 2013-01-14 David S. Miller <davem@davemloft.net>
921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
922 (SPARC_ASM_VIS2_IFUNC): Likewise.
923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
925 use of 'siam' instruction.
926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
959 routines to libm-sysdep_routines.
960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
963 fdim/fdimf to libm-sysdep_routines.
964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
977 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
987 local variable MPTWO.
988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
991 2013-01-13 Mike Frysinger <vapier@gentoo.org>
993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
996 2013-01-13 Mike Frysinger <vapier@gentoo.org>
998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1000 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1002 * manual/pattern.texi (glob_t): Document gl_flags.
1003 (glob64_t): Likewise.
1005 2013-01-11 David S. Miller <davem@davemloft.net>
1007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1022 sparc V9 rather than using V8 code.
1023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1031 2013-01-11 Roland McGrath <roland@hack.frob.com>
1033 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1034 not in the main loop.
1035 * configure: Regenerated.
1037 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1039 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1040 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1042 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1043 [!__GLIBC_HAVE_LONG_LONG] case.
1044 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1045 condition to just #else.
1046 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1047 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1048 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1049 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1051 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1052 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1053 #elif condition to just #else.
1054 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1055 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1056 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1057 #elif condition to just #else.
1059 2013-01-11 Steve Ellcey <sellcey@mips.com>
1061 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1062 (EF_MIPS_ARCH_64): Fix value.
1063 (EF_MIPS_ARCH_32R2): New.
1064 (EF_MIPS_ARCH_64R2): New.
1066 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1068 * Makeconfig (+link-pie-before-libc): New.
1069 (+link-pie-after-libc): Likewise.
1070 (+link-pie-tests): Likewise.
1071 (+link-pie): Rewritten.
1072 (link-before-libc): Remove $(config-LDFLAGS).
1073 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1074 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1075 (config-LDFLAGS): Renamed to ...
1076 (rtld-LDFLAGS): This.
1077 (rtld-tests-LDFLAGS): New macro.
1078 (link-libc-rpath-link): Likewise.
1079 (link-libc-tests-rpath-link): Likewise.
1080 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1081 (link-libc): Prepand $(link-libc-rpath-link).
1082 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1083 (test-program-prefix): New macro.
1084 (test-via-rtld-prefix): Likewise.
1085 (test-program-cmd): Likewise.
1086 (host-test-program-cmd): Likewise.
1087 * Makefile ($(common-objpfx)testrun.sh): Replace
1088 $(run-program-prefix) with $(test-program-prefix).
1089 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1091 ($(common-objpfx)shlib.lds): Likewise.
1092 (build-module-helper): Likewise.
1093 ($(common-objpfx)format.lds): Likewise.
1094 * Rules (binaries-pie-tests): New.
1095 (binaries-pie-notests): Likewise.
1096 (binaries-pie): Rewritten.
1097 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1098 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1099 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1100 (make-test-out): Replace $(host-built-program-cmd) with
1101 $(host-test-program-cmd).
1102 * config.make.in (build-hardcoded-path-in-tests): New variable.
1103 * configure.in (--enable-hardcoded-path-in-tests): New configure
1105 (hardcoded_path_in_tests): New AC_SUBST.
1106 * configure: Regenerated.
1107 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1108 $(built-program-cmd) with $(test-program-cmd).
1109 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1110 (test_program_cmd): This.
1111 * elf/Makefile ($(objpfx)order.out): Run test with
1112 $(test-program-prefix).
1113 ($(objpfx)order2.out): Likewise.
1114 ($(objpfx)tst-initorder.out): Likewise.
1115 ($(objpfx)tst-initorder2.out): Likewise.
1116 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1117 $(test-program-cmd).
1118 ($(objpfx)tst-array1-static.out): Likewise.
1119 ($(objpfx)tst-array2.out): Likewise.
1120 ($(objpfx)tst-array3.out): Likewise.
1121 ($(objpfx)tst-array4.out): Likewise.
1122 ($(objpfx)tst-array5.out): Likewise.
1123 ($(objpfx)tst-array5-static.out): Likewise.
1124 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1125 $(test-program-cmd).
1126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1127 $(run-program-prefix) with $(test-program-prefix).
1128 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1129 (test_program_prefix): This.
1130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1131 $(run-program-prefix) with $(test-program-prefix).
1132 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1133 (test_program_prefix): This.
1134 * iconvdata/tst-tables.sh: Likewise.
1135 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1136 $(run-program-prefix) with $(test-program-prefix).
1137 ($(objpfx)tst-translit.out): Likewise.
1138 ($(objpfx)tst-gettext2.out): Likewise.
1139 ($(objpfx)tst-gettext4.out): Likewise.
1140 ($(objpfx)tst-gettext6.out): Likewise.
1141 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1142 (test_program_prefix): This.
1143 * intl/tst-gettext2.sh: Likewise.
1144 * intl/tst-gettext4.sh Likewise.
1145 * intl/tst-gettext6.sh: Likewise.
1146 * intl/tst-translit.sh: Likewise.
1147 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1148 with $(test-program-cmd).
1149 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1150 $(run-program-prefix) with $(test-program-prefix).
1151 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1152 (test_program_prefix): This.
1153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1154 $(run-program-prefix) with $(test-program-prefix).
1155 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1156 (test_program_prefix): This.
1157 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1158 * posix/Makefile ($(objpfx)globtest.out): Replace
1159 $(run-via-rtld-prefix) and $(test-wrapper) with
1160 $(test-program-prefix) and $(test-via-rtld-prefix).
1161 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1162 $(test-program-prefix).
1163 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1164 $(host-test-program-cmd).
1165 (tst-spawn-ARGS): Likewise.
1166 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1167 $(test-program-prefix).
1168 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1169 (test_via_rtld_prefix): This.
1170 (test_wrapper): Renamed to ...
1171 (test_program_prefix): This.
1172 (run_program_prefix): Replaced by test_program_prefix.
1173 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1174 (test_program_prefix): This.
1175 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1176 with $(host-test-program-cmd).
1177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1178 $(run-program-prefix) with $(test-program-prefix).
1179 ($(objpfx)tst-printf.out): Likewise.
1180 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1181 $(test-program-cmd).
1182 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1183 (test_program_prefix): This.
1184 * stdio-common/tst-unbputc.sh: Likewise.
1185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1186 $(run-program-prefix) with $(test-program-prefix).
1187 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1188 (test_program_prefix): This.
1189 * string/Makefile ($(objpfx)tst-svc.out): Replace
1190 $(built-program-cmd) with $(test-program-cmd).
1192 2013-01-11 Andreas Jaeger <aj@suse.de>
1195 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1196 value. Sync with Linux 3.7.
1198 2013-01-10 David S. Miller <davem@davemloft.net>
1200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1201 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1202 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1204 2013-01-10 Roland McGrath <roland@hack.frob.com>
1206 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1208 * configure: Regenerated.
1210 2013-01-10 David S. Miller <davem@davemloft.net>
1212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1213 sparc V9 rather than using V8 code.
1214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1217 2013-01-10 Roland McGrath <roland@hack.frob.com>
1219 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1220 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1221 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1222 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1223 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1224 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1225 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1226 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1227 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1228 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1229 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1230 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1231 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1232 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1233 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1234 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1235 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1236 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1237 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1238 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1239 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1240 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1241 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1242 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1243 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1244 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1245 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1247 2013-01-10 David S. Miller <davem@davemloft.net>
1249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1251 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1253 * posix/Makefile (tests-static): New variable.
1254 (tests): Add $(tests-static).
1255 (tst-exec-static-ARGS): New variable.
1256 (tst-spawn-static-ARGS): Likewise.
1257 * posix/tst-exec-static.c: New file.
1258 * posix/tst-spawn-static.c: Likewise.
1259 * posix/tst-exec.c: Support run directly.
1260 * posix/tst-spawn.c: Likewise.
1262 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1264 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1266 * math/bits/mathcalls.h (llrint): Likewise.
1267 (llround): Likewise.
1268 * stdlib/stdlib.h (struct drand48_data): Likewise.
1269 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1270 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1276 (elf_greg_t): Likewise.
1277 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1278 (__jmp_buf): Likewise.
1279 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1281 (llrint): Likewise, for all definitions.
1282 (llrintl): Likewise.
1284 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1285 Remove [__GNUC__] condition.
1286 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1287 condition to just [__USE_ISOC99].
1288 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1290 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1293 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1294 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1296 (_POSIX_V6_ILP32_OFF32): Likewise.
1297 (_XBS5_ILP32_OFF32): Likewise.
1298 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1299 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1301 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1303 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1306 doubles __mpexp_twomm1. Adjust usage.
1307 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1310 2013-01-10 Andreas Schwab <schwab@suse.de>
1313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1314 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1316 2013-01-09 David S. Miller <davem@davemloft.net>
1319 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1320 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1321 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1322 TCP_FASTOPEN): Define.
1323 (tcp_repair_opt): New structure.
1324 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1326 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1327 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1328 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1329 (tcp_cookie_transactions): New structure.
1331 2013-01-09 Anton Blanchard <anton@samba.org>
1333 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1338 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1340 * include/features.h (__USE_ANSI): Remove.
1342 2013-01-09 Roland McGrath <roland@hack.frob.com>
1344 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1346 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1348 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1350 * sysdeps/s390/fpu/libm-test-ulps: Update.
1352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1354 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1359 (__mp_dbl): Likewise.
1360 (__dbl_mp): Likewise.
1361 (add_magnitudes): Likewise.
1362 (sub_magnitudes): Likewise.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1373 (__mp_dbl): Likewise.
1374 (__dbl_mp): Likewise.
1375 (add_magnitudes): Likewise.
1376 (sub_magnitudes): Likewise.
1382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1387 (__mp_dbl): Likewise.
1388 (__dbl_mp): Likewise.
1389 (add_magnitudes): Likewise.
1390 (sub_magnitudes): Likewise.
1397 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1399 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1400 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1401 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1402 2 && __USE_EXTERN_INLINES]: Likewise.
1404 2013-01-08 Andreas Jaeger <aj@suse.de>
1407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1409 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1412 2013-01-07 Anton Blanchard <anton@samba.org>
1414 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1415 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1416 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1418 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1420 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1421 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1458 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1460 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1461 (__MALLOC_PMT): Likewise.
1462 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1463 [__GNUC__], only on [_LIBC].
1464 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1465 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1466 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1467 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1468 forward declaration.
1469 (realloc_hook_ini): Likewise.
1470 (memalign_hook_ini): Likewise.
1471 (__libc_memalign): Do not use __MALLOC_PMT in variable
1473 (__libc_valloc): Likewise.
1474 (__libc_pvalloc): Likewise.
1475 (__libc_calloc): Likewise.
1476 (__posix_memalign): Likewise.
1479 * math/s_casinh.c: Include <float.h>.
1480 (__casinh): Do not do computation with squaring and square root
1481 for large arguments.
1482 * math/s_casinhf.c: Include <float.h>.
1483 (__casinhf): Do not do computation with squaring and square root
1484 for large arguments.
1485 * math/s_casinhl.c: Include <float.h>.
1486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1487 (__casinhl): Do not do computation with squaring and square root
1488 for large arguments.
1489 * math/libm-test.inc (casin_test): Add more tests.
1490 (casinh_test): Likewise.
1491 * sysdeps/i386/fpu/libm-test-ulps: Update.
1492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1494 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1497 (__x86_64_raw_data_cache_size): Likewise.
1498 (__x86_64_data_cache_size_half): Likewise.
1499 (__x86_64_raw_data_cache_size_half): Likewise.
1500 (__x86_64_shared_cache_size): Likewise.
1501 (__x86_64_raw_shared_cache_size): Likewise.
1502 (__x86_64_shared_cache_size_half): Likewise.
1503 (__x86_64_raw_shared_cache_size_half): Likewise.
1504 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1506 (__x86_data_cache_size): This.
1507 (__x86_64_raw_data_cache_size): Renamed to ...
1508 (__x86_raw_data_cache_size): This.
1509 (__x86_64_data_cache_size_half): Renamed to ...
1510 (__x86_data_cache_size_half): This.
1511 (__x86_64_raw_data_cache_size_half): Renamed to ...
1512 (__x86_raw_data_cache_size_half): This.
1513 (__x86_64_shared_cache_size): Renamed to ...
1514 (__x86_shared_cache_size): This.
1515 (__x86_64_raw_shared_cache_size): Renamed to ...
1516 (__x86_raw_shared_cache_size): This.
1517 (__x86_64_shared_cache_size_half): Renamed to ...
1518 (__x86_shared_cache_size_half): This.
1519 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1520 (__x86_raw_shared_cache_size_half): This.
1521 * sysdeps/x86_64/memcpy.S: Updated.
1522 * sysdeps/x86_64/memset.S: Likewise.
1523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1527 2013-01-04 David S. Miller <davem@davemloft.net>
1529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1531 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1534 1 to avoid redefinition warning.
1535 (__USE_GNU): Don't define.
1536 (init_signaling_nan): Protoize.
1538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1540 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1544 (__cpymn): Likewise.
1545 (norm): Remove commented code.
1547 (__mp_dbl): Likewise.
1549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1550 (__cpymn): Likewise.
1551 (norm): Remove commented code.
1553 (__mp_dbl): Likewise.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1557 mp_no value for 1.0 and 2.0.
1558 (norm): Use RADIXI instead of radixi.d.
1560 (__mul): Use 0.0 instead of zero.d.
1561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1562 mp_no value for 1.0 and 2.0.
1563 (norm): Use RADIXI instead of radixi.d.
1565 (__mul): Use 0.0 instead of zero.d.
1567 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1570 * math/s_casinh.c (__casinh): Reduce finite argument to first
1571 quadrant then set signs of results at the end.
1572 * math/s_casinhf.c (__casinhf): Likewise.
1573 * math/s_casinhl.c (__casinhl): Likewise.
1574 * math/libm-test.inc (casin_test): Add more tests.
1575 (casinh_test): Likewise.
1576 * sysdeps/i386/fpu/libm-test-ulps: Update.
1577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1579 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1583 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1585 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1588 (__mp_dbl): Likewise.
1591 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1592 and adjust the header comment.
1594 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1595 variable name from declaration.
1597 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1600 Initialize COMMON_CPUID_INDEX_7 element.
1601 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1602 (CPUID_RTM): Likewise.
1603 (HAS_RTM): Likewise.
1604 (COMMON_CPUID_INDEX_7): New enum.
1606 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1609 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1610 size is zero, record memory as freed.
1612 2013-01-03 Andreas Jaeger <aj@suse.de>
1614 * po/ia.po: Add new Interlingua translation.
1616 2012-01-03 Allan McRae <allan@archlinux.org>
1618 * locale/programs/localedef.c: Fix description of '--posix' flag.
1620 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1622 * NEWS: Update dates in second copyright notice.
1623 * README: Update copyright dates in example.
1624 * manual/libc.texinfo: Update copyright dates.
1625 * scripts/test-installation.pl: Update copyright date in --version
1628 * hurd/ctty-input.c: Fix copyright notice formatting.
1629 * hurd/ctty-output.c: Likewise.
1630 * hurd/dtable.c: Likewise.
1631 * hurd/hurd-raise.c: Likewise.
1632 * hurd/hurdprio.c: Likewise.
1633 * hurd/msgportdemux.c: Likewise.
1634 * misc/sys/file.h: Likewise.
1635 * misc/sys/ioctl.h: Likewise.
1636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1637 * sysdeps/mach/hurd/chdir.c: Likewise.
1638 * sysdeps/mach/hurd/fchdir.c: Likewise.
1639 * sysdeps/mach/hurd/rename.c: Likewise.
1640 * sysdeps/mach/hurd/rmdir.c: Likewise.
1641 * sysdeps/mach/hurd/seekdir.c: Likewise.
1642 * sysdeps/mach/hurd/setsid.c: Likewise.
1643 * sysdeps/posix/wait3.c: Likewise.
1645 * All files with FSF copyright notices: Update copyright dates
1646 using scripts/update-copyrights.
1647 * intl/plural.c: Regenerated.
1648 * locale/programs/charmap-kw.h: Likewise.
1649 * locale/programs/locfile-kw.h: Likewise.
1651 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1657 calculation loop and add branch prediction.
1659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1660 check access beyond bounds of m1np.
1662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1664 (__inv): Remove local variable MPTWO to use the global
1666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1670 MP3HALFS static const.
1672 2013-01-01 David S. Miller <davem@davemloft.net>
1674 * po/ca.po: Update from translation team.
1676 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1678 * scripts/update-copyrights: New file.
1679 * Makeconfig: Reformat copyright notice.
1680 * ctype/ctype.h: Likewise.
1681 * debug/swprintf_chk.c: Likewise.
1682 * elf/dl-cache.c: Likewise.
1683 * elf/dl-debug.c: Likewise.
1684 * elf/dl-object.c: Likewise.
1685 * grp/initgroups.c: Likewise.
1686 * hurd/Makefile: Likewise.
1687 * hurd/hurd/signal.h: Likewise.
1688 * hurd/hurdfault.c: Likewise.
1689 * hurd/hurdioctl.c: Likewise.
1690 * hurd/hurdlookup.c: Likewise.
1691 * hurd/intr-msg.c: Likewise.
1692 * iconv/gconv_open.c: Likewise.
1693 * libio/swprintf.c: Likewise.
1694 * locale/lc-ctype.c: Likewise.
1695 * locale/nl_langinfo.c: Likewise.
1696 * mach/Machrules: Likewise.
1697 * mach/Makefile: Likewise.
1698 * malloc/obstack.h: Likewise.
1699 * manual/Makefile: Likewise.
1700 * manual/tsort.awk: Likewise.
1701 * misc/bits/stab.def: Likewise.
1702 * nis/nis_print_group_entry.c: Likewise.
1703 * nis/nis_table.c: Likewise.
1704 * nis/nss_compat/compat-pwd.c: Likewise.
1705 * nis/nss_compat/compat-spwd.c: Likewise.
1706 * po/Makefile: Likewise.
1707 * posix/fnmatch.c: Likewise.
1708 * posix/regex.h: Likewise.
1709 * resolv/Makefile: Likewise.
1710 * resolv/nss_dns/dns-network.c: Likewise.
1711 * resolv/res_hconf.c: Likewise.
1712 * scripts/gen-sorted.awk: Likewise.
1713 * soft-fp/soft-fp.h: Likewise.
1714 * stdio-common/printf.h: Likewise.
1715 * stdlib/monetary.h: Likewise.
1716 * stdlib/random.c: Likewise.
1717 * stdlib/random_r.c: Likewise.
1718 * sysdeps/generic/Makefile: Likewise.
1719 * sysdeps/gnu/Makefile: Likewise.
1720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1748 * sysdeps/mach/hurd/errnos.awk: Likewise.
1749 * sysdeps/mach/hurd/fork.c: Likewise.
1750 * sysdeps/mach/hurd/getcwd.c: Likewise.
1751 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1752 * sysdeps/mach/hurd/mmap.c: Likewise.
1753 * sysdeps/mach/hurd/utimes.c: Likewise.
1754 * sysdeps/mach/hurd/xmknod.c: Likewise.
1755 * sysdeps/posix/profil.c: Likewise.
1756 * sysdeps/posix/readdir_r.c: Likewise.
1757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1758 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1760 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1768 * sysdeps/pthread/lio_listio.c: Likewise.
1769 * sysdeps/sparc/dl-procinfo.h: Likewise.
1770 * sysdeps/unix/i386/sysdep.S: Likewise.
1771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1772 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1774 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1776 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1778 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1779 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1780 * sysdeps/wordsize-32/divdi3.c: Likewise.
1781 * time/sys/time.h: Likewise.
1782 * wcsmbs/Makefile: Likewise.
1784 2013-01-01 David S. Miller <davem@davemloft.net>
1786 * po/fr.po: Update from translation team.
1788 * catgets/gencat.c: Update copyright year.
1789 * csu/version.c: Likewise.
1790 * debug/catchsegv.sh: Likewise.
1791 * debug/pcprofiledump.c: Likewise.
1792 * debug/xtrace.sh: Likewise.
1793 * elf/ldconfig.c: Likewise.
1794 * elf/ldd.bash.in: Likewise.
1795 * elf/pldd.c: Likewise.
1796 * elf/sotruss.ksh: Likewise.
1797 * elf/sprof.c: Likewise.
1798 * iconv/iconv_prog.c: Likewise.
1799 * iconv/iconvconfig.c: Likewise.
1800 * locale/programs/locale.c: Likewise.
1801 * locale/programs/localedef.c: Likewise.
1802 * login/programs/pt_chown.c: Likewise.
1803 * malloc/memusage.sh: Likewise.
1804 * malloc/memusagestat.c: Likewise.
1805 * malloc/mtrace.pl: Likewise.
1806 * nscd/nscd.c: Likewise.
1807 * nss/getent.c: Likewise.
1808 * nss/makedb.c: Likewise.
1809 * posix/getconf.c: Likewise.
1811 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1813 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1816 2012-12-30 Mike Frysinger <vapier@gentoo.org>
1818 * math/bits/mathcalls.h (modf): Use __nonnull.
1820 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1822 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1823 (split): Use macro CN instead of the bare value.
1824 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1827 instead of the bare value.
1830 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1836 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1840 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1843 2012-12-28 Andreas Jaeger <aj@suse.de>
1845 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1846 values are from Linux 3.7.
1848 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1849 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1851 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1853 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1858 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1859 variables with preprocessor constants.
1860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1861 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1864 2012-12-27 Bruno Haible <bruno@clisp.org>
1867 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1870 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1873 and use variable directly.
1874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1876 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1883 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1884 include directive. Remove local variable MPONE.
1885 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1889 2012-12-25 David S. Miller <davem@davemloft.net>
1891 * version.h (RELEASE): Set to "development".
1892 (VERSION): Set to "2.17.90".
1893 * NEWS: Add 2.18 section.
1895 2012-12-21 David S. Miller <davem@davemloft.net>
1897 * po/hr.po: Update from translation team.
1899 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1901 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1903 2012-12-19 Steve Ellcey <sellcey@mips.com>
1905 * NEWS: Mention new memcpy for MIPS.
1907 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1909 * manual/contrib.texi (Contributors): Spelling correction.
1911 2012-12-15 David S. Miller <davem@davemloft.net>
1913 * po/ru.po: Update from translation team.
1915 2012-12-13 David S. Miller <davem@davemloft.net>
1917 * NEWS: Mention IFUNC testsuite enhancements.
1919 * po/pl.po: Update from translation team.
1920 * po/bg.po: Likewise.
1922 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1923 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1925 2012-12-11 David S. Miller <davem@davemloft.net>
1927 * po/sv.po: Update from translation team.
1929 * po/vi.po: Update from translation team.
1931 * po/cs.po: Update from translation team.
1933 * po/de.po: Update from translation team.
1934 * po/eo.po: Likewise.
1935 * po/nl.po: Likewise.
1937 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1940 * manual/argp.texi (Argp Helper Functions): Move node to follow
1944 * manual/conf.texi (Limits on File System Capacity): Mention if
1945 terminating null is included in the max size.
1947 2012-12-10 Andreas Jaeger <aj@suse.de>
1949 * po/cs.po: Update from translation team.
1951 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1953 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1954 void pointer and cast to uintptr_t.
1955 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1957 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1958 * sysdeps/s390/s390-64/memset.S: Likewise.
1960 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
1963 * menual/message.texi (Message Translation): Fix typos.
1964 (Helper programs for gettext): Likewise.
1966 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1969 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1972 2012-12-07 David S. Miller <davem@davemloft.net>
1974 * po/libc.pot: Update.
1976 2012-12-07 Richard Henderson <rth@redhat.com>
1979 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1980 normal/normal case to before the switch.
1981 (_FP_DIV): Likewise.
1983 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1984 Mike Frysinger <vapier@gentoo.org>
1986 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1987 check for __NR_fadvise64_64.
1989 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1991 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1992 0, not just to plain "0" as a statement.
1993 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1996 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1998 * NEWS: Use sourceware.org in Bugzilla URL.
2000 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2005 * stdio-common/tst-put-error.c (do_test): Add newline to the
2006 padded test to ensure flush.
2008 2012-12-05 Jeff Law <law@redhat.com>
2010 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2012 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2014 * README: Don't refer to ports add-on as distributed separately.
2015 Mention AArch64 in list of systems supported in the ports add-on.
2017 * LICENSES: Add more non-FSF copyright and license notices.
2019 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2024 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2025 10000 as width of padded output.
2027 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2029 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2032 variable LX with __attribute__ ((unused)).
2033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2038 with __attribute__ ((unused)).
2040 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2042 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2044 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2046 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2047 (CFLAGS-nldbl-acos.c): New variable.
2048 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2049 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2050 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2051 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2052 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2053 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2054 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2055 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2056 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2057 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2058 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2059 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2060 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2061 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2062 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2063 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2064 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2065 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2066 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2067 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2068 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2069 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2070 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2071 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2076 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2077 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2078 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2079 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2080 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2081 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2082 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2083 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2084 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2085 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2086 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2087 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2088 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2089 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2090 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2091 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2092 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2093 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2094 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2095 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2096 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2097 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2098 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2099 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2100 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2101 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2102 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2103 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2104 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2105 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2106 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2107 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2108 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2109 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2110 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2111 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2112 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2113 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2114 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2115 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2116 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2117 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2118 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2119 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2120 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2121 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2122 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2123 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2124 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2125 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2126 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2127 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2128 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2129 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2130 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2131 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2132 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2133 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2134 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2135 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2136 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2137 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2141 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2142 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2143 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2144 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2151 whole low double instead of just low 47 bits when splitting values
2154 2012-12-03 Allan McRae <allan@archlinux.org>
2156 * manual/stdio.texi (Predefined Printf Handlers): Remove
2157 @hsep and @vsep usage.
2159 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2161 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2162 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2164 2012-12-03 Jeff Law <law@redhat.com>
2166 * time/sys/time.h (settimeofday): Do not mark TV argument
2169 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2171 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2172 when currently writing and seek to current position when not.
2173 * libio/Makefile (tests): Remove bug-fclose1.
2174 * libio/bug-fclose1.c: Delete.
2176 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2178 * manual/arith.texi (feenableexcept): Fix typo.
2179 (fedisableexcept): Likewise.
2181 2012-11-30 Roland McGrath <roland@hack.frob.com>
2183 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2184 second, differently-typed declaration, rather than a cast.
2186 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2188 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2189 * include/rpc/svc.h: ... here.
2191 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2194 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2195 depending n and resplen2 to catch cases where answer
2198 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2201 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2203 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2207 2012-11-29 Roland McGrath <roland@hack.frob.com>
2209 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2211 2012-11-28 Jeff Law <law@redhat.com>
2214 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2215 dataset_temporary. Track alloca usage into alloca_used.
2216 If dataset is large allocate and release it via malloc/free.
2218 2012-06-04 Florian Weimer <fweimer@redhat.com>
2221 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2223 2012-11-28 David S. Miller <davem@davemloft.net>
2225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2227 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2230 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2231 of pi/2 rounded to nearest to 64 bits.
2232 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2234 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2237 2012-11-28 Jeff Law <law@redhat.com>
2238 Martin Osvald <mosvald@redhat.com>
2241 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2242 * sunrpc/svc.c: Include time.h.
2243 (__svc_accept_failed): New function.
2244 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2245 any reason other than EINTR, call __svc_accept_failed.
2246 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2247 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2249 2012-11-28 Andreas Schwab <schwab@suse.de>
2251 * scripts/abilist.awk: Also handle indirect functions in .opd
2254 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2257 * sysdeps/x86/fpu/powl_helper.c: New file.
2258 * sysdeps/x86/fpu/Makefile: Likewise.
2259 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2261 (__ieee754_powl): Use __powl_helper for finite arguments except
2262 integer exponents below 8.
2263 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2265 (__ieee754_powl): Use __powl_helper for finite arguments except
2266 integer exponents below 8.
2267 * math/libm-test.inc (pow_test): Add more tests and enable some
2268 previously disabled tests.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2272 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2273 Carlos O'Donell <carlos_odonell@mentor.com>
2275 * nss/makedb.c (is_prime): Assert that input is odd and greater
2276 than 4. Note that fact in a comment too.
2277 (next_prime): Add 4 to input.
2279 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * libio/Makefile (tests): Add test case tst-fwrite-error.
2283 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2284 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2285 * libio/tst-fwrite-error.c: New test case.
2287 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2289 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2290 before casting to void *.
2291 * include/libc-internal.h (__pointer_type): New macro.
2292 (__integer_if_pointer_type_sub): Likewise.
2293 (__integer_if_pointer_type): Likewise.
2294 (cast_to_integer): Likewise.
2295 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2296 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2297 before casting to atomic64_t.
2298 (atomic_exchange_acq): Likewise.
2299 (__arch_exchange_and_add_body): Likewise.
2300 (__arch_add_body): Likewise.
2301 (atomic_add_negative): Likewise.
2302 (atomic_add_zero): Likewise.
2304 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2306 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2307 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2308 (add_fdes): Likewise.
2309 (linear_search_fdes): Likewise.
2310 (binary_search_unencoded_fdes): Likewise.
2312 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2314 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2316 2012-11-24 Adam Conrad <adconrad@0c3.net>
2318 * configure.in: Autodetect C++ header directories.
2319 * configure: Regenerated.
2321 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2323 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2325 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2329 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2331 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2332 LDBL_MANT_DIG == 106]: Disable some tests.
2333 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2335 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2340 input for small inputs. Return +/- pi/2 for large inputs.
2341 * math/libm-test.inc (atan_test): Add more tests.
2343 * sysdeps/generic/unwind-dw2-fde-glibc.c
2344 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2345 __attribute__ ((unused)).
2348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2349 x * y if x and y are nonzero and z is zero.
2352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2353 nonzero exponents with absolute value below 0x1p-117 to +/-
2357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2358 up arguments below 2**-450, not just those below 2**-500.
2359 * math/libm-test.inc (hypot_test): Add another test.
2362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2363 Return a+b for ratio over 2**120, not 2**60.
2364 * math/libm-test.inc (hypot_test): Add another test.
2366 * math/libm-test.inc (clog_test): Use
2367 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2368 (clog10_test): Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2373 2012-11-22 Andreas Schwab <schwab@suse.de>
2375 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2379 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2380 printf output with newline.
2382 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2385 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2386 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2387 -z nodlopen, -z initfirst and -z execstack support.
2388 * configure: Regenerated.
2390 * elf/elf.h (DF_1_NODIRECT): New macro.
2391 (DF_1_IGNMULDEF): Likewise.
2392 (DF_1_NOKSYMS): Likewise.
2393 (DF_1_NOHDR): Likewise.
2394 (DF_1_EDITED): Likewise.
2395 (DF_1_NORELOC): Likewise.
2396 (DF_1_SYMINTPOSE): Likewise.
2397 (DF_1_GLOBAUDIT): Likewise.
2398 (DF_1_SINGLETON): Likewise.
2399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2400 DT_1_SUPPORTED_MASK bits.
2401 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2403 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2405 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2407 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2409 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2413 (sendmmsg): Move declarations...
2414 * socket/sys/socket.h: ... here.
2415 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2416 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2418 * socket/recvmmsg.c: ... this new file.
2419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2420 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2421 definition of __sendmmsg hidden.
2422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2423 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2424 Move ENOSYS stub into and include it from...
2425 * socket/sendmmsg.c: ... this new file.
2426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2427 (sysdep_routines): Move recvmmsg and sendmmsg...
2428 * socket/Makefile (routines): ... here.
2429 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2430 (GLIBC_PRIVATE): Add __sendmmsg.
2431 * include/sys/socket.h (__sendmmsg): Add declarations.
2432 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2435 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2438 variable I1 with __attribute__ ((unused)).
2439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2441 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2443 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2444 DUMMY variables with __attribute__ ((unused)).
2446 * bits/byteswap.h: Include <bits/types.h>.
2447 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2449 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2451 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2452 string_t. Do not manually set errno.
2453 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2454 length with __strnlen. Make sure to both set errno and return it on
2457 2012-11-19 David S. Miller <davem@davemloft.net>
2459 With help from Joseph Myers.
2460 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2461 very large arguments properly.
2462 * math/libm-test.inc (atan_test): New tests.
2463 (atan2_test): New tests.
2464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2467 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2470 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2473 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2474 [POSIX] (EADDRNOTAVAIL): Likewise.
2475 [POSIX] (EAFNOSUPPORT): Likewise.
2476 [POSIX] (EALREADY): Likewise.
2477 [POSIX] (ECONNABORTED): Likewise.
2478 [POSIX] (ECONNREFUSED): Likewise.
2479 [POSIX] (ECONNRESET): Likewise.
2480 [POSIX] (EDESTADDRREQ): Likewise.
2481 [POSIX] (EDQUOT): Likewise.
2482 [POSIX] (EHOSTUNREACH): Likewise.
2483 [POSIX] (EIDRM): Likewise.
2484 [POSIX] (EISCONN): Likewise.
2485 [POSIX] (ELOOP): Likewise.
2486 [POSIX] (EMULTIHOP): Likewise.
2487 [POSIX] (ENETDOWN): Likewise.
2488 [POSIX] (ENETUNREACH): Likewise.
2489 [POSIX] (ENOBUFS): Likewise.
2490 [POSIX] (ENODATA): Likewise.
2491 [POSIX] (ENOLINK): Likewise.
2492 [POSIX] (ENOMSG): Likewise.
2493 [POSIX] (ENOPROTOOPT): Likewise.
2494 [POSIX] (ENOSR): Likewise.
2495 [POSIX] (ENOSTR): Likewise.
2496 [POSIX] (ENOTCONN): Likewise.
2497 [POSIX] (ENOTSOCK): Likewise.
2498 [POSIX] (EOPNOTSUPP): Likewise.
2499 [POSIX] (EOVERFLOW): Likewise.
2500 [POSIX] (EPROTO): Likewise.
2501 [POSIX] (EPROTONOSUPPORT): Likewise.
2502 [POSIX] (EPROTOTYPE): Likewise.
2503 [POSIX] (ESTALE): Likewise.
2504 [POSIX] (ETIME): Likewise.
2505 [POSIX] (ETXTBSY): Likewise.
2506 [POSIX] (EWOULDBLOCK): Likewise.
2507 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2508 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2509 [POSIX] (SEEK_CUR): Likewise.
2510 [POSIX] (SEEK_END): Likewise.
2511 [POSIX || UNIX98] (mode_t): Do not require.
2512 [POSIX] (off_t): Likewise.
2513 [POSIX] (pid_t): Likewise.
2514 [POSIX] (sys/stat.h): Do not allow header.
2515 [POSIX] (unistd.h): Likewise.
2516 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2517 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2518 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2519 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2521 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2522 sigevent): Specify elements.
2523 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2525 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2526 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2528 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2529 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2530 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2531 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2532 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2533 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2534 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2535 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2536 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2538 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2540 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2554 Specify lower bound on value.
2555 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2559 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2561 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2562 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2567 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2568 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2569 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2570 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2574 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2583 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2585 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2587 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2588 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2589 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2594 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2595 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2596 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2597 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2603 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2604 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2605 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2606 specify as optional.
2607 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2608 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2611 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2612 [XPG3] (NL_LANGMAX): Likewise.
2613 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2614 [POSIX || XPG3] (NL_NMAX): Likewise.
2615 [POSIX || XPG3] (NL_SETMAX): Likewise.
2616 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2617 [XPG3] (NZERO): Likewise.
2618 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2619 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2620 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2621 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2622 (REG_ERANGE): Expect.
2623 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2625 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2626 Use (void) in prototype.
2627 [POSIX] (*_t): Allow.
2628 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2629 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2630 (WRDE_BADVAL): Expect.
2632 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2634 [XPG3 || XPG4] (O_RSYNC): Likewise.
2635 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2637 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2638 [XPG3 || XPG4] (sigqueue): Likewise.
2639 [XPG3 || XPG4] (sigtimedwait): Likewise.
2640 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2641 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2642 [XPG3 || XPG4] (vsnprintf): Likewise.
2643 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2645 [XPG3 || XPG4] (blksize_t): Likewise.
2646 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2648 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2649 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2650 [XPG3 || XPG4] (struct itimerspec): Likewise.
2651 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2652 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2653 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2654 [XPG3 || XPG4] (clockid_t): Likewise.
2655 [XPG3 || XPG4] (timer_t): Likewise.
2656 [XPG3 || XPG4] (clock_getres): Likewise.
2657 [XPG3 || XPG4] (clock_gettime): Likewise.
2658 [XPG3 || XPG4] (clock_settime): Likewise.
2659 [XPG3 || XPG4] (nanosleep): Likewise.
2660 [XPG3 || XPG4] (timer_create): Likewise.
2661 [XPG3 || XPG4] (timer_delete): Likewise.
2662 [XPG3 || XPG4] (timer_gettime): Likewise.
2663 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2664 [XPG3 || XPG4] (timer_settime): Likewise.
2665 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2666 [XPG3 || XPG4] (getlogin_r): Likewise.
2667 [XPG3 || XPG4] (pread): Likewise.
2668 [XPG3 || XPG4] (pthread_atfork): Likewise.
2669 [XPG3 || XPG4] (pwrite): Likewise.
2672 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2675 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2677 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2678 finalizing MALLSTREAM.
2680 * sysdeps/mach/hurd/syncfs.c: New file.
2682 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2686 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2688 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2689 (_nss_dns_gethostbyname4_r): Likewise.
2690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2691 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2693 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2696 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2698 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2700 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2701 * elf/cache.c (print_entry): Print ",AArch64" for
2704 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2705 * elf/cache.c (print_entry): Print ",hard-float" for
2708 2012-11-18 David S. Miller <davem@davemloft.net>
2710 With help from Joseph Myers.
2711 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2713 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2715 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2716 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2719 * math/libm-test.inc (y0_test): New tests.
2720 (y1_test): New tests.
2721 * sysdeps/i386/fpu/libm-test-ulps: Update.
2722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2725 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2727 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2729 * configure: Regenerated.
2731 2012-11-17 David S. Miller <davem@davemloft.net>
2734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2735 nonzero exponents with absolute value below 0x1p-128 to +/-
2738 2012-11-17 Joseph Myers <joseph@codesourcery.com>
2740 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2742 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2744 * posix/getconf-speclist.c: New file.
2745 * posix/posix-envs.def: Likewise.
2746 * posix/confstr.c (START_ENV_GROUP): New macro.
2747 (END_ENV_GROUP): Likewise.
2748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2749 (KNOWN_PRESENT_ENV_STRING): Likewise.
2750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2751 (UNKNOWN_ENVIRONMENT): Likewise.
2752 (confstr): Include posix-envs.def instead of handling
2753 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2754 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2755 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2756 (END_ENV_GROUP): Likewise.
2757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2759 (UNKNOWN_ENVIRONMENT): Likewise.
2760 (__sysconf): Include posix-envs.def instead of handling associated
2761 cases directly here.
2762 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2763 preprocessing getconf-speclist.c rather than running getconf or
2764 generating empty file.
2766 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2768 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2770 2012-11-16 Andrej Lajovic <natrij@gmail.com>
2773 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2775 2012-11-16 David S. Miller <davem@davemloft.net>
2777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2778 smaller than LDBL_EPSILON/2.0L, just return xm1.
2780 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2782 * elf/tst-array1.c (init): Set constructor priority to 1000.
2783 (fini): Set destructor priority to 1000.
2784 * elf/tst-array2dep.c: Likewise.
2786 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2789 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2790 (_IO_new_file_xsputn): Also return EOF if none of the input
2791 data was written when overflow failed.
2792 * libio/iopadn.c (_IO_padn): Likewise.
2793 * libio/iowpadn.c (_IO_wpadn): Likewise.
2794 * stdio-common/tst-put-error.c: Add copyright notice.
2795 (do_test): Add case for printing padded string.
2796 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2797 _IO_padn returned error.
2798 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2799 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2802 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2804 * libio/libioP.h: Add comment note that the references to C++
2805 bits are now obsolete.
2807 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2809 * math/libm-test.inc (check_complex): Use asprintf.
2811 2012-11-14 Joseph Myers <joseph@codesourcery.com>
2813 * debug/pcprofiledump.c (print_version): Update copyright year.
2814 * malloc/memusagestat.c (print_version): Likewise.
2816 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2819 * elf/Makefile (tests): Add tst-audit8.
2820 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2821 ($(objpfx)tst-audit8.out): New target.
2822 (tst-audit8-ENV): New variable.
2823 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2824 audit if l_reloc_result is NULL.
2825 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2826 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2827 * elf/tst-audit8.c: New file.
2829 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2831 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2832 * misc/Makefile (CFLAGS-select.c): Define.
2833 * posix/Makefile (CFLAGS-pause.c): Define.
2835 2012-11-13 David S. Miller <davem@davemloft.net>
2837 * crypt/Makefile: Move test targets after toplevel Rules
2838 inclusion. Grab any necessary sysdep routines when linking.
2839 * crypt/md5.c (md5_process_block): Remove define, we will always
2840 name it __md5_process_block.
2841 (md5_finish_ctx): Update md5_process_block call.
2842 (md5_stream): Likewise.
2843 (md5_process_bytes): Likewise.
2844 (md5_process_block): Rename to __md5_process_block and move to ...
2845 * crypt/md5-block.c: ... here.
2846 * crypt/sha256.c (sha256_process_block): Move to ...
2847 * crypt/sha256-block.c: ... here.
2848 * crypt/sha512.c (sha512_process_block): Move to ...
2849 * crypt/sha512-block.c: ... here.
2850 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2852 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2853 * sysdeps/sparc/sparc64/multiarch/Makefile
2854 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2856 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2859 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2860 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2861 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2862 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2863 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2864 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2865 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2874 2012-11-13 Joseph Myers <joseph@codesourcery.com>
2876 * timezone/tzselect.ksh: Update from tzcode git revision
2877 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2878 * timezone/zdump.c: Likewise.
2879 * timezone/zic.c: Likewise.
2880 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2881 in TZVERSION setting, not $(PKGVERSION).
2882 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2883 REPORT_BUGS_TO settings.
2886 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2889 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2892 detection to immediately after _FP_ROUND().
2893 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2896 2012-11-11 David S. Miller <davem@davemloft.net>
2898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2900 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2901 __close rather than their public counterparts.
2903 2012-11-10 Joseph Myers <joseph@codesourcery.com>
2905 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2907 [UNIX98] (sem_timedwait): Do not expect.
2908 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2909 [XPG4 || UNIX98] (sockatmark): Do not expect.
2910 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2911 (clock_getcpuclockid): Do not expect.
2912 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2913 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2915 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2916 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2917 [UNIX98] (vwscanf): Likewise.
2918 [UNIX98] (vswscanf): Likewise.
2920 2012-11-09 Joseph Myers <joseph@codesourcery.com>
2922 * timezone/version.h: Remove file.
2923 * timezone/README: Do not refer to version.h.
2924 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2926 ($(objpfx)zdump.o): Likewise.
2927 ($(objpfx)version.h): New target.
2929 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2931 * timezone/README: Don't mention modification to tzselect.ksh.
2932 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2933 work on unmodified tzselect.ksh. Substitute version numbers in
2936 * Makefile (format-me): Remove.
2937 (INSTALL): Adjust indentation. Use commands directly instead of
2940 * aclocal.m4 (ACX_PKGVERSION): New macro.
2941 (ACX_BUGURL): Likewise.
2942 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2943 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2944 (REPORT_BUGS_TO): Likewise.
2945 * configure: Regenerated.
2946 * config.h.in (PKGVERSION): New macro.
2947 (REPORT_BUGS_TO): Likewise.
2948 * config.make.in (PKGVERSION): New variable.
2949 (PKGVERSION_TEXI): Likewise.
2950 (REPORT_BUGS_TO): Likewise.
2951 (REPORT_BUGS_TEXI): Likewise.
2952 * Makefile (format-me): Use -I$(common-objpfx)manual.
2953 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2954 ($(common-objpfx)manual/%): New target.
2955 (manual/%): Remove target.
2956 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2957 (print_version): Use PKGVERSION.
2958 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2959 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2961 ($(objpfx)xtrace): Likewise.
2962 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2963 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2964 (print_version): Use PKGVERSION.
2965 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2966 (do_version): Use PKGVERSION.
2967 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2969 (common-ldd-rewrite): Likewise.
2970 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2971 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2972 (print_version): Use PKGVERSION.
2973 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2974 * elf/pldd.c (argp_program_bug_address): Remove variable.
2975 (more_help): New function.
2976 (argp): Use more_help.
2977 (print_version): Use PKGVERSION.
2978 * elf/sln.c (main): Use PKGVERSION.
2979 (usage): Use REPORT_BUGS_TO.
2980 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2981 (top level): Use PKGVERSION.
2982 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2983 (print_version): Use PKGVERSION.
2984 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2985 (print_version): Use PKGVERSION.
2986 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2987 (print_version): Use PKGVERSION.
2988 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2989 (print_version): Use PKGVERSION.
2990 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2991 (print_version): Use PKGVERSION.
2992 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2993 (print_version): Use PKGVERSION.
2994 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2996 ($(objpfx)memusage): Likewise.
2997 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2998 (do_version): Use PKGVERSION.
2999 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3000 (print_version): Use PKGVERSION.
3001 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3002 ($PKGVERSION): New variable.
3003 ($REPORT_BUGS_TO): Likewise.
3004 (usage): Use $REPORT_BUGS_TO.
3005 (top level): Use $PKGVERSION.
3006 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3007 ($(objpfx)pkgvers.texi): New rule.
3008 ($(objpfx)stamp-pkgvers): Likewise.
3009 * manual/install.texi: Include pkgvers.texi.
3010 (--with-pkgversion): Document new configure option.
3011 (--with-bugurl): Likewise.
3012 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3013 than necessarily for this particular distribution. Use
3014 REPORT_BUGS_TO for where to report bugs.
3015 * INSTALL: Regenerated.
3016 * manual/libc.texinfo: Include pkgvers.texi.
3017 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3018 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3019 (print_version): Use PKGVERSION.
3020 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3021 (print_version): Use PKGVERSION.
3022 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3023 (print_version): Use PKGVERSION.
3024 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3025 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3027 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3028 (print_version): Use PKGVERSION.
3029 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3030 (print_version): Use PKGVERSION.
3031 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3034 * timezone/checktab.awk: Update from tzcode 2012i.
3035 * timezone/ialloc.c: Likewise.
3036 * timezone/private.h: Likewise.
3037 * timezone/scheck.c: Likewise.
3038 * timezone/tzfile.h: Likewise.
3039 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3040 (TZVERSION): Hardcode tzcode version number.
3041 * timezone/zdump.c: Update from tzcode 2012i.
3042 * timezone/zic.c: Likewise.
3043 * timezone/version.h: New file.
3044 * timezone/README: Describe version.h. Update upstream location.
3047 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3048 (mktemp): Enable declaration.
3049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3066 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3067 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3068 for copies of such integer values.
3069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3072 2012-11-09 Andreas Jaeger <aj@suse.de>
3074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3075 definitions and declarations that are provided by
3076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3078 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3081 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3082 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3085 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3087 * elf/elf.h: Update comment before AArch64 relocations.
3089 2012-11-07 David S. Miller <davem@davemloft.net>
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3092 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3093 (__start_context): Declare.
3094 (__makecontext_ret): Delete.
3095 (__makecontext): Hook up __start_context instead of
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3098 (sysdep_routines): Add __start_context when in stdlib.
3100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3102 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3103 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3104 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3106 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3107 (READELF): New variable. Use it instead of hardcoded "readelf".
3109 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3111 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3112 * sysdeps/x86/Makefile: Here.
3113 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3114 * sysdeps/x86/tst-xmmymm.sh: This.
3116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3118 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3120 [UNIX98] (pthread_barrier_t): Do not expect.
3121 [UNIX98] (pthread_barrierattr_t): Likewise.
3122 [UNIX98] (pthread_spinlock_t): Likewise.
3123 [UNIX98] (pthread_barrier_destroy): Likewise.
3124 [UNIX98] (pthread_barrier_init): Likewise.
3125 [UNIX98] (pthread_barrier_wait): Likewise.
3126 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3127 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3128 [UNIX98] (pthread_barrierattr_init): Likewise.
3129 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3130 [UNIX98] (pthread_getcpuclockid): Likewise.
3131 [UNIX98] (pthread_mutex_timedlock): Likewise.
3132 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3133 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3134 [UNIX98] (pthread_sigmask): Likewise.
3135 [UNIX98] (pthread_spin_destroy): Likewise.
3136 [UNIX98] (pthread_spin_init): Likewise.
3137 [UNIX98] (pthread_spin_lock): Likewise.
3138 [UNIX98] (pthread_spin_trylock): Likewise.
3139 [UNIX98] (pthread_spin_unlock): Likewise.
3140 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3142 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3143 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3144 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3145 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3146 [XPG3 || XPG4] (pthread_key_t): Likewise.
3147 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3148 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3149 [XPG3 || XPG4] (pthread_once_t): Likewise.
3150 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3151 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3152 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3153 [XPG3 || XPG4] (pthread_t): Likewise.
3155 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3157 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3160 Change function return type to int.
3162 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3163 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3164 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3165 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3166 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3167 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3168 [!POSIX] (posix_madvise): Likewise.
3169 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3171 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3172 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3174 (posix_mem_offset): Likewise.
3175 (posix_typed_mem_get_info): Likewise.
3176 (posix_typed_mem_open): Likewise.
3178 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3179 Change condition to [XOPEN2K8].
3181 * conform/conformtest.pl: Preprocess allow-header data with -x c
3182 instead of from stdin.
3183 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3184 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3185 [C99-based standards] (cerfc): Likewise.
3186 [C99-based standards] (cexp2): Likewise.
3187 [C99-based standards] (cexpm1): Likewise.
3188 [C99-based standards] (clog10): Likewise.
3189 [C99-based standards] (clog1p): Likewise.
3190 [C99-based standards] (clog2): Likewise.
3191 [C99-based standards] (clgamma): Likewise.
3192 [C99-based standards] (ctgamma): Likewise.
3193 [C99-based standards] (cerff): Likewise.
3194 [C99-based standards] (cerfcf): Likewise.
3195 [C99-based standards] (cexp2f): Likewise.
3196 [C99-based standards] (cexpm1f): Likewise.
3197 [C99-based standards] (clog10f): Likewise.
3198 [C99-based standards] (clog1pf): Likewise.
3199 [C99-based standards] (clog2f): Likewise.
3200 [C99-based standards] (clgammaf): Likewise.
3201 [C99-based standards] (ctgammaf): Likewise.
3202 [C99-based standards] (cerfl): Likewise.
3203 [C99-based standards] (cerfcl): Likewise.
3204 [C99-based standards] (cexp2l): Likewise.
3205 [C99-based standards] (cexpm1l): Likewise.
3206 [C99-based standards] (clog10l): Likewise.
3207 [C99-based standards] (clog1pl): Likewise.
3208 [C99-based standards] (clog2l): Likewise.
3209 [C99-based standards] (clgammal): Likewise.
3210 [C99-based standards] (ctgammal): Likewise.
3211 * conform/data/inttypes.h-data [C99-based standards]: Include
3212 stdint.h-data. Remove all expectations for stdint.h contents.
3213 [C99-based standards] (PRI*): Do not allow.
3214 [C99-based standards] (SCN*): Likewise.
3215 [C99-based standards] (*_t): Likewise.
3216 [C99-based-standards] (PRId8): Expect macro.
3217 [C99-based-standards] (PRIi8): Likewise.
3218 [C99-based-standards] (PRIo8): Likewise.
3219 [C99-based-standards] (PRIu8): Likewise.
3220 [C99-based-standards] (PRIx8): Likewise.
3221 [C99-based-standards] (PRIX8): Likewise.
3222 [C99-based-standards] (SCNd8): Likewise.
3223 [C99-based-standards] (SCNi8): Likewise.
3224 [C99-based-standards] (SCNo8): Likewise.
3225 [C99-based-standards] (SCNu8): Likewise.
3226 [C99-based-standards] (SCNx8): Likewise.
3227 [C99-based-standards] (PRIdLEAST8): Likewise.
3228 [C99-based-standards] (PRIiLEAST8): Likewise.
3229 [C99-based-standards] (PRIoLEAST8): Likewise.
3230 [C99-based-standards] (PRIuLEAST8): Likewise.
3231 [C99-based-standards] (PRIxLEAST8): Likewise.
3232 [C99-based-standards] (PRIXLEAST8): Likewise.
3233 [C99-based-standards] (SCNdLEAST8): Likewise.
3234 [C99-based-standards] (SCNiLEAST8): Likewise.
3235 [C99-based-standards] (SCNoLEAST8): Likewise.
3236 [C99-based-standards] (SCNuLEAST8): Likewise.
3237 [C99-based-standards] (SCNxLEAST8): Likewise.
3238 [C99-based-standards] (PRIdFAST8): Likewise.
3239 [C99-based-standards] (PRIiFAST8): Likewise.
3240 [C99-based-standards] (PRIoFAST8): Likewise.
3241 [C99-based-standards] (PRIuFAST8): Likewise.
3242 [C99-based-standards] (PRIxFAST8): Likewise.
3243 [C99-based-standards] (PRIXFAST8): Likewise.
3244 [C99-based-standards] (SCNdFAST8): Likewise.
3245 [C99-based-standards] (SCNiFAST8): Likewise.
3246 [C99-based-standards] (SCNoFAST8): Likewise.
3247 [C99-based-standards] (SCNuFAST8): Likewise.
3248 [C99-based-standards] (SCNxFAST8): Likewise.
3249 [C99-based-standards] (PRId16): Likewise.
3250 [C99-based-standards] (PRIi16): Likewise.
3251 [C99-based-standards] (PRIo16): Likewise.
3252 [C99-based-standards] (PRIu16): Likewise.
3253 [C99-based-standards] (PRIx16): Likewise.
3254 [C99-based-standards] (PRIX16): Likewise.
3255 [C99-based-standards] (SCNd16): Likewise.
3256 [C99-based-standards] (SCNi16): Likewise.
3257 [C99-based-standards] (SCNo16): Likewise.
3258 [C99-based-standards] (SCNu16): Likewise.
3259 [C99-based-standards] (SCNx16): Likewise.
3260 [C99-based-standards] (PRIdLEAST16): Likewise.
3261 [C99-based-standards] (PRIiLEAST16): Likewise.
3262 [C99-based-standards] (PRIoLEAST16): Likewise.
3263 [C99-based-standards] (PRIuLEAST16): Likewise.
3264 [C99-based-standards] (PRIxLEAST16): Likewise.
3265 [C99-based-standards] (PRIXLEAST16): Likewise.
3266 [C99-based-standards] (SCNdLEAST16): Likewise.
3267 [C99-based-standards] (SCNiLEAST16): Likewise.
3268 [C99-based-standards] (SCNoLEAST16): Likewise.
3269 [C99-based-standards] (SCNuLEAST16): Likewise.
3270 [C99-based-standards] (SCNxLEAST16): Likewise.
3271 [C99-based-standards] (PRIdFAST16): Likewise.
3272 [C99-based-standards] (PRIiFAST16): Likewise.
3273 [C99-based-standards] (PRIoFAST16): Likewise.
3274 [C99-based-standards] (PRIuFAST16): Likewise.
3275 [C99-based-standards] (PRIxFAST16): Likewise.
3276 [C99-based-standards] (PRIXFAST16): Likewise.
3277 [C99-based-standards] (SCNdFAST16): Likewise.
3278 [C99-based-standards] (SCNiFAST16): Likewise.
3279 [C99-based-standards] (SCNoFAST16): Likewise.
3280 [C99-based-standards] (SCNuFAST16): Likewise.
3281 [C99-based-standards] (SCNxFAST16): Likewise.
3282 [C99-based-standards] (PRId32): Likewise.
3283 [C99-based-standards] (PRIi32): Likewise.
3284 [C99-based-standards] (PRIo32): Likewise.
3285 [C99-based-standards] (PRIu32): Likewise.
3286 [C99-based-standards] (PRIx32): Likewise.
3287 [C99-based-standards] (PRIX32): Likewise.
3288 [C99-based-standards] (SCNd32): Likewise.
3289 [C99-based-standards] (SCNi32): Likewise.
3290 [C99-based-standards] (SCNo32): Likewise.
3291 [C99-based-standards] (SCNu32): Likewise.
3292 [C99-based-standards] (SCNx32): Likewise.
3293 [C99-based-standards] (PRIdLEAST32): Likewise.
3294 [C99-based-standards] (PRIiLEAST32): Likewise.
3295 [C99-based-standards] (PRIoLEAST32): Likewise.
3296 [C99-based-standards] (PRIuLEAST32): Likewise.
3297 [C99-based-standards] (PRIxLEAST32): Likewise.
3298 [C99-based-standards] (PRIXLEAST32): Likewise.
3299 [C99-based-standards] (SCNdLEAST32): Likewise.
3300 [C99-based-standards] (SCNiLEAST32): Likewise.
3301 [C99-based-standards] (SCNoLEAST32): Likewise.
3302 [C99-based-standards] (SCNuLEAST32): Likewise.
3303 [C99-based-standards] (SCNxLEAST32): Likewise.
3304 [C99-based-standards] (PRIdFAST32): Likewise.
3305 [C99-based-standards] (PRIiFAST32): Likewise.
3306 [C99-based-standards] (PRIoFAST32): Likewise.
3307 [C99-based-standards] (PRIuFAST32): Likewise.
3308 [C99-based-standards] (PRIxFAST32): Likewise.
3309 [C99-based-standards] (PRIXFAST32): Likewise.
3310 [C99-based-standards] (SCNdFAST32): Likewise.
3311 [C99-based-standards] (SCNiFAST32): Likewise.
3312 [C99-based-standards] (SCNoFAST32): Likewise.
3313 [C99-based-standards] (SCNuFAST32): Likewise.
3314 [C99-based-standards] (SCNxFAST32): Likewise.
3315 [C99-based-standards] (PRId64): Likewise.
3316 [C99-based-standards] (PRIi64): Likewise.
3317 [C99-based-standards] (PRIo64): Likewise.
3318 [C99-based-standards] (PRIu64): Likewise.
3319 [C99-based-standards] (PRIx64): Likewise.
3320 [C99-based-standards] (PRIX64): Likewise.
3321 [C99-based-standards] (SCNd64): Likewise.
3322 [C99-based-standards] (SCNi64): Likewise.
3323 [C99-based-standards] (SCNo64): Likewise.
3324 [C99-based-standards] (SCNu64): Likewise.
3325 [C99-based-standards] (SCNx64): Likewise.
3326 [C99-based-standards] (PRIdLEAST64): Likewise.
3327 [C99-based-standards] (PRIiLEAST64): Likewise.
3328 [C99-based-standards] (PRIoLEAST64): Likewise.
3329 [C99-based-standards] (PRIuLEAST64): Likewise.
3330 [C99-based-standards] (PRIxLEAST64): Likewise.
3331 [C99-based-standards] (PRIXLEAST64): Likewise.
3332 [C99-based-standards] (SCNdLEAST64): Likewise.
3333 [C99-based-standards] (SCNiLEAST64): Likewise.
3334 [C99-based-standards] (SCNoLEAST64): Likewise.
3335 [C99-based-standards] (SCNuLEAST64): Likewise.
3336 [C99-based-standards] (SCNxLEAST64): Likewise.
3337 [C99-based-standards] (PRIdFAST64): Likewise.
3338 [C99-based-standards] (PRIiFAST64): Likewise.
3339 [C99-based-standards] (PRIoFAST64): Likewise.
3340 [C99-based-standards] (PRIuFAST64): Likewise.
3341 [C99-based-standards] (PRIxFAST64): Likewise.
3342 [C99-based-standards] (PRIXFAST64): Likewise.
3343 [C99-based-standards] (SCNdFAST64): Likewise.
3344 [C99-based-standards] (SCNiFAST64): Likewise.
3345 [C99-based-standards] (SCNoFAST64): Likewise.
3346 [C99-based-standards] (SCNuFAST64): Likewise.
3347 [C99-based-standards] (SCNxFAST64): Likewise.
3348 [C99-based-standards] (PRIdMAX): Likewise.
3349 [C99-based-standards] (PRIiMAX): Likewise.
3350 [C99-based-standards] (PRIoMAX): Likewise.
3351 [C99-based-standards] (PRIuMAX): Likewise.
3352 [C99-based-standards] (PRIxMAX): Likewise.
3353 [C99-based-standards] (PRIXMAX): Likewise.
3354 [C99-based-standards] (SCNdMAX): Likewise.
3355 [C99-based-standards] (SCNiMAX): Likewise.
3356 [C99-based-standards] (SCNoMAX): Likewise.
3357 [C99-based-standards] (SCNuMAX): Likewise.
3358 [C99-based-standards] (SCNxMAX): Likewise.
3359 [C99-based-standards] (PRIdPTR): Likewise.
3360 [C99-based-standards] (PRIiPTR): Likewise.
3361 [C99-based-standards] (PRIoPTR): Likewise.
3362 [C99-based-standards] (PRIuPTR): Likewise.
3363 [C99-based-standards] (PRIxPTR): Likewise.
3364 [C99-based-standards] (PRIXPTR): Likewise.
3365 [C99-based-standards] (SCNdPTR): Likewise.
3366 [C99-based-standards] (SCNiPTR): Likewise.
3367 [C99-based-standards] (SCNoPTR): Likewise.
3368 [C99-based-standards] (SCNuPTR): Likewise.
3369 [C99-based-standards] (SCNxPTR): Likewise.
3370 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3372 * conform/data/stdint.h-data: Update comments to clarify
3374 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3376 [C99-based standards] (INT8_MAX): Likewise.
3377 [C99-based standards] (INT16_MIN): Likewise.
3378 [C99-based standards] (INT16_MAX): Likewise.
3379 [C99-based standards] (INT32_MIN): Likewise.
3380 [C99-based standards] (INT32_MAX): Likewise.
3381 [C99-based standards] (INT64_MIN): Likewise.
3382 [C99-based standards] (INT64_MAX): Likewise.
3383 [C99-based standards] (UINT8_MAX): Likewise.
3384 [C99-based standards] (UINT16_MAX): Likewise.
3385 [C99-based standards] (UINT32_MAX): Likewise.
3386 [C99-based standards] (UINT64_MAX): Likewise.
3387 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3388 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3389 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3390 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3391 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3392 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3393 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3394 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3395 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3396 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3397 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3398 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3399 [C99-based standards] (INT_FAST8_MIN): Likewise.
3400 [C99-based standards] (INT_FAST8_MAX): Likewise.
3401 [C99-based standards] (INT_FAST16_MIN): Likewise.
3402 [C99-based standards] (INT_FAST16_MAX): Likewise.
3403 [C99-based standards] (INT_FAST32_MIN): Likewise.
3404 [C99-based standards] (INT_FAST32_MAX): Likewise.
3405 [C99-based standards] (INT_FAST64_MIN): Likewise.
3406 [C99-based standards] (INT_FAST64_MAX): Likewise.
3407 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3408 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3409 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3410 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3411 [C99-based standards] (INTPTR_MIN): Likewise.
3412 [C99-based standards] (INTPTR_MAX): Likewise.
3413 [C99-based standards] (UINTPTR_MAX): Likewise.
3414 [C99-based standards] (INTMAX_MIN): Likewise.
3415 [C99-based standards] (INTMAX_MAX): Likewise.
3416 [C99-based standards] (UINTMAX_MAX): Likewise.
3417 [C99-based standards] (PTRDIFF_MIN): Likewise.
3418 [C99-based standards] (PTRDIFF_MAX): Likewise.
3419 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3420 [C99-based standards] (SIZE_MAX): Likewise.
3421 [C99-based standards] (WCHAR_MAX): Likewise.
3422 [C99-based standards] (WINT_MAX): Likewise.
3423 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3424 constraint on value.
3425 [C99-based standards] (WCHAR_MIN): Likewise.
3426 [C99-based standards] (WINT_MIN): Likewise.
3427 [C99-based standards] (*_t): Allow.
3428 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3429 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3430 Include math.h-data and complex.h-data. Remove all expectations
3431 of math.h and complex.h contents.
3432 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3434 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3435 (struct tm): Expect tag.
3436 [C99-based-standards] (wcstof): Expect function.
3437 [C99-based-standards] (wcstold): Likewise.
3438 [C99-based-standards] (wcstoll): Likewise.
3439 [C99-based-standards] (wcstoull): Likewise.
3440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3441 macro-int-constant. Specify type.
3442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3443 constraint on value.
3444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3446 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3448 [ISO C standards]: Do not allow headers.
3449 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3450 wcs[abcdefghijklmnopqrstuvwxyz]*.
3451 [ISO C standards] (*_t): Do not allow.
3452 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3454 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3457 [ISO C standards]: Do not allow headers.
3458 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3459 is[abcdefghijklmnopqrstuvwxyz]*.
3460 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3461 to[abcdefghijklmnopqrstuvwxyz]*.
3462 [ISO C standards] (*_t): Do not allow.
3463 * conform/data/stdalign.h-data: New file.
3464 * conform/data/stdbool.h-data: Likewise.
3465 * conform/data/stdnoreturn.h-data: Likewise.
3467 2012-11-07 Roland McGrath <roland@hack.frob.com>
3470 * manual/filesys.texi (Directory Entries): Typo fix.
3471 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3473 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3475 * elf/elf.h (EM_AARCH64): New macro.
3476 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3477 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3478 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3479 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3480 (R_AARCH64_TLSDESC): Likewise.
3481 (NT_ARM_TLS): Likewise.
3482 (NT_ARM_HW_BREAK): Likewise.
3483 (NT_ARM_HW_WATCH): Likewise.
3485 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3489 (__ieee754_powl): Saturate nonzero exponents with absolute value
3490 below 0x1p-79 to +/- 0x1p-79.
3491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3492 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3494 nonzero exponents with absolute value below 0x1p-32 to +/-
3496 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3497 (__ieee754_powl): Saturate nonzero exponents with absolute value
3498 below 0x1p-79 to +/- 0x1p-79.
3499 * math/libm-test.inc (pow_test): Add more tests.
3501 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3503 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3504 _dl_s390_cap_flags with kernel. Increase string length.
3505 (_dl_s390_platforms): Add z196 and zEC12.
3507 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3509 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3510 Change XOPEN21K to XOPEN2K.
3512 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3514 * string/memmove.c: Use memcpy when possible.
3516 2012-11-06 Andreas Jaeger <aj@suse.de>
3518 * po/eo.po: Update from translation team.
3520 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3524 exponent and small x and y exponents, scale x or y up. Increase
3525 by 2 the exponent used in scaling up.
3526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3528 * math/libm-test.inc (fma_test): Add more tests.
3529 (fma_test_towardzero): Likewise.
3530 (fma_test_downward): Likewise.
3531 (fma_test_upward): Likewise.
3533 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3540 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3541 namespace for names of struct fields.
3542 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3544 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3545 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3547 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3550 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3552 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3554 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3558 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3561 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3565 definitely overflow as x * y not x * y + z.
3566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3568 * math/libm-test.inc (fma_test): Add more tests.
3569 (fma_test_towardzero): Likewise.
3570 (fma_test_downward): Likewise.
3571 (fma_test_upward): Likewise.
3573 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3577 * include/stub-tag.h: Remove file.
3578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3580 * manual/maint.texi (Porting): Don't reference it.
3581 * Makerules ($(objpfx)stubs): Likewise.
3582 * dirent/closedir.c: Don't include <stub-tag.h>.
3583 * dirent/dirfd.c: Likewise.
3584 * dirent/fdopendir.c: Likewise.
3585 * dirent/getdents.c: Likewise.
3586 * dirent/getdents64.c: Likewise.
3587 * dirent/opendir.c: Likewise.
3588 * dirent/readdir.c: Likewise.
3589 * dirent/readdir64.c: Likewise.
3590 * dirent/readdir64_r.c: Likewise.
3591 * dirent/readdir_r.c: Likewise.
3592 * dirent/rewinddir.c: Likewise.
3593 * dirent/seekdir.c: Likewise.
3594 * dirent/telldir.c: Likewise.
3595 * gmon/profil.c: Likewise.
3596 * grp/setgroups.c: Likewise.
3597 * inet/if_index.c: Likewise.
3598 * io/access.c: Likewise.
3599 * io/chdir.c: Likewise.
3600 * io/chmod.c: Likewise.
3601 * io/chown.c: Likewise.
3602 * io/close.c: Likewise.
3603 * io/dup.c: Likewise.
3604 * io/dup2.c: Likewise.
3605 * io/dup3.c: Likewise.
3606 * io/euidaccess.c: Likewise.
3607 * io/faccessat.c: Likewise.
3608 * io/fchdir.c: Likewise.
3609 * io/fchmod.c: Likewise.
3610 * io/fchmodat.c: Likewise.
3611 * io/fchown.c: Likewise.
3612 * io/fchownat.c: Likewise.
3613 * io/fcntl.c: Likewise.
3614 * io/flock.c: Likewise.
3615 * io/fstatfs.c: Likewise.
3616 * io/fstatfs64.c: Likewise.
3617 * io/fstatvfs.c: Likewise.
3618 * io/fstatvfs64.c: Likewise.
3619 * io/futimens.c: Likewise.
3620 * io/fxstat.c: Likewise.
3621 * io/fxstat64.c: Likewise.
3622 * io/fxstatat.c: Likewise.
3623 * io/fxstatat64.c: Likewise.
3624 * io/getcwd.c: Likewise.
3625 * io/isatty.c: Likewise.
3626 * io/lchmod.c: Likewise.
3627 * io/lchown.c: Likewise.
3628 * io/link.c: Likewise.
3629 * io/linkat.c: Likewise.
3630 * io/lseek.c: Likewise.
3631 * io/lseek64.c: Likewise.
3632 * io/lxstat64.c: Likewise.
3633 * io/mkdir.c: Likewise.
3634 * io/mkdirat.c: Likewise.
3635 * io/mkfifo.c: Likewise.
3636 * io/mkfifoat.c: Likewise.
3637 * io/open.c: Likewise.
3638 * io/open64.c: Likewise.
3639 * io/openat.c: Likewise.
3640 * io/openat64.c: Likewise.
3641 * io/pipe.c: Likewise.
3642 * io/pipe2.c: Likewise.
3643 * io/poll.c: Likewise.
3644 * io/posix_fadvise.c: Likewise.
3645 * io/posix_fadvise64.c: Likewise.
3646 * io/posix_fallocate.c: Likewise.
3647 * io/posix_fallocate64.c: Likewise.
3648 * io/read.c: Likewise.
3649 * io/readlink.c: Likewise.
3650 * io/readlinkat.c: Likewise.
3651 * io/rmdir.c: Likewise.
3652 * io/sendfile.c: Likewise.
3653 * io/sendfile64.c: Likewise.
3654 * io/statfs.c: Likewise.
3655 * io/statfs64.c: Likewise.
3656 * io/statvfs.c: Likewise.
3657 * io/statvfs64.c: Likewise.
3658 * io/symlink.c: Likewise.
3659 * io/symlinkat.c: Likewise.
3660 * io/ttyname.c: Likewise.
3661 * io/ttyname_r.c: Likewise.
3662 * io/umask.c: Likewise.
3663 * io/unlink.c: Likewise.
3664 * io/unlinkat.c: Likewise.
3665 * io/utime.c: Likewise.
3666 * io/utimensat.c: Likewise.
3667 * io/write.c: Likewise.
3668 * io/xmknod.c: Likewise.
3669 * io/xmknodat.c: Likewise.
3670 * io/xstat.c: Likewise.
3671 * io/xstat64.c: Likewise.
3672 * login/getpt.c: Likewise.
3673 * login/grantpt.c: Likewise.
3674 * login/unlockpt.c: Likewise.
3675 * math/e_acoshl.c: Likewise.
3676 * math/e_acosl.c: Likewise.
3677 * math/e_asinl.c: Likewise.
3678 * math/e_atan2l.c: Likewise.
3679 * math/e_atanhl.c: Likewise.
3680 * math/e_coshl.c: Likewise.
3681 * math/e_expl.c: Likewise.
3682 * math/e_fmodl.c: Likewise.
3683 * math/e_gammal_r.c: Likewise.
3684 * math/e_hypotl.c: Likewise.
3685 * math/e_j0l.c: Likewise.
3686 * math/e_j1l.c: Likewise.
3687 * math/e_jnl.c: Likewise.
3688 * math/e_lgammal_r.c: Likewise.
3689 * math/e_log10l.c: Likewise.
3690 * math/e_log2l.c: Likewise.
3691 * math/e_logl.c: Likewise.
3692 * math/e_powl.c: Likewise.
3693 * math/e_rem_pio2l.c: Likewise.
3694 * math/e_sinhl.c: Likewise.
3695 * math/e_sqrtl.c: Likewise.
3696 * math/fclrexcpt.c: Likewise.
3697 * math/fedisblxcpt.c: Likewise.
3698 * math/feenablxcpt.c: Likewise.
3699 * math/fegetenv.c: Likewise.
3700 * math/fegetexcept.c: Likewise.
3701 * math/fegetround.c: Likewise.
3702 * math/feholdexcpt.c: Likewise.
3703 * math/fesetenv.c: Likewise.
3704 * math/fesetround.c: Likewise.
3705 * math/feupdateenv.c: Likewise.
3706 * math/fgetexcptflg.c: Likewise.
3707 * math/fraiseexcpt.c: Likewise.
3708 * math/fsetexcptflg.c: Likewise.
3709 * math/ftestexcept.c: Likewise.
3710 * math/k_cosl.c: Likewise.
3711 * math/k_rem_pio2l.c: Likewise.
3712 * math/k_sinl.c: Likewise.
3713 * math/k_tanl.c: Likewise.
3714 * math/s_asinhl.c: Likewise.
3715 * math/s_atanl.c: Likewise.
3716 * math/s_cbrtl.c: Likewise.
3717 * math/s_erfl.c: Likewise.
3718 * math/s_expm1l.c: Likewise.
3719 * math/s_log1pl.c: Likewise.
3720 * math/s_tanhl.c: Likewise.
3721 * misc/acct.c: Likewise.
3722 * misc/brk.c: Likewise.
3723 * misc/chflags.c: Likewise.
3724 * misc/chroot.c: Likewise.
3725 * misc/fchflags.c: Likewise.
3726 * misc/fgetxattr.c: Likewise.
3727 * misc/flistxattr.c: Likewise.
3728 * misc/fremovexattr.c: Likewise.
3729 * misc/fsetxattr.c: Likewise.
3730 * misc/fsync.c: Likewise.
3731 * misc/ftruncate.c: Likewise.
3732 * misc/futimes.c: Likewise.
3733 * misc/futimesat.c: Likewise.
3734 * misc/getdomain.c: Likewise.
3735 * misc/getdtsz.c: Likewise.
3736 * misc/gethostid.c: Likewise.
3737 * misc/gethostname.c: Likewise.
3738 * misc/getloadavg.c: Likewise.
3739 * misc/getpagesize.c: Likewise.
3740 * misc/getsysstats.c: Likewise.
3741 * misc/getxattr.c: Likewise.
3742 * misc/gtty.c: Likewise.
3743 * misc/ioctl.c: Likewise.
3744 * misc/lgetxattr.c: Likewise.
3745 * misc/listxattr.c: Likewise.
3746 * misc/llistxattr.c: Likewise.
3747 * misc/lremovexattr.c: Likewise.
3748 * misc/lsetxattr.c: Likewise.
3749 * misc/lutimes.c: Likewise.
3750 * misc/madvise.c: Likewise.
3751 * misc/mincore.c: Likewise.
3752 * misc/mlock.c: Likewise.
3753 * misc/mlockall.c: Likewise.
3754 * misc/mmap.c: Likewise.
3755 * misc/mprotect.c: Likewise.
3756 * misc/msync.c: Likewise.
3757 * misc/munlock.c: Likewise.
3758 * misc/munlockall.c: Likewise.
3759 * misc/munmap.c: Likewise.
3760 * misc/preadv.c: Likewise.
3761 * misc/preadv64.c: Likewise.
3762 * misc/ptrace.c: Likewise.
3763 * misc/pwritev.c: Likewise.
3764 * misc/pwritev64.c: Likewise.
3765 * misc/readv.c: Likewise.
3766 * misc/reboot.c: Likewise.
3767 * misc/remap_file_pages.c: Likewise.
3768 * misc/removexattr.c: Likewise.
3769 * misc/revoke.c: Likewise.
3770 * misc/select.c: Likewise.
3771 * misc/setdomain.c: Likewise.
3772 * misc/setegid.c: Likewise.
3773 * misc/seteuid.c: Likewise.
3774 * misc/sethostid.c: Likewise.
3775 * misc/sethostname.c: Likewise.
3776 * misc/setregid.c: Likewise.
3777 * misc/setreuid.c: Likewise.
3778 * misc/setxattr.c: Likewise.
3779 * misc/sstk.c: Likewise.
3780 * misc/stty.c: Likewise.
3781 * misc/swapoff.c: Likewise.
3782 * misc/swapon.c: Likewise.
3783 * misc/sync.c: Likewise.
3784 * misc/syncfs.c: Likewise.
3785 * misc/syscall.c: Likewise.
3786 * misc/truncate.c: Likewise.
3787 * misc/ualarm.c: Likewise.
3788 * misc/usleep.c: Likewise.
3789 * misc/ustat.c: Likewise.
3790 * misc/utimes.c: Likewise.
3791 * misc/vhangup.c: Likewise.
3792 * misc/writev.c: Likewise.
3793 * posix/_exit.c: Likewise.
3794 * posix/alarm.c: Likewise.
3795 * posix/execve.c: Likewise.
3796 * posix/fexecve.c: Likewise.
3797 * posix/fork.c: Likewise.
3798 * posix/fpathconf.c: Likewise.
3799 * posix/getaddrinfo.c: Likewise.
3800 * posix/getegid.c: Likewise.
3801 * posix/geteuid.c: Likewise.
3802 * posix/getgid.c: Likewise.
3803 * posix/getgroups.c: Likewise.
3804 * posix/getlogin.c: Likewise.
3805 * posix/getlogin_r.c: Likewise.
3806 * posix/getpgid.c: Likewise.
3807 * posix/getpid.c: Likewise.
3808 * posix/getppid.c: Likewise.
3809 * posix/getresgid.c: Likewise.
3810 * posix/getresuid.c: Likewise.
3811 * posix/getsid.c: Likewise.
3812 * posix/getuid.c: Likewise.
3813 * posix/glob64.c: Likewise.
3814 * posix/nanosleep.c: Likewise.
3815 * posix/pathconf.c: Likewise.
3816 * posix/pause.c: Likewise.
3817 * posix/posix_madvise.c: Likewise.
3818 * posix/pread.c: Likewise.
3819 * posix/pread64.c: Likewise.
3820 * posix/pwrite.c: Likewise.
3821 * posix/pwrite64.c: Likewise.
3822 * posix/sched_getaffinity.c: Likewise.
3823 * posix/sched_getp.c: Likewise.
3824 * posix/sched_gets.c: Likewise.
3825 * posix/sched_primax.c: Likewise.
3826 * posix/sched_primin.c: Likewise.
3827 * posix/sched_rr_gi.c: Likewise.
3828 * posix/sched_setaffinity.c: Likewise.
3829 * posix/sched_setp.c: Likewise.
3830 * posix/sched_sets.c: Likewise.
3831 * posix/sched_yield.c: Likewise.
3832 * posix/setgid.c: Likewise.
3833 * posix/setlogin.c: Likewise.
3834 * posix/setpgid.c: Likewise.
3835 * posix/setresgid.c: Likewise.
3836 * posix/setresuid.c: Likewise.
3837 * posix/setsid.c: Likewise.
3838 * posix/setuid.c: Likewise.
3839 * posix/sleep.c: Likewise.
3840 * posix/spawni.c: Likewise.
3841 * posix/sysconf.c: Likewise.
3842 * posix/times.c: Likewise.
3843 * posix/wait.c: Likewise.
3844 * posix/wait3.c: Likewise.
3845 * posix/wait4.c: Likewise.
3846 * posix/waitpid.c: Likewise.
3847 * resolv/gai_sigqueue.c: Likewise.
3848 * resource/getpriority.c: Likewise.
3849 * resource/getrlimit.c: Likewise.
3850 * resource/getrusage.c: Likewise.
3851 * resource/nice.c: Likewise.
3852 * resource/setpriority.c: Likewise.
3853 * resource/setrlimit.c: Likewise.
3854 * resource/ulimit.c: Likewise.
3855 * rt/aio_cancel.c: Likewise.
3856 * rt/aio_fsync.c: Likewise.
3857 * rt/aio_read.c: Likewise.
3858 * rt/aio_sigqueue.c: Likewise.
3859 * rt/aio_suspend.c: Likewise.
3860 * rt/aio_write.c: Likewise.
3861 * rt/clock_getres.c: Likewise.
3862 * rt/clock_gettime.c: Likewise.
3863 * rt/clock_nanosleep.c: Likewise.
3864 * rt/clock_settime.c: Likewise.
3865 * rt/lio_listio.c: Likewise.
3866 * rt/mq_close.c: Likewise.
3867 * rt/mq_getattr.c: Likewise.
3868 * rt/mq_notify.c: Likewise.
3869 * rt/mq_open.c: Likewise.
3870 * rt/mq_receive.c: Likewise.
3871 * rt/mq_send.c: Likewise.
3872 * rt/mq_setattr.c: Likewise.
3873 * rt/mq_timedreceive.c: Likewise.
3874 * rt/mq_timedsend.c: Likewise.
3875 * rt/mq_unlink.c: Likewise.
3876 * rt/shm_open.c: Likewise.
3877 * rt/shm_unlink.c: Likewise.
3878 * rt/timer_create.c: Likewise.
3879 * rt/timer_delete.c: Likewise.
3880 * rt/timer_getoverr.c: Likewise.
3881 * rt/timer_gettime.c: Likewise.
3882 * rt/timer_settime.c: Likewise.
3883 * setjmp/__longjmp.c: Likewise.
3884 * setjmp/setjmp.c: Likewise.
3885 * signal/kill.c: Likewise.
3886 * signal/killpg.c: Likewise.
3887 * signal/raise.c: Likewise.
3888 * signal/sigaction.c: Likewise.
3889 * signal/sigaltstack.c: Likewise.
3890 * signal/sigblock.c: Likewise.
3891 * signal/sigignore.c: Likewise.
3892 * signal/sigintr.c: Likewise.
3893 * signal/signal.c: Likewise.
3894 * signal/sigpause.c: Likewise.
3895 * signal/sigpending.c: Likewise.
3896 * signal/sigqueue.c: Likewise.
3897 * signal/sigreturn.c: Likewise.
3898 * signal/sigset.c: Likewise.
3899 * signal/sigsetmask.c: Likewise.
3900 * signal/sigstack.c: Likewise.
3901 * signal/sigsuspend.c: Likewise.
3902 * signal/sigtimedwait.c: Likewise.
3903 * signal/sigvec.c: Likewise.
3904 * signal/sigwait.c: Likewise.
3905 * signal/sigwaitinfo.c: Likewise.
3906 * signal/sysv_signal.c: Likewise.
3907 * socket/accept.c: Likewise.
3908 * socket/accept4.c: Likewise.
3909 * socket/bind.c: Likewise.
3910 * socket/connect.c: Likewise.
3911 * socket/getpeername.c: Likewise.
3912 * socket/getsockname.c: Likewise.
3913 * socket/getsockopt.c: Likewise.
3914 * socket/isfdtype.c: Likewise.
3915 * socket/listen.c: Likewise.
3916 * socket/recv.c: Likewise.
3917 * socket/recvfrom.c: Likewise.
3918 * socket/recvmsg.c: Likewise.
3919 * socket/send.c: Likewise.
3920 * socket/sendmsg.c: Likewise.
3921 * socket/sendto.c: Likewise.
3922 * socket/setsockopt.c: Likewise.
3923 * socket/shutdown.c: Likewise.
3924 * socket/sockatmark.c: Likewise.
3925 * socket/socket.c: Likewise.
3926 * socket/socketpair.c: Likewise.
3927 * stdio-common/ctermid.c: Likewise.
3928 * stdio-common/cuserid.c: Likewise.
3929 * stdio-common/remove.c: Likewise.
3930 * stdio-common/rename.c: Likewise.
3931 * stdio-common/renameat.c: Likewise.
3932 * stdio-common/tempname.c: Likewise.
3933 * stdlib/getcontext.c: Likewise.
3934 * stdlib/makecontext.c: Likewise.
3935 * stdlib/setcontext.c: Likewise.
3936 * stdlib/swapcontext.c: Likewise.
3937 * stdlib/system.c: Likewise.
3938 * streams/fattach.c: Likewise.
3939 * streams/fdetach.c: Likewise.
3940 * streams/getmsg.c: Likewise.
3941 * streams/getpmsg.c: Likewise.
3942 * streams/putmsg.c: Likewise.
3943 * streams/putpmsg.c: Likewise.
3944 * sysdeps/unix/bsd/getpt.c: Likewise.
3945 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3946 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3950 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3952 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3953 * sysvipc/msgctl.c: Likewise.
3954 * sysvipc/msgget.c: Likewise.
3955 * sysvipc/msgrcv.c: Likewise.
3956 * sysvipc/msgsnd.c: Likewise.
3957 * sysvipc/semctl.c: Likewise.
3958 * sysvipc/semget.c: Likewise.
3959 * sysvipc/semop.c: Likewise.
3960 * sysvipc/semtimedop.c: Likewise.
3961 * sysvipc/shmat.c: Likewise.
3962 * sysvipc/shmctl.c: Likewise.
3963 * sysvipc/shmdt.c: Likewise.
3964 * sysvipc/shmget.c: Likewise.
3965 * termios/tcdrain.c: Likewise.
3966 * termios/tcflow.c: Likewise.
3967 * termios/tcflush.c: Likewise.
3968 * termios/tcgetattr.c: Likewise.
3969 * termios/tcgetpgrp.c: Likewise.
3970 * termios/tcsendbrk.c: Likewise.
3971 * termios/tcsetattr.c: Likewise.
3972 * termios/tcsetpgrp.c: Likewise.
3973 * time/adjtime.c: Likewise.
3974 * time/clock.c: Likewise.
3975 * time/getitimer.c: Likewise.
3976 * time/gettimeofday.c: Likewise.
3977 * time/setitimer.c: Likewise.
3978 * time/settimeofday.c: Likewise.
3979 * time/stime.c: Likewise.
3980 * time/time.c: Likewise.
3982 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3984 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3987 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3989 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3991 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3995 FE_TONEAREST before applying Dekker multiplication and Knuth
3996 addition. Clear inexact exceptions and check for exact zero
3998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3999 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4001 * math/libm-test.inc (fma_test): Add more tests.
4002 (fma_test_towardzero): Likewise.
4003 (fma_test_downward): Likewise.
4004 (fma_test_upward): Likewise.
4005 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4007 (libc_fesetround): New macro.
4008 (libc_fesetroundf): Likewise.
4009 (libc_fesetroundl): Likewise.
4010 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4012 (libc_fesetround_387): Likewise.
4013 (libc_fesetroundf): New macro.
4014 (libc_fesetround): Likewise.
4015 (libc_fesetroundl): Likewise.
4016 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4018 (libc_fesetroundf): New macro.
4019 (libc_fesetround): Likewise.
4020 (libc_fesetroundl): Likewise.
4021 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4022 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4023 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4025 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4026 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4028 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4029 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4031 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4035 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4036 integer constant usable in #if and use that to give value to enum
4038 (FE_DIVBYZERO): Likewise.
4039 (FE_UNDERFLOW): Likewise.
4040 (FE_OVERFLOW): Likewise.
4041 (FE_INVALID): Likewise.
4042 (FE_INVALID_SNAN): Likewise.
4043 (FE_INVALID_ISI): Likewise.
4044 (FE_INVALID_IDI): Likewise.
4045 (FE_INVALID_ZDZ): Likewise.
4046 (FE_INVALID_IMZ): Likewise.
4047 (FE_INVALID_COMPARE): Likewise.
4048 (FE_INVALID_SOFTWARE): Likewise.
4049 (FE_INVALID_SQRT): Likewise.
4050 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4051 (FE_TONEAREST): Likewise.
4052 (FE_TOWARDZERO): Likewise.
4053 (FE_UPWARD): Likewise.
4054 (FE_DOWNWARD): Likewise.
4055 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4056 (FE_DIVBYZERO): Likewise.
4057 (FE_OVERFLOW): Likewise.
4058 (FE_UNDERFLOW): Likewise.
4059 (FE_INEXACT): Likewise.
4060 (FE_TONEAREST): Likewise.
4061 (FE_DOWNWARD): Likewise.
4062 (FE_UPWARD): Likewise.
4063 (FE_TOWARDZERO): Likewise.
4064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4065 (FE_UNDERFLOW): Likewise.
4066 (FE_OVERFLOW): Likewise.
4067 (FE_DIVBYZERO): Likewise.
4068 (FE_INVALID): Likewise.
4069 (FE_TONEAREST): Likewise.
4070 (FE_TOWARDZERO): Likewise.
4071 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4072 (FE_OVERFLOW): Likewise.
4073 (FE_UNDERFLOW): Likewise.
4074 (FE_DIVBYZERO): Likewise.
4075 (FE_INEXACT): Likewise.
4076 (FE_TONEAREST): Likewise.
4077 (FE_TOWARDZERO): Likewise.
4078 (FE_UPWARD): Likewise.
4079 (FE_DOWNWARD): Likewise.
4080 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4081 (FE_DIVBYZERO): Likewise.
4082 (FE_OVERFLOW): Likewise.
4083 (FE_UNDERFLOW): Likewise.
4084 (FE_INEXACT): Likewise.
4085 (FE_TONEAREST): Likewise.
4086 (FE_DOWNWARD): Likewise.
4087 (FE_UPWARD): Likewise.
4088 (FE_TOWARDZERO): Likewise.
4090 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4092 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4094 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4096 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4097 commands. Quote $PWD.
4098 (blacklist_exports): Don't use remove_newlines. Replace "declare
4100 (remove_newlines): Remove.
4102 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4104 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4105 * stdlib/stdlib.h (atof): Moved to ...
4106 * include/bits/stdlib-float.h: Here. New file.
4107 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4108 * stdlib/bits/stdlib-float.h: New file.
4109 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4114 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4116 * conform/conformtest.pl (@headers): Add fenv.h.
4117 * conform/data/fenv.h-data: New file.
4118 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4119 include of <math/fenv.h>.
4121 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4122 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4123 && !UNIX98]. Enables tests for XOPEN2K8.
4124 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4125 POSIX2008]: Likewise.
4127 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4128 (struct rusage): Do not expect type or its members.
4131 * math/math.h (FP_NAN): Define macro to integer constant usable in
4132 #if and use that to give value to enum constant.
4133 (FP_INFINITE): Likewise.
4134 (FP_ZERO): Likewise.
4135 (FP_SUBNORMAL): Likewise.
4136 (FP_NORMAL): Likewise.
4138 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4140 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4141 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4144 2012-11-02 Roland McGrath <roland@hack.frob.com>
4146 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4147 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4148 autoconf-time if not.
4149 * configure.in: Remove AC_PREREQ.
4151 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4153 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4154 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4155 of the internal implementation.
4157 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4159 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4160 except include of <misc/sys/syslog.h>.
4162 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4165 function returns with a NULL context exit with zero.
4167 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4169 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4171 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4173 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4174 (run_program_cmd): This.
4175 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4176 (tst_langinfo): New variable. Use it.
4178 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4180 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4181 floating point opcodes.
4183 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4185 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4188 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4190 * sysdeps/mach/hurd/powerpc: Remove directory.
4191 * sysdeps/mach/powerpc: Likewise.
4193 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4195 * scripts/check-local-headers.sh: Ignore c++ headers.
4197 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4199 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4200 __libc_cleanup_region_start argument.
4202 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4207 x * y using scaling, not as x * y + z.
4208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4210 * math/libm-test.inc (fma_test): Add more tests.
4211 (fma_test_towardzero): Likewise.
4212 (fma_test_downward): Likewise.
4213 (fma_test_upward): Likewise.
4215 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4217 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4219 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4224 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4226 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4228 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4235 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4238 Fix the order of the list for glibc 2.17.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4242 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4246 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4250 for low part of x being zero before using __atanl (y).
4251 * math/libm-test.inc (atan2_test): Add another test.
4253 * manual/install.texi (Configuring and compiling): Document
4254 general use of test-wrapper and test-wrapper-env.
4255 * INSTALL: Regenerated.
4257 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4258 (__fma): Do not extract and scale down low bits on after-rounding
4259 systems when result rounded to normal precision would have normal
4261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4262 (__fmal): Do not extract and scale down low bits on after-rounding
4263 systems when result rounded to normal precision would have normal
4265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4266 (__fmal): Do not extract and scale down low bits on after-rounding
4267 systems when result rounded to normal precision would have normal
4269 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4271 (fma_test): Add more tests.
4272 (fma_test_towardzero): Likewise.
4273 (fma_test_downward): Likewise.
4274 (fma_test_upward): Likewise.
4276 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4278 * sysdeps/i386/tininess.h: Renamed to ...
4279 * sysdeps/x86/tininess.h: This.
4280 * sysdeps/x86_64/tininess.h: Removed.
4282 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4284 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4285 input. Use $(build-program-cmd).
4286 ($(objpfx)tst-array1-static.out): Likewise.
4287 ($(objpfx)tst-array2.out): Likewise.
4288 ($(objpfx)tst-array3.out): Likewise.
4289 ($(objpfx)tst-array4.out): Likewise.
4290 ($(objpfx)tst-array5.out): Likewise.
4291 ($(objpfx)tst-array5-static.out): Likewise.
4293 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4295 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4298 * nss/nsswitch.h (nss_interface_function): Provide new
4299 macro for use with NSS functions.
4300 * grp/initgroups.c: Use new macro.
4301 * nss/getXXbyYY.c: Likewise.
4302 * nss/getXXbyYY_r.c: Likewise.
4303 * nss/getXXent.c: Likewise.
4304 * nss/getXXent_r.c: Likewise.
4305 * sysdeps/posix/getaddrinfo.c: Likewise.
4307 2012-10-30 Andreas Jaeger <aj@suse.de>
4309 * po/ru.po: Update Russion translation from translation project.
4311 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4316 result and shift together with sticky bit instead of replicating
4317 round-to-nearest rounding.
4318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4320 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4321 missing underflow exceptions.
4322 (fma_test_towardzero): Add more tests.
4323 (fma_test_downward): Likewise.
4324 (fma_test_upward): Likewise.
4327 * sysdeps/generic/tininess.h: New file.
4328 * sysdeps/i386/tininess.h: Likewise.
4329 * sysdeps/sh/tininess.h: Likewise.
4330 * sysdeps/x86_64/tininess.h: Likewise.
4331 * stdlib/tst-strtod-underflow.c: Likewise.
4332 * stdlib/tst-tininess.c: Likewise.
4333 * stdlib/strtod_l.c: Include <tininess.h>.
4334 (round_and_return): Do not set errno for exact underflow cases.
4335 Force an underflow exception when setting errno for underflow.
4336 Determine underflow based on rounding to normal precision if
4337 TININESS_AFTER_ROUNDING.
4338 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4339 ERANGE for exact underflow cases.
4340 * stdlib/Makefile (tests): Add tst-tininess and
4341 tst-strtod-underflow.
4342 ($(objpfx)tst-tininess): Use $(link-libm).
4343 ($(objpfx)tst-strtod-underflow): Likewise.
4345 2012-10-30 Andreas Jaeger <aj@suse.de>
4348 * elf/Makefile (tests): Remove conditional for have-initfini-array
4349 since this is now always required and the variable does not exist
4351 (tests-static): Likewise.
4352 (modules-names): Likewise.
4354 * po/eo.po: Add Esperanto translation from translation project.
4356 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4357 merged with constructor/destructor.
4358 (init_array): Likewise.
4359 * elf/tst-array2dep.c (fini_array): Likewise.
4360 (init_array): Likewise.
4362 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4364 * manual/message.texi: Delete @cartouche tags.
4366 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4368 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4370 * sysdeps/mach/hurd/fsync.c: Likewise.
4372 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4373 [_POSIX_REALTIME_SIGNALS]: Change condition to
4374 [_POSIX_REALTIME_SIGNALS > 0].
4376 2012-10-27 Andreas Jaeger <aj@suse.de>
4378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4379 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4381 [__WORDSIZE != 64]: Likewise.
4383 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4385 * iconvdata/tst-table.sh: Remove ${SHELL}.
4386 * iconvdata/tst-tables.sh: Likewise.
4388 2012-10-25 David S. Miller <davem@davemloft.net>
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4391 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4398 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4401 2012-10-25 Roland McGrath <roland@hack.frob.com>
4403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4404 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4407 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4408 Jim Blandy <jimb@codesourcery.com>
4410 * scripts/cross-test-ssh.sh: New file.
4411 * manual/install.texi (Configuring and compiling): Document use of
4413 * INSTALL: Regenerated.
4415 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4417 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4420 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4422 * Makeconfig (run-program-prefix): Fix comment.
4424 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4425 Jim Blandy <jimb@codesourcery.com>
4427 * Makeconfig (test-wrapper): New variable,
4428 (test-wrapper-env): Likewise.
4429 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4430 (run-built-tests): Define to yes.
4431 (run-program-prefix): Use $(test-wrapper).
4432 (built-program-cmd): Likewise.
4433 * Rules (make-test-out): Use $(test-wrapper-env) and
4434 $(host-built-program-cmd).
4435 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4436 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4438 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4439 $(test-wrapper-env) to tst-rtld-load-self.sh.
4440 ($(objpfx)order2.out): Use $(test-wrapper).
4441 ($(objpfx)tst-initorder.out): Likewise.
4442 ($(objpfx)tst-initorder2.out): Likewise.
4443 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4444 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4445 (test_wrapper_env): New variable. Use it to run ld.so.
4446 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4447 Use it to run ld.so.
4448 (test_wrapper_env): Likewise.
4449 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4450 $(test-wrapper) to run-iconv-test.sh.
4451 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4452 (ICONV): Use $test_wrapper.
4453 * posix/Makefile ($(objpfx)globtest.out): Pass
4454 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4455 globtest.sh, not $(run-program-prefix).
4456 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4457 (test_wrapper): Likewise.
4458 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4459 set together with run_via_rtld_prefix.
4460 (run_program_prefix): Define in terms of test_wrapper and
4461 run_via_rtld_prefix.
4463 2012-10-24 Roland McGrath <roland@hack.frob.com>
4465 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4466 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4470 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4471 Declare __clock_getres, __clock_gettime, __clock_settime,
4472 __clock_nanosleep, and __clock_getcpuclockid.
4473 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4474 Remove librt_hidden_def (clock_gettime).
4475 * sysdeps/unix/clock_gettime.c: Likewise.
4476 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4478 * rt/clock_getres.c: Define __clock_getres as an alias.
4479 * sysdeps/posix/clock_getres.c: Likewise.
4480 * rt/clock_settime.c: Define __clock_settime as an alias.
4481 * sysdeps/unix/clock_settime.c: Likewise.
4482 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4483 * sysdeps/unix/clock_nanosleep.c: Likewise.
4484 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4485 * rt/clock-compat.c: New file.
4486 * rt/Makefile (librt-routines): Add clock-compat and move
4487 $(clock-routines) to ...
4488 (routines): ... here, new variable.
4489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4490 Don't add get_clockfreq here.
4491 * rt/Versions (libc: GLIBC_2.17): New version set.
4492 Add clock_* symbols here.
4493 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4495 (GLIBC_2.17): Add clock_* symbols.
4496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4507 * NEWS: Mention the move.
4509 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4510 Use __open, __read, __close rather than their public counterparts.
4511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4512 (__get_clockfreq_via_cpuinfo): Likewise.
4513 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4514 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4516 * config.h.in (HAVE_IFUNC): New #undef.
4517 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4519 * configure: Regenerated.
4521 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4523 * configure.in: Move READELF check to start of file.
4524 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4525 libc_cv_asm_gnu_indirect_function in the process.
4526 * configure: Regenerated.
4528 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4530 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4531 send the output to /dev/null.
4532 (libc_cv_cc_with_libunwind): Likewise.
4533 (libc_cv_as_noexecstack): Likewise.
4534 * configure: Regenerate.
4536 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4538 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4540 * posix/globtest.sh (TMPDIR): Do not set.
4541 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4542 (testout): Likewise.
4544 2012-10-24 Andreas Jaeger <aj@suse.de>
4546 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4547 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4548 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4549 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4550 posix_fadvise64, posix_fallocate64.
4552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4553 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4554 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4556 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4558 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4561 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4562 <bits/fcntl-linux.h>.
4563 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4566 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4567 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4568 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4569 [__WORDSIZE != 64]: Likewise.
4571 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4573 * Makeconfig (run-built-tests): New variable.
4574 * Rules [$(cross-compiling) = yes]: Change condition to
4575 [$(run-built-tests) = no].
4576 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4577 to [$(run-built-tests) = yes].
4578 * elf/Makefile [$(cross-compiling) = no]: Likewise
4579 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4580 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4581 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4582 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4583 * io/Makefile [$(cross-compiling) = no]: Likewise.
4584 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4585 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4586 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4587 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4588 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4589 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4590 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4591 * string/Makefile [$(cross-compiling) = no]: Likewise.
4593 * posix/Makefile ($(objpfx)globtest.out): Pass
4594 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4595 $(rtld-installed-name).
4596 * posix/globtest.sh (elf_objpfx): Remove variable.
4597 (rtld_installed_name): Likewise.
4598 (library_path): Likewise.
4599 (run_program_prefix): New variable. Use for running globtest
4602 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4603 Joseph Myers <joseph@codesourcery.com>
4605 * Makeconfig (host-built-program-cmd): New variable.
4606 * elf/Makefile (tst-stackguard1-ARGS): Use
4607 $(host-built-program-cmd).
4608 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4609 (tst-spawn-ARGS): Likewise.
4610 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4612 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4613 Jim Blandy <jimb@codesourcery.com>
4615 * Makeconfig (run-via-rtld-prefix): New variable.
4616 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4617 (built-program-cmd): Likewise.
4619 2012-10-22 Andreas Jaeger <aj@suse.de>
4621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4622 __O_RSYNC if it exists, otherwise to O_SYNC.
4624 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4625 Joseph Myers <joseph@codesourcery.com>
4627 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4629 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4631 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4634 2012-10-22 Andreas Jaeger <aj@suse.de>
4636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4644 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4651 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4652 Joseph Myers <joseph@codesourcery.com>
4654 * config.make.in (NM): New variable.
4656 2012-10-21 Andreas Jaeger <aj@suse.de>
4658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4659 definitions and declarations that are provided by
4660 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4662 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4665 * elf/Makefile (tests-static): Add tst-leaks1-static.
4666 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4667 ($(objpfx)tst-leaks1-static): New rule.
4668 ($(objpfx)tst-leaks1-static-mem): Likewise.
4669 (tst-leaks1-static-ENV): New macro.
4670 * elf/dl-open.c (dl_open_worker): Check the main application
4671 only if SHARED is defined.
4672 * elf/tst-leaks1-static.c: New file.
4674 2012-10-20 Andreas Jaeger <aj@suse.de>
4676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4677 generic values for Linux.
4678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4679 and declarations that are provided by <bits/fcntl-linux.h> and
4680 include <bits/fcntl-linux.h>.
4681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4684 2012-10-20 Roland McGrath <roland@hack.frob.com>
4686 * io/fcntl.h: Move include of <bits/types.h> to the top and
4687 include it unconditionally.
4689 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4691 * wcsmbs/Makefile (tests-ifunc): New variable.
4692 (tests): Add $(tests-ifunc).
4693 * wcsmbs/test-wcschr-ifunc.c: New file.
4694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4700 * string/Makefile (tests-ifunc): New variable.
4701 (tests): Add $(tests-ifunc).
4702 * string/test-memccpy.c (TEST_NAME): New macro.
4703 * string/test-memchr.c (TEST_NAME): Likewise.
4704 * string/test-memcmp.c (TEST_NAME): Likewise.
4705 * string/test-memcpy.c (TEST_NAME): Likewise.
4706 * string/test-memmem.c (TEST_NAME): Likewise.
4707 * string/test-memmove.c (TEST_NAME): Likewise.
4708 * string/test-memset.c (TEST_NAME): Likewise.
4709 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4710 * string/test-stpcpy.c (TEST_NAME): Likewise.
4711 * string/test-stpncpy.c (TEST_NAME): Likewise.
4712 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4713 * string/test-strcasestr.c (TEST_NAME): Likewise.
4714 * string/test-strcat.c (TEST_NAME): Likewise.
4715 * string/test-strchr.c (TEST_NAME): Likewise.
4716 * string/test-strcmp.c(TEST_NAME): Likewise.
4717 * string/test-strcpy.c (TEST_NAME): Likewise.
4718 * string/test-strcspn.c (TEST_NAME): Likewise.
4719 * string/test-strlen.c (TEST_NAME): Likewise.
4720 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4721 * string/test-strncmp.c (TEST_NAME): Likewise.
4722 * string/test-strncpy.c (TEST_NAME): Likewise.
4723 * string/test-strnlen.c (TEST_NAME): Likewise.
4724 * string/test-strpbrk.c (TEST_NAME): Likewise.
4725 * string/test-strrchr.c (TEST_NAME): Likewise.
4726 * string/test-strspn.c (TEST_NAME): Likewise.
4727 * string/test-strstr.c (TEST_NAME): Likewise.
4728 * string/test-bcopy-ifunc.c: New file.
4729 * string/test-bzero-ifunc.c: Likewise.
4730 * string/test-memccpy-ifunc.c: Likewise.
4731 * string/test-memchr-ifunc.c: Likewise.
4732 * string/test-memcmp-ifunc.c: Likewise.
4733 * string/test-memcpy-ifunc.c: Likewise.
4734 * string/test-memmem-ifunc.c: Likewise.
4735 * string/test-memmove-ifunc.c: Likewise.
4736 * string/test-mempcpy-ifunc.c: Likewise.
4737 * string/test-memset-ifunc.c: Likewise.
4738 * string/test-rawmemchr-ifunc.c: Likewise.
4739 * string/test-stpcpy-ifunc.c: Likewise.
4740 * string/test-stpncpy-ifunc.c: Likewise.
4741 * string/test-strcasecmp-ifunc.c: Likewise.
4742 * string/test-strcasestr-ifunc.c: Likewise.
4743 * string/test-strcat-ifunc.c: Likewise.
4744 * string/test-strchr-ifunc.c: Likewise.
4745 * string/test-strchrnul-ifunc.c: Likewise.
4746 * string/test-strcmp-ifunc.c: Likewise.
4747 * string/test-strcpy-ifunc.c: Likewise.
4748 * string/test-strcspn-ifunc.c: Likewise.
4749 * string/test-strlen-ifunc.c: Likewise.
4750 * string/test-strncasecmp-ifunc.c: Likewise.
4751 * string/test-strncat-ifunc.c: Likewise.
4752 * string/test-strncmp-ifunc.c: Likewise.
4753 * string/test-strncpy-ifunc.c: Likewise.
4754 * string/test-strnlen-ifunc.c: Likewise.
4755 * string/test-strpbrk-ifunc.c: Likewise.
4756 * string/test-strrchr-ifunc.c: Likewise.
4757 * string/test-strspn-ifunc.c: Likewise.
4758 * string/test-strstr-ifunc.c: Likewise.
4760 * debug/Makefile (tests-ifunc): New variable.
4761 (tests): Add $(tests-ifunc).
4762 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4763 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4764 * debug/test-stpcpy_chk-ifunc.c: New file.
4765 * debug/test-strcpy_chk-ifunc.c: Likewise.
4767 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4770 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4771 header is not read in.
4773 2012-10-19 Joseph Myers <joseph@codesourcery.com>
4775 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4776 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4777 directly. Pass built executable to script as
4778 $(built-program-cmd).
4779 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4780 $testprogram without using LD_LIBRARY_PATH and $ldso.
4782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4783 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4784 $(rtld-installed-name).
4785 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4786 (rtld_installed_name): Likewise.
4787 (library_path): Likewise.
4788 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4789 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4790 $(run-program-prefix) to tst-tables.sh.
4791 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4792 it to run tst-table-from and tst-table-to.
4793 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4794 Pass it to tst-table.sh.
4795 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4796 $(run-program-prefix) to tst-gettext.sh.
4797 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4799 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4801 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4803 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4804 to run tst-gettext2.
4805 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4806 to run tst-translit.
4807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4808 $(run-program-prefix) to tst-mtrace.sh.
4809 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4811 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4812 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4813 $(rtld-installed-name).
4814 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4815 (rtld_installed_name): Likewise.
4816 (run_program_prefix): New variable. Use it to run wordexp-test.
4818 * Makeconfig (ARCH): Remove all definitions.
4819 (machine): Likewise.
4820 [ARCH]: Remove conditional code.
4821 [!objdir]: Give error.
4822 [!objdir] (objpfx): Remove.
4823 [!objdir] (common-objpfx): Likewise.
4824 [!objdir] (common-objdir): Likewise.
4825 * configure.in (config_makefile): Remove. Hardcode Makefile in
4826 AC_CONFIG_FILES call.
4827 * configure: Regenerated.
4830 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4832 (testout): Likewise.
4834 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4835 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4836 $(rtld-installed-name).
4837 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4838 (rtld_installed_name): Likwise.
4839 (runit): Remove function.
4840 (run_getconf): New variable, Use it for running getconf binary.
4842 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4845 * string/test-memmem.c (check_result): New function.
4846 (do_one_test): Use it.
4847 (check1): New function.
4848 (test_main): Use it.
4850 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4852 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4854 2012-10-18 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4857 (_G_LSEEK64): Likewise.
4858 (_G_MMAP64): Likewise.
4859 (_G_FSTAT64): Likewise.
4860 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4861 (_G_LSEEK64): Likewise.
4862 (_G_MMAP64): Likewise.
4863 (_G_FSTAT64): Likewise.
4864 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4865 unconditional. Call __mmap64 directly.
4866 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4867 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4869 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4870 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4872 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4873 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4875 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4876 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4878 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4879 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4881 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4882 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4883 __fxstat64 directly.
4884 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4885 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4887 (freopen64) [!_G_OPEN64]: Remove conditional code.
4888 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4890 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4891 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4893 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4894 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4896 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4897 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4899 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4900 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4902 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4903 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4905 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4906 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4908 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4910 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4913 * manual/memory.texi (Malloc Tunable Parameters): Add note
4914 about free list pointers overwriting some perturb bytes.
4915 Wording suggested by Roland McGrath.
4917 2012-10-17 Joseph Myers <joseph@codesourcery.com>
4919 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4920 (lgamma_test): Likewise.
4921 (tgamma_test): Likewise.
4923 2012-10-16 Florian Weimer <fweimer@redhat.com>
4926 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4927 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4929 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4931 * NEWS: Mention BZ #14716.
4932 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4933 when removing AVAILABLE1_USES_J macro.
4935 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4937 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4938 (__bswap_64): __uint64_t for unsigned 64-bit int.
4940 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4942 * include/string.h (memmem): Declare libc hidden alias.
4943 * string/memmem.c (memmem): Define libc hidden alias.
4944 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4945 __read, __close instead of open, read, close.
4947 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4950 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4952 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4953 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4954 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4956 (__rawmemchr_sse2): Likewise.
4957 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4959 (__strchr_sse2): Likewise.
4960 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4961 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4962 (__strcasecmp_sse2): Likewise.
4963 (__strncasecmp_sse2): Likewise.
4964 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4965 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4966 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4967 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4968 (__strrchr_sse2): Likewise.
4969 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4971 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4972 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4973 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4979 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4980 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4981 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4982 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4984 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4985 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4987 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4988 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4989 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4990 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4991 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4992 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4993 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4994 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4995 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4999 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5000 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5002 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5004 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5005 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5006 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5007 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5009 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5011 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5012 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5013 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5014 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5016 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5017 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5034 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5035 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5041 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5042 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5043 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5044 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5046 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5049 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5058 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5059 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5060 * include/ifunc-impl-list.h: New file.
5061 * misc/ifunc-impl-list.c: Likewise.
5062 * misc/Makefile (routines): Add ifunc-impl-list.
5063 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5064 * string/test-string.h: Include <ifunc-impl-list.h>.
5065 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5066 impl_array): New variables.
5067 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5069 (test_init): Call __libc_ifunc_impl_list to initialize
5070 func_list if TEST_IFUNC and TEST_NAME are defined.
5072 * string/Makefile (strop-tests): Add bcopy and bzero.
5073 * string/test-bcopy.c: New file.
5074 * string/test-bzero.c: Likewise.
5075 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5077 * string/test-memset.c: Support bzero test if TEST_BZERO is
5079 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5081 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5083 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5086 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5088 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5089 * configure: Regenerated.
5091 * Makeconfig (+link-static-before-libc): Don't include
5092 $(link-static-libc).
5094 * libio/libio.h (_IO_pos_t): Remove.
5096 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5098 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5101 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5103 * crypt/crypt-entry.c: Include fips-private.h.
5104 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5105 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5106 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5107 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5109 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5111 * crypt/crypt-private.h: Include stdbool.h.
5112 (_ufc_setup_salt_r): Return bool.
5113 * crypt/crypt-entry.c: Include errno.h.
5114 (__crypt_r): Return NULL with EINVAL for bad salt.
5115 * crypt/crypt_util.c (bad_for_salt): New.
5116 (_ufc_setup_salt_r): Check that salt is long enough and within
5117 the specified alphabet.
5118 * crypt/badsalttest.c: New file.
5119 * crypt/Makefile (tests): Add it.
5120 ($(objpfx)badsalttest): New.
5122 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5124 * NEWS: Add entry for BZ #14602.
5126 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5128 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5130 * math/libm-test.inc: Update comment listing what functions and
5132 (isgreater_test): New function.
5133 (isgreaterequal_test): Likewise.
5134 (isless_test): Likewise.
5135 (islessequal_test): Likewise.
5136 (islessgreater_test): Likewise.
5137 (isunordered_test): Likewise.
5138 (main): Call the new functions.
5140 2012-10-09 Roland McGrath <roland@hack.frob.com>
5142 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5143 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5144 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5145 * sysdeps/i386/configure: Regenerated.
5146 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5147 * sysdeps/mach/configure: Regenerated.
5148 * sysdeps/mach/hurd/configure: Regenerated.
5149 * sysdeps/powerpc/configure: Regenerated.
5150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5152 * sysdeps/s390/s390-32/configure: Regenerated.
5153 * sysdeps/s390/s390-64/configure: Regenerated.
5154 * sysdeps/sh/configure: Regenerated.
5155 * sysdeps/sparc/configure: Regenerated.
5156 * sysdeps/unix/sysv/linux/configure: Regenerated.
5157 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5158 * sysdeps/x86_64/configure: Regenerated.
5160 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5161 defined. Don't check if MAP is NULL.
5163 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5165 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5166 (_G_stat64): Likewise.
5167 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5168 (_G_stat64): Likewise.
5169 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5170 instead of struct _G_stat64.
5171 * libio/fileops.c (mmap_remap_check): Likewise.
5172 (decide_maybe_mmap): Likewise.
5173 (_IO_new_file_seekoff): Likewise.
5174 (_IO_file_stat): Likewise.
5175 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5177 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5178 instead of struct _G_stat64.
5179 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5181 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5184 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5186 (CHECK_EOL): New macro.
5187 (two_way_short_needle): Check beginning of haystack for EOL. Use
5189 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5190 Replace with CHECK_EOL.
5191 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5192 Replace with CHECK_EOL.
5194 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5196 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5198 * math/libm-test.inc: Update comment listing what functions and
5200 (finite_test): New function.
5201 (isinf_test): Likewise.
5202 (isnan_test): Likewise.
5203 (fpclassify_test): Test subnormal input.
5204 (isfinite_test): Likewise.
5205 (isnormal_test): Likewise.
5206 (main): Call the new functions.
5208 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5211 * Makerules (%.dynsym): Force C locale when running
5212 $(OBJDUMP) --dynamic-syms.
5214 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5216 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5219 2012-10-06 David S. Miller <davem@davemloft.net>
5221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5222 upper 32-bits of the length value in %o2 since we use branch-on-register
5223 tests which consider the entire 64-bit register.
5225 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5227 * string/test-strstr.c (check2): Add a test for page boundary.
5229 2012-10-05 David S. Miller <davem@davemloft.net>
5231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5237 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5238 and bzero when HWCAP_SPARC_CRYPTO is present.
5240 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5243 * string/test-strstr.c (check2): New function.
5244 (test_main): Call check2.
5246 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5248 * string/bug-strcasestr1.c (do_test): Moved to ...
5249 * string/test-strcasestr.c (check1): Here. New function.
5250 (do_one_test): Break out result checking code into ...
5251 (check_result): This. New function.
5252 (do_one_test): Call check_result.
5253 (test_main): Call check1.
5254 * string/bug-strchr1.c (do_test): Moved to ...
5255 * string/test-strchr.c (check1): Here. New function.
5256 (do_one_test): Break out result checking code into ...
5257 (check_result): This. New function.
5258 (do_one_test): Call check_result.
5259 (test_main): Call check1.
5260 * string/bug-strstr1.c (main): Moved to ...
5261 * string/test-strstr.c (check1): Here. New function.
5262 (do_one_test): Break out result checking code into ...
5263 (check_result): This. New function.
5264 (do_one_test): Call check_result.
5265 (test_main): Call check1.
5266 * string/bug-strcasestr1.c: Removed.
5267 * string/bug-strchr1.c: Likewise.
5268 * string/bug-strstr1.c: Likewise.
5270 * elf/Makefile (dl-routines): Add hwcaps.
5271 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5272 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5273 (_dl_important_hwcaps): Moved to ...
5274 * elf/dl-hwcaps.c: Here. New file.
5275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5278 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5279 if IS_IN_rtld isn't defined.
5281 * elf/dl-support.c (_dl_sysinfo_map): New.
5282 Include "get-dynamic-info.h" and "setup-vdso.h".
5283 (_dl_non_dynamic_init): Call setup_vdso.
5284 * elf/dynamic-link.h: Don't include <assert.h>.
5285 (elf_get_dynamic_info): Moved to ...
5286 * elf/get-dynamic-info.h: Here. New file.
5287 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5288 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5289 * elf/setup-vdso.h: Here. New file.
5290 * elf/rtld.c: Include "setup-vdso.h".
5291 (dl_main): Call setup_vdso.
5293 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5295 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5296 creal in comment listing functions tested. List finite, isinf,
5297 isnan, isless, islessequal, isgreater, isgreaterequal,
5298 islessgreater, isunordered, lgamma_r and pow10 as functions and
5299 macros not tested. Mention which functions not tested are aliases
5300 for other functions. Fix typo. Note that signs of NaNs are not
5303 * scripts/config.guess: Update from config.git.
5304 * scripts/config.sub: Likewise.
5306 2012-10-04 Roland McGrath <roland@hack.frob.com>
5308 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5309 * misc/madvise.c (madvise): Renamed to __madvise.
5310 Make madvise a weak alias.
5311 * include/sys/mman.h: Declare __madvise.
5312 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5313 * sysdeps/unix/syscalls.list
5314 (madvise): Make __madvise the strong name, and madvise a weak alias.
5315 * sysdeps/unix/sysv/linux/syscalls.list
5316 (madvise, mmap): Remove redundant entries.
5317 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5318 * malloc/malloc.c (mtrim): Likewise.
5319 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5321 2012-10-03 Roland McGrath <roland@hack.frob.com>
5323 * sysdeps/mach/hurd/dl-cache.c: File removed.
5324 * config.h.in (USE_LDCONFIG): New #undef.
5325 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5326 * configure: Regenerated.
5327 * elf/Makefile (dl-routines): Add dl-cache only under
5328 [$(use-ldconfig) = yes].
5329 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5330 cache on [USE_LDCONFIG].
5331 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5333 * elf/rtld.c (dl_main): Likewise.
5335 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5337 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5338 _SC_LEVEL4_CACHE_LINESIZE.
5340 2012-10-03 Roland McGrath <roland@hack.frob.com>
5342 * sysdeps/unix/bsd/confstr.h: File removed.
5344 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5346 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5349 2012-10-02 Roland McGrath <roland@hack.frob.com>
5351 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5352 Make 'mapoff' field ElfW(Off) rather than off_t.
5354 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5356 * nscd/Makefile: Remove nscd-cflags and all its users.
5357 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5358 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5361 * malloc.c (malloc_printerr): Clarify error message.
5363 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5367 Set bit_FMA_Usable if FMA is supported.
5368 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5370 (bit_FMA4_Usable): Updated.
5371 (index_FMA_Usable): New macro.
5372 (CPUID_FMA): Likewise
5373 (HAS_FMA): Defined with bit_FMA_Usable.
5375 2012-10-01 Roland McGrath <roland@hack.frob.com>
5377 * bits/types.h (__swblk_t): Type removed.
5378 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5379 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5381 (__SWBLK_T_TYPE): Likewise.
5382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5383 (__SWBLK_T_TYPE): Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5385 (__SWBLK_T_TYPE): Likewise.
5386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5387 (__SWBLK_T_TYPE): Likewise.
5389 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5390 Honza Horak <hhorak@redhat.com>
5392 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5393 (xdr_mapname): Use YPMAXMAP as maxsize.
5394 (xdr_peername): Use YPMAXPEER as maxsize.
5395 (xdr_keydat): Use YPAXRECORD as maxsize.
5396 (xdr_valdat): Use YPMAXRECORD as maxsize.
5398 2012-10-01 Roland McGrath <roland@hack.frob.com>
5400 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5402 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5403 * csu/init-first.c: ... here.
5404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5405 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5408 * sysdeps/i386/init-first.c: File removed.
5409 * sysdeps/sh/init-first.c: File removed.
5411 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5415 if x * y might underflow to zero and z is zero.
5416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5418 * math/libm-test.inc (min_subnorm_value): New variable.
5419 (fma_test): Add more tests.
5420 (fma_test_towardzero): Likewise.
5421 (fma_test_downward): Likewise
5422 (fma_test_upward): Likewise.
5423 (initialize): Set min_subnorm_value.
5425 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5431 mode for addition resulting in exact zero.
5432 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5437 * math/libm-test.inc (fma_test): Add more tests.
5438 (fma_test_towardzero): New function.
5439 (fma_test_downward): Likewise.
5440 (fma_test_upward): Likewise.
5441 (main): Call the new functions.
5443 2012-09-28 David S. Miller <davem@davemloft.net>
5445 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5447 2012-09-28 Roland McGrath <roland@hack.frob.com>
5449 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5452 * sysdeps/gnu/_G_config.h: Moved to ...
5453 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5454 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5455 * sysdeps/generic/_G_config.h: ... here.
5457 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5459 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5461 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5462 Conditionalize target on [libnss_test1.so-version].
5464 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5466 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5467 (elfobjdir): Move out of conditionals.
5469 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5470 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5471 (__nss_lookup_function): Conditionalize label remove_from_tree on
5472 [!DO_STATIC_NSS || SHARED], matching its only use.
5474 2012-09-28 David S. Miller <davem@davemloft.net>
5476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5483 when HWCAP_SPARC_CRYPTO is present.
5485 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5487 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5489 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5492 * stdio-common/vfprintf.c (process_string_arg): Revert
5495 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5497 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5499 * stdio-common/tst-sprintf.c: Include <locale.h>
5500 (main): Test sprintf's handling of incomplete multibyte
5503 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5505 * elf/dl-runtime.c (VERSYMIDX): Removed.
5506 * elf/dl-version.c (VERSYMIDX): Likewise.
5507 * elf/do-rel.h (VERSYMIDX): Likewise.
5509 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5510 * elf/rtld.c (VALIDX): Likewise.
5511 (ADDRIDX): Likewise.
5512 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5513 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5514 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5515 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5517 (ADDRIDX): Likewise.
5519 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5521 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5523 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5526 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5528 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5529 addresses are in the same scope as 192.0.2/24.
5530 * posix/gai.conf: Document new scope table defaults.
5532 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5535 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5536 for ftell. Compute offsets from write pointers instead.
5537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5539 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * libio/Makefile (tests): New test case tst-fseek.
5543 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5544 combination works in wide mode.
5545 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5546 state when the external buffer state changes.
5548 2012-09-27 David S. Miller <davem@davemloft.net>
5551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5552 pass reloc->r_addend in as the 'high' argument to
5553 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5557 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5559 * rt/tst-aio2.c: Include <pthread.h>.
5560 * rt/tst-aio3.c: Likewise.
5562 2012-09-27 Steve Ellcey <sellcey@mips.com>
5564 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5566 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5568 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5569 contents on [SHARED].
5571 2012-09-26 Marek Polacek <polacek@redhat.com>
5575 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5576 for C++ and GCC <4.3 as well as for non GCC compilers.
5578 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5582 2012-09-25 Roland McGrath <roland@hack.frob.com>
5584 * Makefile.in (all, install): Declare with .PHONY.
5585 Reported by Michael Hope <michael.hope@linaro.org>.
5587 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5589 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5590 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5594 (sydep_routines): Add the new and the internal functions.
5595 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5598 (GLIBC_2.17): Add the new function.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5600 (GLIBC_2.17): Likewise.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5602 (GLIBC_2.17): Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5604 (GLIBC_2.17): Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5607 2012-09-25 Alan Modra <amodra@gmail.com>
5609 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5610 Add release barrier before setting once_control to say
5611 initialisation is done. Add hints on lwarx. Use macro in
5613 (clear_once_control): Add release barrier.
5615 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5618 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5620 * math/s_clog10.c (__clog10): Likewise.
5621 * math/s_clog10f.c (__clog10f): Likewise.
5622 * math/s_clog10l.c (__clog10l): Likewise.
5623 * math/s_clogf.c (__clogf): Likewise.
5624 * math/s_clogl.c (__clogl): Likewise.
5625 * math/Makefile (libm-calls): Add x2y2m1.
5626 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5627 (__x2y2m1): Likewise.
5628 (__x2y2m1l): Likewise.
5629 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5630 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5635 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5636 * sysdeps/i386/fpu/libm-test-ulps: Update.
5637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5640 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5641 int as type of variable DEPTH.
5642 (glob): Use size_t instead of int as type of variables NEWCOUNT
5645 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5649 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5651 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5652 macros for using routine as __sincosf_ia32.
5653 Use macro for function declaration and weak_alias.
5654 * sysdeps/i386/fpu/libm-test-ulps: Update.
5656 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5659 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5661 * math/s_cexpf.c (__cexpf): Likewise.
5662 * math/s_csinf.c (__csinf): Likewise.
5663 * math/s_csinhf.c (__csinhf): Likewise.
5664 * math/s_ctanf.c (__ctanf): Likewise.
5665 * math/s_ctanhf.c (__ctanhf): Likewise.
5666 * math/s_ccosh.c (__ccoshf): Likewise.
5667 * math/s_cexp.c (__cexpl): Likewise.
5668 * math/s_csin.c (__csin): Likewise.
5669 * math/s_csinh.c (__csinh): Likewise.
5670 * math/s_ctan.c (__ctan): Likewise.
5671 * math/s_ctanh.c (ctanh): Likewise.
5672 * math/s_ccoshl.c (__ccoshl): Likewise.
5673 * math/s_cexpl.c (__cexpl): Likewise.
5674 * math/s_csinl.c (__csinl): Likewise.
5675 * math/s_csinhl.c (__csinhl): Likewise.
5676 * math/s_ctanl.c (__ctanl): Likewise.
5677 * math/s_ctanhl.c (__ctanhl): Likewise.
5679 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5681 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5682 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5683 (_IO_off_t): Define to __off_t, not _G_off_t.
5684 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5685 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5686 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5687 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5688 type of __dummy and __dummy2 fields.
5689 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5690 (_G_ssize_t): Likewise.
5691 (_G_off_t): Likewise.
5692 (_G_pid_t): Likewise.
5693 (_G_uid_t): Likewise.
5694 (_G_wchar_t): Likewise.
5695 (_G_wint_t): Likewise.
5696 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5697 (_G_ssize_t): Likewise.
5698 (_G_off_t): Likewise.
5699 (_G_pid_t): Likewise.
5700 (_G_uid_t): Likewise.
5701 (_G_wchar_t): Likewise.
5702 (_G_wint_t): Likewise.
5703 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5704 (_G_ssize_t): Likewise.
5705 (_G_off_t): Likewise.
5706 (_G_pid_t): Likewise.
5707 (_G_uid_t): Likewise.
5708 (_G_wchar_t): Likewise.
5709 (_G_wint_t): Likewise.
5711 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5713 * malloc/arena.c: Include malloc-sysdep.h.
5714 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5715 is sufficient to shrink the heap or an unmap is needed.
5716 * sysdeps/generic/malloc-sysdep.h: New file. Define
5717 new function check_may_shrink_heap.
5718 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5719 new function check_may_shrink_heap.
5721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5723 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5726 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5728 * catgets/test-gencat.sh: Add "set -e".
5729 * elf/tst-pathopt.sh: Likewise.
5730 * grp/tst_fgetgrent.sh: Likewise.
5731 * iconvdata/run-iconv-test.sh: Likewise.
5732 * intl/tst-gettext.sh: Likewise.
5733 * intl/tst-gettext2.sh: Likewise.
5734 * intl/tst-gettext4.sh: Likewise.
5735 * intl/tst-gettext6.sh: Likewise.
5736 * intl/tst-translit.sh: Likewise.
5737 * io/ftwtest-sh: Likewise.
5738 * libio/test-freopen.sh: Likewise.
5739 * malloc/tst-mtrace.sh: Likewise.
5740 * posix/globtest.sh: Likewise.
5741 * posix/tst-getconf.sh: Likewise.
5742 * posix/wordexp-tst.sh: Likewise.
5743 * stdio-common/tst-printf.sh: Likewise.
5744 * stdio-common/tst-unbputc.sh: Likewise.
5745 * stdlib/tst-fmtmsg.sh: Likewise.
5746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5747 * catgets/Makefile: Do not specify -e option when running
5748 testsuite shell scripts.
5749 * elf/Makefile: Likewise.
5750 * grp/Makefile: Likewise.
5751 * iconvdata/Makefile: Likewise.
5752 * intl/Makefile: Likewise.
5753 * io/Makefile: Likewise.
5754 * libio/Makefile: Likewise.
5755 * malloc/Makefile: Likewise.
5756 * posix/Makefile: Likewise.
5757 * stdio-common/Makefile: Likewise.
5758 * stdlib/Makefile: Likewise.
5759 * sysdeps/x86_64/Makefile: Likewise.
5761 * io/ftwtest-sh: Add copyright header.
5762 * posix/globtest.sh: Likewise.
5763 * posix/tst-getconf.sh: Likewise.
5764 * posix/wordexp-tst.sh: Likewise.
5765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5767 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5770 * Makeconfig (+link): Defined as $(+link-static) if
5771 $(build-shared) isn't yes.
5772 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5774 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5776 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5779 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5780 new chunk size with MALLOC_ALIGN_MASK.
5782 2012-09-24 Joseph Myers <joseph@codesourcery.com>
5785 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5787 (__printf_fphex): Determine rounding using get_rounding_mode and
5789 * stdio-common/tst-printf-round.c (struct hex_test): New
5791 (hex_tests): New variable.
5792 (test_hex_in_one_mode): New function.
5793 (do_test): Also run tests for hex float output.
5795 2012-09-21 Joseph Myers <joseph@codesourcery.com>
5797 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5798 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5799 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5800 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5802 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5803 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5806 2012-09-20 Joseph Myers <joseph@codesourcery.com>
5808 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5809 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5810 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5811 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5813 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5816 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5818 * elf/tst-rtld-load-self.sh: New test.
5819 * elf/Makefile: Run it.
5821 2012-09-18 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5824 (tst-writev-ENV): Remove.
5825 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5827 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5829 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5831 2012-09-17 Joseph Myers <joseph@codesourcery.com>
5833 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5835 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5837 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5838 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5842 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5845 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5846 * config.make.in (have-cpp-asm-debuginfo): Removed.
5847 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5848 * configure: Regenerated.
5850 2012-09-14 Joseph Myers <joseph@codesourcery.com>
5853 * stdio-common/printf_fp.c: Include <stdbool.h> and
5855 (___printf_fp): Determine rounding using get_rounding_mode and
5857 * stdio-common/tst-printf-round.c: New file.
5858 * stdio-common/Makefile (tests): Add tst-printf-round.
5859 (link-libm): New variable.
5860 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5862 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5865 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5866 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5868 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5871 2012-09-13 Joseph Myers <joseph@codesourcery.com>
5873 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5874 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5875 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5878 2012-09-12 Joseph Myers <joseph@codesourcery.com>
5881 * include/rounding-mode.h: New file.
5882 * sysdeps/generic/get-rounding-mode.h: Likewise.
5883 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5884 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5885 (MAX_VALUE): New macro.
5886 (MIN_VALUE): Likewise.
5887 (overflow_value): New function.
5888 (underflow_value): Likewise.
5889 (round_and_return): Use overflow_value and underflow_value to
5890 determine return values in overflow and underflow cases. Use
5891 round_away to determine rounding depending on rounding mode.
5892 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5893 determine return values in overflow and underflow cases.
5894 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5895 (struct test_results): New structure.
5896 (struct test): Use struct test_results to store expected results
5897 for all rounding modes.
5898 (TEST): Include expected results for all rounding modes.
5899 (test_in_one_mode): New function.
5900 (do_test): Use test_in_one_mode to compute and check results.
5901 Check results for all rounding modes.
5902 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5905 2012-12-09 Allan McRae <allan@archlinux.org>
5907 * sysdeps/i386/fpu/libm-test-ulps: Update
5909 2012-09-11 Joseph Myers <joseph@codesourcery.com>
5911 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5912 (_G_int32_t): Likewise.
5913 (_G_uint16_t): Likewise.
5914 (_G_uint32_t): Likewise.
5915 (_G_HAVE_BOOL): Likewise.
5916 (_G_HAVE_ATEXIT): Likewise.
5917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5918 (_G_HAVE_IO_FILE_OPEN): Likewise.
5919 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5920 (_G_int32_t): Likewise.
5921 (_G_uint16_t): Likewise.
5922 (_G_uint32_t): Likewise.
5923 (_G_HAVE_BOOL): Likewise.
5924 (_G_HAVE_ATEXIT): Likewise.
5925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5926 (_G_HAVE_IO_FILE_OPEN): Likewise.
5927 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5928 (_G_int32_t): Likewise.
5929 (_G_uint16_t): Likewise.
5930 (_G_uint32_t): Likewise.
5931 (_G_HAVE_BOOL): Likewise.
5932 (_G_HAVE_ATEXIT): Likewise.
5933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5934 (_G_HAVE_IO_FILE_OPEN): Likewise.
5936 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5938 * csu/libc-tls.c: Update copyright years.
5940 2012-09-10 Joseph Myers <joseph@codesourcery.com>
5942 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5943 [!_G_USING_THUNKS]: Remove conditional code.
5944 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5945 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5947 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5948 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5949 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5950 (_G_VTABLE_LABEL_PREFIX): Likewise.
5951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5952 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5954 (_G_VTABLE_LABEL_PREFIX): Likewise.
5955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5956 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5958 (_G_VTABLE_LABEL_PREFIX): Likewise.
5959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5961 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5963 * libio/Makefile: Include ../Makeconfig before tests.
5964 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5965 only if $(build-shared) is yes.
5967 * iconv/gconv_db.c: Update copyright years.
5969 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5972 unwind info if defined PIC. Fix special cases description.
5973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5975 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5977 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5979 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5981 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5983 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5986 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5987 (LDLIBS-tst-chk4): This.
5988 (LDFLAGS-tst-chk5): Renamed to ...
5989 (LDLIBS-tst-chk5): This.
5990 (LDFLAGS-tst-chk6): Renamed to ...
5991 (LDLIBS-tst-chk6): This.
5992 (LDFLAGS-tst-lfschk4): Renamed to ...
5993 (LDLIBS-tst-lfschk4): This.
5994 (LDFLAGS-tst-lfschk5): Renamed to ...
5995 (LDLIBS-tst-lfschk5): This.
5996 (LDFLAGS-tst-lfschk6): Renamed to ...
5997 (LDLIBS-tst-lfschk6): This.
5999 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6000 on $(common-objpfx)soversions.mk.
6002 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6005 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6008 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6010 * malloc/arena.c (arena_get_retry): New function that gets
6011 another arena for the caller to try its request on.
6012 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6013 current arena cannot fulfill the request.
6014 (__libc_memalign): Likewise.
6015 (__libc_memalign): Likewise.
6016 (__libc_pvalloc): Likewise.
6017 (__libc_calloc): Likewise.
6019 2012-09-05 John Tobey <john.tobey@gmail.com>
6022 * manual/arith.texi (Operations on Complex): Fix description
6025 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6028 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6032 * manual/memory.texi (Memory): Make order of menu items match
6035 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6037 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6038 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6039 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6041 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6043 * csu/libc-tls.c (static_dtv): Renamed to ...
6044 (_dl_static_dtv): This. Make it global.
6045 (_dl_initial_dtv): Removed.
6046 (__libc_setup_tls): Updated.
6047 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6048 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6051 2012-09-06 Petr Machata <pmachata@redhat.com>
6053 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6054 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6055 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6056 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6058 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6061 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6062 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6065 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6068 * Makeconfig (link-static-before-libc): Replace $(+prector)
6070 (link-static-after-libc): Replace $(+postctor) with
6072 (link-bounded): Replace $(+prector)/$(+postctor) with
6073 $(+prectorT)/$(+postctorT).
6074 (+prectorT): New macro.
6075 (+postctorT): Likewise.
6077 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6079 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6080 (round_str): Handle values above the maximum for IBM long double
6082 * stdlib/tst-strtod-round.c (tests): Regenerated.
6084 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6086 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6089 zarch_nohighgprs around the zarch optimized routines.
6090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6095 2012-09-05 David S. Miller <davem@davemloft.net>
6097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6099 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6100 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6101 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6105 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6107 * malloc/arena.c: Fold copyright years.
6108 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6110 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6116 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6118 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6121 change internal state upon failure.
6123 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6125 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6126 * malloc/memusage.c (mmap): Likewise.
6127 (mmap64, mremap): Likewise. Adjust name in comment.
6129 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * libio/fileops.c: Fix typos in comments.
6132 * libio/oldfileops.c: Likewise.
6133 * libio/wfileops.c: Likewise.
6135 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6138 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6139 (tst-malloc-usable-ENV): Set environment for test case.
6140 * malloc/hooks.c (malloc_check_get_size): New function to get
6142 * malloc/malloc.c (musable): Use malloc_check_get_size.
6143 * malloc/tst-malloc-usable.c: New test case.
6145 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6149 2012-09-05 Allan McRae <allan@archlinux.org>
6152 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6153 determine header location.
6154 * configure: Regenerated.
6156 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6158 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6160 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6161 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6165 2012-09-04 David S. Miller <davem@davemloft.net>
6167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6171 2012-09-04 Florian Weimer <fweimer@redhat.com>
6173 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6176 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6178 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6181 * libio/iogetdelim.c: Include <limits.h>.
6182 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6183 + len + 1 would overflow.
6185 2012-09-03 Andreas Jaeger <aj@suse.de>
6187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6188 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6193 Add s_sinf-sse2, s_conf-sse2.
6195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6197 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6200 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6201 for using routine as __sinf_ia32.
6202 Use macro for function declaration and weak_alias.
6203 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6204 for using routine as __cosf_ia32.
6205 Use macro for function declaration and weak_alias.
6207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6210 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6211 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6214 * math/libm-test.inc (cos_test): Add more test cases.
6215 (sin_test): Likewise.
6216 (sincos_test): Likewise.
6218 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6221 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6225 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6228 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6229 first element of the GOT.
6230 (elf_machine_load_address): Return the difference between
6231 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6233 2012-09-01 Allan McRae <allan@archlinux.org>
6236 * configure.in (AWK): Require gawk version 3.0 or later.
6237 * configure: Regenerated.
6239 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/unix/sysv/linux/kernel-features.h
6242 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6244 [__NR_clock_getres]: Make code unconditional.
6245 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6246 (clock_getcpuclockid): Remove code left unreachable by removal of
6248 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6252 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6253 Make code unconditional.
6254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6256 * sysdeps/unix/sysv/linux/clock_settime.c
6257 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6259 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6262 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6265 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6266 scripts/test-installation.pl.
6268 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6269 and $ld_so_version if it is set.
6271 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6275 failure if reading from procfs failed.
6276 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6278 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/unix/sysv/linux/kernel-features.h
6281 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6282 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6283 Remove conditional code.
6284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6285 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6286 Remove conditional code.
6287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6288 * sysdeps/unix/sysv/linux/i386/fxstat.c
6289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6291 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6294 * sysdeps/unix/sysv/linux/i386/lxstat.c
6295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6297 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6298 Remove conditional code.
6299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6300 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6301 Remove conditional code.
6302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6304 <kernel-features.h>.
6305 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6307 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6308 Remove conditional code.
6309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6310 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6313 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6316 * NEWS: Add fixed bug number.
6318 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6321 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6322 underflowing exponent in case of negative sign.
6323 * stdlib/tst-strtod-round-data: Add more tests.
6324 * stdlib/tst-strtod-round.c (tests): Regenerated.
6327 * stdlib/strtod_l.c (NDIG): Remove.
6328 (HEXNDIG): Likewise.
6329 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6330 smallest representable value.
6331 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6332 lie within an exact representation of 1/2 ulp of the result.
6333 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6335 (TENS_P9_IDX): Define unconditionally.
6336 (TENS_P9_SIZE): Likewise.
6337 (TENS_P10_IDX): Likewise.
6338 (TENS_P10_SIZE): Likewise.
6339 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6340 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6342 entries for 10^2^13 and 10^2^14.
6343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6344 (TENS_P13_IDX): Define.
6345 (TENS_P13_SIZE): Likewise.
6346 (TENS_P14_IDX): Likewise.
6347 (TENS_P14_SIZE): Likewise.
6348 (_fpioconst_pow10): Change array size to
6349 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6351 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6352 1024]: Add entries for 10^2^13 and 10^2^14.
6353 [LAST_POW10 > _LAST_POW10]: Remove #error.
6354 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6355 (_fpioconst_pow10): Change array size to
6356 FPIOCONST_POW10_ARRAY_SIZE.
6357 * stdlib/gen-fpioconst.c: New file.
6358 * stdlib/gen-tst-strtod-round.c: Likewise.
6359 * stdlib/tst-strtod-round-data: Likewise.
6360 * stdlib/tst-strtod-round.c: Likewise.
6361 * stdlib/Makefile (tests): Add tst-strtod-round.
6364 * stdlib/strtod_l.c: Include <stdint.h>.
6365 (NDEBUG): Do not define.
6366 (round_and_return): Change EXPONENT parameter to type intmax_t.
6367 Rearrange calculations to avoid internal overflow possibilities.
6368 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6369 Rearrange calculations to avoid internal overflow possibilities.
6370 Assert that number fits inside MPNSIZE limbs.
6371 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6372 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6373 calculations and add assertions to avoid internal overflow
6374 possibilities. Add casts to avoid signed/unsigned operations.
6375 * stdlib/tst-strtod-overflow.c: New file.
6376 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6378 2012-08-25 Marek Polacek <polacek@redhat.com>
6380 * time/time.h: Fix some typos in comments.
6382 2012-08-23 Roland McGrath <roland@hack.frob.com>
6384 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6385 * posix/tst-rfc3484-2.c: Likewise.
6386 * posix/tst-rfc3484-3.c: Likewise.
6388 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6390 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6391 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6393 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6395 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6396 #include of fxstatat64.c.
6398 2012-08-22 Roland McGrath <roland@hack.frob.com>
6400 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6401 * shadow/getspent_r.c: Likewise.
6402 * shadow/getspnam.c: Likewise.
6403 * shadow/getspnam_r.c: Likewise.
6404 * gshadow/getsgent.c: Likewise.
6405 * gshadow/getsgent_r.c: Likewise.
6406 * gshadow/getsgnam.c: Likewise.
6407 * gshadow/getsgnam_r.c: Likewise.
6408 * inet/getnetbyad.c: Likewise.
6409 * inet/getnetbyad_r.c: Likewise.
6410 * inet/getnetbynm.c: Likewise.
6411 * inet/getnetbynm_r.c: Likewise.
6412 * inet/getnetent.c: Likewise.
6413 * inet/getnetent_r.c: Likewise.
6414 * inet/getproto.c: Likewise.
6415 * inet/getproto_r.c: Likewise.
6416 * inet/getprtent.c: Likewise.
6417 * inet/getprtent_r.c: Likewise.
6418 * inet/getprtname.c: Likewise.
6419 * inet/getprtname_r.c: Likewise.
6420 * inet/getrpcbyname.c: Likewise.
6421 * inet/getrpcbyname_r.c: Likewise.
6422 * inet/getrpcbynumber.c: Likewise.
6423 * inet/getrpcbynumber_r.c: Likewise.
6424 * inet/getrpcent.c: Likewise.
6425 * inet/getrpcent_r.c: Likewise.
6426 * inet/getaliasent.c: Likewise.
6427 * inet/getaliasent_r.c: Likewise.
6428 * inet/getaliasname.c: Likewise.
6429 * inet/getaliasname_r.c: Likewise.
6430 * nscd/getgrgid_r.c: Likewise.
6431 * nscd/getgrnam_r.c: Likewise.
6432 * nscd/gethstbyad_r.c: Likewise.
6433 * nscd/gethstbynm3_r.c: Likewise.
6434 * nscd/getpwnam_r.c: Likewise.
6435 * nscd/getpwuid_r.c: Likewise.
6436 * nscd/getsrvbynm_r.c: Likewise.
6437 * nscd/getsrvbypt_r.c: Likewise.
6438 * nscd/gai.c: Likewise.
6440 * configure.in (build_nscd): New substituted variable, set
6441 by --disable-build-nscd and defaults to $use_nscd.
6442 * configure: Regenerated.
6443 * config.make.in (build-nscd): New substituted variable.
6444 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6445 Change conditional to require [$(build-nscd) = yes] as well.
6446 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6449 * configure.in (use_nscd): New substituted variable, set by
6450 --disable-nscd. If enabled, define USE_NSCD.
6451 * configure: Regenerated.
6452 * config.h.in: Add USE_NSCD.
6453 * config.make.in (use-nscd): New substituted variable.
6454 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6455 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6456 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6457 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6458 (CFLAGS-getgrnam_r.c): Likewise.
6459 (CFLAGS-initgroups.c): Likewise.
6460 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6461 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6463 * inet/getnetgrent_r.c
6464 (nscd_setnetgrent): New function, broken out of ...
6465 (setnetgrent): ... here. Call it.
6466 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6467 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6468 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6469 * nscd/Makefile (routines, aux): Move definitions after include of
6470 Makeconfig. Conditionalize on [$(use-nscd) != no].
6471 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6472 Conditionalize on [USE_NSCD].
6473 (is_nscd, nscd_init_cb): Likewise.
6474 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6475 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6476 * nss/nss_db/db-init.c: Likewise.
6477 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6479 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6480 (make_request): Use it.
6481 (cache_valid_p): New function.
6482 (__check_pf): Use it.
6483 * NEWS: Add item for --disable-nscd.
6485 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6487 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6488 to support sed >= 4.2.1-20-ga9bf076.
6489 * configure: Regenerated.
6491 2012-08-22 Roland McGrath <roland@hack.frob.com>
6493 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6494 Conditionalize whole body on [IREL].
6496 2012-08-22 Jeff Law <law@redhat.com>
6499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6500 if the family is PF_UNSPEC.
6502 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6504 * Makerules (lib-version): Rename from V.
6505 (install-lib-nosubdir): Change V to lib-version.
6507 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6510 * powerpc32/power6/wcschr.c: New file.
6511 * powerpc32/power6/wcscpy.c: New file.
6512 * powerpc32/power6/wcsrchr.c: New file.
6513 * powerpc64/power6/wcschr.c: New file.
6514 * powerpc64/power6/wcscpy.c: New file.
6515 * powerpc64/power6/wcsrchr.c: New file.
6517 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6519 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6520 (two_way_short_needle): Use it.
6521 * string/strstr.c (AVAILABLE1_USES_J): Define.
6522 * string/strcasestr.c: Likewise.
6524 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6526 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6529 * NEWS: Add an entry.
6530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6531 define their defaults.
6532 (two_way_short_needle): Detect end-of-string on-the-fly.
6533 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6534 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6535 * string/bug-strcasestr1.c: New test.
6536 * string/Makefile: Run it.
6538 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6541 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6542 the first character.
6544 2012-08-21 Roland McGrath <roland@hack.frob.com>
6546 * csu/elf-init.c (__libc_csu_irel): Function removed.
6547 * csu/libc-start.c (apply_irel): New function.
6548 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6550 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/unix/sysv/linux/kernel-features.h
6553 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6555 <kernel-features.h>.
6556 [__NR_fadvise64_64]: Make code unconditional.
6557 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6558 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6559 !__NR_fadvise64_64)]: Likewise.
6560 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6561 !__NR_fadvise64_64))]: Likewise.
6562 [__NR_fadvise64]: Make code unconditional.
6563 [!__NR_fadvise64]: Remove conditional code.
6564 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6565 <kernel-features.h>.
6566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6571 not include <kernel-features.h>.
6572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6576 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6577 include <kernel-features.h>.
6578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6583 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6586 slight instruction rearrangements per scrollpipe analysis.
6587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6589 2012-08-20 Roland McGrath <roland@hack.frob.com>
6591 * manual/syslog.texi (syslog; vsyslog, closelog):
6592 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6593 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6595 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6596 DSOCAPS to match condition on defining it.
6598 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/unix/sysv/linux/kernel-features.h
6601 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6613 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6615 * sysdeps/unix/sysv/linux/kernel-features.h
6616 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6617 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6619 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6620 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6623 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6624 Make code unconditional.
6625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6626 (__mmap64) [!__NR_mmap2]: Likewise.
6627 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6631 [__NR_mmap2]: Make code unconditional.
6632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6633 (__mmap64) [!__NR_mmap2]: Likewise.
6635 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6637 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6639 2012-08-18 Andreas Jaeger <aj@suse.de>
6641 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6643 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6645 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6646 * include/unistd.h (__have_sock_cloexec): Likewise.
6647 (__have_pipe2): Likewise.
6648 (__have_dup3): Likewise.
6650 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6653 * include/unistd.h (__have_pipe2): Change define into an extern int.
6654 (__have_dup3): Likewise.
6655 * socket/have_sock_cloexec.c: Include fcntl.h.
6656 (__have_pipe2): New variable.
6657 (__have_dup3): Likewise.
6659 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6661 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6663 2012-08-17 Marek Polacek <polacek@redhat.com>
6665 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6666 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6668 2012-08-17 Roland McGrath <roland@hack.frob.com>
6670 * configure.in: Add AC_SUBST for sysheaders.
6671 * configure: Regenerated.
6672 * config.make.in (sysheaders): New substituted variable.
6674 * sysdeps/unix/mkfifo.c: Moved ...
6675 * sysdeps/posix/mkfifo.c: ... here.
6676 * sysdeps/unix/mkfifoat.c: Moved ...
6677 * sysdeps/posix/mkfifoat.c: ... here.
6679 * sysdeps/unix/utime.c: Moved ...
6680 * sysdeps/posix/utime.c: ... here.
6682 * sysdeps/unix/time.c: Moved ...
6683 * sysdeps/posix/time.c: ... here.
6684 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6685 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6687 * sysdeps/unix/nice.c: Moved ...
6688 * sysdeps/posix/nice.c: ... here.
6690 * sysdeps/unix/alarm.c: Moved ...
6691 * sysdeps/posix/alarm.c: ... here.
6693 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6695 2012-08-17 Jeff Law <law@redhat.com>
6697 * intl/Makefile (codeset_mo): New variable.
6698 ($(codeset_mo)): New target.
6699 (tst-codeset.out): Depend on that. Remove explicit rule.
6700 (tst-gettext3.out, tst-gettext5.out): Likewise.
6701 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6702 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6703 * intl/tst-codeset.sh: Remove.
6704 * intl/tst-gettext3.sh: Likewise.
6705 * intl/tst-gettext5.sh: Likewise.
6707 2012-08-17 Roland McGrath <roland@hack.frob.com>
6709 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6710 * sysdeps/unix/syscalls.list: ... here.
6712 * sysdeps/posix/getaddrinfo.c
6713 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6714 (gaiconf_init, gaiconf_reload): Use them.
6716 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6717 Define using time_t rather than struct timespec.
6719 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6720 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6722 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6724 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6725 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6729 __libc_cleanup_push argument.
6731 * bits/param.h: New file.
6732 * misc/sys/param.h: New file.
6733 * include/sys/param.h: New file.
6734 * misc/Makefile (headers): Add bits/param.h.
6735 * sysdeps/generic/sys/param.h: File removed.
6736 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6737 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6738 * sysdeps/mach/hurd/bits/param.h: New file.
6739 * sysdeps/mach/hurd/sys/param.h: File removed.
6741 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6744 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6746 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6747 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6750 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6751 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6752 rather than -D_IO_MTSAFE_IO conditionally.
6753 * stdio-common/Makefile (CPPFLAGS): Likewise.
6754 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6755 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6756 Use $(libio-mtsafe).
6757 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6759 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6760 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6761 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6762 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6763 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6764 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6765 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6766 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6767 (CFLAGS-fread_u_chk.c): Likewise.
6768 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6769 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6770 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6771 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6772 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6773 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6774 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6775 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6776 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6778 * libio/Makefile: Test [$(libc-reentrant) = yes]
6779 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6782 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6783 * sysdeps/pthread/configure: File removed.
6784 * sysdeps/pthread/Makeconfig: New file.
6785 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6786 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6788 2012-08-16 Gary Benson <gbenson@redhat.com>
6790 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6791 unmapping the first object in a namespace.
6793 2012-08-16 Roland McGrath <roland@hack.frob.com>
6795 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6796 (__internal_setnetgrent): ... this. Add internal_function to
6797 definition. Add libc_hidden_def.
6798 (setnetgrent): Update caller.
6799 (internal_endnetgrent): Renamed to ...
6800 (__internal_endnetgrent): ... this. Add internal_function to
6801 definition. Add libc_hidden_def.
6802 (endnetgrent): Update caller.
6803 (internal_getnetgrent_r): Renamed to ...
6804 (__internal_getnetgrent_r): ... this. Add internal_function to
6805 definition. Add libc_hidden_def.
6806 (__getnetgrent_r): Update caller.
6807 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6809 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6811 * stdlib/longlong.h: Update from GCC.
6813 2012-08-16 Roland McGrath <roland@hack.frob.com>
6815 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6816 on _QL, which is set by umul_ppmm but never used.
6817 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6818 variables, which are set by GMP macros but never used.
6819 * stdio-common/_itowa.c (_itowa): Likewise.
6820 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6821 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6823 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6825 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6826 struct La_sh_regs is not constant.
6827 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6828 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6829 and struct La_sparc64_regs are not constant.
6831 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/unix/sysv/linux/kernel-features.h
6834 (__ASSUME_POSIX_TIMERS): Remove.
6835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6837 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6838 Make code unconditional.
6839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6840 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6841 Make code unconditional.
6842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6843 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6844 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6846 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6847 Make code unconditional.
6848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6849 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6850 (__libc_missing_posix_timers): Remove.
6852 2012-08-15 Roland McGrath <roland@hack.frob.com>
6854 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6855 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6857 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6859 * elf/dl-sym.c: Include <stdlib.h>.
6861 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6862 constants, which avoids warnings in 32-bit builds.
6864 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6865 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6867 * misc/lseek.c: File moved to ...
6868 * io/lseek.c: ... here.
6870 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6872 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6873 shifting LEN more than 31 bits at once.
6875 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6878 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6879 segmentation fault for a case of two empty input strings.
6880 * string/test-strncasecmp.c (check1): Renamed to...
6882 (bz14195): Add new testcase for two empty input strings and N > 0.
6883 (test_main): Call new testcase, adapt for renamed function.
6885 2012-08-15 Andreas Jaeger <aj@suse.de>
6888 * crypt/md5test2.c: New test, based on test supplied by Serge
6889 Belyshev <belyshev@depni.sinp.msu.ru>.
6890 * crypt/Makefile (xtests): Add md5test-giant..
6891 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6893 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6896 * crypt/md5.c (md5_process_block): Don't assume the buffer
6897 length is less than 2**32.
6898 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6899 length is less than 2**64.
6901 2012-08-15 Roland McGrath <roland@hack.frob.com>
6903 * string/str-two-way.h: Include <sys/param.h>.
6904 (MAX): Macro removed.
6906 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6907 Move #define and #undef of memmove to just before and after
6908 including <string.h>.
6910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6911 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6912 and after including <string.h>. Move declarations of
6913 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6914 to before #include "string/memmove.c".
6916 * include/dirent.h: Declare __getdirentries.
6918 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6919 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6921 2012-08-14 Mike Frysinger <vapier@gentoo.org>
6923 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6924 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6925 * sysdeps/i386/configure: Regenerated.
6926 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6927 STABS_CURRENT_FILE, and STABS_FUN.
6928 (END): Remove call to STABS_FUN_END.
6929 (STABS_CURRENT_FILE1): Delete.
6930 (STABS_CURRENT_FILE): Likewise.
6931 (STABS_FUN): Likewise.
6932 (STABS_FUN_END): Likewise.
6933 (STABS_FUN2): Likewise.
6934 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6935 * sysdeps/x86_64/configure: Regenerated.
6937 2012-08-14 Roland McGrath <roland@hack.frob.com>
6939 * elf/dl-open.c: Include <atomic.h>.
6940 * elf/dl-lookup.c: Likewise.
6942 2012-08-14 Joseph Myers <joseph@codesourcery.com>
6944 * sysdeps/unix/sysv/linux/kernel-features.h
6945 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6946 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6948 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6950 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6951 condition on __ASSUME_CLONE_THREAD_FLAGS.
6953 2012-08-14 Andreas Jaeger <aj@suse.de>
6955 * sysdeps/i386/fpu/libm-test-ulps: Update.
6957 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6959 * include/atomic.h (atomic_exchange_and_add): Split into ...
6960 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6963 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6967 2012-08-13 Jeff Law <law@redhat.com>
6969 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6970 null byte in the output string.
6972 2012-08-10 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/unix/sysv/linux/kernel-features.h
6975 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6976 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6977 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6979 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6980 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6981 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6983 2012-08-09 Jeff Law <law@redhat.com>
6986 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6987 When avoid_arena is set, don't retry in the that arena. Pick the
6988 next one, whatever it might be.
6989 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6990 (arena_lock): Pass in new parameter to arena_get2.
6991 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6993 (__libc_malloc): Unify retrying after main arena failure with
6994 __libc_memalign version.
6995 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6997 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7000 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7001 to __redirect_strstr.
7002 (__strstr_sse42): Use typeof __redirect_strstr.
7003 (__strstr_ia32): Likewise.
7004 (__libc_strstr): New prototype.
7005 (strstr): Renamed to ...
7006 (__libc_strstr): This.
7007 (strstr): New strong alias of __libc_strstr.
7008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7012 (__libc_time): New prototype.
7013 (time_ifunc): Replace time with __libc_time.
7014 (time): New strong alias and hidden definition of __libc_time.
7015 (__GI_time): Remove strong alias.
7016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7018 (memmove): Redefined to __redirect_memmove.
7019 (__memmove_sse2): Use typeof __redirect_memmove.
7020 (__memmove_ssse3): Likewise.
7021 (__memmove_ssse3_back): Likewise.
7022 (__libc_memmove): New prototype.
7023 (memmove): Renamed to ...
7024 (__libc_memmove): This.
7025 (memmove): New strong alias of __libc_memmove.
7027 2012-08-08 Mark Salter <msalter@redhat.com>
7030 (R_MN10300_TLS_GD): Define.
7031 (R_MN10300_TLS_LD): Likewise.
7032 (R_MN10300_TLS_LDO): Likewise.
7033 (R_MN10300_TLS_GOTIE): Likewise.
7034 (R_MN10300_TLS_IE): Likewise.
7035 (R_MN10300_TLS_LE): Likewise.
7036 (R_MN10300_TLS_DTPMOD): Likewise.
7037 (R_MN10300_TLS_DTPOFF): Likewise.
7038 (R_MN10300_TLS_TPOFF): Likewise.
7039 (R_MN10300_SYM_DIFF): Likewise.
7040 (R_MN10300_ALIGN): Likewise.
7041 (R_MN10300_NUM): Update.
7043 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7048 2012-08-08 Roland McGrath <roland@hack.frob.com>
7050 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7052 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7053 sysdeps/unix -> sysdeps/posix move.
7054 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7056 2012-08-07 Allan McRae <allan@archlinux.org>
7059 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7060 (SUNOS_CPP): Likewise.
7061 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7063 (open_input): Call CPP using execvp.
7065 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7067 * sysdeps/unix/sysv/linux/kernel-features.h
7068 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7069 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7070 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7071 (__ASSUME_WAITID_SYSCALL): Likewise.
7072 * sysdeps/unix/sysv/linux/dl-execstack.c
7073 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7075 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7078 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7079 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7081 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7083 [__ASSUME_WAITID_SYSCALL]: Likewise.
7084 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7086 2012-08-07 Roland McGrath <roland@hack.frob.com>
7088 * sysdeps/unix/closedir.c: Renamed to ...
7089 * sysdeps/posix/closedir.c: ... here.
7090 * sysdeps/unix/dirfd.c: Renamed to ...
7091 * sysdeps/posix/dirfd.c: ... here.
7092 * sysdeps/unix/dirstream.h: Renamed to ...
7093 * sysdeps/posix/dirstream.h: ... here.
7094 * sysdeps/unix/fdopendir.c: Renamed to ...
7095 * sysdeps/posix/fdopendir.c: ... here.
7096 * sysdeps/unix/opendir.c: Renamed to ...
7097 * sysdeps/posix/opendir.c: ... here.
7098 * sysdeps/unix/readdir.c: Renamed to ...
7099 * sysdeps/posix/readdir.c: ... here.
7100 * sysdeps/unix/readdir_r.c: Renamed to ...
7101 * sysdeps/posix/readdir_r.c: ... here.
7102 * sysdeps/unix/rewinddir.c: Renamed to ...
7103 * sysdeps/posix/rewinddir.c: ... here.
7104 * sysdeps/unix/seekdir.c: Renamed to ...
7105 * sysdeps/posix/seekdir.c: ... here.
7106 * sysdeps/unix/telldir.c: Renamed to ...
7107 * sysdeps/posix/telldir.c: ... here.
7108 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7109 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7110 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7113 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7114 * bits/fcntl.h: ... here.
7116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7118 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7119 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7120 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7121 (struct flock): Move l_start, l_len to the beginning.
7122 Use __pid_t for l_pid.
7123 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7124 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7125 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7126 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7127 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7128 [__USE_LARGEFILE64] (struct flock64): New type.
7129 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7131 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7132 * bits/dirent.h: ... here.
7134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7135 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7137 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7140 Change from 2.6.0 to 2.6.16.
7141 * sysdeps/unix/sysv/linux/configure: Regenerated.
7142 * sysdeps/unix/sysv/linux/kernel-features.h
7143 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7144 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7146 (__ASSUME_UTIMES): Likewise.
7147 (__ASSUME_CLONE_STOPPED): Remove.
7148 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7149 architectures, not kernel version.
7150 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7153 (__ASSUME_WAITID_SYSCALL): Likewise.
7154 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7155 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7156 * README: State 2.6.16 as minimum Linux kernel version. Do not
7157 refer to older versions.
7159 2012-08-06 Roland McGrath <roland@hack.frob.com>
7161 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7162 Define alphasort64 as an alias.
7163 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7164 Define versionsort64 as an alias.
7165 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7166 Define scandir64 as an alias.
7167 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7168 Define scandirat64 as an alias.
7169 * dirent/alphasort64.c (alphasort64):
7170 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7171 * dirent/versionsort64.c: Likewise.
7172 * dirent/scandir64.c: Likewise.
7173 * dirent/scandirat64.c: Likewise.
7174 * sysdeps/wordsize-64/alphasort.c: File removed.
7175 * sysdeps/wordsize-64/alphasort64.c: File removed.
7176 * sysdeps/wordsize-64/scandir.c: File removed.
7177 * sysdeps/wordsize-64/scandir64.c: File removed.
7178 * sysdeps/wordsize-64/scandirat.c: File removed.
7179 * sysdeps/wordsize-64/scandirat64.c: File removed.
7180 * sysdeps/wordsize-64/versionsort.c: File removed.
7181 * sysdeps/wordsize-64/versionsort64.c: File removed.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7184 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7186 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7191 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7193 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7195 [defined __arch64__ || defined __sparcv9]
7196 (__INO_T_MATCHES_INO64_T): New macro.
7197 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7198 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7199 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7200 * sysdeps/unix/sysv/linux/bits/dirent.h
7201 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7202 (_DIRENT_MATCHES_DIRENT64): New macro.
7204 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7205 Define lockf64 as an alias.
7206 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7207 Define fseeko64 as an alias.
7208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7209 Define ftello64 as an alias.
7210 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7211 Define _IO_fgetpos64 and fgetpos64 as aliases.
7212 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7213 Define _IO_fsetpos64 and fsetpos64 as aliases.
7214 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7215 Conditionalize body on this.
7216 * libio/fseeko64.c: Likewise.
7217 * libio/ftello64.c: Likewise.
7218 * libio/iofgetpos64.c: Likewise.
7219 * libio/iofsetpos64.c: Likewise.
7220 * sysdeps/wordsize-64/lockf.c: File removed.
7221 * sysdeps/wordsize-64/lockf64.c: File removed.
7222 * sysdeps/wordsize-64/fseeko.c: File removed.
7223 * sysdeps/wordsize-64/fseeko64.c: File removed.
7224 * sysdeps/wordsize-64/ftello.c: File removed.
7225 * sysdeps/wordsize-64/ftello64.c: File removed.
7226 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7227 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7228 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7229 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7241 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7243 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7245 [defined __arch64__ || defined __sparcv9]
7246 (__OFF_T_MATCHES_OFF64_T): New macro.
7247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7248 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7250 (__OFF_T_MATCHES_OFF64_T): New macro.
7252 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7254 * stdlib/secure-getenv.c (__secure_getenv): Replace
7255 GLIBC_2_16 with GLIBC_2_17.
7257 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7262 2012-08-03 David S. Miller <davem@davemloft.net>
7264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7266 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7270 (__ASSUME_CORRECT_SI_PID): Likewise.
7271 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7272 (__ASSUME_TMPFS_NAME): Likewise.
7273 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7274 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7275 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7276 (HAVE_AUX_SECURE): Make definition unconditional.
7277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7278 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7280 2012-08-03 Roland McGrath <roland@hack.frob.com>
7282 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7283 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7284 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7286 __eloop_threshold instead of SYMLOOP_MAX.
7288 * sysdeps/generic/eloop-threshold.h: New file.
7289 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7291 * elf/chroot_canon.c (chroot_canon): Likewise.
7293 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7297 Change to 2.6.0 everywhere.
7298 * sysdeps/unix/sysv/linux/configure: Regenerated.
7299 * sysdeps/unix/sysv/linux/kernel-features.h
7300 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7301 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7303 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7304 (__ASSUME_FUTEX_REQUEUE): Remove.
7305 (__ASSUME_STATFS64): Define unconditionally.
7306 (__ASSUME_AT_SECURE): Likewise.
7307 (__ASSUME_CORRECT_SI_PID): Likewise.
7308 (__ASSUME_TGKILL): Define without depending on kernel version for
7310 (__ASSUME_UTIMES): Likewise.
7311 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7313 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7314 (__ASSUME_TMPFS_NAME): Likewise.
7315 * README: Update reference to Linux kernel versions.
7317 2012-08-02 Marek Polacek <polacek@redhat.com>
7320 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7321 libc_cv_asm_type_prefix with %.
7322 * configure: Regenerated.
7323 * include/libc-symbols.h: Remove comment about
7324 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7325 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7326 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7327 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7328 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7329 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7330 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7332 * elf/tst-unique2mod1.c: Likewise.
7333 * elf/tst-unique1mod2.c: Likewise.
7334 * elf/tst-unique1mod1.c: Likewise.
7335 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7336 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7337 Replace ASM_TYPE_DIRECTIVE with .type.
7338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7339 * sysdeps/i386/sysdep.h: Likewise.
7340 * sysdeps/x86_64/sysdep.h: Likewise.
7341 * sysdeps/sh/sysdep.h: Likewise.
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7343 Do not define ASM_TYPE_DIRECTIVE.
7344 * sysdeps/powerpc/sysdep.h: Likewise.
7345 * sysdeps/powerpc/powerpc32/sysdep.h:
7346 Replace ASM_TYPE_DIRECTIVE with .type.
7347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7349 * sysdeps/i386/fpu/e_powf.S: Likewise.
7350 * sysdeps/i386/fpu/e_expl.S: Likewise.
7351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7353 * sysdeps/i386/fpu/e_pow.S: Likewise.
7354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7358 * sysdeps/i386/fpu/e_log2.S: Likewise.
7359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7361 * sysdeps/i386/fpu/e_powl.S: Likewise.
7362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7364 * sysdeps/i386/fpu/e_logl.S: Likewise.
7365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7370 * sysdeps/i386/fpu/e_log.S: Likewise.
7371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7372 * sysdeps/i386/fpu/e_logf.S: Likewise.
7373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7376 * sysdeps/i386/fpu/e_log10.S: Likewise.
7377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7384 * sysdeps/i386/i686/strtok.S: Likewise.
7385 * sysdeps/i386/i386-mcount.S: Likewise.
7386 * sysdeps/i386/strtok.S: Likewise.
7387 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7396 * sysdeps/x86_64/_mcount.S: Likewise.
7397 * sysdeps/x86_64/strtok.S: Likewise.
7398 * sysdeps/sh/_mcount.S: Likewise.
7400 2012-08-01 Roland McGrath <roland@hack.frob.com>
7402 * libio/iofopen.c: Include <fcntl.h>.
7403 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7404 (_IO_fopen64, fopen64): Define as aliases.
7405 * libio/iofopen64.c: Include <fcntl.h>.
7406 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7407 Conditionalize body on this.
7408 * sysdeps/wordsize-64/iofopen.c: File removed.
7409 * sysdeps/wordsize-64/iofopen64.c: File removed.
7411 2012-08-01 Marek Polacek <polacek@redhat.com>
7413 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7414 Use dlfcn directly instead of a variable.
7415 (binfmt-subdir): Do not define.
7418 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7421 Remove all definitions.
7422 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7423 <kernel-features.h>.
7424 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7425 (miss_F_GETOWN_EX): Remove all definitions.
7426 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7428 [!__ASSUME_FCNTL64]: Remove conditional code.
7429 [__ASSUME_FCNTL64]: Make code unconditional.
7430 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7431 <kernel-features.h>.
7432 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7433 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7434 (lockf64) [__NR_fcntl64]: Make code unconditional.
7435 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7437 * sysdeps/unix/sysv/linux/kernel-features.h
7438 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7439 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7440 Make code unconditional.
7441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7444 [__NR_vfork]: Make code unconditional.
7445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7448 [__NR_vfork]: Make code unconditional.
7449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7452 2012-08-01 Roland McGrath <roland@hack.frob.com>
7454 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7455 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7457 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7458 Define mkstemp64 as an alias.
7459 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7460 Define mkstemps64 as an alias.
7461 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7462 Define mkostemp64 as an alias.
7463 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7464 Define mkostemps64 as an alias.
7465 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7466 Conditionalize body on this.
7467 * misc/mkostemp64.c: Likewise.
7468 * misc/mkostemps64.c: Likewise.
7469 * misc/mkstemps64.c: Likewise.
7470 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7471 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7472 * sysdeps/wordsize-64/mkostemp.c: File removed.
7473 * sysdeps/wordsize-64/mkstemp.c: File removed.
7474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7480 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7482 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7483 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7485 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7486 compat_symbol macros from <shlib-compat.h> rather than the underlying
7487 default_symbol_version and symbol_version macros, so that DEFAULT
7488 lines in shlib-versions are respected.
7489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7491 2012-08-01 Florian Weimer <fweimer@redhat.com>
7493 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7494 Declare with warn_unused_result.
7495 (setgid, setregid, setegid, setresgid): Likewise.
7496 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7498 * WUR-REPORT: Remove set*id functions.
7500 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7502 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7504 2012-07-31 Roland McGrath <roland@hack.frob.com>
7506 * include/sys/socket.h (__libc_accept, __libc_accept4):
7507 Add attribute_hidden.
7508 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7510 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7512 * inet/getnetgrent_r.c (setup): Likewise.
7514 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7516 2012-07-31 David S. Miller <davem@davemloft.net>
7518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7520 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7523 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7524 value between 1.0 and 2.0 and smaller part has absolute value less
7526 * math/s_clog10.c (__clog10): Likewise.
7527 * math/s_clog10f.c (__clog10f): Likewise.
7528 * math/s_clog10l.c (__clog10l): Likewise.
7529 * math/s_clogf.c (__clogf): Likewise.
7530 * math/s_clogl.c (__clogl): Likewise.
7531 * math/libm-test.inc (clog_test): Add more tests.
7532 (clog10_test): Likewise.
7533 * sysdeps/i386/fpu/libm-test-ulps: Update.
7534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7536 2012-07-31 Florian Weimer <fweimer@redhat.com>
7538 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7539 Exit with zero in case no suitable GID is found, and write a
7540 message to standard error.
7542 2012-07-30 Roland McGrath <roland@hack.frob.com>
7544 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7546 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7547 (MAXPATHLEN): Removed.
7548 (NOGROUP, NODEV): New macros.
7549 (setbit, clrbit, isset, isclr): New macros.
7550 (howmany, roundup, powerof2): New macros.
7551 (DEV_BSIZE): New macro.
7553 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7554 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7556 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7557 definition on [!__NO_LONG_DOUBLE_MATH].
7559 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7560 PTR_MANGLE and PTR_DEMANGLE.
7562 * socket/accept4.c (accept4): Rename to __libc_accept4.
7563 Define accept4 as a weak alias.
7565 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7566 on [_DIRENT_HAVE_D_TYPE].
7567 * io/ftw.c (ftw_dir): Likewise.
7569 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7571 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7573 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7574 Use the BSD numbers rather than the arbitrary ones we had.
7575 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7576 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7577 (SIGXCPU, SIGXFSZ): New macros.
7580 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7581 initializer on [_LIBC_REENTRANT].
7583 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7584 definitions inside [_POSIX_MAPPED_FILES].
7586 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7588 * dirent/opendir.c: Include <fcntl.h>.
7590 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7591 (__libc_getspecific): Likewise.
7592 (__libc_key_create): Likewise.
7594 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7595 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7596 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7597 (tmpfile64): Define as alias.
7598 * sysdeps/wordsize-64/tmpfile.c: File removed.
7599 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7600 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7603 * stdio-common/vfscanf.c: Include <stdbool.h>.
7604 * nss/makedb.c: Likewise.
7605 * stdio-common/_i18n_number.h: Likewise.
7606 * argp/argp-help.c: Likewise.
7607 * posix/wordexp.c: Likewise.
7608 * sysdeps/posix/spawni.c: Likewise.
7609 * nss/nss_files/files-initgroups.c: Likewise.
7610 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7611 * nss/nss_files/files-initgroups.c: Likewise.
7612 * nss/nss_db/db-netgrp.c: Likewise.
7613 * nss/nss_db/db-initgroups.c: Likewise.
7614 * io/fchmodat.c: Include <sys/stat.h>.
7616 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7617 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7619 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7622 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7623 Add multiple inclusion protection.
7625 2012-07-27 David S. Miller <davem@davemloft.net>
7627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7629 2012-07-27 Gary Benson <gbenson@redhat.com>
7632 * elf/rtld.c: Include <stap-probe.h>.
7633 (dl_main): Added static probes "init_start" and "init_complete".
7634 * elf/dl-load.c: Include <stap-probe.h>.
7635 (lose): Take new parameter "nsid".
7636 Added static probe "map_failed".
7637 (_dl_map_object_from_fd): Pass namespace id to lose.
7638 Added static probe "map_start".
7639 (open_verify): Pass namespace id to lose.
7640 * elf/dl-open.c: Include <stap-probe.h>.
7641 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7642 and "reloc_complete".
7643 * elf/dl-close.c: Include <stap-probe.h>.
7644 (_dl_close_worker): Added static probes "unmap_start" and
7646 * elf/rtld-debugger-interface.txt: New file documenting the above.
7648 2012-07-26 Roland McGrath <roland@hack.frob.com>
7650 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7651 rather than a string variable.
7652 * sunrpc/rpc_main.c (h_output): Likewise.
7653 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7655 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7657 * inet/check_native.c: New file.
7659 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7662 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7663 if larger part has absolute value 1.0.
7664 * math/s_clog10.c (__clog10): Likewise.
7665 * math/s_clog10f.c (__clog10f): Likewise.
7666 * math/s_clog10l.c (__clog10l): Likewise.
7667 * math/s_clogf.c (__clogf): Likewise.
7668 * math/s_clogl.c (__clogl): Likewise.
7669 * math/libm-test.inc (clog_test): Add more tests.
7670 (clog10_test): Likewise.
7671 * sysdeps/i386/fpu/libm-test-ulps: Update.
7672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7675 (pltexit): Likewise.
7676 (La_regs): Likewise.
7677 (La_retval): Likewise.
7678 (int_retval): Likewise.
7679 Update #error for removed macros to refer only to definitions in
7681 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7683 (pltexit): Likewise.
7684 (La_regs): Likewise.
7685 (La_retval): Likewise.
7686 (int_retval): Likewise.
7687 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7689 (pltexit): Likewise.
7690 (La_regs): Likewise.
7691 (La_retval): Likewise.
7692 (int_retval): Likewise.
7693 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7695 (pltexit): Likewise.
7696 (La_regs): Likewise.
7697 (La_retval): Likewise.
7698 (int_retval): Likewise.
7699 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7701 (pltexit): Likewise.
7702 (La_regs): Likewise.
7703 (La_retval): Likewise.
7704 (int_retval): Likewise.
7705 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7707 (pltexit): Likewise.
7708 (La_regs): Likewise.
7709 (La_retval): Likewise.
7710 (int_retval): Likewise.
7711 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7713 (pltexit): Likewise.
7714 (La_regs): Likewise.
7715 (La_retval): Likewise.
7716 (int_retval): Likewise.
7717 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7718 macro definitions in tst-audit.h.
7719 * sysdeps/i386/tst-audit.h: New file.
7720 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7721 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7722 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7723 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7724 * sysdeps/sh/tst-audit.h: Likewise.
7725 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7726 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7727 * sysdeps/x86_64/tst-audit.h: Likewise.
7729 2012-07-26 Andreas Jaeger <aj@suse.de>
7731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7734 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7735 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7736 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7738 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7740 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7745 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7747 (si_call_addr, si_syscall, si_arch): Define new macro.
7748 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7750 (si_call_addr, si_syscall, si_arch): Define new marcro.
7751 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7753 (si_call_addr, si_syscall, si_arch): Define new macro.
7754 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7756 (si_call_addr, si_syscall, si_arch): Define new macro.
7758 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7762 Change to 2.4.21 where previously 2.4.1.
7763 * sysdeps/unix/sysv/linux/configure: Regenerated.
7764 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7765 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7766 Linux kernel version.
7767 (__ASSUME_STD_AUXV): Remove.
7768 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7770 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7771 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7772 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7773 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7774 (__ASSUME_NETLINK_SUPPORT): Likewise.
7775 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7776 (__no_netlink_support): Remove conditional definition.
7777 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7779 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7780 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7781 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7782 (if_nameindex_ioctl): Remove.
7783 (if_nameindex_netlink): Do not handle __no_netlink_support.
7784 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7786 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7787 Remove conditional code.
7788 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7790 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7792 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7793 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7794 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7796 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7797 [!__ASSUME_STD_AUXV]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7799 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7800 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7802 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7803 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7805 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7807 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7808 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7810 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7812 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7815 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7818 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7820 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7822 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7824 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7827 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7829 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7832 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7834 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7836 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7838 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7841 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7843 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7845 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7847 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7850 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7852 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7853 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7854 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7855 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7856 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7857 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7858 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7859 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7860 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7861 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7862 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7863 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7864 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7865 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7866 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7867 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7872 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7876 2012-07-25 Florian Weimer <fweimer@redhat.com>
7878 * Versions.def: Add GLIBC_2.17.
7879 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7880 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7881 Introduce __libc_secure_getenv.
7882 * stdlib/Versions (2.17): Add secure_getenv
7883 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7884 * stdlib/secure-getenv.c: Rename __secure_getenv to
7885 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7886 symbol __secure_getenv for GLIBC_2.0.
7887 * stdlib/tst-secure-getenv.c: New.
7888 * stdlib/Makefile (tests): Add testcase.
7889 * manual/startup.texi (Environment Access): Document
7891 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7892 __libc_secure_getenv.
7893 * inet/ruserpass.c (ruserpass): Likewise.
7894 * malloc/mtrace.c (mtrace): Likewise.
7895 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7896 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7897 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7898 * sysdeps/posix/tempname.c: Likewise. Evaluate
7900 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7901 __secure_getenv to __libc_secure_getenv.
7902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7915 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7917 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7918 (struct La_i86_retval): Likewise.
7919 (struct La_x86_64_regs): Likewise.
7920 (struct La_x86_64_retval): Likewise.
7921 (struct La_x32_regs): Likewise.
7922 (struct La_x32_retval): Likewise.
7923 (struct La_ppc32_regs): Likewise.
7924 (struct La_ppc32_retval): Likewise.
7925 (struct La_ppc64_regs): Likewise.
7926 (struct La_ppc64_retval): Likewise.
7927 (struct La_sh_regs): Likewise.
7928 (struct La_sh_retval): Likewise.
7929 (struct La_s390_32_regs): Likewise.
7930 (struct La_s390_32_retval): Likewise.
7931 (struct La_s390_64_regs): Likewise.
7932 (struct La_s390_64_retval): Likewise.
7933 (struct La_sparc32_regs): Likewise.
7934 (struct La_sparc32_retval): Likewise.
7935 (struct La_sparc64_regs): Likewise.
7936 (struct La_sparc64_retval): Likewise.
7937 (struct audit_ifaces): Remove architecture-specific pltenter and
7939 * sysdeps/i386/ldsodefs.h: New file.
7940 * sysdeps/powerpc/ldsodefs.h: Likewise.
7941 * sysdeps/s390/ldsodefs.h: Likewise.
7942 * sysdeps/sh/ldsodefs.h: Likewise.
7943 * sysdeps/sparc/ldsodefs.h: Likewise.
7944 * sysdeps/x86_64/ldsodefs.h: Likewise.
7946 2012-07-25 Marek Polacek <polacek@redhat.com>
7949 * math/libm-test.inc (yn_test): Add another test.
7950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7951 to ERANGE when the result is +-Inf.
7952 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7953 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7954 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7955 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7957 2012-07-24 Joseph Myers <joseph@codesourcery.com>
7959 * conform/data/time.h-data (NULL): Use macro-constant. Require
7961 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7963 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7965 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7967 * configure.in <sysdeps resolving>: Correct printing
7969 * configure: Regenerate.
7971 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7973 * math/w_ilogb.c: Include <limits.h>.
7974 * math/w_ilogbl.c: Likewise.
7976 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7978 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7979 va_copy. Document allowing for unavailable va_copy only as
7980 pre-C99 compatibility.
7981 * manual/string.texi (Copying and Concatenation): Use va_copy
7982 instead of __va_copy in concat example.
7984 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7986 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7987 (__sendto): Use create_address_port. Initialize APORT and deallocate
7990 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7991 with O_NOLINK passed to __file_name_lookup.
7993 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7994 with O_NOLINK passed to __file_name_lookup.
7996 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7997 negative N or less than NGIDS.
7999 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8000 type to string_t. Set ERANGE as errno and return it if NAME is not big
8001 enough. Use memcpy instead of strncpy.
8003 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8005 * elf/Makefile (check-data): Remove.
8006 (localplt.data): New vpath directive.
8007 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8008 instead of $(check-data).
8009 * scripts/data/localplt-generic.data: Move to ...
8010 * sysdeps/generic/localplt.data: ... here.
8011 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8012 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8013 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8016 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8019 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8022 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8025 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8028 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8032 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8035 PPC32 and PPC64 files.
8036 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8037 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8039 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8041 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8042 __makecontext_ret to ...
8043 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8044 ... here and call exit if uc_link is NULL. New file.
8045 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8046 __makecontext_ret.S.
8047 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8048 __makecontext_ret to ...
8049 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8050 ... here and call exit if uc_link is NULL. New file.
8051 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8052 __makecontext_ret.S.
8054 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8056 * elf/elf.h (R_390_IRELATIVE): New definition.
8057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8058 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8059 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8061 (elf_machine_lazy_rel): Likewise.
8062 * sysdeps/s390/dl-irel.h: New file.
8063 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8064 * sysdeps/s390/s390-64/memset.S: New asm code.
8065 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8066 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8067 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8068 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8069 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8070 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8072 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8073 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8074 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8075 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8076 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8077 * sysdeps/s390/s390-32/memset.S: New asm code.
8078 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8080 2012-07-17 Marek Polacek <polacek@redhat.com>
8083 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8084 * sysdeps/s390/s390-64/configure.in: Likewise.
8085 * sysdeps/sparc/configure.in: Likewise.
8086 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8087 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8088 * sysdeps/i386/configure.in: Likewise.
8089 * sysdeps/x86_64/configure.in: Likewise.
8090 * sysdeps/sh/configure.in: Likewise.
8091 * sysdeps/s390/s390-32/configure: Regenerated.
8092 * sysdeps/s390/s390-64/configure: Likewise.
8093 * sysdeps/x86_64/configure: Likewise.
8094 * sysdeps/sh/configure: Likewise.
8095 * sysdeps/powerpc/powerpc64/configure: Likewise.
8096 * sysdeps/powerpc/powerpc32/configure: Likewise.
8097 * sysdeps/sparc/configure: Likwise.
8098 * sysdeps/i386/configure: Likewise.
8100 * elf/dl-open.c: Comment fixes.
8102 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8104 * Makefile [CXX] (check-data): Remove.
8105 [CXX] (c++-types.data): New vpath directive.
8106 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8107 vpath. Do not allow for C++ type data being missing.
8108 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8109 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8110 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8111 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8112 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8113 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8114 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8117 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8120 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8123 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8126 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8129 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8132 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8135 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8138 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8139 definitions to architecture-specific files.
8143 * sysdeps/i386/tls-macros.h: New file.
8144 * sysdeps/powerpc/tls-macros.h: Likewise.
8145 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8146 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8147 * sysdeps/sh/tls-macros.h: Likewise.
8148 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8149 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8150 * sysdeps/x86_64/tls-macros.h: Likewise.
8152 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8154 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8155 zero value for regular exit case.
8157 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8158 (__start_context): Preserve zero value for regular exit case.
8160 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8161 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8163 * manual/setjmp.texi (setcontext): Clarify normal process
8164 termination when uc_link is the null pointer.
8165 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8168 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8170 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8171 preprocessor. Test for each exception mask separately.
8173 2012-07-16 Andreas Jaeger <aj@suse.de>
8175 * po/ru.po: Update from translation team.
8177 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8179 * conform/data/string.h-data (NULL): Use macro-constant. Require
8181 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8182 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8183 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8184 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8187 2012-07-13 Andreas Jaeger <aj@suse.de>
8189 * po/fr.po: Update from translation team.
8191 2012-07-12 Marek Polacek <polacek@redhat.com>
8194 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8198 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8202 Change to 2.4.1 where previously 2.4.0.
8203 * sysdeps/unix/sysv/linux/configure: Regenerated.
8204 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8205 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8207 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8208 (__ASSUME_AT_CLKTCK): Remove.
8209 (__ASSUME_AT_PAGESIZE): Likewise.
8210 (__ASSUME_AT_XID): Likewise.
8211 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8212 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8213 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8215 (HAVE_AUX_PAGESIZE): Likewise.
8216 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8217 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8218 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8220 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8224 the temporary buffer used to invoke __gethostbyname2_r,
8225 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8226 host_data / struct gaih_addrtuple.
8227 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8228 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8229 header file nss/nsswitch.h.
8230 * nss/nsswitch.h (global scope): Add definition of implementation
8231 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8232 resolv/nss_dns/dns-host.c).
8234 2012-07-11 Andreas Jaeger <aj@suse.de>
8236 * po/fr.po: Update from translation team.
8238 * po/sv.po: Update from translation team
8239 * po/fr.po: Another update from translation team.
8241 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8244 for subnormals or multiply small sinh result by itself.
8245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8248 2012-07-11 David S. Miller <davem@davemloft.net>
8250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8252 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8255 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8256 (INTERNAL_MARK): Shift it here.
8258 2012-07-10 Marek Polacek <polacek@redhat.com>
8261 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8262 libc_cv_asm_global_directive with .globl.
8263 * configure: Regenerated.
8264 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8266 * sysdeps/i386/configure: Regenerated.
8267 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8269 * sysdeps/x86_64/configure: Regenerated.
8270 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8271 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8272 * elf/tst-unique2mod2.c: Likewise.
8273 * elf/tst-unique2mod1.c: Likewise.
8274 * elf/tst-unique1mod2.c: Likewise.
8275 * elf/tst-unique1mod1.c: Likewise.
8276 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8277 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8280 * sysdeps/mach/sysdep.h: Likewise.
8281 * sysdeps/i386/sysdep.h: Likewise.
8282 * sysdeps/i386/i386-mcount.S: Likewise.
8283 * sysdeps/x86_64/_mcount.S: Likewise.
8284 * sysdeps/x86_64/sysdep.h: Likewise.
8285 * sysdeps/sh/_mcount.S: Likewise.
8286 * sysdeps/sh/sysdep.h: Likewise.
8287 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8289 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8290 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8291 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8293 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8294 * locale/localeinfo.h: Likewise.
8295 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8296 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8298 2012-07-09 Roland McGrath <roland@hack.frob.com>
8301 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8303 * manual/message.texi (The Uniforum approach): Likewise.
8304 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8305 (glibc iconv Implementation): Likewise.
8307 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8310 * math/s_clog.c (__clog): Avoid scaling a value down where that
8311 could result in underflow.
8312 * math/s_clog10.c (__clog10): Likewise.
8313 * math/s_clog10f.c (__clog10f): Likewise.
8314 * math/s_clog10l.c (__clog10l): Likewise.
8315 * math/s_clogf.c (__clogf): Likewise.
8316 * math/s_clogl.c (__clogl): Likewise.
8317 * math/libm-test.inc (clog_test): Add more tests.
8318 (clog10_test): Likewise.
8319 * sysdeps/i386/fpu/libm-test-ulps: Update.
8320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8322 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8325 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8326 by 7 not 8 to examine high bit of fractional part.
8329 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8330 for call to __mcount_internal.
8331 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8332 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8333 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8335 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8338 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8339 approximation for values within 0x1p-13f of an odd multiple of
8341 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8342 exception. Add more tests.
8343 * sysdeps/i386/fpu/libm-test-ulps: Update.
8346 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8347 inputs and return -1 for them. Do not check for +Inf in case not
8349 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8350 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8352 and return -1 for them. Do not check for +Inf in case not
8354 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8357 and return -1 for them. Do not check for +Inf in case not
8359 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8361 * sysdeps/i386/fpu/libm-test-ulps: Update.
8362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8364 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8366 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8368 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8372 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8373 could result in spurious underflow. Scale down values above
8374 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8375 * math/s_csqrtf.c (__csqrtf): Likewise.
8376 * math/s_csqrtl.c (__csqrtl): Likewise.
8377 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8379 * sysdeps/i386/fpu/libm-test-ulps: Update.
8380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8382 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8384 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8386 * catgets/xopen-msg.awk: New file.
8387 * catgets/xopen-msg.sed: Removed.
8389 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8391 * intl/po2test.awk: New file.
8392 * intl/po2test.sed: Removed.
8394 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8397 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8398 or multiply small sinh result by itself.
8399 * math/s_ctanf.c (__ctanf): Likewise.
8400 * math/s_ctanh.c (__ctanh): Likewise.
8401 * math/s_ctanhf.c (__ctanhf): Likewise.
8402 * math/s_ctanhl.c (__ctanhl): Likewise.
8403 * math/s_ctanl.c (__ctanl): Likewise.
8404 * math/libm-test.inc (ctan_test_tonearest): New function.
8405 (ctan_test_towardzero): Likewise.
8406 (ctan_test_downward): Likewise.
8407 (ctan_test_upward): Likewise.
8408 (ctanh_test_tonearest): Likewise.
8409 (ctanh_test_towardzero): Likewise.
8410 (ctanh_test_downward): Likewise.
8411 (ctanh_test_upward): Likewise.
8412 (main): Call these new functions.
8413 * sysdeps/i386/fpu/libm-test-ulps: Update.
8414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8416 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8418 * .gitignore: Delete /ports entry.
8420 2012-07-03 Andreas Jaeger <aj@suse.de>
8422 * po/bg.po: Update from translation team.
8423 * po/cs.po: Likewise.
8424 * po/de.po: Likewise.
8425 * po/hr.po: Likewise.
8426 * po/nl.pl: Likewise.
8427 * po/pl.po: Likewise.
8428 * po/vi.po: Likewise.
8430 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8432 * Makeconfig [!+link] (+link-before-libc): New variable.
8433 [!+link] (+link-after-libc): Likewise.
8434 [!+link] (+link-tests): Likewise.
8435 [!+link] (+link): Define in terms of $(+link-before-libc) and
8436 $(+link-after-libc).
8437 [!+link-static] (+link-static-before-libc): New variable.
8438 [!+link-static] (+link-static-after-libc): Likewise.
8439 [!+link-static] (+link-static-tests): Likewise.
8440 [!+link-static] (+link-static): Define in terms of
8441 $(+link-static-before-libc) and $(+link-static-after-libc).
8442 [build-shared] (link-libc-before-gnulib): New variable.
8443 [build-shared] (link-libc-tests): Likewise.
8444 [build-shared] (link-libc): Define in terms of
8445 $(link-libc-before-gnulib).
8446 [!build-shared] (link-libc-tests): New variable.
8447 (link-libc-static-tests): New variable.
8448 [!gnulib] (gnulib-arch): New variable.
8449 [!gnulib] (gnulib-tests): Likewise.
8450 [!gnulib] (static-gnulib-arch): Likewise.
8451 [!gnulib] (static-gnulib-tests): Likewise.
8452 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8453 Define with "=" instead of ":=".
8454 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8455 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8456 * Rules (binaries-all-notests): New variable.
8457 (binaries-all-tests): Likewise.
8458 (binaries-static-notests): Likewise.
8459 (binaries-static-tests): Likewise.
8460 (binaries-all): Define using $(binaries-all-notests) and
8461 $(binaries-all-tests).
8462 (binaries-static): Define using $(binaries-static-notests) and
8463 $(binaries-static-tests).
8464 (binaries-shared-tests): New variable.
8465 (binaries-shared-notests): Likewise.
8466 (binaries-shared): Remove variable.
8467 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8468 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8469 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8470 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8471 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8472 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8473 * elf/Makefile (sln-modules): New variable.
8474 (extra-objs): Add $(sln-modules:=.o).
8475 (ldconfig-modules): Add static-stubs.
8476 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8477 * elf/static-stubs.c: New file.
8480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8481 by 7 not 8 to examine high bit of fractional part. Use volatile
8482 variables when splitting into final array of floats if
8483 __FLT_EVAL_METHOD__ != 0.
8484 * math/libm-test.inc (cos_test): Add another test.
8485 (sin_test): Likewise.
8486 * sysdeps/i386/fpu/libm-test-ulps: Update.
8489 * math/libm-test.inc (cosh_test): Add more tests.
8491 * version.h (RELEASE): Set to "development".
8492 (VERSION): Set to "2.16.90".
8494 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8496 * NEWS: Update copyright. Remove last-updated date.
8497 Mention math library bug fixes and timezone data changes.
8498 * README: Mention GNU/Hurd, x32, and HPPA support status.
8500 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8502 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8504 2012-06-27 Andreas Jaeger <aj@suse.de>
8506 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8508 2012-06-25 Andreas Jaeger <aj@suse.de>
8510 * sysdeps/s390/fpu/libm-test-ulps: Update.
8512 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8513 Thomas Schwinge <thomas@codesourcery.com>
8515 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8516 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8520 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8522 * sysdeps/mach/start.c: Remove file.
8523 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8524 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8525 * sysdeps/sh/init-first.c: Likewise.
8527 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8528 registers for frame unwinding purposes, add CFI directives.
8529 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8530 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8531 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8534 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8535 __fortify_fail returning.
8536 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8539 sysdeps/sh/____longjmp_chk.S.
8540 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8541 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8542 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8543 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8545 * sysdeps/sh/abort-instr.h: New file.
8546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8547 process in case exit returns.
8549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8550 initialize the GOT register before use.
8552 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8553 calculation of ARGC > 4.
8555 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8556 meaningful names to some local labels.
8558 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8559 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8561 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8562 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8563 (__arch_compare_and_exchange_val_16_acq): Likewise.
8564 (__arch_compare_and_exchange_val_32_acq): Likewise.
8565 (atomic_exchange_and_add): Fix gUSA sequence.
8566 (atomic_add): Likewise.
8567 (atomic_add_negative): Likewise.
8568 (atomic_add_zero): Likewise.
8569 (atomic_bit_test_set): Likewise.
8571 2012-06-22 Andreas Schwab <schwab@redhat.com>
8574 * include/link.h (struct link_map): Add l_free_initfini.
8575 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8577 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8578 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8579 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8582 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8584 * configure.in: Use AC_LANG_SOURCE.
8585 * configure: Regenerate.
8587 2012-06-22 Roland McGrath <roland@hack.frob.com>
8589 * configure.in (libc_cv_localstatedir): New substituted variable.
8590 * configure: Regenerated.
8591 * config.make.in (localstatedir): New variable, substituted from
8592 libc_cv_localstatedir.
8593 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8594 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8595 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8596 * sysdeps/gnu/configure: Regenerated.
8598 2012-06-21 Jeff Law <law@redhat.com>
8601 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8602 free. Simplify list management for _LIBC case.
8604 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8607 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8608 Clear sign bit of 64-bit integer value before comparing against
8611 * sysdeps/mach/configure: Regenerated.
8613 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8616 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8618 2012-06-21 Jeff Law <law@redhat.com>
8621 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8622 uint16_t for elements in the "seen" array to avoid char overflows.
8623 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8624 * elf/dl-open.c (dl_open_worker): Likewise.
8626 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8628 * scripts/list-sources.sh: Scan PORTS for translations.
8629 * po/libc.pot: Regenerated.
8631 2012-06-21 Andreas Jaeger <aj@suse.de>
8634 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8636 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8637 * bits/byteswap-16.h (__bswap_16): Likewise.
8638 * bits/byteswap.h (__bswap_constant_16): Likewise.
8640 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8643 * sysdeps/i386/fpu_control.h: Removed.
8644 * sysdeps/x86_64/fpu_control.h: Moved to ...
8645 * sysdeps/x86/fpu_control.h: Here.
8647 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8648 (_FPU_SETCW): Likewise.
8650 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8653 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8654 * sysdeps/x86/fpu/bits/mathinline.h: This.
8655 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8659 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8660 functions if __x86_64__ is defined.
8662 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8664 * string/endian.h: Add !__ASSEMBLER__ condition for including
8665 conversion interfaces.
8667 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8671 of ABS(x) in calculating zero to negative powers other than odd
8673 * math/libm-test.inc (pow_test): Add more tests.
8675 2012-06-15 Andreas Jaeger <aj@suse.de>
8677 * manual/contrib.texi (Contributors): Update entry of Liubov
8678 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8681 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8683 * string/string.h: Add __wur to GNU version of strerror_r.
8685 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8688 * string/Makefile (tests): Add tst-strtok_r.
8689 * string/tst-strtok_r.c: New file.
8690 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8691 RAX_LP/RDX_LP on SAVE_PTR.
8693 2012-06-14 Roland McGrath <roland@hack.frob.com>
8695 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8697 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8699 * libm_test.inc (csqrt_test): Allow more spurious underflow
8701 (j0_test): Likewise.
8702 (j1_test): Likewise.
8703 (y0_test): Likewise.
8704 (y1_test): Likewise.
8706 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8708 * po/Makefile (libc.pot): Use UTF-8 charset.
8710 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8713 Suppress sign-conversion warning from FD_SET.
8714 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8715 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8716 not unsigned long int.
8717 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8719 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8723 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8724 __extern_always_inline instead of __extern_inline.
8725 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8726 (__signbit): Likewise.
8727 (__signbitl): Support C++ namespace.
8728 (lrintf): New inline function.
8730 (llrintf): Likewise.
8742 (nearbyint): Likewise.
8743 (nearbyintf): Likewise.
8745 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8748 non-default versions.
8750 2012-06-11 Roland McGrath <roland@hack.frob.com>
8753 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8755 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8757 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8758 (FE_UPWARD, FE_DOWNWARD): Don't define.
8759 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8762 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8764 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8765 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8767 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8769 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8771 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8772 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8774 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8777 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8778 * sysdeps/i386/fpu/Implies: New file.
8779 * sysdeps/x86_64/fpu/Implies: Likewise.
8780 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8781 * sysdeps/x86/fpu/bits/fenv.h: This.
8783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8786 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8789 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8790 character 0xffff that matches the last element of the
8793 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8798 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8801 values higher than 25.6283.
8803 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8806 subnormal exponent extraction and add some __builtin_expect.
8807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8808 Fix for subnormal mantissa calculation.
8810 2012-06-04 Mike Frysinger <vapier@gentoo.org>
8812 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8813 cpu2 is -1 and errno is not ENOSYS.
8815 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8818 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8819 * sysdeps/x86/bits/string.h: This.
8820 * sysdeps/x86_64/bits/string.h: Removed.
8822 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8823 if not compiling for x86-64, but compiling for >= i486.
8825 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8826 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8828 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8829 New macro from Linux kernel 3.4.0.
8830 (FP_XSTATE_MAGIC2): Likewise.
8831 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8832 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8833 (struct _fpx_sw_bytes): New struct.
8834 (struct _xsave_hdr): Likewise.
8835 (struct _ymmh_state): Likewise.
8836 (struct _xstate): Likewise.
8838 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8839 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8840 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8841 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8842 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8843 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8845 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8846 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8847 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8848 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8849 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8850 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8852 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8855 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8856 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8857 (sysdep_headers): Include sys/platform/ppc.h.
8858 * sysdeps/powerpc/test-gettimebase.c: Test for
8859 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8860 * manual/Makefile (appendices): Include platform.texi.
8861 * manual/contrib.texi (Contributors): Update @node pointers.
8862 * manual/maint.texi (Maintenance): Likewise.
8863 (Platform): New node.
8864 * manual/platform.texi: New file. Document the new features.
8866 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8867 Jakub Jelinek <jakub@redhat.com>
8870 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8871 where __builtin_expect is unavailable.
8873 2012-06-03 David S. Miller <davem@davemloft.net>
8875 * stdlib/longlong.h: Updated from GCC.
8877 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8880 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8881 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8884 (GLIBC_2.16): Likewise.
8886 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8888 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8890 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8893 (default-abi): New variable.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8897 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8899 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8901 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8904 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8905 definition. Document in comment.
8907 2012-06-01 David S. Miller <davem@davemloft.net>
8909 * stdlib/longlong.h: Updated from GCC.
8911 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8914 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8915 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8916 sys/debugreg.h sys/io.h here.
8917 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8918 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8920 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8921 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8922 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8923 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8924 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8925 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8928 Define only if __x86_64__ is defined.
8930 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8934 Use int64_t for variable i.
8935 * math/libm-test.inc (fmod_test): Add more tests.
8937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8938 z computation is not scheduled after fetestexcept.
8939 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8940 Use math_force_eval instead of asm to ensure calculation scheduled
8941 before exception test.
8942 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8943 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8945 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8948 computation is not scheduled after fetestexcept.
8950 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8953 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8954 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8956 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8958 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8959 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8961 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8964 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8966 (__WCHAR_MIN): Support __WORDSIZE == 64.
8967 (__WCHAR_MAX): Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8970 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8974 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8977 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8978 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8981 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8984 Defined to 1 if __x86_64__ isn't defined.
8985 (_STAT_VER_LINUX_OLD): New.
8986 (st_atime): Remove duplicate.
8987 (st_mtime): Likewise.
8988 (st_ctime): Likewise.
8990 2012-05-31 David S. Miller <davem@davemloft.net>
8992 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8995 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8997 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9001 * elf/dl-reloc.c: Include <_itoa.h>.
9002 (_dl_reloc_bad_type): Remove use of INTUSE.
9003 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9004 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9005 * stdio-common/psiginfo.c (psiginfo): Likewise.
9006 * stdio-common/psignal.c (psignal): Likewise.
9007 * string/strsignal.c (strsignal): Likewise.
9008 * include/signal.h (_sys_siglist): Declare hidden proto.
9009 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9010 INTVARDEF with libc_hidden_data_def.
9011 * stdio-common/itoa-udigits.c: Likewise.
9012 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9013 (_itoa_lower_digits_internal): Remove declaration.
9014 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9015 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9016 (_sys_sigabbrev_internal): Remove aliases.
9017 (_sys_siglist): Define hidden alias.
9019 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9024 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9027 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9028 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9030 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9031 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9032 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9033 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9035 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9037 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9038 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9039 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9041 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9049 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9051 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9053 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9054 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9056 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9057 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9058 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9060 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9061 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9063 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9064 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9068 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9070 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9071 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9073 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9075 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9076 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9077 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9079 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9081 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9083 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9085 * math/math.h (M_El): Use two more decimal places.
9086 (M_LOG2El): Likewise.
9087 (M_LOG10El): Likewise.
9089 (M_LN10l): Likewise.
9091 (M_PI_2l): Likewise.
9092 (M_PI_4l): Likewise.
9093 (M_1_PIl): Likewise.
9094 (M_2_PIl): Likewise.
9095 (M_2_SQRTPIl): Likewise.
9096 (M_SQRT2l): Likewise.
9097 (M_SQRT1_2l): Likewise.
9099 2012-05-31 David S. Miller <davem@davemloft.net>
9101 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9102 values between float registers.
9103 * sysdeps/sparc/sparc64/memset.S: Likewise.
9104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9106 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9108 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9109 -D_FORTIFY_SOURCE=1.
9110 (CPPFLAGS-tst-longjmp_chk.c): Define.
9111 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9112 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9113 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9114 CFLAGS-tst-wchar-h.c.
9116 2012-05-31 Marek Polacek <polacek@redhat.com>
9119 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9120 __endmntent_internal): Remove declaration.
9121 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9122 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9123 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9125 2012-05-30 David S. Miller <davem@davemloft.net>
9127 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9128 (___Q_simulate_exceptions): Use real FP ops rather than writing
9130 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9133 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9136 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9137 * sysdeps/x86/bits/xtitypes.h: This.
9139 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9140 * sysdeps/x86/bits/wordsize.h: This.
9142 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9143 * sysdeps/x86/bits/huge_vall.h: This.
9145 * sysdeps/i386/bits/select.h: Removed.
9146 * sysdeps/x86_64/bits/select.h: Renamed to ...
9147 * sysdeps/x86/bits/select.h: This.
9149 * sysdeps/i386/bits/setjmp.h: Removed.
9150 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9151 * sysdeps/x86/bits/setjmp.h: This.
9153 * sysdeps/i386/bits/mathdef.h: Removed.
9154 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9155 * sysdeps/x86/bits/mathdef.h: This.
9157 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9160 * include/sys/socket.h (__connect_internal)
9161 (__libc_sa_len_internal): Remove declaration.
9162 (__connect, __libc_sa_len): Declare hidden_proto.
9163 (SA_LEN): Remove use of INTUSE.
9164 * socket/connect.c: Add libc_hidden_def.
9165 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9166 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9167 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9169 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9170 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9171 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9172 of adding _internal alias.
9174 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9177 * sysdeps/i386/bits/link.h: Removed.
9178 * sysdeps/i386/bits/linkmap.h: Likewise.
9179 * sysdeps/x86_64/bits/link.h: Renamed to ...
9180 * sysdeps/x86/bits/link.h: This.
9181 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9182 * sysdeps/x86/bits/linkmap.h: This.
9184 * sysdeps/i386/bits/endian.h: Removed.
9185 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9186 * sysdeps/x86/bits/endian.h: This.
9188 * sysdeps/i386/bits/byteswap.h: Removed.
9189 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9190 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9191 * sysdeps/x86/bits/byteswap.h: This.
9192 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9193 * sysdeps/x86/bits/byteswap-16.h: This.
9194 * sysdeps/i386/Implies: Add x86.
9195 * sysdeps/x86_64/Implies: Likewise.
9197 2012-05-30 David S. Miller <davem@davemloft.net>
9199 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9200 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9201 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9202 (FP_TRAPPING_EXCEPTIONS): Define.
9203 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9204 (FP_TRAPPING_EXCEPTIONS): Define.
9205 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9206 subnormals only when inexact has been signalled or underflow
9207 exceptions are enabled.
9208 (_FP_PACK_CANONICAL): Likewise.
9210 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9214 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9216 2012-05-30 Richard Henderson <rth@twiddle.net>
9218 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9219 with #ifndef NOT_IN_libc.
9221 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9222 marked to avoid plt entry.
9224 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9227 * Makeconfig (default-abi): New macro.
9228 (abi-includes): Likewise.
9229 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9230 $(abi-$(default-abi)-lib-soname) for soname if defined.
9231 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9233 * Makefile (installed-stubs): Likewise.
9234 * include/stubs-biarch.h: Removed.
9235 * scripts/lib-names.awk: Only handle one library at a time.
9236 * scripts/soversions.awk: Remove WORDSIZE support.
9237 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9239 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9241 (syscall-list-default-condition): Likewise.
9242 (syscall-list-default-condition): Likewise.
9243 (syscall-list-includes): Likewise.
9244 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9245 syscall-list-* with abi-*. Handle undefined abi-variants.
9246 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9247 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9248 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9251 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9253 (syscall-list-32-options): Likewise.
9254 (syscall-list-32-condition): Likewise.
9255 (syscall-list-64-options): Likewise.
9256 (syscall-list-64-condition): Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9259 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9262 (abi-64-ld-soname): New macro.
9263 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9264 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9267 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9268 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9270 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9272 * sysdeps/unix/sysv/linux/kernel-features.h
9273 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9274 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9275 include <kernel-features.h>.
9276 [!__NR_ftruncate64]: Remove conditional code.
9277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9278 [__NR_ftruncate64]: Make code unconditional.
9279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9280 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9281 include <kernel-features.h>.
9282 [!__NR_ftruncate64]: Remove conditional code.
9283 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9284 [__NR_ftruncate64]: Make code unconditional.
9285 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9287 include <kernel-features.h>.
9288 [!__NR_ftruncate64]: Remove conditional code.
9289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9290 [__NR_ftruncate64]: Make code unconditional.
9291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9293 include <kernel-features.h>.
9294 [!__NR_ftruncate64]: Remove conditional code.
9295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9296 [__NR_ftruncate64]: Make code unconditional.
9297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9299 * configure.in (libc_cv_fpie): Weaken to a compile test using
9301 * configure: Regenerated.
9303 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9318 2012-05-27 David S. Miller <davem@davemloft.net>
9320 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9322 (__Q_simulate_exceptions): Return void. Change to simulate
9323 exceptions by writing into the %fsr.
9324 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9325 (__Qp_handle_exceptions): Likewise.
9327 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9328 __Qp_handle_exceptions.
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9330 __Qp_handle_exceptions.
9331 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9332 as unused and give dummy FP_RND_NEAREST initializer.
9333 (FP_INHIBIT_RESULTS): Define.
9334 (___Q_simulate_exceptions): Update declaration.
9335 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9338 as unused and give dummy FP_RND_NEAREST initializer.
9339 (__Qp_handle_exceptions): Update declaration.
9340 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9343 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9345 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9346 the temporary FPU control word.
9347 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9348 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9350 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9351 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9352 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9353 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9354 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9355 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9356 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9357 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9359 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9361 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9364 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9366 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9367 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9368 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9369 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9371 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9372 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9375 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9377 * po/h.po: Update from translation team.
9379 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9381 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9383 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9384 handling of denormals.
9385 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9386 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9387 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9388 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9394 2012-05-26 Marek Polacek <polacek@redhat.com>
9397 * math/libm-test.inc (fma_test): Don't always expect underflow
9400 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9403 * elf/tst-execstack.c: Include stackinfo.h.
9404 (do_test): Adjust test case to ensure that pthread_getattr_np
9405 behaviour remains the same after marking stack executable.
9407 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/unix/sysv/linux/kernel-features.h
9410 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9411 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9413 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9414 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9415 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9417 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9418 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9420 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9422 * configure.in: Define the default includes to being none.
9423 * configure: Regenerated.
9425 2012-05-25 Roland McGrath <roland@hack.frob.com>
9427 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9428 * sysdeps/x86_64/setjmp.S: Likewise.
9429 * sysdeps/i386/bsd-setjmp.S: Likewise.
9430 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9431 * sysdeps/i386/setjmp.S: Likewise.
9432 * sysdeps/i386/__longjmp.S: Likewise.
9433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9434 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9436 * include/stap-probe.h: New file.
9437 * configure.in: Handle --enable-systemtap.
9438 * configure: Regenerated.
9439 * config.h.in (USE_STAP_PROBE): New #undef.
9440 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9441 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9442 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9444 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9447 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9448 to 2.4.0 where earlier.
9449 * sysdeps/unix/sysv/linux/configure: Regenerated.
9450 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9451 <kernel-features.h>.
9452 [__ASSUME_32BITUIDS]: Make code unconditional.
9453 [!__ASSUME_32BITUIDS]: Remove conditional code.
9454 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9455 <kernel-features.h>.
9456 [__ASSUME_32BITUIDS]: Make code unconditional.
9457 [!__ASSUME_32BITUIDS]: Remove conditional code.
9458 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9459 [__ASSUME_32BITUIDS]: Make code unconditional.
9460 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9462 <kernel-features.h>.
9463 [__ASSUME_32BITUIDS]: Make code unconditional.
9464 [!__ASSUME_32BITUIDS]: Remove conditional code.
9465 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9466 <kernel-features.h>.
9467 [__ASSUME_32BITUIDS]: Make code unconditional.
9468 [!__ASSUME_32BITUIDS]: Remove conditional code.
9469 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9470 <kernel-features.h>.
9471 [__ASSUME_32BITUIDS]: Make code unconditional.
9472 [!__ASSUME_32BITUIDS]: Remove conditional code.
9473 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9474 <kernel-features.h>.
9475 [__ASSUME_32BITUIDS]: Make code unconditional.
9476 [!__ASSUME_32BITUIDS]: Remove conditional code.
9477 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9478 <kernel-features.h>.
9479 [__ASSUME_32BITUIDS]: Make code unconditional.
9480 [!__ASSUME_32BITUIDS]: Remove conditional code.
9481 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9482 <kernel-features.h>.
9483 [__ASSUME_32BITUIDS]: Make code unconditional.
9484 [!__ASSUME_32BITUIDS]: Remove conditional code.
9485 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9486 <kernel-features.h>.
9487 [__ASSUME_32BITUIDS]: Make code unconditional.
9488 [!__ASSUME_32BITUIDS]: Remove conditional code.
9489 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9490 <kernel-features.h>.
9491 [__ASSUME_32BITUIDS]: Make code unconditional.
9492 [!__ASSUME_32BITUIDS]: Remove conditional code.
9493 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9494 <kernel-features.h>.
9495 [__ASSUME_32BITUIDS]: Make code unconditional.
9496 [!__ASSUME_32BITUIDS]: Remove conditional code.
9497 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9498 <kernel-features.h>.
9499 [__ASSUME_32BITUIDS]: Make code unconditional.
9500 [!__ASSUME_32BITUIDS]: Remove conditional code.
9501 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9502 <kernel-features.h>.
9503 [__NR_setresgid] (__setresgid): Do not declare.
9504 [__ASSUME_32BITUIDS]: Make code unconditional.
9505 [!__ASSUME_32BITUIDS]: Remove conditional code.
9506 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9507 <kernel-features.h>.
9508 [__NR_setresuid] (__setresuid): Do not declare.
9509 [__ASSUME_32BITUIDS]: Make code unconditional.
9510 [!__ASSUME_32BITUIDS]: Remove conditional code.
9511 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9512 <kernel-features.h>.
9513 [__ASSUME_32BITUIDS]: Make code unconditional.
9514 [!__ASSUME_32BITUIDS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9516 <kernel-features.h>.
9517 [__ASSUME_32BITUIDS]: Make code unconditional.
9518 [!__ASSUME_32BITUIDS]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9520 <kernel-features.h>.
9521 [__ASSUME_32BITUIDS]: Make code unconditional.
9522 [!__ASSUME_32BITUIDS]: Remove conditional code.
9523 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9524 <kernel-features.h>.
9525 [__ASSUME_32BITUIDS]: Make code unconditional.
9526 [!__ASSUME_32BITUIDS]: Remove conditional code.
9527 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9528 <kernel-features.h>.
9529 [__ASSUME_32BITUIDS]: Make code unconditional.
9530 [!__ASSUME_32BITUIDS]: Remove conditional code.
9531 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9532 <kernel-features.h>.
9533 [__ASSUME_32BITUIDS]: Make code unconditional.
9534 [!__ASSUME_32BITUIDS]: Remove conditional code.
9535 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9536 <kernel-features.h>.
9537 [__ASSUME_32BITUIDS]: Make code unconditional.
9538 [!__ASSUME_32BITUIDS]: Remove conditional code.
9539 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9540 <kernel-features.h>.
9541 [__ASSUME_32BITUIDS]: Make code unconditional.
9542 [!__ASSUME_32BITUIDS]: Remove conditional code.
9543 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9544 <kernel-features.h>.
9545 [__ASSUME_32BITUIDS]: Make code unconditional.
9546 [!__ASSUME_32BITUIDS]: Remove conditional code.
9547 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9548 <kernel-features.h>.
9549 [__ASSUME_32BITUIDS]: Make code unconditional.
9550 [!__ASSUME_32BITUIDS]: Remove conditional code.
9551 * sysdeps/unix/sysv/linux/kernel-features.h
9552 (__ASSUME_SETRESUID_SYSCALL): Remove.
9553 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9554 (__ASSUME_32BITUIDS): Likewise.
9555 (__ASSUME_LDT_WORKS): Likewise.
9556 (__ASSUME_O_DIRECTORY): Likewise.
9557 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9558 architecture but not kernel version.
9559 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9560 (__ASSUME_MMAP2_SYSCALL): Likewise.
9561 (__ASSUME_STAT64_SYSCALL): Likewise.
9562 (__ASSUME_IPC64): Likewise.
9563 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9564 <kernel-features.h>.
9565 [__ASSUME_32BITUIDS]: Make code unconditional.
9566 [!__ASSUME_32BITUIDS]: Remove conditional code.
9567 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9568 <kernel-features.h>.
9569 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9570 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9571 132096]: Remove conditional code.
9572 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9573 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9574 <kernel-features.h>.
9575 [__ASSUME_32BITUIDS]: Make code unconditional.
9576 [!__ASSUME_32BITUIDS]: Remove conditional code.
9577 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9578 <kernel-features.h>.
9579 [__ASSUME_32BITUIDS]: Make code unconditional.
9580 [!__ASSUME_32BITUIDS]: Remove conditional code.
9581 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9582 <kernel-features.h>.
9583 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9585 (__setresgid): Do not declare.
9586 [__ASSUME_32BITUIDS]: Make code unconditional.
9587 [!__ASSUME_32BITUIDS]: Remove conditional code.
9588 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9589 <kernel-features.h>.
9590 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9592 (__setresuid): Do not declare.
9593 [__ASSUME_32BITUIDS]: Make code unconditional.
9594 [!__ASSUME_32BITUIDS]: Remove conditional code.
9595 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9596 <kernel-features.h>.
9597 [__ASSUME_32BITUIDS]: Make code unconditional.
9598 [!__ASSUME_32BITUIDS]: Remove conditional code.
9599 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9600 <kernel-features.h>.
9601 [__ASSUME_32BITUIDS]: Make code unconditional.
9602 [!__ASSUME_32BITUIDS]: Remove conditional code.
9604 2012-05-25 Richard Henderson <rth@twiddle.net>
9606 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9607 dl_hwcap to ifunc resolver.
9608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9611 dl_hwcap to ifunc resolver.
9612 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9614 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9617 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9618 for |x| <= 2**-26, not 2**-57.
9619 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9622 2012-05-24 Jeff Law <law@redhat.com>
9624 * stdio-common/Makefile (tests): Add bug25.
9625 * stdio-common/bug25.c: New test.
9627 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9630 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9631 multiple of MALLOC_ALIGNMENT in size.
9632 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9634 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9636 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9638 (FILENAME_MAX): Use macro-int-constant.
9639 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9640 (_IOFBF): Use macro-int-constant.
9643 (SEEK_CUR): Likewise.
9644 (SEEK_END): Likewise.
9645 (SEEK_SET): Likewise.
9646 (TMP_MAX): Likewise.
9647 (EOF): Use macro-int-constant. Require < 0.
9648 (NULL): Use macro-constant. Require == 0.
9649 (stdin): Require type to be FILE *.
9652 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9654 (EXIT_SUCCESS): Likewise.
9655 (NULL): Use macro-constant. Require == 0.
9656 (RAND_MAX): Use macro-int-constant.
9657 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9658 [C99-based standards] (strtof): Require function.
9659 [C99-based standards] (strtold): Likewise.
9660 [C99-based standards] (strtoll): Likewise.
9661 [C99-based standards] (strtoull): Likewise.
9662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9663 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9664 [ISO || ISO99 || ISO11] (math.h): Likewise.
9665 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9666 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9669 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9672 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9673 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9674 * intl/dgettext.c (DCGETTEXT): Likewise.
9675 * intl/gettext.c (DCGETTEXT): Likewise.
9676 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9677 * posix/regex_internal.h (gettext): Likewise.
9678 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9680 * include/argz.h (__argz_count_internal)
9681 (__argz_stringify_internal): Remove declaration.
9682 (__argz_count, __argz_stringify): Declare hidden proto.
9683 * intl/dcgettext.c: Remove use of INTDEF.
9684 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9685 * string/argz-stringify.c: Likewise.
9686 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9687 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9688 Declare hidden proto.
9689 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9690 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9691 Declare hidden proto.
9692 * include/stdio.h (__asprintf_internal): Don't declare.
9693 (__asprintf): Don't define as macro. Declare hidden proto.
9694 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9695 (__fsetlocking): Declare hidden proto.
9696 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9697 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9699 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9700 (_IO_setlinebuf): Remove use of INTUSE.
9701 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9702 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9703 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9705 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9706 (_IO_do_flush): Remove use of INTUSE.
9707 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9708 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9709 (_IO_adjust_column, _IO_least_wmarker)
9710 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9711 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9712 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9713 (_IO_default_doallocate, _IO_wdefault_doallocate)
9714 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9715 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9716 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9717 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9718 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9719 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9720 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9721 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9722 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9723 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9724 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9725 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9726 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9728 (_IO_flush_all_internal, _IO_adjust_column_internal)
9729 (_IO_default_uflow_internal, _IO_default_finish_internal)
9730 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9731 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9732 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9733 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9734 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9735 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9736 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9737 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9738 (_IO_file_close_internal, _IO_file_close_it_internal)
9739 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9740 (_IO_file_init_internal, _IO_file_attach_internal)
9741 (_IO_file_fopen_internal, _IO_file_read_internal)
9742 (_IO_file_sync_internal, _IO_file_seek_internal)
9743 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9744 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9745 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9746 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9747 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9748 (_IO_list_all_internal, _IO_link_in_internal)
9749 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9750 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9751 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9752 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9753 (_IO_do_write_internal, _IO_padn_internal)
9754 (_IO_getline_info_internal, _IO_getline_internal)
9755 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9756 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9757 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9758 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9759 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9760 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9761 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9762 with libc_hidden_ver, remove use of INTUSE.
9763 * libio/genops.c: Likewise.
9764 * libio/freopen.c: Likewise.
9765 * libio/freopen64.c: Likewise.
9766 * libio/iofclose.c: Likewise.
9767 * libio/iofdopen.c: Likewise.
9768 * libio/iofflush.c: Likewise.
9769 * libio/iofflush_u.c: Likewise.
9770 * libio/iofgets.c: Likewise.
9771 * libio/iofgets_u.c: Likewise.
9772 * libio/iofopen.c: Likewise.
9773 * libio/iofopncook.c: Likewise.
9774 * libio/iofread.c: Likewise.
9775 * libio/iofread_u.c: Likewise.
9776 * libio/ioftell.c: Likewise.
9777 * libio/iofwrite.c: Likewise.
9778 * libio/iogetline.c: Likewise.
9779 * libio/iogets.c: Likewise.
9780 * libio/iogetwline.c: Likewise.
9781 * libio/iopadn.c: Likewise.
9782 * libio/iopopen.c: Likewise.
9783 * libio/ioseekoff.c: Likewise.
9784 * libio/ioseekpos.c: Likewise.
9785 * libio/iosetbuffer.c: Likewise.
9786 * libio/iosetvbuf.c: Likewise.
9787 * libio/ioungetc.c: Likewise.
9788 * libio/ioungetwc.c: Likewise.
9789 * libio/iovdprintf.c: Likewise.
9790 * libio/iovsprintf.c: Likewise.
9791 * libio/iovsscanf.c: Likewise.
9792 * libio/memstream.c: Likewise.
9793 * libio/obprintf.c: Likewise.
9794 * libio/oldfileops.c: Likewise.
9795 * libio/oldiofclose.c: Likewise.
9796 * libio/oldiofdopen.c: Likewise.
9797 * libio/oldiofopen.c: Likewise.
9798 * libio/oldiopopen.c: Likewise.
9799 * libio/oldstdfiles.c: Likewise.
9800 * libio/putc.c: Likewise.
9801 * libio/setbuf.c: Likewise.
9802 * libio/setlinebuf.c: Likewise.
9803 * libio/stdfiles.c: Likewise.
9804 * libio/strops.c: Likewise.
9805 * libio/vasprintf.c: Likewise.
9806 * libio/vscanf.c: Likewise.
9807 * libio/vsnprintf.c: Likewise.
9808 * libio/vswprintf.c: Likewise.
9809 * libio/wfiledoalloc.c: Likewise.
9810 * libio/wfileops.c: Likewise.
9811 * libio/wgenops.c: Likewise.
9812 * libio/wmemstream.c: Likewise.
9813 * libio/wstrops.c: Likewise.
9814 * libio/__fpurge.c: Likewise.
9815 * libio/__fsetlocking.c: Likewise.
9816 * assert/assert.c: Likewise.
9817 * debug/fgets_chk.c: Likewise.
9818 * debug/fgets_u_chk.c: Likewise.
9819 * debug/fread_chk.c: Likewise.
9820 * debug/fread_u_chk.c: Likewise.
9821 * debug/gets_chk.c: Likewise.
9822 * debug/obprintf_chk.c: Likewise.
9823 * debug/vasprintf_chk.c: Likewise.
9824 * debug/vdprintf_chk.c: Likewise.
9825 * debug/vsnprintf_chk.c: Likewise.
9826 * debug/vsprintf_chk.c: Likewise.
9827 * malloc/mtrace.c: Likewise.
9828 * misc/error.c: Likewise.
9829 * misc/syslog.c: Likewise.
9830 * stdio-common/asprintf.c: Likewise.
9831 * stdio-common/fxprintf.c: Likewise.
9832 * stdio-common/getw.c: Likewise.
9833 * stdio-common/isoc99_fscanf.c: Likewise.
9834 * stdio-common/isoc99_scanf.c: Likewise.
9835 * stdio-common/isoc99_vfscanf.c: Likewise.
9836 * stdio-common/isoc99_vscanf.c: Likewise.
9837 * stdio-common/isoc99_vsscanf.c: Likewise.
9838 * stdio-common/printf-prs.c: Likewise.
9839 * stdio-common/printf_fp.c: Likewise.
9840 * stdio-common/printf_fphex.c: Likewise.
9841 * stdio-common/printf_size.c: Likewise.
9842 * stdio-common/putw.c: Likewise.
9843 * stdio-common/scanf.c: Likewise.
9844 * stdio-common/sprintf.c: Likewise.
9845 * stdio-common/tmpfile.c: Likewise.
9846 * stdio-common/vfprintf.c: Likewise.
9847 * stdio-common/vfscanf.c: Likewise.
9848 * stdlib/strfmon_l.c: Likewise.
9849 * sunrpc/openchild.c: Likewise.
9850 * sunrpc/xdr_stdio.c: Likewise.
9851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9852 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9854 2012-05-24 Roland McGrath <roland@hack.frob.com>
9856 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9858 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9859 in the third column, to generate for the shared library an IFUNC
9860 that uses _dl_vdso_vsym.
9861 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9862 * Makeconfig (object-suffixes-noshared): New variable.
9864 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9865 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9866 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9867 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9870 * include/sys/time.h (__gettimeofday): Remove macro.
9871 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9872 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9874 (__gettimeofday): Add libc_hidden_def.
9875 (gettimeofday): Add libc_hidden_weak.
9876 * sysdeps/mach/gettimeofday.c: Likewise.
9877 * sysdeps/posix/gettimeofday.c: Likewise.
9878 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9880 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9881 (__gettimeofday_internal): Remove strong_alias.
9882 (__gettimeofday): Add libc_hidden_def.
9883 (gettimeofday): Add libc_hidden_weak.
9884 * sysdeps/unix/syscalls.list (gettimeofday):
9885 Remove __gettimeofday_internal alias.
9887 2012-05-24 Daniel Jacobowitz <drow@false.org>
9888 H.J. Lu <hongjiu.lu@intel.com>
9891 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9892 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9893 (largebin_index_32_big): New.
9894 (largebin_index): Use it for 16-byte alignment.
9895 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9896 correction with front_misalign.
9898 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9926 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9927 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9929 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9933 * math/libm-test.inc (exp_test): Add test from bug 14036.
9934 (pow_test): Add test from bug 10846.
9936 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9938 (special_function): Do not include flags in test name.
9939 (parse_args): Likewise.
9940 * sysdeps/i386/fpu/libm-test-ulps: Update.
9941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9942 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9943 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9948 * math/libm-test.inc ("Philosophy"): Update comment about
9950 (UNDERFLOW_EXCEPTION): New macro.
9951 (UNDERFLOW_EXCEPTION_OK): Likewise.
9952 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9953 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9954 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9955 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9956 (INVALID_EXCEPTION_OK): Update value.
9957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9958 (OVERFLOW_EXCEPTION_OK): Likewise.
9959 (IGNORE_ZERO_INF_SIGN): Likewise.
9960 (test_exceptions): Handle underflow exceptions.
9961 (acos_test): Update for underflow exception expectations.
9962 (cexp_test): Likewise.
9963 (clog_test): Likewise.
9964 (clog10_test): Likewise.
9965 (csqrt_test): Likewise.
9966 (ctan_test): Likewise.
9967 (ctanh_test): Likewise.
9968 (exp_test): Likewise.
9969 (exp10_test): Likewise.
9970 (exp2_test): Likewise.
9971 (expm1_test): Likewise.
9972 (fma_test): Likewise.
9973 (j0_test): Likewise.
9974 (jn_test): Likewise.
9975 (nexttoward_test): Likewise.
9976 (pow_test): Likewise.
9977 (scalbn_test): Likewise.
9978 (scalbln_test): Likewise.
9979 (tan_test): Likewise.
9980 (y1_test): Likewise.
9981 * sysdeps/i386/fpu/libm-test-ulps: Update.
9982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984 2012-05-23 David S. Miller <davem@davemloft.net>
9986 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9987 (__libc_sigaction): Remove unused local variables.
9989 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9991 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9993 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9995 mktime: avoid signed integer overflow
9996 * time/mktime.c (__mktime_internal): Do not mishandle the case
9997 where diff == INT_MIN.
9999 mktime: simplify computation of average
10000 * time/mktime.c (ranged_convert): Use new time_t_avg function
10001 instead of rolling our own (probably-slower) code.
10003 mktime: do not assume signed right shift propagates sign bit
10004 * time/mktime.c (isdst_differ): New static function.
10005 (__mktime_internal): No need to normalize tm_isdst now.
10006 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10009 mktime: merge another wrapv change from gnulib
10010 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10011 from some compilers.
10013 mktime: remove incorrect attempt at unusual arithmetics
10014 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10015 The code didn't really work on such machines anyway.
10016 (TYPE_MINIMUM): Assume two's complement.
10017 (twos_complement_arithmetic): Verify that long_int and time_t
10018 are two's complement (or unsigned, in the latter case).
10020 mktime: check signed shifts on long_int and time_t, too
10021 * time/mktime.c (SHR): Check that shifts work as desired
10022 on the types long_int and time_t too, as SHR is used on
10025 mktime: do not assume 'long' is wide enough
10026 * time/mktime.c (verify): Move decl up.
10027 (long_int): New type.
10028 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10029 to remove assumption in the code that 'long' is wide enough to
10030 store year values. This assumption is not true on x32 and on
10031 some non-glibc platforms.
10033 mktime: merge wrapv change from gnulib
10034 * time/mktime.c (WRAPV): New macro.
10035 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10036 (guess_time_tm, __mktime_internal): Do not assume that signed
10037 integer overflow wraps around; modern compilers generate code
10038 where this assumption is no longer valid.
10040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10042 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10043 Replace "jmp L(pseudo_end)" with "ret".
10044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10047 2012-05-23 Andreas Jaeger <aj@suse.de>
10049 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10050 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10052 2012-05-23 Andreas Jaeger <aj@suse.de>
10053 Maximilian Attems <max@stro.at>
10055 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10058 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10060 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10061 code so that pseudo_end is just ret and the stack pointer is
10062 correct also for static library in error case.
10064 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10066 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10067 move to syscalls.list.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10073 * manual/install.texi (Running make install): Do not mention Linux
10074 kernel version for which pt_chown is not needed.
10075 (Linux): Do not mention problems with nscd with 2.0 kernels.
10076 * INSTALL: Regenerated.
10078 2012-05-23 Andreas Jaeger <aj@suse.de>
10080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10081 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10083 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10084 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10085 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10087 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10091 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10093 * sysdeps/unix/sysv/linux/bits/in.h
10094 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10096 2012-05-22 Roland McGrath <roland@hack.frob.com>
10098 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10099 (PREPARE_VERSION): Just use assert instead, it will be elided
10100 under [NDEBUG] anyway.
10102 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10104 * sysdeps/unix/sysv/linux/Makefile: Include
10105 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10106 (sysdep_routines): Remove sysctl.
10107 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10108 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10109 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10111 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10113 2012-05-22 Andreas Jaeger <aj@suse.de>
10115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10116 that pseudo_end is just ret and the stack pointer is correct also
10117 for static library in error case.
10119 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10122 * nss/nsswitch.c (defconfig_entries): New variable.
10123 (__nss_database_lookup): Don't leak defconfig entries.
10124 (nss_parse_service_list): Don't leak on error paths.
10125 (free_database_entries): New function.
10126 (free_defconfig): New function.
10127 (free_mem): Move common code to free_database_entries.
10129 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10131 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10133 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10135 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10136 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10139 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10140 (INTERNAL_SYSCALL_TYPES): Likewise.
10141 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10142 (LOAD_REGS_TYPES_[1-6]): Likewise.
10143 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10144 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10146 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10149 copysignl for GLIBC_2_0.
10150 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10151 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10153 logbl for GLIBC_2_0.
10154 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10155 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10157 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10160 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10162 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10165 * time/mktime.c: Update copyright years.
10167 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10169 mktime: merge comment-quoting-style change from gnulib
10170 * time/mktime.c: Quote 'like this' in comments.
10171 The GNU coding standards suggest that we no longer quote `like this',
10172 as "`" and "'" are typically rendered asymmetrically nowadays.
10173 The typical gnulib style is to quote 'like this' when quoting
10174 code, and "like this" when quoting English.
10176 * time/mktime.c (compile-command): Add "-I.".
10178 mktime: merge mktime-internal.h change from gnulib
10179 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10181 mktime: merge time_r change from gnulib
10182 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10184 mktime: merge DEBUG change from gnulib
10185 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10186 case system <time.h> has a #define.
10188 mktime: merge <sys/types.h> change from gnulib
10189 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10190 since <time.t> is now guaranteed to define time_t.
10192 mktime: merge HAVE_CONFIG_H change from gnulib
10193 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10195 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10200 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10202 (struct rusage): Use anonymous union to pad each field to
10205 2012-05-21 David S. Miller <davem@davemloft.net>
10207 * Makefules (o-iterator): Remove .s cases.
10208 (compile-command.s): Delete.
10209 (COMPILE.s): Delete.
10210 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10212 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10214 * configure.in (libc_cv_predef_stack_protector): Only consider
10215 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10216 * configure: Regenerated.
10218 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10221 New macro. Use R*LP on int and pointer.
10222 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10223 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10224 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10225 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10227 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10228 [__WORDSIZE_TIME64_COMPAT32] instead of
10229 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10230 (struct utmp): Likewise.
10231 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10232 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10234 (__WORDSIZE_TIME64_COMPAT32): This.
10235 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10236 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10237 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10238 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10239 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10240 (__WORDSIZE_TIME64_COMPAT32): New macro.
10242 2012-05-21 Andreas Jaeger <aj@suse.de>
10244 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10245 only if [SHARED]. Add prototype for __wcschr_ia32.
10247 2012-05-21 Roland McGrath <roland@hack.frob.com>
10249 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10250 of %rbp unmolested in the jmp_buf while mangling the low bits.
10251 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10252 unmolested high bits of %rbp while demangling the low bits.
10253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10255 2012-05-21 Andreas Jaeger <aj@suse.de>
10257 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10258 * sunrpc/svc_simple.c: Use it for registerrpc.
10259 * sunrpc/xcrypt.c: Use it for passwd2des.
10261 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10263 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10265 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10266 Don't define if [__SYSCALL_WORDSIZE != 32].
10267 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10270 2012-05-21 Bruno Haible <bruno@clisp.org>
10271 Andreas Jaeger <aj@suse.de>
10273 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10274 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10275 inptr and inend for must_buffer_ch.
10276 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10277 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10278 * stdio-common/Makefile (tests): Remove bug15.
10279 (bug15-ENV): Remove macro.
10280 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10283 2012-05-19 Andreas Jaeger <aj@suse.de>
10284 Roland McGrath <roland@hack.frob.com>
10286 * manual/contrib.texi: Completely rewritten. It contains now an
10287 alphabetical list of contributors and their contributions.
10289 2012-05-21 Richard Henderson <rth@twiddle.net>
10291 * misc/getauxval.c (__getauxval): Use unsigned long int.
10292 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10293 (getauxval): Use unsigned long int.
10295 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10297 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10299 2012-05-21 Roland McGrath <roland@hack.frob.com>
10301 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10302 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10303 __alignof__ (long double).
10305 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10309 2012-05-20 Richard Henderson <rth@twiddle.net>
10311 * misc/getauxval.c: New file.
10312 * misc/sys/auxv.h: New file.
10313 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10314 (routines): Add getauxval.
10315 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10316 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10317 * elf/dl-sysdep.c (_dl_auxv): Remove.
10318 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10319 * elf/dl-support.c (_dl_auxv): New variable.
10320 (_dl_aux_init): Initialize it.
10321 * manual/startup.texi (Auxiliary Vector): New node.
10322 * sysdeps/generic/bits/hwcap.h: New file.
10323 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10324 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10325 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10326 * sysdeps/sparc/sysdep.h: ... here. Include it.
10327 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10340 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10344 2012-05-19 David S. Miller <davem@davemloft.net>
10346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10348 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10351 * math/s_ccosh.c: Include <float.h>
10352 (__ccosh): Avoid internal overflow calculating sinh and cosh
10353 values before multiplying by sin and cos values.
10354 * math/s_ccoshf.c: Likewise.
10355 * math/s_ccoshl.c: Likewise.
10356 * math/s_csin.c: Likewise.
10357 * math/s_csinf.c: Likewise.
10358 * math/s_csinl.c: Likewise.
10359 * math/s_csinh.c: Likewise.
10360 * math/s_csinhf.c: Likewise.
10361 * math/s_csinhl.c: Likewise.
10362 * math/libm-test.inc (ccos_test): Add more tests.
10363 (ccosh_test): Likewise.
10364 (csin_test): Likewise.
10365 (csinh_test): Likewise.
10366 * sysdeps/i386/fpu/libm-test-ulps: Update.
10367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10369 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10371 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10372 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10374 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10376 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10379 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10380 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10381 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10382 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10383 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10384 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10385 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10386 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10387 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10388 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10389 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10390 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10391 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10392 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10393 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10394 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10395 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10396 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10397 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10398 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10399 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10400 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10401 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10402 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10403 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10404 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10405 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10406 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10407 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10408 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10410 2012-05-18 Andreas Jaeger <aj@suse.de>
10412 * csu/.gitignore: Delete.
10414 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10416 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10417 (timex): Use __syscall_slong_t.
10419 2012-05-18 Andreas Jaeger <aj@suse.de>
10420 Carlos O'Donell <carlos_odonell@mentor.com>
10422 * manual/install.texi (Configuring and compiling): Update
10423 description about files modified in the source directory.
10424 * INSTALL: Regenerated.
10426 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10428 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10429 value. Use "or" to set return value to -1.
10430 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10431 negate return value.
10433 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10435 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10436 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10437 failure if the compiler has Graphite support disabled.
10438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10440 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10441 CFLAGS-memmove.c): Likewise.
10442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10445 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10447 * sysdeps/x86_64/x32/_itoa.h: New file.
10449 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10450 getdents system call only if kernel and user dirents have the
10451 same d_ino and d_off.
10453 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10454 LLONG_MAX != LONG_MAX.
10455 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10456 (_fitoa_word): Likewise.
10458 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10461 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10462 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10465 include <bits/wordsize.h>. Check __x86_64__ instead of
10467 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10468 if __x86_64__ is defined. Use anonymous union on fpstate.
10470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10473 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10475 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10476 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10477 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10478 Refer to _rtld_local_ro instead of _rtld_global_ro.
10479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10481 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10483 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10485 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10486 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10487 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10489 * sysdeps/powerpc/powerpc32/dl-machine.c
10490 (__elf_machine_runtime_setup) [PROF]: Don't reference
10493 2012-05-18 Andreas Jaeger <aj@suse.de>
10495 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10496 function only available for GCCs before 3.4 since GCC 3.4
10497 introduced a builtin.
10499 (llrintf): Likewise.
10500 (llrint): Likewise.
10507 (nearbyint): Likewise.
10508 (nearbyintf): Likewise.
10512 (floorf): Likewise.
10514 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10516 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10517 on both fields and cast pointer to __syscall_ulong_t.
10519 * bits/types.h (__fsword_t): New type.
10520 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10521 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10523 (__FSWORD_T_TYPE): Likewise.
10524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10525 (__FSWORD_T_TYPE): Likewise.
10526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10527 (__FSWORD_T_TYPE): Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10529 (__FSWORD_T_TYPE): Likewise.
10530 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10531 __SWORD_TYPE with __fsword_t.
10532 (statfs64): Likewise.
10534 2012-05-17 David S. Miller <davem@davemloft.net>
10536 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10538 2012-05-17 Andreas Jaeger <aj@suse.de>
10540 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10545 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10547 2012-05-17 Andreas Jaeger <aj@suse.de>
10549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10552 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10554 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10556 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10558 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10559 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10561 2012-05-17 Andreas Jaeger <aj@suse.de>
10562 Carlos O'Donell <carlos_odonell@mentor.com>
10565 * sysdeps/x86_64/multiarch/init-arch.h
10566 (bit_YMM_Usable): Rename to...
10567 (bit_AVX_Usable): ... this.
10568 (bit_FMA4_Usable): New macro.
10569 (bit_XMM_state): New macro.
10570 (bit_YMM_state): New macro.
10571 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10572 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10573 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10574 (CPUID_OSXSAVE): New macro.
10575 (CPUID_AVX): New macro.
10576 (CPUID_FMA4): New macro.
10577 (index_YMM_Usable): Rename to...
10578 (index_AVX_Usable): ... this.
10579 (HAS_AVX): Use HAS_ARCH_FEATURE.
10580 (HAS_FMA4): Likewise.
10581 (HAS_YMM_USABLE): Remove.
10582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10583 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10585 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10586 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10587 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10588 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10589 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10591 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10593 * math/libm-test.c: Support platforms without multiple rounding modes.
10594 * math/bug-nextafter.c: Support platforms without FP exceptions.
10595 * math/bug-nexttoward.c: Likewise.
10596 * math/test-fenv.c: Likewise.
10597 * math/test-misc.c: Likewise.
10598 * stdlib/bug-getcontext.c: Likewise.
10600 2012-05-17 Andreas Jaeger <aj@suse.de>
10602 * manual/examples/search.c (critter_cmp): Change signature to
10604 * manual/string.texi (Collation Functions): Likewise.
10606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10608 * bits/types.h: Fold copyright years.
10609 * bits/typesizes.h: Likewise.
10610 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10614 * time/time.h: Likewise.
10616 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10619 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10620 in instead of returning them. Return void.
10621 (__libc_mallinfo): Accumulate over all arenas.
10622 (__malloc_stats): Adjust for change in int_mallinfo interface.
10624 2012-05-16 Roland McGrath <roland@hack.frob.com>
10627 * configure.in (NM): Add AC_CHECK_TOOL for it.
10628 (libc_extra_cflags): New substituted variable.
10629 Check for -fstack-protector being used implicitly.
10630 * configure: Regenerated.
10631 * config.make.in (config-extra-cflags): New variable,
10632 gets @libc_extra_cflags@.
10633 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10636 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10637 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10638 * configure: Regenerated.
10639 * config.make.in (CPPUNDEFS): New substituted variable.
10640 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10641 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10642 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10646 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10647 (mq_attr): Use __syscall_slong_t.
10649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10651 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10652 Check __x86_64__ instead of __WORDSIZE.
10653 (_STAT_VER_LINUX): Likewise.
10654 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10655 __syscall_ulong_t and __syscall_slong_t.
10656 (stat64): Likewise.
10658 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10660 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10664 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10666 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10668 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10671 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10672 include <bits/wordsize.h>. Check __x86_64__ instead of
10674 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10676 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10678 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10679 include <bits/wordsize.h>. Check __x86_64__ instead of
10681 (user_regs_struct): Use "__extension__ unsigned long long"
10682 instead of "unsigned long" if __x86_64__ is defined.
10683 (user): Likewise. Pad after pointer field if __ILP32__ is
10686 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10688 * configure.in (makeinfo): Require version 4.5 or later. Allow
10690 * configure: Regenerated.
10691 * manual/install.texi (texinfo): Increase version requirement to
10693 * INSTALL: Regenerated.
10695 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10699 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10701 * sysdeps/x86_64/x32/ffs.c: New file.
10703 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10705 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10706 defined. Use __syscall_ulong_t.
10707 (shminfo): Use __syscall_ulong_t.
10708 (shm_info): Likewise.
10710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10713 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10715 (msgqnum_t): Use __syscall_ulong_t.
10716 (msglen_t): Likewise.
10717 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10720 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10721 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10723 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10725 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10726 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10728 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10731 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10732 include <bits/wordsize.h>. Check __x86_64__ instead of
10735 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10736 "unsigned long long int" if __x86_64__ is defined.
10737 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10741 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10743 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10745 (GET_PC): Cast to uintptr_t first.
10746 (GET_FRAME): Likewise.
10747 (GET_STACK): Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10770 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10774 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10776 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10779 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10781 * Makerules (+depfiles): Also collect depfiles from .oS in
10783 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10784 .oS, $(libnldbl-routines)).
10786 * Makerules (native-compile-mkdep-flags): Define.
10787 * sunrpc/Makefile (extra-objs): Add $(addprefix
10788 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10789 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10790 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10791 calling $(make-target-directory).
10793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10795 * bits/types.h (__snseconds_t): Removed.
10796 * time/time.h (struct timespec): Replace __snseconds_t with
10798 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10799 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10801 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10802 (__SNSECONDS_T_TYPE): Likewise.
10803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10804 (__SNSECONDS_T_TYPE): Likewise.
10805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10806 (__SNSECONDS_T_TYPE): Likewise.
10808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10810 * sysdeps/mach/hurd/bits/typesizes.h
10811 (__SYSCALL_SLONG_TYPE): New macro.
10812 (__SYSCALL_ULONG_TYPE): Likewise.
10814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10816 * bits/types.h (__syscall_slong_t): New type.
10817 (__syscall_ulong_t): Likewise.
10819 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10820 (__SYSCALL_ULONG_TYPE): Likewise.
10821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10822 (__SYSCALL_SLONG_TYPE): Likewise.
10823 (__SYSCALL_ULONG_TYPE): Likewise.
10824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10825 (__SYSCALL_SLONG_TYPE): Likewise.
10826 (__SYSCALL_ULONG_TYPE): Likewise.
10827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10828 (__SYSCALL_SLONG_TYPE): Likewise.
10829 (__SYSCALL_ULONG_TYPE): Likewise.
10831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10833 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10834 Add sigaltstack-offsets.sym.
10835 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10836 <sigaltstack-offsets.h>.
10837 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10838 longjmp_msg pointer.
10839 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10840 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10842 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10844 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10846 * elf/stackguard-macros.h: Remove file.
10847 * sysdeps/generic/stackguard-macros.h: New file.
10848 * sysdeps/i386/stackguard-macros.h: Likewise.
10849 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10850 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10851 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10852 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10853 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10854 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10855 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10856 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10857 <elf/stackguard-macros.h>.
10860 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10861 __aligned__ in attribute.
10862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10863 (gregset_t): Likewise.
10865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10867 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10868 * sysdeps/x86_64/64/Implies-after: Here. New file.
10869 * sysdeps/x86_64/x32/Implies-after: New file.
10871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10873 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10874 and access return value for _dl_profile_fixup. Use R10_LP to
10877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10879 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10883 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10884 * sysdeps/x86_64/x32/sysdep.h: New file.
10886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10888 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10889 * sysdeps/x86_64/setjmp.S: Likewise.
10891 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10893 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10895 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10897 remove unused global constant.
10899 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10901 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10902 include of <not-cancel.h>.
10904 2012-05-15 Roland McGrath <roland@hack.frob.com>
10906 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10908 2012-05-15 Jeff Law <law@redhat.com>
10909 Andreas Jaeger <aj@suse.de>
10912 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10914 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10915 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10916 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10917 code changing __hst_map_handle.map.
10919 2012-05-15 Roland McGrath <roland@hack.frob.com>
10921 * configure.in (sysnames): Look for Implies-before and Implies-after
10923 * configure: Regenerated.
10925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10927 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10928 8-byte data alignment with LP_SIZE alignment.
10930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10932 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10937 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10941 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10942 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10945 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10949 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10950 (stackinfo_sub_sp): Likewise.
10952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10954 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10959 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10964 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10969 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10973 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10974 into R11_LP and load __x86_64_shared_cache_size_half into
10977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10982 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10991 powerpc32/power7/fpu/s_logb.c via #include.
10992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10993 powerpc32/power7/fpu/s_logbf.c via #include.
10994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10995 powerpc32/power7/fpu/s_logbl.c via #include.
10997 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10999 * README.libm: Remove file.
11001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11003 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11004 count for x32. Use R*_LP and omit operand-size suffix.
11006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11008 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11009 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11010 * sysdeps/x86_64/x32/shlib-versions: New file.
11012 2012-05-14 Roland McGrath <roland@hack.frob.com>
11014 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11015 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11016 Use _dl_fatal_printf instead.
11018 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11020 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11021 set if not set by the user. Do not allow for being unset.
11022 * sysdeps/unix/sysv/linux/configure: Regenerated.
11024 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11026 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11027 the `q' suffix from lea and replace .quad with ASM_ADDR.
11029 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11032 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11034 (PTR_DEMANGLE): Likewise.
11036 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11038 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11040 (ASM_ADDR): Likewise.
11041 (RAX_LP): Likewise.
11042 (RBP_LP): Likewise.
11043 (RBX_LP): Likewise.
11044 (RCX_LP): Likewise.
11045 (RDI_LP): Likewise.
11046 (RSI_LP): Likewise.
11047 (RSP_LP): Likewise.
11050 (R10_LP): Likewise.
11051 (R10_LP): Likewise.
11052 (R11_LP): Likewise.
11053 (R12_LP): Likewise.
11054 (R13_LP): Likewise.
11055 (R14_LP): Likewise.
11056 (R15_LP): Likewise.
11058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11060 * sysdeps/x86_64/x32/dl-machine.h: New file.
11062 2012-05-14 Andreas Jaeger <aj@suse.de>
11064 * manual/Makefile (subdir): Remove export of subdir.
11065 (all): Remove target.
11066 (.PHONY): Remove all from list.
11067 (mkinstalldirs): Remove.
11068 (.PHONY): Remove installdirs from list.
11069 ($(inst_infodir)/libc.info): Use make-target-directory.
11070 (installdirs): Remove.
11071 (subdir_%): Remove.
11072 (glibc-targets): Remove.
11075 ($(objpfx)stubs ../po/manual.pot): Remove.
11076 ($(objpfx)stamp%): Remove.
11077 (make-target-directory): Remove.
11078 (subdir_install): Remove.
11079 (routines): Remove.
11086 * manual/.gitignore: Remove, it's not needed anymore.
11087 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11089 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11091 (texis): Renamed to $(objpfx)texis.
11092 (texis-path): New, contains path to generated files.
11093 (chapters.%): Use texis-path for complete path, add extra argument
11095 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11096 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11097 (summary,texi, stamp-summary): Use complete path of
11098 files. Generate files in build dir.
11099 (dir-add.texi): Build in build dir.
11100 (libm-err.texi,stamp-libm-err): Likewise.
11101 (version.texi, stamp-version): Likewise.
11102 (.%c.texi): Likewise.
11103 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11104 (mostlyclean): Remove target.
11105 (realclean): Remove target.
11106 (generated): Add new variable with contents from mostlyclean and
11107 realclean, remove entries duplicated in common-mostlyclean, add
11108 stamp-libm-err and stamp-version.
11109 (generated-dirs): Add libc directory.
11110 ($(inst_infodir)/libc.info): Install files from build dir.
11112 * manual/install.texi (Configuring and compiling): Adjust since
11113 the info files are not part of the tar ball anymore.
11115 2012-05-14 Andreas Jaeger <aj@suse.de>
11117 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11120 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11124 to 2.2.0 where earlier.
11125 * sysdeps/unix/sysv/linux/configure: Regenerated.
11126 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11127 Remove conditional code.
11128 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11129 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11130 Remove conditional code.
11131 [!__NR_lchown]: Likewise.
11132 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11133 [__NR_lchown]: Likewise.
11134 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11135 comment referencing __ASSUME_LCHOWN_SYSCALL.
11136 * sysdeps/unix/sysv/linux/i386/sigaction.c
11137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11139 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11140 Remove conditional code.
11141 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11142 (__protocol_available): Remove #if 0 code.
11143 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11145 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11146 * sysdeps/unix/sysv/linux/kernel-features.h
11147 (__ASSUME_GETCWD_SYSCALL): Don't define.
11148 (__ASSUME_REALTIME_SIGNALS): Likewise.
11149 (__ASSUME_PREAD_SYSCALL): Likewise.
11150 (__ASSUME_PWRITE_SYSCALL): Likewise.
11151 (__ASSUME_POLL_SYSCALL): Likewise.
11152 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11153 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11155 (__ASSUME_SIOCGIFNAME): Don't define.
11156 (__ASSUME_MSG_NOSIGNAL): Likewise.
11157 (__ASSUME_SENDFILE): Define unconditionally.
11158 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11159 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11161 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11162 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11163 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11164 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11165 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11166 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11167 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11169 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11172 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11192 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11193 Remove conditional code.
11194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11195 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11196 Remove conditional code.
11197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11198 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11199 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11200 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11201 Remove conditional code.
11202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11203 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11204 Remove conditional code.
11205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11206 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11207 Remove conditional code.
11208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11209 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11210 Remove conditional code.
11211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11212 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11213 Remove conditional code.
11214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11215 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11218 * sysdeps/unix/sysv/linux/sigaction.c
11219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11221 * sysdeps/unix/sysv/linux/sigpending.c
11222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11224 * sysdeps/unix/sysv/linux/sigprocmask.c
11225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11227 * sysdeps/unix/sysv/linux/sigsuspend.c
11228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11230 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11231 (__libc_missing_rt_sigs): Remove.
11232 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11233 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11234 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11235 Remove conditional code.
11236 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11237 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11239 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11240 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11241 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11242 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11244 2012-05-14 Andreas Jaeger <aj@suse.de>
11246 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11247 it's not used in glibc.
11248 (__coshm1): Likewise.
11249 (__acosh1p): Likewise.
11252 * manual/string.texi (Copying and Concatenation): Add missing
11253 variable in concat example.
11254 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11256 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11260 __builtin_clzl with __builtin_clzll.
11262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11265 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11268 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11270 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11271 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11272 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11273 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11275 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11277 * NEWS: Update ia64 info.
11279 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11281 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11284 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11286 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11287 * sysdeps/unix/syscalls.list (dup3): Likewise.
11288 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11289 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11291 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11293 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11294 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11296 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11298 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11300 (TLS_IE): Use mov/add instead of movq/addq to load thread
11302 (TLS_GD_PREFIX): New.
11305 2012-05-11 David S. Miller <davem@davemloft.net>
11307 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11308 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11309 (_FPU_SETCW): Likewise.
11311 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11313 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11314 is 32-byte aligned.
11316 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11319 * iconvdata/gb18030.c: Update tables.
11320 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11321 characters specially.
11322 (BODY for TO_LOOP): Add encoding of missing ranges.
11324 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11327 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11328 * sysdeps/mach/hurd/dup3.c: Likewise.
11329 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11330 * sysdeps/powerpc/memmove.c:: Likewise.
11332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11335 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11337 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11339 * elf/elf.h (R_X86_64_RELATIVE64): New.
11340 (R_X86_64_NUM): Updated.
11341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11342 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11343 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11344 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11345 tst-quad1pie tst-quad2pie
11346 (modules-names): Add tst-quadmod1 tst-quadmod2.
11347 ($(objpfx)tst-quad1): New dependency.
11348 ($(objpfx)tst-quad2): Likewise.
11349 ($(objpfx)tst-quad1pie): Likewise.
11350 ($(objpfx)tst-quad2pie): Likewise.
11351 * sysdeps/x86_64/tst-quad1.c: New file.
11352 * sysdeps/x86_64/tst-quad1pie.c: New file.
11353 * sysdeps/x86_64/tst-quad2.c: Likewise.
11354 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11355 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11356 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11357 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11358 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11362 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11363 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11364 * streams/stropts.h (t_scalar_t): Define type.
11366 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11367 (_PATH_PRESERVE): Set to "/var/lib".
11368 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11370 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11373 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11374 if __dir_mkfile succeeded.
11376 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11377 checking for _hurd_dtablesize. Unlock it right after having
11378 finished _hurd_dtable allocation.
11380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11382 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11383 * sysdeps/mach/hurd/configure: Regenerated.
11384 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11385 special-casing to...
11386 * sysdeps/gnu/configure.in: ... this new file.
11387 * sysdeps/unix/sysv/linux/configure: Regenerated.
11388 * sysdeps/gnu/configure: New generated file.
11390 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11391 for Linux: use nsec instead of usec, as well as:
11392 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11393 members of type struct timespec.
11394 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11396 (struct stat64): Likewise.
11397 (_STATBUF_ST_NSEC): New macro.
11398 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11400 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11401 __strtoul_internal rather than strtoul.
11403 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11405 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11410 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11411 which preserves existing values.
11412 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11416 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11417 TIMEOUT values. Return EINVAL for NFDS values either negative or
11418 greater than FD_SETSIZE.
11420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11422 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11423 allocated, call __vm_protect to finish enabling the existing space, and
11424 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11425 allocate the remainder.
11427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11429 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11430 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11434 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11435 sysdeps/mach/hurd/readlink.c.
11437 * posix/tst-sysconf.c (posix_options): Only use
11438 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11439 _POSIX_SYNCHRONIZED_IO when they are defined
11440 * sysdeps/mach/hurd/bits/posix_opt.h:
11441 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11442 (_XOPEN_REALTIME): Undefine macro.
11443 (_XOPEN_REALTIME_THREADS): Undefine macro.
11444 (_XOPEN_SHM): Undefine macro.
11445 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11447 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11449 (_POSIX_ASYNC_IO): Undefine macro.
11450 (_POSIX_PRIORITIZED_IO): Undefine macro.
11451 (_POSIX_SPIN_LOCKS): Define macro to -1.
11453 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11454 SA_NODEFER, SA_RESETHAND.
11455 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11456 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11461 * elf/Makefile (pldd-modules): Define unconditionally.
11463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11465 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11469 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11470 Return ENOENT when name is empty.
11471 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11475 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11477 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11481 Fix mlock in all cases except non-readable pages.
11482 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11483 instead of VM_PROT_ALL as parameter to __vm_wire function.
11485 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11486 (__mkdir): When path is `/', just fail with EEXIST.
11487 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11489 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11491 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11492 <sys/uio.h> (for writev).
11493 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11494 and <sys/param.h> (for MIN).
11496 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11498 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11499 REQUESTED_TIME. Properly set the remaining time and return EINTR
11502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11504 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11505 Depend on against $(link-rpcuserlibs).
11507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11509 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11510 (__libc_stack_end): Do not use attribute_relro.
11511 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11512 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11513 to libthread-provided value.
11514 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11517 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11520 * bits/libc-lock.h (__libc_once_get): New macro.
11521 * sysdeps/mach/bits/libc-lock.h: Likewise.
11522 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11524 instead of using implementation details.
11526 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11527 * libio/freopen.c: Likewise.
11528 * libio/freopen64.c: Likewise.
11529 * misc/syslog.c: Likewise.
11530 * nscd/connections.c: Likewise.
11531 * nscd/netgroupcache.c: Likewise.
11532 * sysdeps/posix/getcwd.c: Likewise.
11534 2012-05-10 Roland McGrath <roland@hack.frob.com>
11536 * math/w_ilogbf.c: Add #include <limits.h>.
11538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11540 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11541 path instead of returning without unlocking.
11543 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11544 immediate-write ioctls.
11545 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11547 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11549 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11550 __builtin_frame_address instead of making assumptions about the
11551 location of the return address relative to DATA. Force early load of
11552 the return address.
11553 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11554 __builtin_frame_address.
11557 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11558 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11559 implement dup3 and do some further code clean-ups.
11560 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11561 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11565 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11567 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11568 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11569 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11570 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11571 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11574 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11575 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11576 when handler == SIG_ERR, not when handler != SIG_ERR.
11578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11580 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11581 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11584 accept4 for GNU Hurd.
11585 * include/sys/socket.h (__libc_accept4): New prototype.
11586 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11587 to implement __libc_accept4.
11588 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11590 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11592 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11593 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11594 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11595 signal-defines.sym.
11597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11599 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11603 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11604 assertion on O_CLOEXEC flag.
11605 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11606 * hurd/intern-fd.c: Likewise.
11607 * hurd/port2fd.c: Likewise.
11609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11612 * bits/in.h (IPV6_PKTINFO): Define new macro.
11613 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11615 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11620 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11622 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11623 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11626 * math/libm-test.inc (logb_test) : Additional logb tests.
11628 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11629 Andreas Jaeger <aj@suse.de>
11631 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11632 * configure: Regenerated.
11633 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11634 * config.make.in (link-obsolete-rpc): New substituted variable.
11635 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11636 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11637 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11638 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11639 so that libc.a contains the symbols.
11640 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11641 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11642 * sunrpc/auth_none.c: Likewise.
11643 * sunrpc/auth_unix.c: Likewise.
11644 * sunrpc/authdes_prot.c: Likewise.
11645 * sunrpc/authuxprot.c: Likewise.
11646 * sunrpc/clnt_gen.c: Likewise.
11647 * sunrpc/clnt_perr.c: Likewise.
11648 * sunrpc/clnt_raw.c: Likewise.
11649 * sunrpc/clnt_simp.c: Likewise.
11650 * sunrpc/clnt_tcp.c: Likewise.
11651 * sunrpc/clnt_udp.c: Likewise.
11652 * sunrpc/clnt_unix.c: Likewise.
11653 * sunrpc/des_crypt.c: Likewise.
11654 * sunrpc/des_soft.c: Likewise.
11655 * sunrpc/get_myaddr.c: Likewise.
11656 * sunrpc/key_call.c: Likewise.
11657 * sunrpc/key_prot.c: Likewise.
11658 * sunrpc/netname.c: Likewise.
11659 * sunrpc/pm_getmaps.c: Likewise.
11660 * sunrpc/pm_getport.c: Likewise.
11661 * sunrpc/pmap_clnt.c: Likewise.
11662 * sunrpc/pmap_prot.c: Likewise.
11663 * sunrpc/pmap_prot2.c: Likewise.
11664 * sunrpc/pmap_rmt.c: Likewise.
11665 * sunrpc/publickey.c: Likewise.
11666 * sunrpc/rpc_cmsg.c: Likewise.
11667 * sunrpc/rpc_common.c: Likewise.
11668 * sunrpc/rpc_dtable.c: Likewise.
11669 * sunrpc/rpc_prot.c: Likewise.
11670 * sunrpc/rpc_thread.c: Likewise.
11671 * sunrpc/rtime.c: Likewise.
11672 * sunrpc/svc.c: Likewise.
11673 * sunrpc/svc_auth.c: Likewise.
11674 * sunrpc/svc_raw.c: Likewise.
11675 * sunrpc/svc_run.c: Likewise.
11676 * sunrpc/svc_tcp.c: Likewise.
11677 * sunrpc/svc_udp.c: Likewise.
11678 * sunrpc/svc_unix.c: Likewise.
11679 * sunrpc/svcauth_des.c: Likewise.
11680 * sunrpc/xcrypt.c: Likewise.
11681 * sunrpc/xdr.c: Likewise.
11682 * sunrpc/xdr_array.c: Likewise.
11683 * sunrpc/xdr_float.c: Likewise.
11684 * sunrpc/xdr_intXX_t.c: Likewise.
11685 * sunrpc/xdr_mem.c: Likewise.
11686 * sunrpc/xdr_rec.c: Likewise.
11687 * sunrpc/xdr_ref.c: Likewise.
11688 * sunrpc/xdr_sizeof.c: Likewise.
11689 * sunrpc/xdr_stdio.c: Likewise.
11691 2012-05-10 Roland McGrath <roland@hack.frob.com>
11693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11694 change. Update copyright years.
11696 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11698 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11700 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11701 Joseph Myers <joseph@codesourcery.com>
11702 Paul Pluzhnikov <ppluzhnikov@google.com>
11705 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11707 [cross-compiling] (extra-libs): Likewise.
11708 [cross-compiling] (extra-libs-others): Likewise.
11709 [cross-compiling] (librpcsvc-routines): Likewise.
11710 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11711 [cross-compiling] (omit-deps): Likewise.
11712 (sunrpc-CPPFLAGS): New variable.
11713 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11714 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11715 (cross-rpcgen-objs): New variable.
11716 (extra-objs): Append $(cross-rpcgen-objs).
11717 ($(cross-rpcgen-objs)): New rule.
11718 ($(objpfx)cross-rpcgen): Likewise.
11719 (rpcgen-cmd): Define to use $(built-program-file). Expand
11721 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11722 ($(objpfx)x%.stmp): Likewise.
11723 * sunrpc/proto.h [IS_IN_build] (_): Define.
11724 [IS_IN_build] (_libc_intl_domainname): Likewise.
11726 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11729 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11730 and R_X86_64_TPOFF64.
11732 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11735 sysdeps/unix/sysv/syscalls.list.
11738 * sysdeps/unix/sysv/syscalls.list: Remove file.
11740 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11743 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11744 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11745 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11746 (__LC_IDENTIFICATION): Make these macros useful in #if
11747 expressions, as required by C99.
11749 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11751 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11752 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11755 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11757 * stdlib/longlong.h: Updated from GCC.
11759 2012-05-09 Andreas Jaeger <aj@suse.de>
11761 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11762 default is first entry.
11763 (run_mode): Set type.
11764 (main): Remove informal message about syslog.
11765 (options): Fix typo.
11768 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11771 (llrintf): Likewise.
11772 (llrint): Likewise.
11775 (nearbyint): Likewise.
11776 (nearbyintf): Likewise.
11778 2012-05-09 Andreas Jaeger <aj@suse.de>
11779 Pedro Alves <palves@redhat.com>
11781 * nscd/nscd.c (run_mode): Use enum.
11782 (main): Cleanup coding style issue.
11784 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
11785 Andreas Jaeger <aj@suse.de>
11787 * nscd/nscd.c (go_background): Replaced with...
11788 (run_mode): ... this.
11789 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11790 (options): Add -F --foreground.
11791 (main): Implement it.
11792 (parse_opt): Parse it.
11794 2012-05-09 Andreas Jaeger <aj@suse.de>
11797 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11798 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11799 -Wconversion warning.
11800 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11803 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11805 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11807 (LC_ALL): Use macro-int-constant.
11808 (LC_COLLATE): Likewise.
11809 (LC_CTYPE): Likewise.
11810 (LC_MESSAGES): Likewise.
11811 (LC_MONETARY): Likewise.
11812 (LC_NUMERIC): Likewise.
11813 (LC_TIME): Likewise.
11814 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11815 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11817 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11819 [C99-based standards] (float_t): Expect type.
11820 [C99-based standards] (double_t): Expect type.
11821 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11823 [C99-based standards] (HUGE_VALL): Likewise.
11824 [C99-based standards] (INFINITY): Likewise.
11825 [C99-based standards] (NAN): Likewise.
11826 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11827 [C99-based standards] (FP_NAN): Likewise.
11828 [C99-based standards] (FP_NORMAL): Likewise.
11829 [C99-based standards] (FP_SUBNORMAL): Likewise.
11830 [C99-based standards] (FP_ZERO): Likewise.
11831 [C99-based standards] (FP_FAST_FMA): Use
11832 optional-macro-int-constant. Specify type. Require == 1.
11833 [C99-based standards] (FP_FAST_FMAF): Likewise.
11834 [C99-based standards] (FP_FAST_FMAL): Likewise.
11835 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11836 [C99-based standards] (FP_ILOGBNAN): Likewise.
11837 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11839 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11840 [C99-based standards] (math_errhandling): Specify type.
11841 [ISO99 || ISO11] (signgam): Do not allow.
11842 [non-C99-based standards] (copysignf): Do not allow.
11843 [non-C99-based standards] (exp2f): Likewise.
11844 [non-C99-based standards] (log2f): Likewise.
11845 [non-C99-based standards] (modff): Allow.
11846 [non-C99-based standards] (erff): Do not allow.
11847 [non-C99-based standards] (erfcf): Likewise.
11848 [non-C99-based standards] (gammaf): Likewise.
11849 [non-C99-based standards] (hypotf): Likewise.
11850 [non-C99-based standards] (j0f): Likewise.
11851 [non-C99-based standards] (j1f): Likewise.
11852 [non-C99-based standards] (jnf): Likewise.
11853 [non-C99-based standards] (lgammaf): Likewise.
11854 [non-C99-based standards] (tgammaf): Likewise.
11855 [non-C99-based standards] (y0f): Likewise.
11856 [non-C99-based standards] (y1f): Likewise.
11857 [non-C99-based standards] (ynf): Likewise.
11858 [non-C99-based standards] (isnanf): Likewise.
11859 [non-C99-based standards] (acoshf): Likewise.
11860 [non-C99-based standards] (asinhf): Likewise.
11861 [non-C99-based standards] (atanhf): Likewise.
11862 [non-C99-based standards] (cbrtf): Likewise.
11863 [non-C99-based standards] (expm1f): Likewise.
11864 [non-C99-based standards] (ilogbf): Likewise.
11865 [non-C99-based standards] (log1pf): Likewise.
11866 [non-C99-based standards] (logbf): Likewise.
11867 [non-C99-based standards] (nextafterf): Likewise.
11868 [non-C99-based standards] (remainderf): Likewise.
11869 [non-C99-based standards] (rintf): Likewise.
11870 [non-C99-based standards] (scalbf): Likewise.
11871 [non-C99-based standards] (copysignl): Likewise.
11872 [non-C99-based standards] (exp2l): Likewise.
11873 [non-C99-based standards] (log2l): Likewise.
11874 [non-C99-based standards] (modfl): Allow.
11875 [non-C99-based standards] (erfl): Do not allow.
11876 [non-C99-based standards] (erfcl): Likewise.
11877 [non-C99-based standards] (gammal): Likewise.
11878 [non-C99-based standards] (hypotl): Likewise.
11879 [non-C99-based standards] (j0l): Likewise.
11880 [non-C99-based standards] (j1l): Likewise.
11881 [non-C99-based standards] (jnl): Likewise.
11882 [non-C99-based standards] (lgammal): Likewise.
11883 [non-C99-based standards] (tgammal): Likewise.
11884 [non-C99-based standards] (y0l): Likewise.
11885 [non-C99-based standards] (y1l): Likewise.
11886 [non-C99-based standards] (ynl): Likewise.
11887 [non-C99-based standards] (isnanl): Likewise.
11888 [non-C99-based standards] (acoshl): Likewise.
11889 [non-C99-based standards] (asinhl): Likewise.
11890 [non-C99-based standards] (atanhl): Likewise.
11891 [non-C99-based standards] (cbrtl): Likewise.
11892 [non-C99-based standards] (expm1l): Likewise.
11893 [non-C99-based standards] (ilogbl): Likewise.
11894 [non-C99-based standards] (log1pl): Likewise.
11895 [non-C99-based standards] (logbl): Likewise.
11896 [non-C99-based standards] (nextafterl): Likewise.
11897 [non-C99-based standards] (remainderl): Likewise.
11898 [non-C99-based standards] (rintl): Likewise.
11899 [non-C99-based standards] (scalbl): Likewise.
11900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11901 [non-C99-based standards] (FP_*): Do not allow.
11902 [C99-based standards] (FP_*): Change to
11903 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11904 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11906 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11907 (SIG_ERR): Likewise.
11908 [X/Open-based standards] (SIG_HOLD): Likewise.
11909 (SIG_IGN): Likewise.
11910 (SIGABRT): Use macro-int-constant. Specify type. Require
11912 (SIGFPE): Likewise.
11913 (SIGILL): Likewise.
11914 (SIGINT): Likewise.
11915 (SIGSEGV): Likewise.
11916 (SIGTER): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11931 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11935 [X/Open-based standards] (SIGTRAP): Likewise.
11936 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11937 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11938 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11939 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11940 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11943 2012-05-08 Ian Wienand <ianw@vmware.com>
11946 * time/tzset.c (__tzset_parse_tz): Update default rules for
11947 daylight time changes in the Energy Policy Act of 2005.
11949 2012-05-09 Andreas Jaeger <aj@suse.de>
11952 * elf/ldconfig.c (parse_conf): Change string to make clear that
11953 ldconfig only issued a warning if ld.so.conf does not exist.
11955 2012-05-08 David S. Miller <davem@davemloft.net>
11957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11958 movxtod instead of popping the value on the stack.
11960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11962 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11964 * config.h.in: Add HAVE_ARM_PCS_VFP.
11966 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
11969 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11970 checking but the checks are disabled for any reason.
11972 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11974 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11975 and ELF64_R_TYPE with ELFW(R_TYPE).
11977 2012-05-08 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11980 (ulimit): Likewise.
11982 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11983 (settimeofday): Likewise.
11985 2012-05-08 Mike Frysinger <vapier@gentoo.org>
11987 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11988 a struct th_u2 inside the union, and move tu_block/tu_code into
11989 a new th_u3 union of tu_block/tu_code inside of that. Move
11990 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11991 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11992 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11993 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11994 (th_stuff): Change to th_u1.tu_stuff.
11996 (th_msg): Change to th_u1.th_u2.tu_data.
11998 2012-05-07 David S. Miller <davem@davemloft.net>
12000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12003 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12004 (SETUP_PIC_REG): Use it.
12005 (SETUP_PIC_REG_LEAF): Use it.
12007 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12013 (EXPL_FINITE): Likewise.
12014 (FLDLOG): Likewise.
12015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12016 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12020 (EXPL_FINITE): Likewise.
12021 (FLDLOG): Likewise.
12022 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12023 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12025 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12026 test of -max_value argument for long double.
12027 * sysdeps/i386/fpu/libm-test-ulps: Update.
12028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2012-05-06 David S. Miller <davem@davemloft.net>
12032 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12033 quad soft-float symbols whose references which are compiler
12035 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12037 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12041 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12043 (EXPL_FINITE): Likewise.
12044 (FLDLOG): Likewise.
12047 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12048 Adjust comments for base varying.
12049 (__expl_finite): Change alias to EXPL_FINITE.
12050 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12052 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12053 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12055 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12056 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12058 (EXPL_FINITE): Likewise.
12059 (FLDLOG): Likewise.
12062 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12063 Adjust comments for base varying.
12064 (__expl_finite): Change alias to EXPL_FINITE.
12065 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12070 * math/libm-test.inc (check_float_internal): Correct ulp
12071 calculation for subnormal expected results.
12073 2012-05-06 Andreas Jaeger <aj@suse.de>
12075 * Makeconfig (+math-flags): New, set to -frounding-math.
12076 (+cflags): Add +math-flags so that all of glibc gets compiled with
12079 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12081 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12083 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12089 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12090 (__ieee754_expl): Allow for and saturate large arguments.
12091 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12092 (u_threshold): Likewise.
12093 (__exp): Call __ieee754_exp before checking for overflow and
12095 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12096 (u_threshold): Likewise.
12097 (__expf): Call __ieee754_expf before checking for overflow and
12099 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12100 (u_threshold): Likewise.
12101 (__expl): Call __ieee754_expl before checking for overflow and
12103 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12104 (__ieee754_expl): Allow for and saturate large arguments.
12105 * math/libm-test.inc (exp_test): Add another test. Do not allow
12106 missing overflow exception on overflow.
12107 (expm1_test): Do not allow missing overflow exception on overflow.
12109 * sysdeps/i386/fpu/e_expl.c: Move to ...
12110 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12111 rather than using inline asm.
12112 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12113 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12114 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12116 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12119 (signal): Likewise.
12123 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12125 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12126 sysdeps/unix/common/syscalls.list.
12127 (fchmod): Likewise.
12128 (fchown): Likewise.
12129 (ftruncate): Likewise.
12130 (getrusage): Likewise.
12131 (gettimeofday): Likewise.
12132 (setpgid): Likewise.
12133 (setregid): Likewise.
12134 (setreuid): Likewise.
12135 (sigaction): Likewise.
12136 (truncate): Likewise.
12137 (vhangup): Likewise.
12138 * sysdeps/unix/common/syscalls.list: Remove file.
12139 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12140 * sysdeps/unix/sysv/linux/Implies: Likewise.
12142 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12144 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12146 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12150 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12153 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12156 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12159 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12162 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12165 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12168 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12172 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12176 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12179 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12183 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12187 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12189 * sysdeps/unix/common/bits/dirent.h: Remove file.
12190 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12192 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12193 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12194 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12195 * sysdeps/unix/bsd/isatty.c: Likewise.
12196 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12197 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12198 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12200 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12204 long double comparison inaccuracies.
12205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12208 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12210 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12213 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12217 nonzero digits before rounding a hex value.
12218 * stdlib/tst-strtod.c (tests): Add another test.
12220 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12222 * sysdeps/s390/fpu/libm-test-ulps: Update.
12224 2012-05-03 Andreas Jaeger <aj@suse.de>
12226 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12227 does not get optimized out.
12228 (malloc_opt_barrier): New.
12230 2012-05-03 Andreas Jaeger <aj@suse.de>
12231 Roland McGrath <roland@hack.frob.com>
12233 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12234 intermediate file deletion.
12235 (generated): Add .symlist files.
12237 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12240 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12241 Redirect under this condition.
12242 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12243 [__USE_GNU] (__dprintf_chk): Not under this condition.
12244 [__USE_GNU] (__vdprintf_chk): Likewise.
12245 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12246 under this condition.
12247 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12248 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12249 [__USE_XOPEN2K8] (vdprintf): Likewise.
12250 [__USE_GNU] (__dprintf_chk): Not under this condition.
12251 [__USE_GNU] (__vdprintf_chk): Likewise.
12252 [__USE_GNU] (dprintf): Likewise.
12253 [__USE_GNU] (vdprintf): Likewise.
12255 2012-05-03 Roland McGrath <roland@hack.frob.com>
12257 * elf/Makefile (common-generated): Set this instead of generated for
12258 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12259 $(all-built-dso)-derived lists.
12261 2012-05-03 Andreas Jaeger <aj@suse.de>
12263 * sysdeps/i386/fpu/libm-test-ulps: Update.
12266 * FAQ.in: Likewise.
12267 * scripts/gen-FAQ.pl: Likewise.
12268 * manual/install.texi (Installation): Point to online location of
12270 * Makefile (files-for-dist): Remove FAQ.
12273 2012-05-02 Allan McRae <allan@archlinux.org>
12275 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12276 (LDFLAGS-reldepmod5.so): Likewise.
12277 (LDFLAGS-reldep6mod1.so): Likewise.
12278 (LDFLAGS-reldep6mod4.so): Likewise.
12279 (LDFLAGS-reldep8mod3.so): Likewise.
12280 (LDFLAGS-unload4mod1.so): Likewise.
12281 (LDFLAGS-unload4mod2.so): Likewise.
12282 (LDFLAGS-tst-initorder): Likewise.
12283 (LDFLAGS-tst-initordera2.so): Likewise.
12284 (LDFLAGS-tst-initordera3.so): Likewise.
12285 (LDFLAGS-tst-initordera4.so): Likewise.
12286 (LDFLAGS-tst-initorderb2.so): Likewise.
12287 (LDFLAGS-noload): Likewise.
12288 (LDFLAGS-next): Likewise.
12289 (LDFLAGS-order2mod1.so): Likewise.
12290 (LDFLAGS-order2mod2.so): Likewise.
12291 (LDFLAGS-tst-initorder2): Likewise.
12292 (LDFLAGS-tst-initorder2a.so): Likewise.
12293 (LDFLAGS-tst-initorder2b.so): Likewise.
12294 (LDFLAGS-tst-initorder2c.so): Likewise.
12295 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12297 2012-05-02 David S. Miller <davem@davemloft.net>
12299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12301 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12304 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12306 2012-05-02 Andreas Jaeger <aj@suse.de>
12308 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12309 since we manipulate rounding mode.
12310 (CPPFLAGS-test-idouble.c): Likewise.
12311 (CPPFLAGS-test-ifloat.c): Likewise.
12312 (CFLAGS-test-ldouble.c): Likewise.
12313 (CFLAGS-test-double.c): Likewise.
12314 (CFLAGS-test-float.c): Likewise.
12315 (CFLAGS-test-misc.c): Likewise.
12316 (CFLAGS-test-test-fenv.c): Likewise.
12318 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12323 comparisons to determine direction to adjust input.
12325 2012-05-01 Roland McGrath <roland@hack.frob.com>
12327 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12328 output to the target.
12330 * scripts/localplt.awk: New file.
12331 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12332 (check-localplt-CFLAGS): Variable removed.
12333 ($(all-built-dso:=.jmprel)): New static pattern rule.
12334 (generated): Add those targets.
12335 (localplt-built-dso): New variable.
12336 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12338 * elf/check-localplt.c: File removed.
12340 * scripts/check-execstack.awk: New file.
12341 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12342 (check-execstack-CFLAGS): Variable removed.
12343 ($(objpfx)check-execstack.h): Target removed.
12344 ($(objpfx)execstack-default): New target.
12345 (generated): Add that instead of check-execstack.h.
12346 ($(all-built-dso:=.phdr)): New static pattern rule.
12347 (generated): Add those targets.
12348 * elf/check-execstack.c: File removed.
12350 * scripts/check-textrel.awk: New file.
12351 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12352 (check-textrel-CFLAGS): Variable removed.
12353 (all-built-dso): Use := to define.o
12354 ($(all-built-dso:=.dyn)): New static pattern rule.
12355 (generated): Add those targets.
12356 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12357 * config.make.in (READELF): New substituted variable.
12358 * elf/check-textrel.c: File removed.
12360 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12362 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12364 * conform/data/ctype.h-data [C99-based standards] (isblank):
12366 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12367 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12369 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12370 Specify type. Require positive value.
12371 (EILSEQ): Likewise.
12372 (ERANGE): Likewise.
12373 [ISO || POSIX] (EILSEQ): Do not expect.
12374 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12375 Specify type. Require positive value.
12376 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12405 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12406 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12407 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12413 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12414 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12419 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12420 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12421 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12422 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12426 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12427 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12428 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12429 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12430 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12431 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12432 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12433 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12434 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12435 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12436 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12437 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12438 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12439 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12440 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12441 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12442 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12443 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12444 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12445 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12446 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12447 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12448 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12449 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12450 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12451 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12452 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12454 (FLT_ROUNDS): Expect as macro, not constant.
12455 (FLT_MANT_DIG): Use macro-int-constant.
12456 (DBL_MANT_DIG): Likewise.
12457 (LDBL_MANT_DIG): Likewise.
12458 (FLT_DIG): Likewise.
12459 (DBL_DIG): Likewise.
12460 (LDBL_DIG): Likewise.
12461 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12462 (DBL_MIN_EXP): Likewise.
12463 (LDBL_MIN_EXP): Likewise.
12464 (FLT_MAX_EXP): Use macro-int-constant.
12465 (DBL_MAX_EXP): Likewise.
12466 (LDBL_MAX_EXP): Likewise.
12467 (FLT_MAX_10_EXP): Likewise.
12468 (DBL_MAX_10_EXP): Likewise.
12469 (LDBL_MAX_10_EXP): Likewise.
12470 (FLT_MAX): Use macro-constant.
12471 (DBL_MAX): Likewise.
12472 (LDBL_MAX): Likewise.
12473 (FLT_EPSILON): Use macro-constant. Give upper bound.
12474 (DBL_EPSILON): Likewise.
12475 (LDBL_EPSILON): Likewise.
12476 (FLT_MIN): Likewise.
12477 (DBL_MIN): Likewise.
12478 (LDBL_MIN): Likewise.
12479 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12480 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12481 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12482 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12483 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12484 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12485 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12486 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12487 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12488 [ISO11] (FLT_TRUE_MIN): Likewise.
12489 [ISO11] (LDBL_TRUE_MIN): Likewise.
12490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12491 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12492 (SCHAR_MIN): Use macro-int-constant. Specify type.
12493 (SCHAR_MAX): Likewise.
12494 (UCHAR_MAX): Likewise.
12495 (CHAR_MIN): Likewise.
12496 (CHAR_MAX): Likewise.
12497 (MB_LEN_MAX): Use macro-int-constant.
12498 (SHRT_MIN): Use macro-int-constant. Specify type.
12499 (SHRT_MAX): Likewise.
12500 (USHRT_MAX): Likewise.
12501 (INT_MAX): Likewise.
12502 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12504 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12506 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12508 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12509 bound negative. Suffix upper bound with "L".
12510 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12512 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12514 [C99-based standards] (LLONG_MAX): Likewise.
12515 [C99-based standards] (ULLONG_MAX): Likewise.
12516 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12518 [ISO11] (max_align_t): Require type.
12519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12521 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12522 from $CFLAGS, without defining away __attribute__ calls.
12523 (checknamespace): Use $CFLAGS_namespace.
12525 * conform/conformtest.pl (@keywords): Only include C99 keywords
12526 for standards based on C99 or C11.
12528 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12530 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12533 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12534 usability of symbols in #if.
12536 * conform/conformtest.pl: If macro or constant types start
12537 "promoted:", expect the symbol to be of the following type
12538 promoted by the integer promotions.
12540 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12541 in one place. Also handle "macro-constant".
12543 * conform/conformtest.pl: Only accept expected macro values with
12544 "==". Parse all "macro" lines in one place.
12545 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12547 * conform/conformtest.pl: Handle braced types on "constant" lines
12548 instead of handling "typed-constant".
12549 * conform/data/signal.h-data: Use "constant" instead of
12552 * conform/conformtest.pl: Handle "optional-" at start of lines in
12553 one place rather than duplicating several cases. Handle each
12554 format of "macro" line with initial "optional-".
12556 * conform/conformtest.pl: Only accept expected constant or
12557 optional-constant values with "==". Parse all "constant" lines in
12558 one place. Parse all "optional-constant" lines in one place.
12559 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12560 * conform/data/fmtmsg.h-data: Likewise.
12561 * conform/data/netinet/in.h-data: Likewise.
12562 * conform/data/tar.h-data: Likewise.
12563 * conform/data/limits.h-data: Use "==" form on "constant" and
12564 "optional-constant" lines.
12566 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12567 Use -std=c99 for XOPEN2K.
12568 (@knownproblems): Remove.
12569 (newtoken): Don't check %isknown.
12571 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12572 Do not expect macro.
12573 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12580 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12581 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12582 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12583 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12584 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12585 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12586 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12587 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12588 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12591 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12592 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12600 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12601 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12602 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12603 [XPG3] (acosh): Likewise.
12604 [XPG3] (asinh): Likewise.
12605 [XPG3] (atanh): Likewise.
12606 [XPG3] (cbrt): Likewise.
12607 [XPG3] (expm1): Likewise.
12608 [XPG3] (ilogb): Likewise.
12609 [XPG3] (log1p): Likewise.
12610 [XPG3] (logb): Likewise.
12611 [XPG3] (nextafter): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12614 [XPG3] (remainder): Likewise.
12615 [XPG3] (rint): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12623 [UNIX98 || XOPEN2K] (scalb): Expect.
12624 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12625 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12626 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12627 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12628 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12629 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12630 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12631 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12633 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12634 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12635 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12636 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12638 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12639 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12640 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12641 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12642 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12643 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12644 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12645 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12647 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12648 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12649 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12650 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12651 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12652 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12664 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12665 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12682 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12683 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12684 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12685 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12686 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12687 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12688 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12690 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12693 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12694 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12702 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12703 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12704 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12706 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12707 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12708 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12709 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12710 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12711 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12712 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12713 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12714 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12715 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12716 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12717 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12718 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12719 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12720 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12721 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12722 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12723 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12724 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12725 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12726 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12727 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12728 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12729 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12730 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12731 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12732 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12733 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12734 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12735 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12736 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12737 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12738 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12739 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12740 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12741 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12742 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12743 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12744 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12745 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12746 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12747 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12748 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12749 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12750 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12751 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12752 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12753 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12754 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12755 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12756 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12757 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12758 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12759 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12760 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12762 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12763 _XOPEN_SOURCE_EXTENDED for XPG4.
12765 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12767 * Makeconfig (localtime): Remove variable.
12768 (inst_localtime-file): Likewise.
12770 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12791 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12795 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12796 comparisons to determine direction to adjust input.
12797 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12798 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12799 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12803 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12805 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12806 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12808 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12810 * math/libm-test.inc (nexttoward_test): Add more tests.
12812 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12816 in version GLIBC_2.1, not GLIBC_2.0.
12817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12820 2012-04-30 Joseph Myers <joseph@codesourcery.com>
12823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12825 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12826 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12827 * math/libm-test.inc (acos_test): Add more tests.
12828 (asin_test): Likewise.
12829 * sysdeps/i386/fpu/libm-test-ulps: Update.
12830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12833 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12835 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12836 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12837 * math/libm-test.inc (acos_test_tonearest): New function.
12838 (acos_test_towardzero): Likewise.
12839 (acos_test_downward): Likewise.
12840 (acos_test_upward): Likewise.
12841 (asin_test_tonearest): Likewise.
12842 (asin_test_towardzero): Likewise.
12843 (asin_test_downward): Likewise.
12844 (asin_test_upward): Likewise.
12845 (main): Call the new functions.
12846 * sysdeps/i386/fpu/libm-test-ulps: Update.
12847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12851 * math/e_exp10.c: Include <float.h>.
12852 (__ieee754_exp10): Handle underflow here rather than multiplying
12853 large negative argument by M_LN10.
12854 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12856 * math/e_exp10l.c: Include <float.h>.
12857 (__ieee754_exp10l): Handle underflow here rather than multiplying
12858 large negative argument by M_LN10l.
12859 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12860 spurious overflow exception on underflow.
12862 2012-04-29 Marek Polacek <polacek@redhat.com>
12864 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12865 (__fortify_function): New macro.
12866 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12867 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12868 __extern_always_inline.
12869 * libio/bits/stdio2.h: Likewise.
12870 * libio/bits/stdio.h: Likewise.
12871 * string/string.h: Likewise.
12872 * string/bits/string3.h: Likewise.
12873 * include/stdio.h: Likewise.
12874 * stdlib/bits/stdlib.h: Likewise.
12875 * stdlib/stdlib.h: Likewise.
12876 * rt/bits/mqueue2.h: Likewise.
12877 * rt/mqueue.h: Likewise.
12878 * posix/bits/unistd.h: Likewise.
12879 * posix/unistd.h: Likewise.
12880 * io/bits/poll2.h: Likewise.
12881 * io/bits/fcntl2.h: Likewise.
12882 * io/fcntl.h: Likewise.
12883 * io/sys/poll.h: Likewise.
12884 * misc/bits/syslog.h: Likewise.
12885 * misc/bits/syslog-ldbl.h: Likewise.
12886 * misc/sys/syslog.h: Likewise.
12887 * socket/bits/socket2.h: Likewise.
12888 * socket/sys/socket.h: Likewise.
12889 * debug/tst-chk1.c: Likewise.
12890 * wcsmbs/bits/wchar2.h: Likewise.
12891 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12892 * wcsmbs/wchar.h: Likewise.
12894 2012-04-29 Andreas Jaeger <aj@suse.de>
12896 * Makerules (tests): Remove enable-check-abi protection.
12897 (check-abi-warn): Remove.
12898 (check-abi-%): Remove check-abi-warn usage.
12900 * configure.in: Remove check-abi configure option.
12901 * configure: Regenerated.
12902 * config.make.in (enable-check-abi): Remove.
12904 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12907 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12908 double functions to double *_finite functions.
12911 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12912 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12914 * stdio-common/Makefile (tests): Add tst-sprintf3.
12915 * stdio-common/tst-sprintf3.c: New file.
12917 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12918 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12920 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12922 * conform/conformtest.pl: Remove duplicate typed-constant
12925 2012-04-28 David S. Miller <davem@davemloft.net>
12927 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12928 (check-abi-%): Remove AWK script prerequisite and explicit
12930 (check-abi): Rewrite to just diff the symlist with the abilist.
12931 (config-tls, config-abi-config): Delete, no longer used.
12932 (update-abi-%): Remove AWK script and explicit abilist directory.
12933 (update-abi): Rewrite to simply compare and conditionally copy the
12934 symlist and the sysdep abilist file. Remove update-abi-config
12936 * abilist/ld.abilist: Remove.
12937 * abilist/libBrokenLocale.abilist: Remove.
12938 * abilist/libanl.abilist: Remove.
12939 * abilist/libcrypt.abilist: Remove.
12940 * abilist/libdl.abilist: Remove.
12941 * abilist/librt.abilist: Remove.
12942 * abilist/libthread_db.abilist: Remove.
12943 * abilist/libutil.abilist: Remove.
12944 * scripts/extract-abilist.awk: Remove.
12945 * scripts/merge-abilist.awk: Remove.
12946 * sysdeps/generic/libcidn.abilist: New file.
12947 * sysdeps/generic/libnss_compat.abilist: New file.
12948 * sysdeps/generic/libnss_db.abilist: New file.
12949 * sysdeps/generic/libnss_dns.abilist: New file.
12950 * sysdeps/generic/libnss_files.abilist: New file.
12951 * sysdeps/generic/libnss_hesiod.abilist: New file.
12952 * sysdeps/generic/libnss_nis.abilist: New file.
12953 * sysdeps/generic/libnss_nisplus.abilist: New file.
12954 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12955 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12956 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12959 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12960 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12961 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12962 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12964 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12965 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12966 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12968 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12969 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12971 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12974 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12975 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12976 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12977 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12978 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12980 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12981 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12982 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12984 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13087 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13088 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13089 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13092 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13093 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13094 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13095 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13096 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13097 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13098 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13099 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13100 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13152 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13154 * conform/conformtest.pl: Fix typo in handling typed-constant from
13157 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13159 * README: Cut down references to pre-2.6 Linux kernels and
13160 Linuxthreads. Update lists of configurations in libc and ports
13161 and sort alphabetically. Say "or newer" with Linux kernel version
13164 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13166 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13169 * math/libm-test.inc (logb_test_downward): New test to expose
13170 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13173 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13176 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13178 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13179 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13181 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13183 * sysdeps/unix/i386/brk.S: Remove file.
13184 * sysdeps/unix/i386/dl-brk.S: Likewise.
13185 * sysdeps/unix/i386/pipe.S: Likewise.
13186 * sysdeps/unix/i386/sigreturn.S: Likewise.
13187 * sysdeps/unix/i386/syscall.S: Likewise.
13188 * sysdeps/unix/i386/vfork.S: Likewise.
13189 * sysdeps/unix/i386/wait.S: Likewise.
13191 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13192 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13194 * configure.in (arm*-none*): Do not allow without
13195 --enable-hacker-mode.
13196 (netbsd*): Remove case setting base_os.
13197 (386bsd*): Likewise.
13198 (freebsd*): Likewise.
13201 (sunos*): Likewise.
13202 (ultrix*): Likewise.
13203 (newsos*): Likewise.
13204 (dynix*): Likewise.
13210 (minix*): Likewise.
13211 (irix4*): Likewise.
13212 (irix6*): Likewise.
13213 (solaris[2-9]*): Likewise.
13215 * configure: Regenerated.
13217 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13221 overflow or cancellation in calculating denominator.
13222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13224 down expression to avoid unexpected rounding in newer GCCs.
13225 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13227 2012-04-26 David S. Miller <davem@davemloft.net>
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13230 long-double compat symbols.
13231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13245 2012-04-25 David S. Miller <davem@davemloft.net>
13247 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13248 HWCAP_* values only after the memory barriers have been defined.
13249 (atomic_full_barrier): Define.
13250 (atomic_read_barrier): Define.
13251 (atomic_write_barrier): Define.
13253 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13255 * shlib-versions: Add libgcc_s version information.
13256 * sysdeps/generic/libgcc_s.h: Remove.
13257 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13259 * sysdeps/gnu/unwind-resume.c: Likewise.
13260 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13262 2012-04-25 David S. Miller <davem@davemloft.net>
13264 * sysdeps/unix/sparc/brk.S: Delete.
13265 * sysdeps/unix/sparc/dl-brk.S: Delete.
13266 * sysdeps/unix/sparc/pipe.S: Delete.
13267 * sysdeps/unix/sparc/sysdep.S: Delete.
13268 * sysdeps/unix/sparc/sysdep.h: Delete.
13269 * sysdeps/unix/sparc/vfork.S: Delete.
13270 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13271 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13273 ret_ERRVAL, r0, r1, MOVE): Define.
13274 (JUMPTARGET): Remove.
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13276 sysdeps/unix/sparc/sysdep.h
13277 (ENTRY, END): Remove.
13278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13280 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13282 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13283 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13286 * timezone/README: Update upstream location and email address for
13288 * timezone/zdump.c: Update from tzcode 2012b.
13289 * timezone/zic.c: Likewise.
13291 * configure.in (libc_cv_as_needed): Remove test.
13292 * configure: Regenerated.
13293 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13294 conditional definition.
13295 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13296 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13297 * config.make.in (have-as-needed): Remove variable.
13299 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13300 Paul Pluzhnikov <ppluzhnikov@google.com>
13302 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13305 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13307 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13308 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13309 * sysdeps/sh/strlen.S: Likewise.
13311 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13313 * sysdeps/unix/fork.S: Remove file.
13314 * sysdeps/unix/i386/fork.S: Likewise.
13315 * sysdeps/unix/sparc/fork.S: Likewise.
13317 * sysdeps/unix/system.c: Remove file.
13318 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13320 * sysdeps/unix/getegid.S: Remove file.
13321 * sysdeps/unix/geteuid.S: Likewise.
13323 2012-04-24 Roland McGrath <roland@hack.frob.com>
13325 * scripts/check-localplt.awk: New file.
13326 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13328 * scripts/data/localplt-generic.data: Add a comment.
13330 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13331 NODE when __dir_mkfile failed.
13332 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13333 Reported by Ludovic Courtès <ludo@gnu.org>.
13335 2012-04-24 Andreas Jaeger <aj@suse.de>
13337 * Makerules (common-clean): Also remove gen-as-const-headers
13340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13342 * Makerules (native-compile): Do not change working directory for
13343 build. Use $(OUTPUT_OPTION) in command.
13344 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13346 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13349 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13350 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13351 * math/libm-test.inc (floor_test): Add more tests.
13352 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13354 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13356 * sysdeps/unix/getdents.c: Remove file.
13357 * sysdeps/unix/sysv/getdents.c: Likewise.
13358 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13360 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13361 sysdeps/unix/mman/syscalls.list.
13363 (mprotect): Likewise.
13365 (munmap): Likewise.
13366 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13367 * sysdeps/unix/mman/syscalls.list: Remove.
13368 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13370 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13371 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13372 * configure: Regenerated.
13373 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13374 $(libgcc_s_suffix).
13375 * config.make.in (libgcc_s_suffix): Remove variable.
13377 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13379 * sysdeps/unix/sysv/gethostname.c: Move to ...
13380 * sysdeps/posix/gethostname.c: ... here.
13382 * sysdeps/unix/execve.S: Remove file.
13384 * sysdeps/unix/_exit.S: Remove file.
13386 2012-04-23 Andreas Jaeger <aj@suse.de>
13389 * manual/Makefile: Remove make dist support, there's no
13390 need for a stand-alone documentation tar ball.
13391 (TEXI2DVI): Define always, it's not in Makeconfig.
13394 (edition): Removed.
13395 (glibc-doc-$(edition).tar): Removed
13399 (ETAGS): Remove, it's in Makeconfig.
13400 (move-if-change): Remove, it's in Makeconfig.
13402 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13405 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13406 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13407 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13408 (strtod_l, strtof_l, strtold_l): Remove __wur.
13409 It is not necessarily an error to ignore strtol's return value.
13410 One can reliably look at the stored endptr to decide whether
13411 the number had valid syntax.
13413 2012-04-21 Andreas Jaeger <aj@suse.de>
13416 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13418 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13420 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13421 * sysdeps/unix/sysv/Versions: Remove file.
13423 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13428 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13431 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13432 version from __vm86.
13434 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13436 * sysdeps/unix/common/lxstat.c: Remove file.
13437 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13439 * sysdeps/unix/sysv/Makefile: Remove file.
13441 * sysdeps/unix/sysv/direct.h: Remove file.
13443 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13444 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13445 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13446 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13447 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13448 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13449 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13451 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13453 * sysdeps/unix/xmknod.c: Remove file.
13454 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13456 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13458 * sysdeps/unix/sysv/i386/time.S: Remove file.
13460 * sysdeps/unix/fxstat.c: Remove file.
13461 * sysdeps/unix/xstat.c: Likewise.
13462 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13464 * sysdeps/unix/sysv/sigaction.c: Remove file.
13466 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13467 (sysdep_headers): Remove variable.
13468 [termio.h not in sysdep_headers] (generated): Likewise.
13469 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13470 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13471 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13472 * sysdeps/unix/sysv/tcflow.c: Likewise.
13473 * sysdeps/unix/sysv/tcflush.c: Likewise.
13474 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13475 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13476 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13477 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13478 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13480 * sysdeps/unix/siglist.c: Remove file.
13482 * sysdeps/unix/getppid.S: Remove file.
13484 * sysdeps/unix/mkdir.c: Remove file.
13485 * sysdeps/unix/rmdir.c: Likewise.
13487 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13489 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13491 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13492 errlist-compat value.
13494 2012-04-18 David S. Miller <davem@davemloft.net>
13496 * sysdeps/generic/memcopy.h (reg_char): Delete.
13497 * debug/strcat_chk.c: Use char, not reg_char.
13498 * debug/strcpy_chk.c: Likewise.
13499 * debug/strncat_chk.c: Likewise.
13500 * debug/strncpy_chk.c: Likewise.
13501 * string/memchr.c: Likewise.
13502 * string/memrchr.c: Likewise.
13503 * string/rawmemchr.c: Likewise.
13504 * string/strcat.c: Likewise.
13505 * string/strchr.c: Likewise.
13506 * string/strchrnul.c: Likewise.
13507 * string/strcmp.c: Likewise.
13508 * string/strcpy.c: Likewise.
13509 * string/strncat.c: Likewise.
13510 * string/strncmp.c: Likewise.
13511 * string/strncpy.c: Likewise.
13513 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13515 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13516 __builtin_memcopy is called when src and dest ranges are known to not
13519 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13521 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13522 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13523 fwd_align_merge macro call.
13524 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13525 bwd_align_merge macro call.
13526 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13528 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13530 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13531 bwd_align_merge macros.
13532 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13533 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13534 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13536 2012-04-18 David S. Miller <davem@davemloft.net>
13538 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13540 2012-04-18 Andreas Jaeger <aj@suse.de>
13543 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13544 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13545 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13547 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13548 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13551 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13552 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13553 Adjust for changed ldbl-128 files.
13555 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13556 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13559 2012-04-17 David S. Miller <davem@davemloft.net>
13561 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13563 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13565 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13566 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13567 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13568 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13570 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13572 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13576 * math/libm-test.inc: Add ilogb errno and exception tests.
13577 * math/w_ilogb.c: New file: ilogb wrapper.
13578 * math/w_ilogbf.c: New file: ilogbf wrapper.
13579 * math/w_ilogbl.c: New file: ilogbl wrapper.
13580 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13581 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13582 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13583 exception being thrown with 0.0 as argument.
13584 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13585 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13586 exception being thrown with 0.0 as argument.
13587 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13588 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13589 exception being thrown with 0.0 as argument.
13590 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13591 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13592 exception being thrown with 0.0 as argument.
13593 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13594 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13595 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13596 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13598 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13599 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13600 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13601 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13603 2012-04-17 Petr Baudis <pasky@ucw.cz>
13605 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13608 2012-04-16 Marek Polacek <polacek@redhat.com>
13610 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13612 2012-04-16 Marek Polacek <polacek@redhat.com>
13614 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13615 operands of fdivp instruction.
13617 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13619 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13620 * elf/tst-auditmod3b.c: Likewise.
13621 * elf/tst-auditmod4b.c: Likewise.
13622 * elf/tst-auditmod5b.c: Likewise.
13623 * elf/tst-auditmod6b.c: Likewise.
13624 * elf/tst-auditmod6c.c: Likewise.
13625 * elf/tst-auditmod7b.c: Likewise.
13626 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13627 * sysdeps/x86_64/preconfigure.in: Likewise.
13628 * sysdeps/x86_64/preconfigure: Regenerated.
13630 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13635 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13638 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13640 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13643 * locale/iso-639.def: Fix gl language name. Spotted by
13646 2012-04-12 Roland McGrath <roland@hack.frob.com>
13649 * libio/libio.h (__io_write_fn): Update comment.
13651 2012-04-12 Petr Baudis <pasky@ucw.cz>
13654 * stdio.texi (Hook Functions): The user provided writer function
13655 is not allowed to return -1.
13657 2012-04-11 David S. Miller <davem@davemloft.net>
13659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13661 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13663 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13664 Add a leading slash to rtkaio.
13666 2012-04-11 Jim Meyering <meyering@redhat.com>
13669 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13670 It is not necessarily an error to ignore fwrite's return
13671 value. One can reliably use ferror to test for errors after
13674 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13676 * bits/types.h (__snseconds_t): New type.
13677 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13679 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13681 (__SNSECONDS_T_TYPE): Likewise.
13682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13683 (__SNSECONDS_T_TYPE): Likewise.
13684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13685 (__SNSECONDS_T_TYPE): Likewise.
13687 2012-04-10 Andreas Jaeger <aj@suse.de>
13690 * manual/time.texi (Processor Time): Return type of times is
13691 elapsed real time since an arbitrary point in the past.
13692 (CPU Time): Move CLK_TCK from here...
13693 (Processor Time): ...to here. Correct description.
13694 * manual/conf.texi (Constants for Sysconf): Correct description of
13697 2012-04-10 David S. Miller <davem@davemloft.net>
13700 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13701 where the is a gap between DT_REL(A) and DT_JMPREL.
13703 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13705 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13706 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13707 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13709 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13711 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13712 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13713 (dl_main): Handle --inhibit-cache.
13714 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13716 * elf/dl-load.c (_dl_map_object): Use it.
13717 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13719 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13722 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13723 (__ieee754_powl): Saturate large exponents rather than testing for
13724 overflow of y*log2(x).
13725 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13726 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13730 * math/s_ctan.c: Include <float.h>.
13731 (__ctan): Avoid internal overflow or cancellation in calculating
13733 * math/s_ctanf.c: Likewise.
13734 * math/s_ctanl.c: Likewise.
13735 * math/s_ctanh.c: Likewise.
13736 * math/s_ctanhf.c: Likewise.
13737 * math/s_ctanhl.c: Likewise.
13738 * math/libm-test.inc (ctan_test): Add more tests.
13739 (ctanh_test): Likewise.
13740 * sysdeps/i386/fpu/libm-test-ulps: Update.
13741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13743 2012-04-09 Andreas Jaeger <aj@suse.de>
13746 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13747 is an optional BSD extension.
13750 * manual/stdio.texi (Opening Streams): Document additional fopen
13753 2012-04-09 Roland McGrath <roland@hack.frob.com>
13755 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13756 %eax without telling the compiler.
13758 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13761 * manual/install.texi: Use sourceware.org.
13763 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13766 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13767 (__ieee754_pow): Generate overflow and underflow using huge*huge
13768 and tiny*tiny rather than just returning constant infinity or zero
13769 for large exponents.
13770 * math/libm-test.inc (pow_test): Require overflow exceptions for
13771 applicable cases of large exponents.
13774 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13775 (__ieee754_pow): Use iterative multiplication algorithm only for
13776 integer exponents with absolute value below 1024. Check for odd
13777 integer exponents when using algorithm for real exponents.
13778 * math/libm-test.inc (pow_test): Add more tests.
13779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13781 2012-04-08 Joseph Myers <joseph@codesourcery.com>
13784 * math/libm-test.inc (exp_test): Do not allow overflow exception
13787 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13790 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13791 instead of __kernel_standard_f.
13793 2012-04-08 Mike Frysinger <vapier@gentoo.org>
13795 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13796 * sysdeps/x86_64/memset_chk.S: Likewise.
13798 2012-04-08 Andreas Jaeger <aj@suse.de>
13801 * manual/startup.texi (Environment Access): Describe return value
13802 for putenv and setenv.
13805 * manual/filesys.texi (Directory Entries): Add description for
13809 * manual/filesys.texi (Directory Entries): Clarify that it's file
13810 system not operating system in the description of DT_UNKNOWN.
13813 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13815 2012-04-08 Stephen Compall <s11@member.fsf.org>
13818 * manual/llio.texi (Opening and Closing Files): Add cross
13819 reference to explain mode argument.
13821 2012-04-07 Mike Frysinger <vapier@gentoo.org>
13823 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13824 * sysdeps/x86_64/memset_chk.S: Likewise.
13826 2012-04-07 David S. Miller <davem@davemloft.net>
13828 * elf/elf.h (R_SPARC_WDISP10): Define.
13829 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13832 R_SPARC_SIZE64 and R_SPARC_H34.
13834 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13837 conditions and remove no longer applicable assertion.
13839 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13841 * bits/byteswap.h: Include <features.h>.
13842 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13843 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13845 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13847 * bits/byteswap.h (__bswap_16): Removed.
13848 Include <bits/byteswap-16.h> to get __bswap_16.
13849 * sysdeps/i386/bits/byteswap.h: Likewise.
13850 * sysdeps/s390/bits/byteswap.h: Likewise.
13851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13852 * bits/byteswap-16.h: New file.
13853 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13854 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13855 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13856 * string/Makefile (headers): Add bits/byteswap-16.h.
13858 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13861 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13863 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13864 * nss/tst-nss-static.c: New.
13866 2012-04-06 Robert Millan <rmh@gnu.org>
13869 * manual/llio.texi (File Position Primitive): lseek
13870 refers to WHENCE when it really means OFFSET.
13872 2012-04-06 Andreas Jaeger <aj@suse.de>
13874 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13875 strncmp declarations.
13877 * abilist/libc.abilist: Add __poll and __ppoll.
13879 2012-04-05 David S. Miller <davem@davemloft.net>
13881 * scripts/check-local-headers.sh: Accept a host triplet in the
13882 path matched by the exclude regexp.
13884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13886 * sysdeps/powerpc/powerpc32/dl-machine.h
13887 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13888 * sysdeps/s390/s390-32/dl-machine.h
13889 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13890 * sysdeps/sparc/sparc32/dl-machine.h
13891 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13892 * sysdeps/sparc/sparc64/dl-machine.h
13893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13895 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13897 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13898 undefined symbol errors.
13900 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13903 2012-04-05 Michael Matz <matz@suse.de>
13906 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13908 2012-04-05 Andreas Jaeger <aj@suse.de>
13911 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13914 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13916 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13917 which ROUND is no valid rounding mode.
13919 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13923 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13927 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13928 an exception using FPU order intentionally.
13930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13932 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13933 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13934 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13935 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13937 2012-04-05 Simon Josefsson <simon@josefsson.org>
13940 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13941 EINVAL when BUFLEN is too smal.
13943 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13946 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13947 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13949 2012-04-03 Andreas Jaeger <aj@suse.de>
13952 * manual/setjmp.texi (System V contexts): Fix sentence.
13955 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13956 New macro for this case.
13957 [!__GNUC__] (__bswap_64): New inline function for this case.
13958 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13959 * bits/byteswap.h: Likewise.
13960 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13961 ull, guard with __GLIBC_HAVE_LONG_LONG.
13963 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13964 __GLIBC_HAVE_LONG_LONG.
13966 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13967 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13969 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13972 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13973 inptr and inend, rather than using last_ch.
13975 2012-04-02 David S. Miller <davem@davemloft.net>
13977 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13978 * stdio-common/printf-parse.h (read_int): Change return type to
13979 'int', return -1 on INT_MAX overflow.
13980 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13981 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13982 overflows INT_MAX. Check for overflow of in-format-string precision
13983 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13984 SIZE_MAX not INT_MAX for integer overflow test.
13985 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13986 skip the construct in the format string but do not record anything.
13987 * stdio-common/bug22.c: Adjust to test both width/prevision
13988 INT_MAX overflow as well as total length INT_MAX overflow. Check
13989 explicitly for proper errno values.
13991 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13993 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13995 * string/test-strcmp.c [! WIDE]: Likewise.
13996 * time/tst-mktime2.c: Likewise for INT_MAX.
13997 * string/test-string.h: #include <sys/param.h> for MIN.
13999 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14000 * sysdeps/i386/init-first.c (init): Likewise.
14001 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14002 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14003 * sysdeps/sh/init-first.c (init): Likewise.
14005 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14007 * po/ru.po: Update from translation team.
14008 * po/vi.po: Likewise.
14010 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14012 * resolv/nss_dns/dns-host.c: Merge copyright years.
14014 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14017 Optimize memcpy with prefetch if
14018 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14019 src, dst pointers have unequal 16 byte alignments.
14021 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14024 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14025 from a CNAME entry and return the minimum ttl for the query.
14026 (gaih_getanswer_slice): Likewise.
14028 2012-03-30 Jeff Law <law@redhat.com>
14030 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14032 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14033 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14035 * resolv/nss_dns/dns-host.c: Update copyright year.
14037 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14039 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14040 requests to save a system call. Fix check that all bytes are sent.
14042 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14043 comments for sendmmsg.
14045 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14048 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14049 with only 1 character between 0x0041 and 0x01b0.
14050 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14051 * wcsmbs/tst-mbsnrtowcs.c: New file.
14053 2012-03-29 David S. Miller <davem@davemloft.net>
14055 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14056 small copies by hand.
14058 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14061 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14062 _nss_compat_initgroups_dyn): Fall back to malloc/free
14063 for large group memberships.
14065 2012-03-28 David S. Miller <davem@davemloft.net>
14067 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14068 that branches into memcpy.
14069 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14070 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14072 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14075 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14076 implementation too.
14077 * sysdeps/sparc/mempcpy.S: New file.
14079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14080 the IFUNC routine in the libc case.
14081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14083 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14085 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14086 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14087 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14088 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14089 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14090 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14092 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14093 loop to 256 bytes instead of 64 bytes and fix test signedness.
14095 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14096 * sysdeps/sparc/sparc32/Makefile: rather than here...
14097 * sysdeps/sparc/sparc64/Makefile: and here.
14099 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14101 * malloc/mallocbug.c: Avoid warnings about unused variables.
14103 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14106 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14107 in the right place. Discard and retry query if response is
14108 larger than input buffer size.
14110 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14116 x for large integer exponent.
14117 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14118 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14119 sign of result as needed afterwards.
14120 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14121 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14122 result for underflowing pow the same as for overflow.
14123 (__kernel_standard_l): Handle powl overflow and underflow here
14124 rather than calling __kernel_standard.
14125 * math/libm-test.inc (pow_test): Add more tests.
14140 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14141 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14142 (__kernel_standard_l): New function.
14143 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14145 * math/w_acosl.c (__acosl): Likewise.
14146 * math/w_asinl.c (__asinl): Likewise.
14147 * math/w_atan2l.c (__atan2l): Likewise.
14148 * math/w_atanhl.c (__atanhl): Likewise.
14149 * math/w_coshl.c (__coshl): Likewise.
14150 * math/w_exp10l.c (__exp10l): Likewise.
14151 * math/w_exp2l.c (__exp2l): Likewise.
14152 * math/w_fmodl.c (__fmodl): Likewise.
14153 * math/w_hypotl.c (__hypotl): Likewise.
14154 * math/w_j0l.c (__j0l, __y0l): Likewise.
14155 * math/w_j1l.c (__j1l, __y1l): Likewise.
14156 * math/w_jnl.c (__jnl, __ynl): Likewise.
14157 * math/w_lgammal.c (__lgammal): Likewise.
14158 * math/w_log10l.c (__log10l): Likewise.
14159 * math/w_log2l.c (__log2l): Likewise.
14160 * math/w_logl.c (__logl): Likewise.
14161 * math/w_powl.c (__powl): Likewise.
14162 * math/w_remainderl.c (__remainderl): Likewise.
14163 * math/w_scalbl.c (sysv_scalbl): Likewise.
14164 * math/w_sinhl.c (__sinhl): Likewise.
14165 * math/w_sqrtl.c (__sqrtl): Likewise.
14166 * math/w_tgammal.c (__tgammal): Likewise.
14167 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14168 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14169 * math/libm-test.inc (acos_test): Add more tests.
14170 (acosh_test): Likewise.
14171 (asin_test): Likewise.
14172 (atanh_test): Likewise.
14173 (exp_test): Likewise.
14174 (exp10_test): Likewise.
14175 (exp2_test): Likewise.
14176 (expm1_test): Likewise.
14177 (lgamma_test): Likewise.
14178 (log_test): Likewise.
14179 (log10_test): Likewise.
14180 (log1p_test): Likewise.
14181 (log2_test): Likewise.
14182 (pow_test): Do not allow some spurious overflow exceptions.
14183 (sqrt_test): Add more tests.
14184 (tgamma_test): Likewise.
14185 (y0_test): Likewise.
14186 (y1_test): Likewise.
14187 (yn_test): Likewise.
14189 2012-03-27 Anton Blanchard <anton@samba.org>
14191 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14194 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14197 2012-03-27 David S. Miller <davem@davemloft.net>
14199 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14201 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14202 have-as-vis3 check.
14204 2012-03-27 Andreas Jaeger <aj@suse.de>
14206 * sysdeps/x86_64/elf/configure.in: Moved to ...
14207 * sysdeps/x86_64/configure.in: ... here.
14208 * sysdeps/x86_64/elf/start.S: Moved to ...
14209 * sysdeps/x86_64/start.S: ... here.
14210 * sysdeps/x86_64/elf/configure: Delete.
14212 * sysdeps/x86_64/configure.in: Merge contents from
14213 sysdeps/i386/configure.in (without i686 check).
14215 * sysdeps/i386/elf/Versions: Merge into ...
14216 * sysdeps/i386/Versions: ... this.
14217 * sysdeps/i386/elf/Versions: Delete file.
14218 * sysdeps/i386/elf/start.S: Moved to ...
14219 * sysdeps/i386/start.S: ...here.
14220 * sysdeps/i386/elf/configure.in: Merge into...
14221 * sysdeps/i386/configure.in: ...here.
14222 * sysdeps/i386/elf/configure.in: Delete file.
14223 * sysdeps/i386/elf/configure: Delete file.
14225 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14226 * debug/backtracesyms.c: ... here.
14227 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14228 * debug/backtracesymsfd.c: ... here.
14229 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14230 * sysdeps/generic/ifunc-sel.h: ... here.
14232 * sysdeps/unix/i386/start.c: Delete file.
14233 * sysdeps/unix/sparc/start.c: Delete file.
14234 * sysdeps/unix/start.c: Delete file.
14236 * sysdeps/sh/elf/configure.in: Moved to ...
14237 * sysdeps/sh/configure.in: ... here.
14238 * sysdeps/sh/elf/start.S: Moved to ...
14239 * sysdeps/sh/start.S: ... here.
14240 * sysdeps/sh/elf/configure: Delete file.
14242 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14243 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14244 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14245 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14246 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14247 * sysdeps/powerpc/powerpc64/start.S: here.
14248 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14249 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14250 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14251 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14252 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14254 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14255 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14256 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14257 * sysdeps/powerpc/powerpc32/start.S: ... here.
14258 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14259 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14260 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14262 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14263 * sysdeps/powerpc/ifunc-sel.h: ... here.
14264 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14265 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14267 * sysdeps/sparc/elf/configure.in: Moved to ...
14268 * sysdeps/sparc/configure.in: ... here.
14269 * sysdeps/sparc/elf/configure: Delete file.
14270 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14271 * sysdeps/sparc/sparc32/start.S: ... here.
14272 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14273 * sysdeps/sparc/sparc64/start.S: ... here.
14274 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14275 * sysdeps/sparc/sparc32/Makefile: ... this.
14276 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14277 * sysdeps/sparc/sparc64/Makefile: ... this.
14279 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14280 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14281 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14282 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14283 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14284 * sysdeps/s390/s390-32/setjmp.S: ... here.
14285 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14286 * sysdeps/s390/s390-32/configure.in: ... here.
14287 * sysdeps/s390/s390-32/elf/configure: Delete file.
14288 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14289 * sysdeps/s390/s390-32/start.S: ... here.
14291 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14292 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14293 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14294 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14295 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14296 * sysdeps/s390/s390-64/setjmp.S: ... here.
14297 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14298 * sysdeps/s390/s390-64/configure.in: ... here
14299 * sysdeps/s390/s390-64/elf/configure: Delete file.
14300 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14301 * sysdeps/s390/s390-64/start.S: ... here.
14302 * sysdeps/s390/s390-64/elf/configure: Delete.
14304 * configure.in: Remove support for elf directories in sysdeps.
14306 * configure: Regenerated.
14307 * sysdeps/i386/configure: Regenerated.
14308 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14309 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14310 * sysdeps/s390/s390-32/configure: Regenerated.
14311 * sysdeps/s390/s390-64/configure: Regenerated.
14312 * sysdeps/sh/configure: Regenerated.
14313 * sysdeps/sparc/configure: Regenerated.
14314 * sysdeps/x86_64/configure: Regenerated.
14316 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14321 denormal result into account.
14323 2012-03-25 Roland McGrath <roland@hack.frob.com>
14325 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14326 Reported by Allan McRae <allan@archlinux.org>.
14328 2012-03-23 Jeff Law <law@redhat.com>
14330 * nss/getnssent.c (__nss_getent): Fix typo.
14332 2012-03-23 David S. Miller <davem@davemloft.net>
14334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14336 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14338 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14339 to pad to uint64_t for each field.
14340 (dl_tls_index): Replace unsigned long with uint64_t.
14342 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14343 Paul Pluzhnikov <ppluzhnikov@google.com>
14346 * grp/Makefile (otherlibs): Don't set it.
14347 * inet/Makefile (otherlibs): Likewise.
14348 * login/Makefile (otherlibs): Likewise.
14349 * nscd/Makefile (otherlibs): Likewise.
14350 * posix/Makefile (otherlibs): Likewise.
14351 * pwd/Makefile (otherlibs): Likewise.
14352 * rt/Makefile (otherlibs): Likewise.
14353 * sunrpc/Makefile (otherlibs): Likewise.
14354 * nss/Makefile (otherlibs): Likewise.
14355 Add libnss_files to routines and static-only-routines.
14356 ($(objpfx)getent): Remove rule.
14357 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14358 static-only-routines.
14360 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14363 * math/s_cexp.c: Include <float.h>.
14364 (__cexp): Handle exp result overflowing not necessarily
14365 overflowing both real and imaginary parts of result.
14366 * math/s_cexpf.c: Likewise.
14367 * math/s_cexpl.c: Likewise.
14368 * math/libm-test.inc (cexp_test): Add more tests.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14374 * include/link.h (ELFW): New macro.
14375 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14376 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14378 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14380 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14385 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14387 (struct La_x32_retval): Likewise.
14389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14391 * sysdeps/x86_64/preconfigure.in: New file.
14392 * sysdeps/x86_64/preconfigure: New generated file.
14394 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14397 * math/e_exp2l.c: Include <float.h>.
14398 (__ieee754_exp2l): Handle overflow and underflow cases
14399 separately. Only pass fractional part of argument to
14401 * math/libm-test.inc (exp2_test): Add more tests.
14403 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14404 negating x to take absolute value.
14405 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14407 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14408 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14410 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14411 computing low part if x was negated.
14412 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14414 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14416 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14417 la_x32_gnu_pltexit.
14418 (pltexit): Cast int_retval to ptrdiff_t.
14419 * elf/tst-auditmod3b.c: Likewise.
14420 * elf/tst-auditmod4b.c: Likewise.
14421 * elf/tst-auditmod5b.c: Likewise.
14422 * elf/tst-auditmod6b.c: Likewise.
14423 * elf/tst-auditmod6c.c: Likewise.
14424 * elf/tst-auditmod7b.c: Likewise.
14426 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14427 and x32_gnu_pltexit.
14429 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14430 __ELF_NATIVE_CLASS.
14431 (La_x32_regs): New macro.
14432 (La_x32_retval): Likewise.
14433 (la_x32_gnu_pltenter): New function prototype.
14434 (la_x32_gnu_pltexit): Likewise.
14436 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14443 * configure.in (libc_cv_cc_nofma): Check for option to disable
14444 generation of FMA instructions.
14445 * configure: Regenerate.
14446 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14447 * sysdeps/ieee754/dbl-64/Makefile: New file.
14448 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14449 Remove brandred-fma4.
14450 (CFLAGS-brandred-fma4.c): Remove.
14451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14452 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14457 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14459 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14460 LLONG_MAX != LONG_MAX.
14461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14462 (_fitoa_word): Likewise.
14463 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14464 LLONG_MAX != LONG_MAX.
14465 * stdio-common/_itowa.h: Include <_itoa.h>.
14466 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14467 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14468 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14469 only if not defined.
14470 (_ITOA_WORD_TYPE): Likewise.
14471 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14472 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14474 2012-03-21 David S. Miller <davem@davemloft.net>
14476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14478 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14480 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14481 of x86_64 when setting libc_cv_slibdir, libdir and
14483 * sysdeps/unix/sysv/linux/configure: Regenerated.
14485 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14487 * manual/lang.texi (Old Varargs): Remove section.
14488 (How Variadic): Update menu.
14489 (va_start): Do not mention varargs.h.
14491 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14492 Joseph Myers <joseph@codesourcery.com>
14494 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14496 * configure: Regenerated.
14498 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14500 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14501 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14507 * Makefile (files-for-dist): Remove NOTES.
14508 (NOTES): Remove rule.
14509 * README: Don't refer to NOTES.
14510 * manual/creature.texi: Don't include macros.texi.
14511 * manual/intro.texi (creature.texi): Remove comment referring to
14514 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14515 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14516 * configure: Regenerated.
14517 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14518 LIBC_TRY_CC_OPTION.
14519 (libc_cv_as_i686): Likewise.
14520 (libc_cv_cc_avx): Likewise.
14521 (libc_cv_cc_sse2avx): Likewise.
14522 (libc_cv_cc_fma4): Likewise.
14523 (libc_cv_cc_novzeroupper): Likewise.
14524 * sysdeps/i386/configure: Regenerated.
14527 * sysdeps/i386/fpu/s_cexp.S: Remove.
14528 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14529 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14530 * math/libm-test.inc (cexp_test): Add more tests.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14534 2012-03-21 Allan McRae <allan@archlinux.org>
14536 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14538 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14541 * math/w_exp2.c: Do not include <float.h>.
14542 (o_threshold, u_threshold): Remove.
14543 (__exp2): Calculate result before checking finiteness and calling
14545 * math/w_exp2f.c: Likewise.
14546 * math/w_exp2l.c: Likewise.
14547 * math/libm-test.inc (exp2_test): Require overflow exception for
14551 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14552 range of signed 64-bit integers before using fistpll. Remove
14553 checks for whether integers fit in mantissa bits.
14554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14555 the range of signed 32-bit integers before using fistpl. Remove
14556 checks for whether integers fit in mantissa bits.
14557 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14558 (__ieee754_powl): Test for y outside the range of signed 64-bit
14559 integers before using fistpll. Reduce 64-bit values to 63-bit
14561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14562 divide-by-zero is raised for zero to large negative powers.
14563 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14564 (__ieee754_powl): Test for y outside the range of signed 64-bit
14565 integers before using fistpll. Reduce 64-bit values to 63-bit
14567 * math/libm-test.inc (pow_test): Add more tests.
14569 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14571 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14572 <stdio-common/_itoa.h>.
14573 * debug/segfault.c: Likewise.
14574 * elf/dl-cache.c: Likewise.
14575 * elf/dl-minimal.c: Likewise.
14576 * elf/dl-misc.c: Likewise.
14577 * elf/dl-sysdep.c: Likewise.
14578 * elf/dl-version.c: Likewise.
14579 * elf/rtld.c: Likewise.
14580 * hurd/hurdsock.c: Likewise.
14581 * hurd/lookup-retry.c: Likewise.
14582 * malloc/malloc.c: Likewise.
14583 * malloc/mtrace.c: Likewise.
14584 * nscd/nscd_getgr_r.c: Likewise.
14585 * nscd/nscd_getpw_r.c: Likewise.
14586 * nscd/nscd_getserv_r.c: Likewise.
14587 * posix/getopt_init.c: Likewise.
14588 * posix/wordexp.c: Likewise.
14589 * stdio-common/_itoa.c: Likewise.
14590 * stdio-common/printf_fphex.c: Likewise.
14591 * stdio-common/vfprintf.c: Likewise.
14592 * string/_strerror.c: Likewise.
14593 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14594 * sysdeps/i386/i686/hp-timing.h: Likewise.
14595 * sysdeps/mach/_strerror.c: Likewise.
14596 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14597 * sysdeps/mach/hurd/sethostid.c: Likewise.
14598 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14599 * sysdeps/mach/xpg-strerror.c: Likewise.
14600 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14602 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14603 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14604 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14605 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14606 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14607 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14608 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14609 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14610 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14611 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14612 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14613 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14614 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14618 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14619 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14622 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14624 * stdio-common/_itoa.h: Moved to ...
14625 * sysdeps/generic/_itoa.h: Here.
14627 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14629 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14630 instead of "_itoa.h" and "_itowa.h".
14631 * stdio-common/vfprintf.: Likewise.
14633 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14635 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14637 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14638 (__signbit): Likwise.
14639 (llrintf): Likwise.
14642 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14644 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14647 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14649 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14650 OVERFLOW_EXCEPTION_OK.
14651 * math/libm-test.inc ("Philosophy"): Update comment about
14653 (OVERFLOW_EXCEPTION): Define.
14654 (OVERFLOW_EXCEPTION_OK): Likewise.
14655 (INVALID_EXCEPTION_OK): Renumber.
14656 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14657 (IGNORE_ZERO_INF_SIGN): Likewise.
14658 (test_exceptions): Handle FE_OVERFLOW.
14659 (exp10_test): Expect overflow exceptions.
14660 (exp2_test): Likewise.
14661 (expm1_test): Likewise.
14662 (nextafter_test): Likewise.
14663 (pow_test): Likewise.
14664 (scalbn_test): Likewise.
14665 (scalbln_test): Likewise.
14667 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14669 * sysdeps/x86_64/bits/atomic.h
14670 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14672 (atomic_exchange_acq): Likewise.
14673 (__arch_exchange_and_add_body): Likewise.
14674 (__arch_add_body): Likewise.
14675 (atomic_add_negative): Likewise.
14676 (atomic_add_zero): Likewise.
14678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14680 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14681 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14685 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14686 Check __x86_64__ instead of __WORDSIZE.
14688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14690 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14692 2012-03-19 David S. Miller <davem@davemloft.net>
14694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14696 * sysdeps/sparc/fpu/fenv_private.h: New file.
14697 * sysdeps/sparc/fpu/math_private.h: Use it.
14698 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14700 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14701 (libc_feholdexcept_setroundl): Remove.
14702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14704 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14705 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14709 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14710 int64_t instead of long int.
14711 (INSERT_WORDS64): Likwise.
14713 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14716 _Unwind_GetCFA return to _Unwind_Ptr first.
14718 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14721 * math/s_clog.c: Include <float.h>.
14722 (__clog): Scale large or subnormal inputs.
14723 * math/s_clogf.c: Likewise.
14724 * math/s_clogl.c: Likewise.
14725 * math/s_clog10.c: Include <float.h>.
14726 (M_LOG10_2): Define.
14727 (__clog10): Scale large or subnormal inputs.
14728 * math/s_clog10f.c: Likewise.
14729 * math/s_clog10l.c: Likewise.
14730 * math/libm-test.inc (clog_test): Add more tests.
14731 (clog10_test): Likewise.
14732 * sysdeps/i386/fpu/libm-test-ulps: Update.
14733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14736 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14738 * math/libm-test.inc (atan2_test): Add another test.
14740 * Makerules (common-objdir-compile): Remove.
14741 * sysdeps/unix/Makefile (config-generated): Do not add
14742 $(unix-generated) to variable.
14743 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14744 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14746 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14748 [generic bits/local_lim.h] (before-compile): Do not append to
14750 [generic bits/local_lim.h] (common-generated): Likewise.
14751 [generic sys/param.h] (before-compile): Do not append to variable.
14752 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14753 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14754 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14757 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14758 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14759 [generic sys/param.h] ($(addprefix
14760 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14761 [generic sys/param.h] (common-generated): Do not append to
14763 [generic sys/param.h] (sysdep_headers): Likewise.
14764 [generic bits/errno.h] (before-compile): Do not append to
14766 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14768 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14769 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14770 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14771 [generic bits/errno.h] (common-generated): Do not append to
14773 [generic bits/ioctls.h] (before-compile): Do not append to
14775 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14777 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14778 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14779 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14781 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14782 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14783 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14784 [generic bits/ioctls.h] (common-generated): Do not append to
14786 [generic sys/syscall.h] (syscall.h): Remove variable.
14787 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14789 [generic sys/syscall.h] (before-compile): Do not append to
14791 [generic sys/syscall.h] (common-generated): Likewise.
14792 * sysdeps/unix/errnos-tmpl.c: Remove file.
14793 * sysdeps/unix/errnos.awk: Likewise.
14794 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14795 * sysdeps/unix/ioctls.awk: Likewise.
14796 * sysdeps/unix/mk-local_lim.c: Likewise.
14797 * sysdeps/unix/snarf-ioctls: Likewise.
14799 2012-03-19 Richard Henderson <rth@twiddle.net>
14801 * sysdeps/i386/fpu/fenv_private.h: New file.
14802 * sysdeps/i386/fpu/math_private.h: Use it.
14803 (math_opt_barrier, math_force_eval): Remove.
14804 (libc_feholdexcept_setround_53bit): Remove.
14805 (libc_feupdateenv_53bit): Remove.
14806 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14807 (math_opt_barrier, math_force_eval): Remove.
14808 (libc_feholdexcept): Remove.
14809 (libc_feholdexcept_setround): Remove.
14810 (libc_fetestexcept, libc_fesetenv): Remove.
14811 (libc_feupdateenv_test): Remove.
14812 (libc_feupdateenv, libc_feholdsetround): Remove.
14813 (libc_feresetround): Remove.
14815 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14816 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14818 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14819 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14820 (libc_feupdateenv_testl): New.
14821 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14822 (libc_feupdateenv_testf): New.
14823 (libc_feupdateenv): Use libc_feupdateenv_test.
14824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14825 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14827 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14828 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14829 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14830 (libc_feresetround_noex): New.
14831 (libc_feresetround_noexf): New.
14832 (libc_feresetround_noexl): New.
14833 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14834 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14835 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14836 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14841 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14842 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14843 SET_RESTORE_ROUND_NOEX.
14844 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14845 SET_RESTORE_ROUND_NOEXF.
14846 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14847 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14848 (libc_feholdsetroundf): New.
14849 (libc_feresetround, libc_feresetroundf): New.
14851 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14852 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14853 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14855 * sysdeps/generic/math_private.h: Include <fenv.h>.
14856 (default_libc_feholdexcept): New.
14857 (default_libc_feholdexcept_setround): New.
14858 (default_libc_fesetenv, default_libc_feupdateenv): New.
14859 (libc_feholdexcept): Only define if undefined.
14860 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14861 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14862 (libc_feholdexcept_setroundl): Likewise.
14863 (libc_feholdexcept_setround_53bit): Likewise.
14864 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14865 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14866 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14867 (libc_feupdateenv_53bit): Likewise.
14868 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14869 (libc_feholdexcept): Convert from macro to inline function.
14870 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14871 (libc_fesetenv, libc_feupdateenv): Likewise.
14873 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14874 not previously defined.
14875 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14876 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14877 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14878 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14879 * sysdeps/ieee754/flt-32/math_private.h: New file.
14880 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14881 math_private.h below SET_FLOAT_WORD.
14882 (__isnan, __isinf_ns, __finite): Remove.
14883 (__isnanf, __isinf_nsf, __finitef): Remove.
14885 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14889 2012-03-17 David S. Miller <davem@davemloft.net>
14892 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14895 2012-03-16 David S. Miller <davem@davemloft.net>
14897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14903 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14904 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14905 sysdep_routines when subdir is sysvipc.
14906 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14907 __getshmlba helper.
14909 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14911 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14919 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14920 (__lround): Renamed to ...
14921 (__llround): This. Replace long int with long long int.
14922 Define lround functions as aliases of llround functions.
14923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14925 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14927 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14928 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14929 adresses to uintptr_t. Replace "long int" and "unsigned long
14930 int" with "greg_t" on va_arg.
14932 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14934 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14935 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14937 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14938 Move e_machine check before EI_CLASS check. Handle x32
14939 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14940 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14941 SKIP_EM_IA_64 and include
14942 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14944 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14945 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14946 (add_system_dir): New macro.
14948 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14949 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14951 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14962 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14964 * math/w_j0f.c (j0f): Likewise.
14966 * math/w_j0l.c (__j0l): Likewise.
14968 * math/w_j1.c (j1): Likewise.
14970 * math/w_j1f.c (j1f): Likewise.
14972 * math/w_j1l.c (__j1l): Likewise.
14974 * math/w_jn.c (jn): Likewise.
14976 * math/w_jnf.c (jnf): Likewise.
14978 * math/w_jnl.c (__jnl): Likewise.
14980 * math/libm-test.inc (j0_test): Add more tests.
14981 (j1_test): Likewise.
14982 (jn_test): Likewise. Add trailing semicolon to existing test.
14983 (y0_test): Likewise.
14984 (y1_test): Likewise.
14985 * sysdeps/i386/fpu/libm-test-ulps: Update.
14986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14990 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14991 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14992 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14993 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14994 (__tanl): Set errno for infinite argument.
14995 * sysdeps/i386/fpu/mptan.c: Remove.
14996 * sysdeps/i386/fpu/s_tan.S: Likewise.
14997 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14998 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14999 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15000 * math/libm-test.inc (tan_test): Add more tests and enable more
15001 tests for double and long double.
15002 * sysdeps/i386/fpu/libm-test-ulps: Update.
15003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15005 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15007 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15008 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15010 2012-03-16 Roland McGrath <roland@hack.frob.com>
15012 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15013 * configure.in: Use it for both main tree and add-ons.
15014 * configure: Regenerated.
15016 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15018 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15020 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15022 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15026 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15027 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15032 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15034 != 0 for prec == 2.
15035 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15036 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15037 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15038 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15039 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15040 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15041 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15042 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15043 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15044 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15045 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15046 * math/libm-test.inc (cos_test): Add more tests and enable more
15047 tests for long double.
15048 (sin_test): Likewise.
15049 (sincos_test): Likewise.
15050 * sysdeps/i386/fpu/libm-test-ulps: Update.
15051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15053 2012-03-16 David S. Miller <davem@davemloft.net>
15055 * sysdeps/sparc/fpu/math_private.h: New file.
15057 2012-03-15 David S. Miller <davem@davemloft.net>
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15073 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15074 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15076 * sysdeps/sparc/sparc-ifunc.h: New file.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15103 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15122 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15124 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15128 2012-03-15 Andreas Jaeger <aj@suse.de>
15131 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15132 ieee754/flt-32 implementation for sin, cos and sincos.
15133 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15134 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15135 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15136 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15137 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15138 ieee754/flt-32 implementation for tan.
15140 * math/libm-test.inc (cos_test): Enable some large input tests for
15142 (sin_test): Likewise.
15143 (sincos_test): Likewise.
15144 (tan_test): Add tests for large input.
15146 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 2012-03-15 Andreas Jaeger <aj@suse.de>
15151 * math/libm-test.inc (cos_test): Add more test cases.
15152 (sin_test): Likewise.
15153 (sincos_test): Likewise.
15155 2012-03-15 Andreas Jaeger <aj@suse.de>
15158 * math/libm-test.inc (cos_test): Add a test case for large input
15160 (sin_test): Likewise.
15161 (sincos_test): Likewise.
15163 2012-03-15 Andreas Jaeger <aj@suse.de>,
15164 Joseph Myers <joseph@codesourcery.com>
15167 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15168 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15169 * sysdeps/i386/fpu/branred.c: Likewise.
15170 * sysdeps/i386/fpu/dosincos.c: Likewise.
15171 * sysdeps/i386/fpu/mpa.c: Likewise.
15172 * sysdeps/i386/fpu/s_cos.S: Likewise.
15173 * sysdeps/i386/fpu/s_sin.S: Likewise.
15174 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15175 * sysdeps/i386/fpu/sincos32.c: Likewise.
15177 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15179 (libc_feupdateenv_53bit): Define.
15180 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15182 (libc_feupdateenv_53bit): Define.
15184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15185 53 bit (without extend i386 double precision).
15187 * math/libm-test.inc (sincos_test): Add tests for large input.
15191 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15193 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15197 2012-03-15 David S. Miller <davem@davemloft.net>
15199 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15200 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15201 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15202 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15227 fmin/fmax sysdep routines.
15228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15230 2012-03-14 David S. Miller <davem@davemloft.net>
15232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15304 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15309 * sysdeps/sparc/configure.in: New file.
15310 * sysdeps/sparc/configure: Generate.
15311 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15312 * configure: Regenerate.
15313 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15314 * config.make.in (have-as-vis3): New.
15315 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15316 available use -Av9d instead of -Av9a.
15317 * sysdeps/sparc/sparc64/Makefile: Likewise.
15318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15333 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15334 fzeros/fnegs to load 0x80000000 into a float register instead of
15336 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15338 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15342 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15343 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15344 ($(inst_includedir)/bits/syscall.h): Remove rule.
15345 ($(objpfx)bits/syscall.d): Include instead of
15346 $(objpfx)syscall-list.d.
15347 (generated): Change syscall-list.h and syscall-list.d to
15348 bits/syscall.h and bits/syscall.d.
15350 2012-03-14 Roland McGrath <roland@hack.frob.com>
15353 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15355 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15358 * math/s_csqrt.c: Include <float.h>.
15359 (__csqrt): Scale large or subnormal inputs.
15360 * math/s_csqrtf.c: Likewise.
15361 * math/s_csqrtl.c: Likewise.
15362 * math/libm-test.inc (csqrt_test): Add more tests.
15363 * sysdeps/i386/fpu/libm-test-ulps: Update.
15364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15367 * math/libm-test.inc (hypot_test): Add more tests.
15369 2012-03-13 David S. Miller <davem@davemloft.net>
15372 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15373 double-precision for the calculation instead of scaling.
15375 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15377 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15378 manipulate bits before adding and subtracting TWO52[sx].
15379 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15384 2012-03-13 David S. Miller <davem@davemloft.net>
15386 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15387 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15389 rtld-global-offsets.h
15390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15392 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15397 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15398 'err' in the ifdef scope in which it is actually used.
15400 * nss/nss_db/db-init.c: Include string.h
15402 2012-03-12 David S. Miller <davem@davemloft.net>
15404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15405 masking out of the most significant byte of random value used.
15406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15407 Fix coding style in previous change.
15409 * sysdeps/unix/sysv/linux/kernel-features.h
15410 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15411 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15413 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15416 2012-03-11 David S. Miller <davem@davemloft.net>
15418 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15419 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15420 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15421 for 'resultvar' otherwise things get truncated on 64-bit.
15423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15424 Fix masking out of the most significant byte of random value used.
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15428 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15432 2012-03-09 David S. Miller <davem@davemloft.net>
15434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15435 variables with appropriate CPP guards.
15436 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15437 frame pointer, not the stack pointer. Correct layout comments. Fix test
15438 on resulting framesize and the management of the outregs buffer for pltexit.
15439 Preserve floating point return values across _dl_call_pltexit call.
15440 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15441 framesize and the management of the outregs buffer for pltexit.
15442 Preserve floating point return values across _dl_call_pltexit
15444 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15445 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15446 (print_exit): Fix format string for return register value.
15448 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15450 * sunrpc/Makefile (others): Add rpcgen.
15451 ($(objpfx)rpcgen): Remove special build rule and dependency on
15453 * sunrpc/rpcgen.c: New file.
15455 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15458 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15459 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15460 * sysdeps/i386/crti.S: Likewise.
15461 * sysdeps/i386/crtn.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15464 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15465 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15466 * sysdeps/sh/crti.S: Likewise.
15467 * sysdeps/sh/crtn.S: Likewise.
15468 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15471 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15473 * locale/programs/locfile-kw.gperf: Likewise.
15474 * locale/programs/charmap-kw.h: Regenerated.
15475 * locale/programs/locfile-kw.h: Likewise.
15478 * intl/plural.y: Replace FSF snail mail address with URL.
15479 * intl/plural.c: Regenerated.
15481 2012-03-09 Richard Henderson <rth@twiddle.net>
15483 * include/math_private.h: Remove file.
15484 * math/math_private.h: Move file ...
15485 * sysdeps/generic/math_private.h: ... here.
15487 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15488 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15489 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15491 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15492 and <math_private.h>.
15493 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15494 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15495 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15496 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15497 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15559 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15560 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15561 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15562 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15563 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15564 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15565 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15581 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15582 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15583 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15584 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15586 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15587 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15597 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15598 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15599 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15600 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15603 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15604 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15605 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15606 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15607 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15608 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15614 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15615 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15616 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15617 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15618 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15620 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15621 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15622 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15623 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15624 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15626 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15627 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15628 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15629 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15630 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15631 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15632 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15633 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15634 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15635 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15636 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15637 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15638 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15639 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15640 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15641 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15642 * sysdeps/ieee754/k_standard.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15647 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15803 * sysdeps/ieee754/s_lib_version.c: Likewise.
15804 * sysdeps/ieee754/s_matherr.c: Likewise.
15805 * sysdeps/ieee754/s_signgam.c: Likewise.
15806 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15807 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15808 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15809 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15810 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15811 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15812 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15813 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15814 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15815 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15816 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15817 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15818 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15819 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15820 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15821 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15828 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15830 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15831 * sunrpc/rpc_main.c: Likewise.
15832 * sunrpc/rpc_svcout.c: Likewise.
15834 2012-03-09 David S. Miller <davem@davemloft.net>
15836 * include/math_private.h: New file.
15838 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15840 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15841 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15842 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15843 from <bits/socket_type.h>.
15844 (enum __socket_type): Don't define here.
15845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15847 bits/socket_type.h.
15850 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15851 checking __USE_GNU.
15853 * Makerules ($(inst_includedir)/%.h): New rule.
15854 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15855 (install-others): Remove variable setting.
15856 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15858 2012-03-08 Richard Henderson <rth@twiddle.net>
15860 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15861 from macro to inline function; merge with the
15862 !__LIBC_INTERNAL_MATH_INLINES version.
15863 (__ieee754_sqrtf): Likewise.
15865 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15866 to inline function.
15867 (__rintf, __floor, __floorf): Likewise.
15869 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15870 macro to inline function.
15871 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15874 not <math/math_private.h>.
15876 2012-03-08 David S. Miller <davem@davemloft.net>
15878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15880 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15882 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15884 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15886 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15887 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15889 2012-03-08 Ulrich Drepper <drepper@gmail.com>
15891 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15892 be defined individually, they must be defined as a block. Define
15893 S for printing a string instead of hidint the different by using a
15894 macro for adding the 'l'.
15895 * stdio-common/tst-fphex-wide.c: Adjust.
15897 2012-03-07 Marek Polacek <polacek@redhat.com>
15899 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15901 2012-03-08 Marek Polacek <polacek@redhat.com>
15904 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15905 * stdio-common/tst-fphex.c: Define a few macros to make the
15906 test reusable. Use them.
15907 * stdio-common/tst-fphex-wide.c: New file.
15909 2012-03-08 Joseph Myers <joseph@codesourcery.com>
15912 * manual/macros.texi (gnusystems): New macro.
15913 (nongnusystems): Likewise.
15914 (gnulinuxhurdsystems): Likewise.
15915 (gnuhurdsystems): Likewise..
15916 (gnulinuxsystems): Likewise.
15917 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15918 variants of the GNU system, not "GNU system".
15919 * manual/conf.texi: Likewise.
15920 * manual/errno.texi: Likewise. Update example of errno macro
15922 * manual/filesys.texi: Likewise.
15923 (getumask): Document as specific to GNU/Hurd.
15924 * manual/install.texi: Likewise. Reword some references to
15926 * manual/intro.texi: Likewise.
15927 * manual/io.texi: Likewise.
15928 (File Name Portability): Detail which constraints are inapplicable
15929 to all GNU systems and which are only inapplicable to GNU/Hurd.
15930 * manual/job.texi: Likewise.
15931 * manual/llio.texi: Likewise.
15932 (O_NOCTTY): Document as present on GNU/Linux.
15933 * manual/maint.texi: Likewise.
15934 * manual/memory.texi: Likewise.
15935 * manual/pattern.texi: Likewise.
15936 * manual/pipe.texi: Likewise.
15937 * manual/process.texi: Likewise.
15938 * manual/resource.texi: Likewise.
15939 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15941 * manual/setjmp.texi: Likewise.
15942 * manual/signal.texi: Likewise.
15943 * manual/startup.texi: Likewise.
15944 * manual/stdio.texi: Likewise.
15945 * manual/terminal.texi: Likewise.
15946 (ONLCR): Document as POSIX.
15947 (OXTABS): Document availability on GNU/Linux as XTABS.
15948 (ONOEOT): Document availability separately from other bits.
15949 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15950 * manual/time.texi: Likewise.
15951 * manual/users.texi: Likewise.
15952 * INSTALL: Regenerated.
15953 * sysdeps/gnu/errlist.c: Regenerated.
15955 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15956 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15957 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15959 * configure: Regenerated.
15961 2012-03-07 Joseph Myers <joseph@codesourcery.com>
15963 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15964 default includes instead of AC_HEADER_CHECK.
15965 * sysdeps/i386/configure: Regenerated.
15968 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15969 * math/s_cacoshf.c (__cacoshf): Likewise.
15970 * math/s_cacoshl.c (__cacoshl): Likewise.
15971 * math/s_casinh.c (__casinh): Set signs of result from argument.
15972 * math/s_casinhf.c (__casinhf): Likewise.
15973 * math/s_casinhl.c (__casinhl): Likewise.
15974 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15975 (casinh_test): Add more tests.
15976 * sysdeps/i386/fpu/libm-test-ulps: Update.
15977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15979 2012-03-07 Ulrich Drepper <drepper@gmail.com>
15981 * po/zh_TW.po: Update from translation team.
15983 * login/Makefile (distribute): Remove variable.
15984 * catgets/Makefile: Likewise.
15985 * mach/Makefile: Likewise.
15986 * malloc/Makefile: Likewise.
15987 * misc/Makefile: Likewise.
15988 * iconv/Makefile: Likewise.
15989 * nscd/Makefile: Likewise.
15990 * hurd/Makefile: Likewise.
15991 * manual/Makefile: Likewise.
15992 * locale/Makefile: Likewise.
15993 * intl/Makefile: Likewise.
15994 * conform/Makefile: Likewise.
15995 * nss/Makefile: Likewise.
15996 * time/Makefile: Likewise.
15997 * soft-fp/Makefile: Likewise.
15998 * dirent/Makefile: Likewise.
15999 * gmon/Makefile: Likewise.
16000 * po/Makefile: Likewise.
16001 * rt/Makefile: Likewise.
16002 * socket/Makefile: Likewise.
16003 * math/Makefile: Likewise.
16004 * signal/Makefile: Likewise.
16005 * debug/Makefile: Likewise.
16006 * elf/Makefile: Likewise.
16007 * timezone/Makefile: Likewise.
16008 * stdlib/Makefile: Likewise.
16009 * iconvdata/Makefile: Likewise.
16010 * sunrpc/Makefile: Likewise.
16011 * io/Makefile: Likewise.
16012 * argp/Makefile: Likewise.
16013 * inet/Makefile: Likewise.
16014 * hesiod/Makefile: Likewise.
16015 * grp/Makefile: Likewise.
16016 * csu/Makefile: Likewise.
16017 * wctype/Makefile: Likewise.
16018 * crypt/Makefile: Likewise.
16019 * libio/Makefile: Likewise.
16020 * string/Makefile: Likewise.
16021 * nis/Makefile: Likewise.
16022 * resolv/Makefile: Likewise.
16023 * stdio-common/Makefile: Likewise.
16024 * wcsmbs/Makefile: Likewise.
16025 * dlfcn/Makefile: Likewise.
16026 * posix/Makefile: Likewise.
16029 * timezone/Makefile: Don't install timezone files, just the programs
16032 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16034 * nss/databases.def: Add missing gshadow entry.
16036 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16038 2012-03-06 Marek Polacek <polacek@redhat.com>
16041 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16042 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16043 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16044 * stdio-common/tst-long-dbl-fphex.c: New file.
16046 2012-03-06 David S. Miller <davem@davemloft.net>
16048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16049 (set_obp_int): New function.
16050 (get_obp_int): New function.
16051 (__get_clockfreq_via_dev_openprom): Likewise.
16052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16053 Avoid unused variable warnings on 'val' and use builtin_expect.
16054 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16056 (INLINE_CLONE_SYSCALL): Likewise.
16058 2012-03-05 David S. Miller <davem@davemloft.net>
16060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16062 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16067 only for |x| >= 40.
16068 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16070 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16073 Replace gettimeofday with __vdso_gettimeofday.
16075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16076 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16077 __vdso_clock_gettime and __vdso_getcpu.
16079 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16080 time with __vdso_time.
16082 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16084 * manual/lang.texi (size_t): Note types to which size_t may be
16085 equivalent with the GNU C Library, but do not describe when
16086 differences between them are significant.
16088 2012-03-05 Andreas Jaeger <aj@suse.de>
16090 * sysdeps/i386/fpu/libm-test-ulps: Update.
16092 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16095 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16096 (__ieee754_pow): Save and restore rounding mode and use
16097 round-to-nearest for main computations.
16098 * math/libm-test.inc (pow_test_tonearest): New function.
16099 (pow_test_towardzero): Likewise.
16100 (pow_test_downward): Likewise.
16101 (pow_test_upward): Likewise.
16102 (main): Call the new functions.
16103 * sysdeps/i386/fpu/libm-test-ulps: Update.
16104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107 * math/libm-test.inc (cosh_test_tonearest): New function.
16108 (cosh_test_towardzero): Likewise.
16109 (cosh_test_downward): Likewise.
16110 (cosh_test_upward): Likewise.
16111 (sinh_test_tonearest): Likewise.
16112 (sinh_test_towardzero): Likewise.
16113 (sinh_test_downward): Likewise.
16114 (sinh_test_upward): Likewise.
16115 (main): Call the new functions.
16116 * sysdeps/i386/fpu/libm-test-ulps: Update.
16117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16119 2012-03-05 Tom de Vries <tom@codesourcery.com>
16121 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16122 default stack guard is set in last bytes.
16123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16125 2012-03-05 Kees Cook <keescook@chromium.org>
16127 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16130 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16131 possibly allocate from heap instead of stack.
16132 * stdio-common/bug-vfprintf-nargs.c: New file.
16133 * stdio-common/Makefile (tests): Add nargs overflow test.
16135 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16139 2012-03-03 Marek Polacek <polacek@redhat.com>
16141 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16142 * math/math_private.h: Likewise.
16143 * stdlib/tst-strtod.c: Likewise.
16144 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16145 * sysdeps/x86_64/bits/atomic.h: Likewise.
16147 2012-03-02 David S. Miller <davem@davemloft.net>
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16153 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16154 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16155 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16156 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16158 2012-03-02 Roland McGrath <roland@hack.frob.com>
16161 * manual/examples/README: New file, says the example source files
16162 can be used under GPL>=2.
16163 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16164 line containing just "*/".
16165 * manual/examples/add.c: Add copyright header (GPL>=2).
16166 * manual/examples/argp-ex1.c: Likewise.
16167 * manual/examples/argp-ex2.c: Likewise.
16168 * manual/examples/argp-ex3.c: Likewise.
16169 * manual/examples/argp-ex4.c: Likewise.
16170 * manual/examples/atexit.c: Likewise.
16171 * manual/examples/db.c: Likewise.
16172 * manual/examples/dir.c: Likewise.
16173 * manual/examples/dir2.c: Likewise.
16174 * manual/examples/execinfo.c: Likewise.
16175 * manual/examples/filecli.c: Likewise.
16176 * manual/examples/filesrv.c: Likewise.
16177 * manual/examples/fmtmsgexpl.c: Likewise.
16178 * manual/examples/genpass.c: Likewise.
16179 * manual/examples/inetcli.c: Likewise.
16180 * manual/examples/inetsrv.c: Likewise.
16181 * manual/examples/isockad.c: Likewise.
16182 * manual/examples/longopt.c: Likewise.
16183 * manual/examples/memopen.c: Likewise.
16184 * manual/examples/memstrm.c: Likewise.
16185 * manual/examples/mkfsock.c: Likewise.
16186 * manual/examples/mkisock.c: Likewise.
16187 * manual/examples/mygetpass.c: Likewise.
16188 * manual/examples/pipe.c: Likewise.
16189 * manual/examples/popen.c: Likewise.
16190 * manual/examples/rprintf.c: Likewise.
16191 * manual/examples/search.c: Likewise.
16192 * manual/examples/select.c: Likewise.
16193 * manual/examples/setjmp.c: Likewise.
16194 * manual/examples/sigh1.c: Likewise.
16195 * manual/examples/sigusr.c: Likewise.
16196 * manual/examples/stpcpy.c: Likewise.
16197 * manual/examples/strdupa.c: Likewise.
16198 * manual/examples/strftim.c: Likewise.
16199 * manual/examples/strncat.c: Likewise.
16200 * manual/examples/subopt.c: Likewise.
16201 * manual/examples/swapcontext.c: Likewise.
16202 * manual/examples/termios.c: Likewise.
16203 * manual/examples/testopt.c: Likewise.
16204 * manual/examples/testpass.c: Likewise.
16205 * manual/examples/timeval_subtract.c: Likewise.
16208 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16210 * manual/timeval_subtract.c.texi: ... here, new file.
16212 2012-03-02 David S. Miller <davem@davemloft.net>
16214 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16216 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16219 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16220 (__sin): Save and restore rounding mode and use round-to-nearest
16221 for all computations.
16222 (__cos): Save and restore rounding mode and use round-to-nearest
16223 for all computations.
16224 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16226 (tan): Save and restore rounding mode and use round-to-nearest for
16228 * math/libm-test.inc (cos_test_tonearest): New function.
16229 (cos_test_towardzero): Likewise.
16230 (cos_test_downward): Likewise.
16231 (cos_test_upward): Likewise.
16232 (sin_test_tonearest): Likewise.
16233 (sin_test_towardzero): Likewise.
16234 (sin_test_downward): Likewise.
16235 (sin_test_upward): Likewise.
16236 (tan_test_tonearest): Likewise.
16237 (tan_test_towardzero): Likewise.
16238 (tan_test_downward): Likewise.
16239 (tan_test_upward): Likewise.
16240 (main): Call the new functions.
16241 * sysdeps/i386/fpu/libm-test-ulps: Update.
16242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16246 small n, then large n, before computing and testing k+n.
16247 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16252 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16253 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16260 * math/libm-test.inc (scalbn_test): Add more tests.
16261 (scalbln_test): Likewise.
16263 * manual/filesys.texi (mode_t): Describe constraints on size and
16264 signedness, not exact equivalence to a particular type.
16266 (ino64_t): Likewise.
16268 (nlink_t): Likewise.
16269 (blkcnt_t): Likewise.
16270 (blkcnt64_t): Likewise.
16271 * manual/llio.texi (off_t): Likewise.
16274 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16275 (__ieee754_exp): Save and restore rounding mode and use
16276 round-to-nearest for all computations.
16277 * math/libm-test.inc (exp_test_tonearest): New function.
16278 (exp_test_towardzero): Likewise.
16279 (exp_test_downward): Likewise.
16280 (exp_test_upward): Likewise.
16281 (main): Call the new functions.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16285 2012-03-01 Chris Demetriou <cgd@google.com>
16287 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16288 have predictable order.
16290 2012-03-01 David S. Miller <davem@davemloft.net>
16292 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16294 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16297 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16299 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16300 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16301 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16311 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16312 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16315 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16318 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16319 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16322 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16323 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16328 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16329 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16331 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16332 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16333 * sysdeps/sparc/elf/configure: Regenerated.
16335 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16337 * configure.in (AS, LD): Require binutils 2.20 or later.
16338 * configure: Regenerated.
16339 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16340 as required minimum version.
16341 * INSTALL: Regenerated.
16345 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16346 before squaring exponent.
16347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16348 bottom long double and 27 bits of top long double before squaring
16350 * math/libm-test.inc (erfc_test): Add more tests.
16351 * sysdeps/i386/fpu/libm-test-ulps: Update.
16352 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16355 2012-03-01 Kai Tietz <ktietz@redhat.com>
16357 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16358 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16359 containing bit-fields.
16360 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16361 * soft-fp/single.h (_FP_UNION_S): Likewise.
16362 * soft-fp/double.h (_FP_UNION_D): Likewise.
16364 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16367 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16368 not include ../strcmp.S.
16369 [USE_AS_STRNCASECMP_L]: Likewise.
16370 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16371 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16372 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16373 (__strncasecmp_l_ia32): Define as alias to
16374 __strncasecmp_l_nonascii.
16377 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16378 * sysdeps/i386/fpu/libm-test-ulps: Update.
16379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16381 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16384 2012-02-29 Jeff Law <law@redhat.com>
16386 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16387 out of bounds read.
16389 2012-02-29 Marek Polacek <polacek@redhat.com>
16392 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16393 * elf/Makefile: Add rules to run tst-unused-dep.out.
16395 2012-02-28 David S. Miller <davem@davemloft.net>
16397 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16398 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16401 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16402 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16404 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16406 * math/libm-test.inc (llround_test): Move one test from
16407 lround_test. Use TEST_f_L in moved test.
16408 (lround_test): Move misplaced test to llround_test. Add testcase
16411 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16413 * sysdeps/x86_64/fpu/e_expf.S: New file.
16414 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16416 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16419 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16420 of remain_len that may cause incomplete multi-byte character and
16422 * posix/bug-regex33.c: New file.
16423 * posix/Makefile (tests): Add bug-regex33.
16425 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16427 * manual/macros.texi: New file.
16428 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16429 * manual/libc.texinfo: Include macros.texi.
16430 * manual/creatute.texi: Likewise.
16431 * manual/install.texi: Likewise.
16432 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16433 @glibcadj{} in references to the GNU C Library.
16434 * manual/charset.texi: Likewise.
16435 * manual/conf.texi: Likewise.
16436 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16437 when not using those macros.
16438 * manual/creature.texi: Likewise.
16439 * manual/crypt.texi: Likewise.
16440 * manual/errno.texi: Likewise.
16441 * manual/filesys.texi: Likewise.
16442 * manual/header.texi: Likewise.
16443 * manual/install.texi: Likewise.
16444 * manual/intro.texi: Likewise.
16445 * manual/io.texi: Likewise.
16446 * manual/job.texi: Likewise.
16447 * manual/lang.texi: Likewise.
16448 * manual/libc.texiinfo: Likewise.
16449 * manual/llio.texi: Likewise.
16450 * manual/locale.texi: Likewise.
16451 * manual/maint.texi: Likewise.
16452 * manual/math.texi: Likewise.
16453 * manual/memory.texi: Likewise.
16454 * manual/message.texi: Likewise.
16455 * manual/nss.texi: Likewise.
16456 * manual/pattern.texi: Likewise.
16457 * manual/process.texi: Likewise.
16458 * manual/resource.texi: Likewise.
16459 * manual/search.texi: Likewise.
16460 * manual/setjmp.texi: Likewise.
16461 * manual/signal.texi: Likewise.
16462 * manual/socket.texi: Likewise.
16463 * manual/startup.texi: Likewise.
16464 * manual/stdio.texi: Likewise.
16465 * manual/string.texi: Likewise.
16466 * manual/sysinfo.texi: Likewise.
16467 * manual/syslog.texi: Likewise.
16468 * manual/terminal.texi: Likewise.
16469 * manual/time.texi: Likewise.
16470 * manual/users.texi: Likewise.
16471 * INSTALL: Regenerated.
16472 * NOTES: Regenerated.
16473 * sysdeps/gnu/errlist.c: Regenerated.
16475 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16477 * include/dirent.h: Include <dirstream.h> before
16480 2012-02-28 David S. Miller <davem@davemloft.net>
16482 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16483 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16484 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16485 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16487 2012-02-27 David S. Miller <davem@davemloft.net>
16489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16491 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16492 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16495 frame pointer instead of stack pointer relative arg slot.
16496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16497 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16498 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16500 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16503 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16505 2012-02-27 David S. Miller <davem@davemloft.net>
16507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16511 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16512 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16513 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16514 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16516 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16518 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16519 later. Allow versions 5-9.
16520 * configure: Regenerated.
16521 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16522 required minimum version and 4.6 as recommended version. Do not
16523 mention bugs in GCC 2.7 and 2.8.
16524 * INSTALL: Regenerated.
16526 2012-02-27 David S. Miller <davem@davemloft.net>
16528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16534 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16535 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16538 manipulate bits before adding and subtracting TWO112[sx].
16539 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16541 2012-02-27 Roland McGrath <roland@hack.frob.com>
16544 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16545 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16546 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16547 being in POSIX, because they are in 1003.1-2008.
16549 * rt/tst-aio.c: Include <fcntl.h>.
16550 * rt/tst-aio7.c: Likewise.
16551 * rt/tst-aio64.c: Likewise.
16553 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16555 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16557 * manual/install.texi (--with-headers): Describe headers as
16558 interface headers, not private headers.
16559 (Specific advice for GNU/Linux systems): Describe use of headers
16560 from "make headers_install", not private headers from older
16562 * INSTALL: Regenerated.
16563 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16565 * sysdeps/unix/sysv/linux/configure: Regenerated.
16567 * manual/llio.texi (fclean): Remove documentation.
16569 * manual/Makefile (libc-texi-generated): New variable. Include
16571 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16572 $(libc-texi-generated), not duplicated list of files.
16573 (version.texi, stamp-version): New rules.
16574 (realclean): Remove $(libc-texi-generated), not individual files
16575 from that list. Do not remove dir-add.texinfo.
16576 * manual/libc.texinfo: Comment out uses of edition numbers and
16577 references to printed manual. Remove last-updated dates.
16578 (EDITION): Comment out.
16580 (VERSION, UPDATED): Remove.
16581 (version.texi): Include.
16583 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16585 * sysdeps/posix/spawni.c: Include <signal.h>.
16586 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16587 * sysdeps/pthread/aio_fsync.c: Likewise.
16589 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16591 * conform/Makefile (tests): Run only when not cross-compiling and
16592 when fast-check is not defined.
16594 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16595 * conform/data/limits.h-data: Fixes for POSIX2008.
16596 * conform/run-conformtest.sh: Run all tests.
16597 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16599 * include/bits/dlfcn.h: Likewise.
16600 * include/langinfo.h: Likewise.
16601 * include/monetary.h: Likewise.
16602 * include/sys/poll.h: Likewise.
16604 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16606 * posix/spawn.h: Define __need_sigset_t.
16607 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16608 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16609 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16610 to get sigevent_t only.
16611 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16612 only for __USE_GNU.
16613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16614 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16615 process_vm_writev only for __USE_GNU.
16616 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16618 * conform/Makefile: For now ignore errors from run-conformtest.
16619 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16620 POSIX to avoid namespace pollution. Don't prepend headers.
16621 * conform/data/aio.h-data: Fixes for POSIX testing.
16622 * conform/data/fcntl.h-data: Likewise.
16623 * conform/data/glob.h-data: Likewise.
16624 * conform/data/grp.h-data: Likewise.
16625 * conform/data/pthread.h-data: Likewise.
16626 * conform/data/pwd.h-data: Likewise.
16627 * conform/data/signal.h-data: Likewise.
16628 * conform/data/spawn.h-data: Likewise.
16629 * conform/data/stdio.h-data: Likewise.
16630 * conform/data/stdlib.h-data: Likewise.
16631 * conform/data/stropts.h-data: Likewise.
16632 * conform/data/sys/mman.h-data: Likewise.
16633 * conform/data/sys/stat.h-data: Likewise.
16634 * conform/data/sys/types.h-data: Likewise.
16635 * conform/data/sys/wait.h-data: Likewise.
16636 * conform/data/time.h-data: Likewise.
16637 * conform/data/unistd.h-data: Likewise.
16638 * conform/data/utime.h-data: Likewise.
16640 * io/sys/stat.h: fchmod was always in POSIX.
16641 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16642 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16643 * rt/aio.h: Define __need_timespec before including <time.h>.
16644 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16645 struct. Add forward declaration of pthread_attr_t and use it in
16647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16649 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16650 always remove CLK_TCK definition.
16652 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16654 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16656 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16658 * conform/run-conformtest.sh: New file.
16659 * conform/Makefile: Run run-conformtest for tests.
16660 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16663 * conform/data/uchar.h-data: New file.
16664 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16665 * conform/data/arpa/inet.h-data: Likewise.
16666 * conform/data/assert.h-data: Likewise.
16667 * conform/data/complex.h-data: Likewise.
16668 * conform/data/cpio.h-data: Likewise.
16669 * conform/data/ctype.h-data: Likewise.
16670 * conform/data/dirent.h-data: Likewise.
16671 * conform/data/dlfcn.h-data: Likewise.
16672 * conform/data/errno.h-data: Likewise.
16673 * conform/data/fcntl.h-data: Likewise.
16674 * conform/data/float.h-data: Likewise.
16675 * conform/data/fmtmsg.h-data: Likewise.
16676 * conform/data/fnmatch.h-data: Likewise.
16677 * conform/data/ftw.h-data: Likewise.
16678 * conform/data/glob.h-data: Likewise.
16679 * conform/data/grp.h-data: Likewise.
16680 * conform/data/iconv.h-data: Likewise.
16681 * conform/data/inttypes.h-data: Likewise.
16682 * conform/data/langinfo.h-data: Likewise.
16683 * conform/data/libgen.h-data: Likewise.
16684 * conform/data/limits.h-data: Likewise.
16685 * conform/data/locale.h-data: Likewise.
16686 * conform/data/math.h-data: Likewise.
16687 * conform/data/monetary.h-data: Likewise.
16688 * conform/data/mqueue.h-data: Likewise.
16689 * conform/data/ndbm.h-data: Likewise.
16690 * conform/data/net/if.h-data: Likewise.
16691 * conform/data/netdb.h-data: Likewise.
16692 * conform/data/netinet/in.h-data: Likewise.
16693 * conform/data/nl_types.h-data: Likewise.
16694 * conform/data/poll.h-data: Likewise.
16695 * conform/data/pthread.h-data: Likewise.
16696 * conform/data/pwd.h-data: Likewise.
16697 * conform/data/regex.h-data: Likewise.
16698 * conform/data/sched.h-data: Likewise.
16699 * conform/data/search.h-data: Likewise.
16700 * conform/data/semaphore.h-data: Likewise.
16701 * conform/data/setjmp.h-data: Likewise.
16702 * conform/data/signal.h-data: Likewise.
16703 * conform/data/spawn.h-data: Likewise.
16704 * conform/data/stdarg.h-data: Likewise.
16705 * conform/data/stdio.h-data: Likewise.
16706 * conform/data/stdlib.h-data: Likewise.
16707 * conform/data/string.h-data: Likewise.
16708 * conform/data/strings.h-data: Likewise.
16709 * conform/data/stropts.h-data: Likewise.
16710 * conform/data/sys/ipc.h-data: Likewise.
16711 * conform/data/sys/mman.h-data: Likewise.
16712 * conform/data/sys/msg.h-data: Likewise.
16713 * conform/data/sys/resource.h-data: Likewise.
16714 * conform/data/sys/select.h-data: Likewise.
16715 * conform/data/sys/sem.h-data: Likewise.
16716 * conform/data/sys/shm.h-data: Likewise.
16717 * conform/data/sys/socket.h-data: Likewise.
16718 * conform/data/sys/stat.h-data: Likewise.
16719 * conform/data/sys/statvfs.h-data: Likewise.
16720 * conform/data/sys/time.h-data: Likewise.
16721 * conform/data/sys/timeb.h-data: Likewise.
16722 * conform/data/sys/times.h-data: Likewise.
16723 * conform/data/sys/types.h-data: Likewise.
16724 * conform/data/sys/uio.h-data: Likewise.
16725 * conform/data/sys/un.h-data: Likewise.
16726 * conform/data/sys/utsname.h-data: Likewise.
16727 * conform/data/sys/wait.h-data: Likewise.
16728 * conform/data/syslog.h-data: Likewise.
16729 * conform/data/tar.h-data: Likewise.
16730 * conform/data/termios.h-data: Likewise.
16731 * conform/data/utime.h-data: Likewise.
16732 * conform/data/utmpx.h-data: Likewise.
16733 * conform/data/varargs.h-data: Likewise.
16734 * conform/data/wchar.h-data: Likewise.
16735 * conform/data/wctype.h-data: Likewise.
16736 * conform/data/wordexp.h-data: Likewise.
16738 * include/stropts.h: New file.
16739 * include/uchar.h: New file.
16740 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16741 * include/assert.h: Likewise.
16742 * include/ctype.h: Likewise.
16743 * include/dirent.h: Likewise.
16744 * include/dlfcn.h: Likewise.
16745 * include/fcntl.h: Likewise.
16746 * include/fnmatch.h: Likewise.
16747 * include/glob.h: Likewise.
16748 * include/grp.h: Likewise.
16749 * include/libio.h: Likewise.
16750 * include/locale.h: Likewise.
16751 * include/math.h: Likewise.
16752 * include/net/if.h: Likewise.
16753 * include/netdb.h: Likewise.
16754 * include/netinet/in.h: Likewise.
16755 * include/pthread.h: Likewise.
16756 * include/pwd.h: Likewise.
16757 * include/regex.h: Likewise.
16758 * include/sched.h: Likewise.
16759 * include/search.h: Likewise.
16760 * include/setjmp.h: Likewise.
16761 * include/signal.h: Likewise.
16762 * include/stdio.h: Likewise.
16763 * include/stdlib.h: Likewise.
16764 * include/string.h: Likewise.
16765 * include/sys/cdefs.h: Likewise.
16766 * include/sys/mman.h: Likewise.
16767 * include/sys/msg.h: Likewise.
16768 * include/sys/resource.h: Likewise.
16769 * include/sys/select.h: Likewise.
16770 * include/sys/socket.h: Likewise.
16771 * include/sys/stat.h: Likewise.
16772 * include/sys/statvfs.h: Likewise.
16773 * include/sys/time.h: Likewise.
16774 * include/sys/times.h: Likewise.
16775 * include/sys/uio.h: Likewise.
16776 * include/sys/utsname.h: Likewise.
16777 * include/sys/wait.h: Likewise.
16778 * include/termios.h: Likewise.
16779 * include/time.h: Likewise.
16780 * include/ulimit.h: Likewise.
16781 * include/unistd.h: Likewise.
16782 * include/utime.h: Likewise.
16783 * include/wchar.h: Likewise.
16784 * include/wctype.h: Likewise.
16785 * include/wordexp.h: Likewise.
16787 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16789 * time/time.h: TIME_UTC must be a macro.
16790 Make timespec_get available for ISO C11 only as well.
16792 2012-02-24 Ulrich Drepper <drepper@gmail.com>
16794 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16795 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16797 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16799 * configure.in: Use -o not -a in test for unsupported multi-arch.
16801 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16803 * manual/texinfo.tex: Update to version 2012-01-19.16.
16805 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16807 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16809 2012-02-24 Roland McGrath <roland@hack.frob.com>
16812 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16813 * manual/fdl-1.3.texi: New file.
16814 * manual/fdl-1.1.texi: File removed.
16817 * manual/libc.texinfo (FDL_VERSION): New @set.
16818 Use it for mention of FDL in cover text.
16819 (Documentation License): Use it in @include file name.
16821 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16822 Roland McGrath <roland@hack.frob.com>
16825 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16826 not LONG_LONG_MAX and LONG_LONG_MIN.
16827 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16828 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16830 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16836 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16837 manipulate bits before adding and subtracting TWO23[sx].
16838 * math/libm-test.inc (nearbyint_test): Add more tests.
16840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16843 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16844 bits before adding and subtracting TWO23[sx].
16845 * math/libm-test.inc (rint_test): Add more tests.
16846 (rint_test_tonearest): Likewise.
16847 (rint_test_towardzero): Likewise.
16848 (rint_test_downward): Likewise.
16849 (rint_test_upward: Likewise.
16851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16854 * include/stdc-predef.h: New file. Extracted from features.h.
16855 * include/features.h: Include stdc-predef.h.
16856 * Makefile (headers): Add stdc-predef.h.
16857 * CONFORMANCE (Compiler limitations): Update.
16859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16861 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16863 2012-02-21 David S. Miller <davem@davemloft.net>
16865 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16866 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16868 2012-02-20 David S. Miller <davem@davemloft.net>
16870 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16871 using a normal save/restore sequence, rather than allocating a
16872 dummy stack frame just to store a frame pointer and restore.
16873 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16875 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16877 * manual/install.texi: Fix stray word in line-wrapped comment.
16879 2012-02-20 David S. Miller <davem@davemloft.net>
16881 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16882 both binutils and gcc support GOTDATA.
16884 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16885 "rd %pc" in the PIC register setup sequences.
16887 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16888 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16889 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16890 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16891 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16893 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16896 (SYSCALL_ERROR_HANDLER): Likewise.
16897 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16900 (SYSCALL_ERROR_HANDLER): Likewise.
16902 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16903 (HAVE_GCC_GOTDATA): New.
16904 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16905 relocation support in both binutils and gcc.
16906 * sysdeps/sparc/elf/configure: Regenerate.
16908 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16909 * sysdeps/sparc/sparc32/elf/configure: Delete.
16910 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16911 * sysdeps/sparc/sparc64/elf/configure: Delete.
16912 * sysdeps/sparc/elf/configure.in: New file.
16913 * sysdeps/sparc/elf/configure: Generate.
16915 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16916 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16917 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16918 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16919 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16921 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16923 * manual/install.texi: Do not mention specific glibc version
16925 * manual/libc.texinfo (VERSION, UPDATED): Update.
16926 (@copying): Use @copyright{} and range of years.
16928 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16931 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16932 [crti.S not in sysdirs] (generated): Do not append.
16933 [crti.S not in sysdirs] (omit-deps): Likewise.
16934 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16935 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16936 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16937 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16938 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16940 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16941 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16942 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16943 * csu/defs.awk: Remove file.
16944 * sysdeps/generic/initfini.c: Likewise.
16945 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16947 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16950 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16952 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16953 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16954 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16956 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16957 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16959 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16960 (__EPOLL_PACKED): Define to empty if not defined by
16962 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16966 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16968 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16969 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16970 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16971 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16973 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16979 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16982 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16986 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16989 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16991 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16993 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16994 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16996 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16998 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17001 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17003 * math/w_acos.c: Use non-signaling floating-point comparisons.
17004 * math/w_acosf.c: Likewise.
17005 * math/w_acosh.c: Likewise.
17006 * math/w_acoshf.c: Likewise.
17007 * math/w_acoshl.c: Likewise.
17008 * math/w_acosl.c: Likewise.
17009 * math/w_asin.c: Likewise.
17010 * math/w_asinf.c: Likewise.
17011 * math/w_asinl.c: Likewise.
17012 * math/w_atanh.c: Likewise.
17013 * math/w_atanhf.c: Likewise.
17014 * math/w_atanhl.c: Likewise.
17015 * math/w_exp2.c: Likewise.
17016 * math/w_exp2f.c: Likewise.
17017 * math/w_exp2l.c: Likewise.
17018 * math/w_j0.c: Likewise.
17019 * math/w_j0f.c: Likewise.
17020 * math/w_j0l.c: Likewise.
17021 * math/w_j1.c: Likewise.
17022 * math/w_j1f.c: Likewise.
17023 * math/w_j1l.c: Likewise.
17024 * math/w_jn.c: Likewise.
17025 * math/w_jnf.c: Likewise.
17026 * math/w_log.c: Likewise.
17027 * math/w_log10.c: Likewise.
17028 * math/w_log10f.c: Likewise.
17029 * math/w_log10l.c: Likewise.
17030 * math/w_log2.c: Likewise.
17031 * math/w_log2f.c: Likewise.
17032 * math/w_log2l.c: Likewise.
17033 * math/w_logf.c: Likewise.
17034 * math/w_logl.c: Likewise.
17035 * math/w_sqrt.c: Likewise.
17036 * math/w_sqrtf.c: Likewise.
17037 * math/w_sqrtl.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17041 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17042 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17044 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17047 * manual/string.texi (strnlen): Use correct parameter name in
17048 equivalent expression.
17050 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17053 * manual/users.texi (seteuid): Consistently use neweuid for
17056 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17059 * manual/nss.texi (Services in the NSS configuration): Correct
17060 list of services in example configuration file.
17062 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17065 * manual/arith.texi: Remove statements about negative zero
17066 behaving identically to zero.
17068 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17071 * manual/install.texi: Do not document upgrading from libc5.
17073 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17076 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17078 2012-02-18 David S. Miller <davem@davemloft.net>
17080 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17081 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17082 %o7 across the call.
17083 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17086 SETUP_PIC_REG_LEAF.
17087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17088 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17089 * sysdeps/sparc/crtn.S: Likewise.
17091 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17093 * aout/Makefile: Remove.
17095 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17098 * manual/examples/argp-ex1.c (main): Format definition in GNU
17100 * manual/examples/argp-ex2.c (main): Likewise.
17101 * manual/examples/argp-ex3.c (main): Likewise.
17102 * manual/examples/argp-ex4.c (main): Likewise.
17103 * manual/examples/longopt.c (main): Use new-style prototype
17105 * manual/examples/strncat.c (main): Specify return type and use
17106 (void) for arguments.
17107 * manual/examples/subopt.c (main): Use char **argv argument.
17109 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17112 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17115 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17118 * manual/string.texi (strchr): Change when strchrnul is
17121 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17124 * manual/locale.texi (setlocale): Document LOCPATH.
17126 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17129 * manual/process.texi (execle): Move @dots{} before last argument.
17131 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17134 * manual/charset.texi (Generic Charset Conversion): Fix typo
17135 (LC_TYPE -> LC_CTYPE).
17137 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17140 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17141 (scalbnf): Likewise.
17142 (scalbnl): Likewise.
17143 (scalbln): Likewise.
17144 (scalblnf): Likewise.
17145 (scalblnl): Likewise.
17146 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17147 (vwarnx): Likewise.
17150 * manual/filesys.texi (telldir): Use braces around return type.
17151 * manual/llio.texi (mmap): Add space after comma.
17152 (mmap64): Likewise.
17153 * manual/math.texi (jn): Use @var{} on parameter names.
17159 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17161 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17163 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17164 (sched_get_priority_max): Likewise.
17165 * manual/signal.texi (sigvec): Add space after comma.
17166 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17168 (if_indextoname): Likewise.
17169 (if_freenameindex): Likewise.
17170 (sendto): Use ',' instead of '.' in prototype.
17171 * manual/startup.texi (syscall): Use @dots{} instead of literal
17173 * manual/stdio.texi (__fpending): Separate initial words of
17174 paragraph from @deftypefun line.
17175 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17177 (vsyslog): Use @var{} on parameter names.
17178 * manual/terminal.texi (stty): Use @var{} on parameter names.
17179 * manual/users.texi (getutmp): Use @var{} on parameter names.
17180 (getutmpx): Likewise.
17182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17185 * manual/stdio.texi (fopen): Fix typos in description of
17188 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17191 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17192 get clock_id definition.
17194 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17197 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17198 (madvise): Cast every argument to void on its own.
17200 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17203 * manual/startup.texi (Exit Status): Fix typo.
17205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17208 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17209 * manual/examples/argp-ex2.c: Likewise.
17210 * manual/examples/argp-ex3.c: Likewise.
17212 2012-02-16 Richard Henderson <rth@redhat.com>
17214 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17215 * sysdeps/s390/s390-32/initfini.c: Remove.
17216 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17217 * sysdeps/s390/s390-64/initfini.c: Remove.
17219 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17221 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17222 compiler output for sysdeps/generic/initfini.c.
17223 * sysdeps/sh/elf/initfini.c: Remove file.
17225 2012-02-16 David S. Miller <davem@davemloft.net>
17228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17230 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17231 * sysdeps/sparc/crti.S: New file.
17232 * sysdeps/sparc/crtn.S: New file.
17233 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17234 * sysdeps/sparc/sparc64/Makefile: Likewise.
17236 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17239 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17241 2012-02-15 Roland McGrath <roland@hack.frob.com>
17244 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17246 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17247 (write, read, close): Likewise.
17248 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17250 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17252 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17253 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17255 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17257 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17261 2012-02-14 Marek Polacek <polacek@redhat.com>
17263 * sysdeps/x86_64/crti.S: New file.
17264 * sysdeps/x86_64/crtn.S: New file.
17265 * sysdeps/x86_64/elf/initfini.c: Remove file.
17267 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17270 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17271 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17272 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17274 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17278 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17281 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17282 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17283 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17285 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17289 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17291 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17292 __feraiseexcept instead of feraiseexcept.
17294 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17295 nanosleep invocations.
17296 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17297 strings, and add error checking for a nanosleep invocations.
17299 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17301 Replace FSF snail mail address with URLs, as per GNU coding standards.
17302 Most of the snail mail addresses were wrong anyway, and omitting
17303 them makes the source code easier to maintain. Almost all of the
17304 changes are to license notices and to locale LC_IDENTIFICATION
17305 addresses, except for this one:
17306 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17307 not its snail mail address.
17309 2012-02-09 Richard Henderson <rth@twiddle.net>
17311 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17312 of kernel-features.h.
17314 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17316 2012-02-08 Marek Polacek <polacek@redhat.com>
17318 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17319 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17320 * sysdeps/gnu/_G_config.h: Likewise.
17321 * sysdeps/generic/_G_config.h: Likewise.
17323 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17325 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329 * sysdeps/powerpc/powerpc32/crti.S: New file.
17330 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17331 * sysdeps/powerpc/powerpc64/crti.S: New file.
17332 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17334 * Makeconfig (have-initfini): Don't set.
17335 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17336 * configure.in (nopic_initfini): Don't substitute.
17337 * config.h.in (HAVE_INITFINI): Don't #undef.
17338 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17339 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17341 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17343 Support crti.S and crtn.S provided directly by architectures.
17344 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17345 [crti.S in sysdirs] (omit-deps): Likewise.
17346 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17347 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17348 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17349 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17350 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17351 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17352 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17353 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17354 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17355 compiler output for sysdeps/generic/initfini.c.
17356 * sysdeps/i386/elf/Makefile: Remove file.
17357 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17359 2012-02-07 Marek Polacek <polacek@redhat.com>
17361 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17362 * sysdeps/gnu/_G_config.h: Likewise.
17363 * sysdeps/mach/hurd/_G_config.h: Likewise.
17365 2012-02-07 Marek Polacek <polacek@redhat.com>
17367 * math/Makefile (tests): Add tst-CMPLX2.
17368 * math/tst-CMPLX2.c: New file.
17370 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17372 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17374 * math/libm-test.inc (jn_test): Add missing L suffix.
17376 2012-02-06 Marek Polacek <polacek@redhat.com>
17378 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17379 * sysdeps/i386/fpu/e_powf.S: Likewise.
17380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17381 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17382 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17383 * sysdeps/i386/fpu/e_pow.S: Likewise.
17384 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17386 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17387 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17388 * sysdeps/i386/fpu/e_log2.S: Likewise.
17389 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17390 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17391 * sysdeps/i386/fpu/e_powl.S: Likewise.
17392 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17393 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17394 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17395 * sysdeps/i386/fpu/e_logl.S: Likewise.
17396 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17397 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17398 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17399 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17400 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17401 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17402 * sysdeps/i386/fpu/e_log.S: Likewise.
17403 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17404 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17405 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17406 * sysdeps/i386/fpu/e_logf.S: Likewise.
17407 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17408 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17409 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17410 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17411 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17412 * sysdeps/i386/fpu/e_log10.S: Likewise.
17413 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17414 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17415 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17416 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17417 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17418 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17419 * sysdeps/i386/asm-syntax.h: Likewise.
17420 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17421 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17422 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17423 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17424 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17425 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17426 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17427 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17428 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17429 * sysdeps/powerpc/sysdep.h: Likewise.
17430 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17431 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17433 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17436 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17438 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17440 * sysdeps/i386/sysdep.h: Include <features.h>.
17441 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17444 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17446 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17448 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17451 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17453 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17454 (SETUP_PIC_REG): Use GET_PC_THUNK.
17455 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17458 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17460 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17461 for non-PIC compilation.
17462 (SETUP_PIC_REG): Add .p2align directive.
17463 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17464 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17468 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17473 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17474 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17475 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17476 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17477 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17478 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17481 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17482 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17483 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17484 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17487 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17489 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17496 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17497 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17501 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17502 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17503 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17505 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17507 * math/tst-CMPLX.c: Include <stdio.h>.
17509 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17511 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17513 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17514 * sysdeps/sparc/bits/mathdef.h: Likewise.
17516 2012-01-31 Marek Polacek <polacek@redhat.com>
17518 * libio/libio.h: Don't define _PARAMS.
17519 * locale/programs/config.h: Don't define PARAMS.
17520 * stdlib/strtol_l.c: Likewise.
17521 (__strtol_l): Remove PARAMS from the prototype.
17523 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17525 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17526 names. Just use the correct names. Remove unnecessary wrapper
17528 * malloc/arena.c: Likewise.
17529 * malloc/hooks.c: Likewise.
17531 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17532 ARENA_TEST says not to. Simplify test for creation of a new arena.
17533 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17535 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17537 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17539 (update_get_addr): New function.
17540 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17541 GET_ADDR_MODULE parameter.
17543 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17545 * crypt/cert.c: Remove __STDC__ conditionals.
17546 * crypt/crypt-entry.c: Likewise.
17547 * crypt/crypt_util.c: Likewise.
17548 * libio/filedoalloc.c: Likewise.
17549 * libio/fileops.c: Likewise.
17550 * libio/genops.c: Likewise.
17551 * libio/iofclose.c: Likewise.
17552 * libio/iofdopen.c: Likewise.
17553 * libio/iofopen.c: Likewise.
17554 * libio/iofopen64.c: Likewise.
17555 * libio/iogetdelim.c: Likewise.
17556 * libio/iopopen.c: Likewise.
17557 * libio/obprintf.c: Likewise.
17558 * libio/oldfileops.c: Likewise.
17559 * libio/oldiofclose.c: Likewise.
17560 * libio/oldiofdopen.c: Likewise.
17561 * libio/oldiofopen.c: Likewise.
17562 * libio/oldiopopen.c: Likewise.
17563 * libio/wfiledoalloc.c: Likewise.
17564 * libio/wgenops.c: Likewise.
17565 * locale/programs/xmalloc.c: Likewise.
17566 * misc/syslog.c: Likewise.
17567 * stdio-common/xbug.c: Likewise.
17568 * string/memchr.c: Likewise.
17569 * string/memcmp.c: Likewise.
17570 * string/memrchr.c: Likewise.
17571 * string/rawmemchr.c: Likewise.
17572 * sysdeps/posix/getcwd.c: Likewise.
17573 * time/strftime_l.c: Likewise.
17575 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17577 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17578 * config.make.in (config-cflags-sse2avx): Define.
17579 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17582 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17584 * scripts/config.guess: Update from upstream config git repository.
17585 * scripts/config.sub: Likewise.
17587 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17589 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17591 (R_TILEPRO_*, R_TILEGX_*): New macros.
17593 * scripts/firstversions.awk: Fix bug in version range handling.
17595 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17597 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17599 * include/sys/epoll.h: New file.
17600 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17603 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17605 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17606 Avoid unnecessary __WORDSIZE == 64 test.
17607 (fmaxf): Use VEX format if possible.
17612 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17613 * math/math_private.h: Remove libc_fegetround* and
17615 * sysdeps/i386/configure.in: Check for -msse2avx.
17616 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17617 also if SSE2AVX is defined.
17618 Remove libc_fegetround* and libc_fesetround*.
17619 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17620 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17625 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17629 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17631 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17633 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17635 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17637 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17640 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17642 * Makeconfig (libm): Define.
17643 * elf/Makefile: Add rules to build and run tst-relsort1.
17644 * elf/tst-relsort1.c: New file.
17645 * elf/tst-relsort1mod1.c: New file.
17646 * elf/tst-relsort1mod2.c: New file.
17648 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17650 * math/s_ldexp.c: Remove __STDC__ conditionals.
17651 * math/s_ldexpf.c: Likewise.
17652 * math/s_ldexpl.c: Likewise.
17653 * math/s_nextafter.c: Likewise.
17654 * math/s_nexttowardf.c: Likewise.
17655 * math/s_significand.c: Likewise.
17656 * math/s_significandf.c: Likewise.
17657 * math/s_significandl.c: Likewise.
17658 * math/w_jnl.c: Likewise.
17659 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17660 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17661 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17662 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17663 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17678 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17679 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17685 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17686 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17687 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17688 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17689 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17695 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17696 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17697 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17699 * sysdeps/ieee754/k_standard.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17743 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17761 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17767 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17768 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17774 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17779 * sysdeps/ieee754/s_matherr.c: Likewise.
17780 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17781 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17782 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17785 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17787 * crypt/md5.h: Remove __STDC__ conditionals.
17788 * libio/libioP.h: Likewise.
17789 * locale/programs/config.h: Likewise.
17790 * sysdeps/generic/sysdep.h: Likewise.
17791 * sysdeps/i386/asm-syntax.h: Likewise.
17792 * sysdeps/s390/asm-syntax.h: Likewise.
17793 * sysdeps/unix/sysdep.h: Likewise.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17797 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17799 * libio/libio.h: Remove __STDC__ conditionals.
17800 * malloc/obstack.h: Likewise.
17801 * math/complex.h: Likewise.
17802 * math/math.h: Likewise.
17803 * sysdeps/generic/_G_config.h: Likewise.
17804 * sysdeps/gnu/_G_config.h: Likewise.
17805 * sysdeps/mach/hurd/_G_config.h: Likewise.
17806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17807 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17808 * sysdeps/sparc/bits/mathdef.h: Likewise.
17810 2012-01-26 Ulrich Drepper <drepper@gmail.com>
17813 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17814 Clean up HAS_* macros.
17815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17816 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17818 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17821 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17823 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17826 2012-01-25 Joseph Myers <joseph@codesourcery.com>
17828 * elf/tst-unique3.cc (gets): Remove declaration.
17829 * elf/tst-unique3lib.cc (gets): Likewise.
17830 * elf/tst-unique3lib2.cc (gets): Likewise.
17831 * elf/tst-unique4.cc (gets): Likewise.
17833 2012-01-24 Ulrich Drepper <drepper@gmail.com>
17835 * include/stdio.h: Add C++ protection. Add gets declarations and
17837 * debug/tst-chk1.c: Don't declare gets here.
17838 * stdio-common/tst-gets.c: Likewise.
17840 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17842 * posix/glob: Remove directory.
17844 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17846 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17848 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17850 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17851 of the non-standard EPFNOSUPPORT.
17853 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17855 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17856 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17857 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17859 2012-01-21 Ulrich Drepper <drepper@gmail.com>
17861 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17863 2012-01-20 Ulrich Drepper <drepper@gmail.com>
17865 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17867 * nscd/grpcache.c (cache_addgr): Likewise.
17868 * nscd/hstcache.c (cache_addhst): Likewise.
17869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17870 * nscd/pwdcache.c (cache_addpw): Likewise.
17871 * nscd/servicescache.c (cache_addserv): Likewise.
17873 2012-01-16 Ulrich Drepper <drepper@gmail.com>
17875 * malloc/malloc.c: Various cleanups.
17876 * malloc/hooks.c: Likewise.
17878 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17879 * stdlib/bug-fmtmsg1.c: New file.
17881 * stdlib/fmtmsg.c (init): Add missing unlock.
17882 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17884 2012-01-12 Marek Polacek <polacek@redhat.com>
17886 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17889 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17891 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17892 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17893 macro to ensure uniqueness of label name.
17894 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17895 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17897 2012-01-11 Ulrich Drepper <drepper@gmail.com>
17899 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17901 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17902 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17906 2012-01-10 Ulrich Drepper <drepper@gmail.com>
17908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17910 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17911 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17914 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17916 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17917 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17918 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17921 * math/bits/math-finite.h: Add ldexp support.
17923 2012-01-10 Marek Polacek <polacek@redhat.com>
17925 * locale/programs/localedef.h (show_archive_content): Add noreturn
17928 2012-01-09 Ulrich Drepper <drepper@gmail.com>
17930 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17932 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17934 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17936 * io/Makefile (headers): Add bits/poll2.h.
17938 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17941 typo #include statement.
17943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17945 * include/sys/cdefs.h: Define __attribute_alloc_size.
17946 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17947 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17948 * elf/pldd.c: Likewise.
17949 * iconv/iconv_charmap.c: Likewise.
17950 * iconv/iconvconfig.c: Likewise.
17951 * iconv/strtab.c: Likewise.
17952 * locale/programs/locale.c: Likewise.
17953 * locale/programs/localedef.h: Likewise.
17954 * locale/programs/simple-hash.c: Likewise.
17955 * nscd/nscd.h: Likewise.
17956 * nss/makedb.c: Likewise.
17957 * sysdeps/generic/ldconfig.h: Likewise.
17958 * locale/programs/localedef.c: Remove xmalloc prototype.
17959 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17961 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17963 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17968 * math/Makefile (tests): Add tst-CMPLX.
17969 * math/tst-CMPLX.c: New file.
17971 * math/complex.h (CMPLXL): Fix typo.
17973 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17974 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17976 * debug/tst-chk1.c: Add poll and ppoll tests.
17977 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17978 * include/sys/poll.h: Add hidden proto for ppoll.
17979 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17980 * sysdeps/mach/hurd/ppoll.c: Likewise.
17981 * io/ppoll.c: Likewise.
17982 * debug/poll_chk.c: New file.
17983 * debug/ppoll_chk.c: New file.
17984 * include/bits/poll2.h: New file.
17985 * io/bits/poll2.h: New file.
17988 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17990 * configure.in: static is always set to yes. Remove.
17991 * config.make.in: Don't set build-static.
17992 * Makeconfig: Remove use of build-static.
17993 * dlfcn/Makefile: Likewise.
17994 * elf/Makefile: Likewise.
17995 * math/Makefile: Likewise.
17996 * misc/Makefile: Likewise.
17997 * nptl/Makefile: Likewise.
17998 * sysdeps/mach/hurd/Makefile: Likewise.
18000 * configure.in: PWD_P is not used anymore.
18001 * config.make.in: Remove PWD_P entry.
18003 * configure.in: Remove last remnants of RANLIB.
18004 No need to check for signed size_t anymore.
18005 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18007 Remove __builtin_expect test because we require at least gcc 3.4.
18008 * aclocal.m4: Likewise.
18010 * wcsmbs/mbrtoc16.c: Implement using towc function.
18011 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18012 * wcsmbs/wcsmbsload.c: Likewise.
18013 * iconv/gconv_simple.c: Likewise.
18014 * iconv/gconv_int.h: Likewise.
18015 * iconv/gconv_builtin.h: Likewise.
18016 * iconv/iconv_prog.c: Remove CHAR16 handling.
18018 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18020 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18022 * configure.in: Remove --with-elf and --enable-bounded options.
18023 Dont set base_machine for ia64. More non-ELF conditions removed.
18024 Remove testing and setting of leading underscore information.
18025 * config.make.in (build-bounded): Set to no.
18026 * config.h.in: Remove NO_UNDERSCORES entry.
18027 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18029 * csu/start.c: Remove !NO_UNDERSCORE code.
18030 * locale/localeinfo.h: Likewise.
18031 * sysdeps/generic/machine-gmon.h: Likewise.
18032 * sysdeps/generic/sysdep.h: Likewise.
18033 * sysdeps/i386/sysdep.h: Likewise.
18034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18035 * sysdeps/mach/sysdep.h: Likewise.
18036 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18037 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18038 * sysdeps/sh/sysdep.h: Likewise.
18039 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18040 * sysdeps/unix/i386/sysdep.S: Likewise.
18041 * sysdeps/unix/sparc/start.c: Likewise.
18042 * sysdeps/unix/sparc/sysdep.S: Likewise.
18043 * sysdeps/unix/sparc/sysdep.h: Likewise.
18044 * sysdeps/unix/start.c: Likewise.
18045 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18046 * sysdeps/x86_64/sysdep.h: Likewise.
18048 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18051 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18053 * argp/argp-fmtstream.h: Use const instead __const.
18054 * argp/argp.h: Likewise.
18055 * assert/assert.h: Likewise.
18056 * bits/fenv.h: Likewise.
18057 * bits/sched.h: Likewise.
18058 * bits/sigset.h: Likewise.
18059 * bits/sigthread.h: Likewise.
18060 * catgets/nl_types.h: Likewise.
18061 * conform/data/pthread.h-data: Likewise.
18062 * crypt/crypt-private.h: Likewise.
18063 * crypt/crypt.h: Likewise.
18064 * crypt/crypt_util.c: Likewise.
18065 * ctype/ctype.h: Likewise.
18066 * debug/execinfo.h: Likewise.
18067 * debug/mbsnrtowcs_chk.c: Likewise.
18068 * debug/mbsrtowcs_chk.c: Likewise.
18069 * debug/wcsnrtombs_chk.c: Likewise.
18070 * debug/wcsrtombs_chk.c: Likewise.
18071 * debug/wcstombs_chk.c: Likewise.
18072 * dirent/dirent.h: Likewise.
18073 * dlfcn/dlfcn.h: Likewise.
18074 * elf/neededtest4.c: Likewise.
18075 * grp/grp.h: Likewise.
18076 * gshadow/gshadow.h: Likewise.
18077 * iconv/gconv.h: Likewise.
18078 * iconv/gconv_int.h: Likewise.
18079 * iconv/gconv_simple.c: Likewise.
18080 * iconv/iconv.h: Likewise.
18081 * iconv/loop.c: Likewise.
18082 * iconv/skeleton.c: Likewise.
18083 * include/aio.h: Likewise.
18084 * include/aliases.h: Likewise.
18085 * include/argz.h: Likewise.
18086 * include/arpa/inet.h: Likewise.
18087 * include/assert.h: Likewise.
18088 * include/dirent.h: Likewise.
18089 * include/dlfcn.h: Likewise.
18090 * include/execinfo.h: Likewise.
18091 * include/fcntl.h: Likewise.
18092 * include/fenv.h: Likewise.
18093 * include/glob.h: Likewise.
18094 * include/grp.h: Likewise.
18095 * include/libintl.h: Likewise.
18096 * include/mntent.h: Likewise.
18097 * include/netdb.h: Likewise.
18098 * include/pwd.h: Likewise.
18099 * include/rpc/netdb.h: Likewise.
18100 * include/sched.h: Likewise.
18101 * include/search.h: Likewise.
18102 * include/shadow.h: Likewise.
18103 * include/signal.h: Likewise.
18104 * include/stdio.h: Likewise.
18105 * include/stdlib.h: Likewise.
18106 * include/string.h: Likewise.
18107 * include/sys/socket.h: Likewise.
18108 * include/sys/stat.h: Likewise.
18109 * include/sys/statfs.h: Likewise.
18110 * include/sys/statvfs.h: Likewise.
18111 * include/sys/syslog.h: Likewise.
18112 * include/sys/time.h: Likewise.
18113 * include/sys/uio.h: Likewise.
18114 * include/time.h: Likewise.
18115 * include/unistd.h: Likewise.
18116 * include/utmp.h: Likewise.
18117 * include/wchar.h: Likewise.
18118 * include/wctype.h: Likewise.
18119 * inet/aliases.h: Likewise.
18120 * inet/arpa/inet.h: Likewise.
18121 * inet/netinet/ether.h: Likewise.
18122 * inet/netinet/in.h: Likewise.
18123 * intl/libintl.h: Likewise.
18124 * io/bits/fcntl2.h: Likewise.
18125 * io/fcntl.h: Likewise.
18126 * io/ftw.h: Likewise.
18127 * io/sys/poll.h: Likewise.
18128 * io/sys/stat.h: Likewise.
18129 * io/sys/statfs.h: Likewise.
18130 * io/sys/statvfs.h: Likewise.
18131 * io/utime.h: Likewise.
18132 * libio/bits/stdio.h: Likewise.
18133 * libio/bits/stdio2.h: Likewise.
18134 * libio/libio.h: Likewise.
18135 * libio/libioP.h: Likewise.
18136 * libio/stdio.h: Likewise.
18137 * locale/lc-ctype.c: Likewise.
18138 * locale/locale.h: Likewise.
18139 * login/utmp.h: Likewise.
18140 * malloc/arena.c: Likewise.
18141 * malloc/malloc.c: Likewise.
18142 * malloc/malloc.h: Likewise.
18143 * malloc/mcheck.c: Likewise.
18144 * malloc/mtrace.c: Likewise.
18145 * math/bits/mathcalls.h: Likewise.
18146 * math/fenv.h: Likewise.
18147 * math/math_private.h: Likewise.
18148 * misc/bits/error.h: Likewise.
18149 * misc/bits/syslog.h: Likewise.
18150 * misc/err.h: Likewise.
18151 * misc/error.h: Likewise.
18152 * misc/fstab.h: Likewise.
18153 * misc/mntent.h: Likewise.
18154 * misc/regexp.h: Likewise.
18155 * misc/search.h: Likewise.
18156 * misc/sgtty.h: Likewise.
18157 * misc/sys/mman.h: Likewise.
18158 * misc/sys/syslog.h: Likewise.
18159 * misc/sys/uio.h: Likewise.
18160 * misc/sys/xattr.h: Likewise.
18161 * misc/ttyent.h: Likewise.
18162 * nis/rpcsvc/ypclnt.h: Likewise.
18163 * nss/nss.h: Likewise.
18164 * posix/bits/unistd.h: Likewise.
18165 * posix/fnmatch.h: Likewise.
18166 * posix/glob.h: Likewise.
18167 * posix/sched.h: Likewise.
18168 * posix/spawn.h: Likewise.
18169 * posix/sys/wait.h: Likewise.
18170 * posix/unistd.h: Likewise.
18171 * posix/wordexp.h: Likewise.
18172 * pwd/pwd.h: Likewise.
18173 * resolv/netdb.h: Likewise.
18174 * resource/sys/resource.h: Likewise.
18175 * rt/aio.h: Likewise.
18176 * rt/bits/mqueue2.h: Likewise.
18177 * rt/mqueue.h: Likewise.
18178 * shadow/shadow.h: Likewise.
18179 * signal/signal.h: Likewise.
18180 * socket/send.c: Likewise.
18181 * socket/sendto.c: Likewise.
18182 * socket/sys/socket.h: Likewise.
18183 * stdio-common/printf.h: Likewise.
18184 * stdlib/bits/stdlib.h: Likewise.
18185 * stdlib/fmtmsg.h: Likewise.
18186 * stdlib/monetary.h: Likewise.
18187 * stdlib/stdlib.h: Likewise.
18188 * stdlib/ucontext.h: Likewise.
18189 * streams/stropts.h: Likewise.
18190 * string/argz.h: Likewise.
18191 * string/bits/string2.h: Likewise.
18192 * string/string.h: Likewise.
18193 * string/strings.h: Likewise.
18194 * sunrpc/rpc/auth.h: Likewise.
18195 * sunrpc/rpc/auth_des.h: Likewise.
18196 * sunrpc/rpc/clnt.h: Likewise.
18197 * sunrpc/rpc/netdb.h: Likewise.
18198 * sunrpc/rpc/pmap_clnt.h: Likewise.
18199 * sunrpc/rpc/xdr.h: Likewise.
18200 * sysdeps/generic/inttypes.h: Likewise.
18201 * sysdeps/generic/net/if.h: Likewise.
18202 * sysdeps/generic/sys/swap.h: Likewise.
18203 * sysdeps/gnu/net/if.h: Likewise.
18204 * sysdeps/gnu/utmpx.h: Likewise.
18205 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18206 * sysdeps/i386/i486/bits/string.h: Likewise.
18207 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18208 * sysdeps/s390/bits/string.h: Likewise.
18209 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18210 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18211 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18212 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18213 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18214 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18215 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18216 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18217 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18218 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18219 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18220 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18221 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18222 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18223 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18224 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18225 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18231 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18232 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18233 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18234 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18235 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18237 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18239 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18240 * sysvipc/sys/ipc.h: Likewise.
18241 * sysvipc/sys/msg.h: Likewise.
18242 * sysvipc/sys/sem.h: Likewise.
18243 * sysvipc/sys/shm.h: Likewise.
18244 * termios/termios.h: Likewise.
18245 * time/sys/time.h: Likewise.
18246 * time/time.h: Likewise.
18247 * wcsmbs/bits/wchar2.h: Likewise.
18248 * wcsmbs/uchar.h: Likewise.
18249 * wcsmbs/wchar.h: Likewise.
18250 * wctype/wctype.h: Likewise.
18253 * Makeconfig: Remove all but ELF support including AIX support.
18254 * Makerules: Likewise.
18255 * config.h.in: Likewise.
18256 * config.make.in: Likewise.
18257 * configure: Likewise.
18258 * configure.in: Likewise.
18259 * csu/Makefile: Likewise.
18260 * csu/version.c: Likewise.
18261 * debug/Makefile: Likewise.
18262 * dlfcn/Makefile: Likewise.
18263 * elf/Makefile: Likewise.
18264 * extra-lib.mk: Likewise.
18265 * iconv/Makefile: Likewise.
18266 * include/libc-symbols.h: Likewise.
18267 * include/shlib-compat.h: Likewise.
18268 * resolv/Makefile: Likewise.
18269 * resolv/res_libc.c: Likewise.
18270 * rt/Makefile: Likewise.
18271 * sysdeps/i386/asm-syntax.h: Likewise.
18272 * sysdeps/i386/sysdep.h: Likewise.
18273 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18274 * sysdeps/mach/sysdep.h: Likewise.
18275 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18276 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18277 * sysdeps/s390/asm-syntax.h: Likewise.
18278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18280 * sysdeps/sh/sysdep.h: Likewise.
18281 * sysdeps/unix/sparc/sysdep.h: Likewise.
18282 * sysdeps/wordsize-32/divdi3.c: Likewise.
18283 * sysdeps/x86_64/sysdep.h: Likewise.
18285 * argp/Versions: Remove _argp_unlock_xxx.
18288 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18289 * abilist/libBrokenLocale.abilist: Likewise.
18290 * abilist/libanl.abilist: Likewise.
18291 * abilist/libc.abilist: Likewise.
18292 * abilist/libcrypt.abilist: Likewise.
18293 * abilist/libdl.abilist: Likewise.
18294 * abilist/libm.abilist: Likewise.
18295 * abilist/libnsl.abilist: Likewise.
18296 * abilist/libpthread.abilist: Likewise.
18297 * abilist/libresolv.abilist: Likewise.
18298 * abilist/librt.abilist: Likewise.
18299 * abilist/libthread_db.abilist: Likewise.
18300 * abilist/libutil.abilist: Likewise.
18301 * abilist/libnss_db.abilist: New file.
18303 * scripts/abilist.awk: Add support for indirect functions.
18305 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18307 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18309 * shlib-versions: Remove entries for ports architectures.
18311 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18313 * elf/stackguard-macros.h: Remove support for IA-64.
18314 * elf/tst-auditmod1.c: Likewise.
18315 * sysdeps/generic/ldsodefs.h: Likewise.
18317 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18318 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18322 * configure.in: Remove --enable-omitfp support.
18324 * config.make.in: Likewise.
18325 * Makeconfig: Likewise.
18326 * manual/install.texi: Likewise.
18328 In case anyone cares, the IA-64 architecture could move to ports.
18329 * sysdeps/ia64/*: Removed.
18330 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18331 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18334 * configure.in: Remove entries for unsupported architectures.
18337 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18338 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18340 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18341 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18342 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18343 fall back to using wcrtomb.
18344 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18345 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18347 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18348 * wcsmbs/tst-c16c32-1.c: New file.
18350 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18353 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18355 * elf/tst-unique3.cc: Add explicit declaration of gets.
18356 * elf/tst-unique3lib.cc: Likewise.
18357 * elf/tst-unique3lib2.cc: Likewise.
18358 * elf/tst-unique4.cc: Likewise.
18360 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18362 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18365 * assert/assert.h (static_assert): Don't define for C++.
18366 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18367 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18369 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18371 * iconv/loop.c (single loop): Fix assertion in storing of
18374 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18376 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18378 * posix/getconf.c: Update copyright year.
18379 * nss/getent.c: Likewise.
18380 * nss/makedb.c: Likewise.
18381 * iconv/iconvconfig.c: Likewise.
18382 * iconv/iconv_prog.c: Likewise.
18383 * elf/ldconfig.c: Likewise.
18384 * elf/pldd.c: Likewise.
18385 * elf/sotruss.ksh: Likewise.
18386 * catgets/gencat.c: Likewise.
18387 * csu/version.c: Likewise.
18388 * elf/ldd.bash.in: Likewise.
18389 * elf/sprof.c (print_version): Likewise.
18390 * locale/programs/locale.c: Likewise.
18391 * locale/programs/localedef.c: Likewise.
18392 * login/programs/pt_chown.c: Likewise.
18393 * nscd/nscd.c (print_version): Likewise.
18394 * debug/xtrace.sh: Likewise.
18395 * malloc/memusage.sh: Likewise.
18396 * malloc/mtrace.pl: Likewise.
18397 * debug/catchsegv.sh: Likewise.
18399 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18401 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18404 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18407 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18408 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18410 * iconv/gconv_int.h: Likewise.
18411 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18412 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18413 from libc for GLIBC_2.16.
18414 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18415 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18416 * wcsmbs/uchar.h: Really define mbstate_t.
18417 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18418 * wcsmbs/c16rtomb.c: New file.
18419 * wcsmbs/mbrtoc16.c: New file.
18420 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18421 for C/POSIX locale.
18422 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18423 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18425 * wcsmbs/wchar.h: Add missing __restrict.
18427 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18430 * time/Makefile (routines): Add timespec_get.
18431 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18432 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18433 timespec for ISO C11.
18434 * time/timespec_get.c: New file.
18435 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18436 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18439 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18440 * stdlib/stdlib.h: Declare aligned_alloc.
18441 * Versions.def: Add GLIBC_2.16 for libc.
18442 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18445 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18448 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18452 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18455 * assert/assert.h (static_assert): Define.
18457 * version.h: Update for 2.16 development version.
18460 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18463 * version.h (RELEASE): Bump for 2.15 release.
18464 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18466 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18467 Patch by Marek Polacek <mpolacek@redhat.com>.
18469 * bits/byteswap.h: Protect long long constants with __extension__.
18470 * sysdeps/i386/bits/byteswap.h: Likewise.
18471 * sysdeps/ia64/bits/byteswap.h: Likewise.
18472 * sysdeps/s390/bits/byteswap.h: Likewise.
18473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18475 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18479 destination buffer.
18480 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18482 2011-12-23 Marek Polacek <polacek@redhat.com>
18484 * elf/dl-addr.c (determine_info): Add inline keyword.
18485 * elf/tst-auditmod4b.c (check_avx): Likewise.
18486 * elf/tst-auditmod6b.c (check_avx): Likewise.
18487 * elf/tst-auditmod6c.c (check_avx): Likewise.
18488 * elf/tst-auditmod7b.c (check_avx): Likewise.
18490 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18492 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18495 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18498 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18499 processing for last bytes.
18501 2011-08-06 Bruno Haible <bruno@clisp.org>
18504 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18505 U+0385, not to U+1FEE.
18508 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18509 entry for U+00A5 U+0301.
18511 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18514 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18515 buffer for the output is too small.
18517 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18521 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18522 SSE flags if possible.
18524 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18528 processing for last bytes.
18530 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18532 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18533 (syscall-list-default-options, syscall-list-default-condition)
18534 (syscall-list-includes): Define.
18535 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18536 list of ABIs and options and #if conditions for each ABI. Do not
18537 handle common syscalls between ABIs specially.
18538 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18540 (syscall-list-variants, syscall-list-32bit-options)
18541 (syscall-list-32bit-condition, syscall-list-64bit-options)
18542 (syscall-list-64bit-condition): Define.
18543 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18544 (syscall-list-variants, syscall-list-32bit-options)
18545 (syscall-list-32bit-condition, syscall-list-64bit-options)
18546 (syscall-list-64bit-condition): Define.
18547 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18549 (syscall-list-variants, syscall-list-32bit-options)
18550 (syscall-list-32bit-condition, syscall-list-64bit-options)
18551 (syscall-list-64bit-condition): Define.
18552 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18554 (syscall-list-variants, syscall-list-32bit-options)
18555 (syscall-list-32bit-condition, syscall-list-64bit-options)
18556 (syscall-list-64bit-condition): Define.
18558 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18560 * locale/iso-639.def: Add brx entry.
18563 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18564 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18566 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18567 __feraiseexcept_renamed.
18569 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18572 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18573 EPOLLET with unsigned values.
18574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18577 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18578 to large cancellation.
18579 * math/s_cacoshf.c: Likewise.
18580 * math/s_cacoshl.c: Likewise.
18582 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18586 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18587 * math/s_cacoshf.c: Likewise.
18588 * math/s_cacoshl.c: Likewise.
18590 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18593 * iconv/gconv.h: Define __GCONV_SWAP.
18594 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18595 * iconvdata/utf-16.c: Likewise.
18596 * iconvdata/utf-32.c: Likewise.
18598 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18601 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18602 numerator after shifting it by one limb.
18604 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18606 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18607 under [__USE_EXTERN_INLINES].
18609 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18612 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18614 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18616 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18617 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18619 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18620 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18621 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18622 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18623 for strncasecmp/strncasecmp_l compilation.
18624 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18625 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18627 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18630 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18633 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18636 * time/tzfile.c (__tzfile_read): Check values from file header.
18638 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18640 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18641 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18642 * powerpc/powerpc32/dl-start.S: Likewise.
18643 * powerpc/powerpc32/elf/start.S: Likewise.
18644 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18645 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18646 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18647 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18648 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18649 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18650 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18651 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18652 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18653 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18654 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18655 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18656 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18657 * powerpc/powerpc32/memset.S: Likewise.
18658 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18659 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18660 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18661 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18662 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18663 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18664 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18665 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18666 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18667 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18668 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18669 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18670 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18672 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18674 * math/libm-test.inc: Added more nearbyint tests.
18675 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18680 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18682 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18685 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18687 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18688 Add wcscpy-ssse3 wcscpy-c.
18689 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18690 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18691 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18692 * sysdeps/x86_64/wcschr.S: New file.
18693 * sysdeps/x86_64/wcsrchr.S: New file.
18694 * string/test-strcmp.c: Remove checking of wcscmp function for
18696 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18697 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18698 wcsrchr-sse2 wcsrchr-c.
18699 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18700 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18701 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18702 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18703 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18704 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18705 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18706 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18707 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18708 * wcsmbc/wcschr.c (WCSCHR): New macro.
18710 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18712 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18713 * wcsmbs/test-wcsrchr.c: New file.
18714 * string/test-strrchr.c: Add wcsrchr support.
18716 * wcsmbs/test-wcscpy.c: New file.
18717 * string/test-strcpy.c: Add wcscpy support.
18720 2011-12-10 Ulrich Drepper <drepper@gmail.com>
18722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18725 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18728 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18730 2011-12-04 Ulrich Drepper <drepper@gmail.com>
18732 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18733 Minor optimizations.
18735 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18736 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18737 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18739 2011-12-03 Ulrich Drepper <drepper@gmail.com>
18741 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18742 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18743 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18744 for gcc to avoid warnings.
18745 * inet/Makefile (tests): Add tst-checks.
18746 * inet/tst-checks.c: New file.
18748 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18751 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18754 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18755 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18757 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18759 2011-12-02 Ulrich Drepper <drepper@gmail.com>
18761 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18764 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18766 2011-11-29 Joseph Myers <joseph@codesourcery.com>
18768 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18769 conditional on GCC version.
18770 (__arch_compare_and_exchange_val_8_acq)
18771 (__arch_compare_and_exchange_val_16_acq)
18772 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18773 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18774 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18776 2011-12-02 Joseph Myers <joseph@codesourcery.com>
18778 * sysdeps/sh/backtrace.c: New file.
18780 2011-12-02 Andreas Schwab <schwab@redhat.com>
18782 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18785 2011-12-01 Andreas Schwab <schwab@redhat.com>
18787 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18788 falling back to utime.
18790 2011-11-30 Andreas Schwab <schwab@redhat.com>
18792 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18793 expectations for float.
18795 2011-11-29 Andreas Schwab <schwab@redhat.com>
18797 * locale/weight.h (findidx): Add parameter len.
18798 * locale/weightwc.h (findidx): Likewise.
18799 * posix/fnmatch_loop.c (FCT): Adjust caller.
18800 * posix/regcomp.c (build_equiv_class): Likewise.
18801 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18802 * posix/regexec.c (check_node_accept_bytes): Likewise.
18803 * string/strcoll_l.c (STRCOLL): Likewise.
18804 * string/strxfrm_l.c (STRXFRM): Likewise.
18806 2011-11-17 Ulrich Drepper <drepper@gmail.com>
18808 * Makefile.in: Remove CVSOPT handling.
18809 * configure.in: Remove use of AC_REVISION.
18810 * iconvdata/Makefile (distribute): No need to filter out CVS.
18811 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18814 2011-11-16 Andreas Schwab <schwab@redhat.com>
18816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18817 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18818 [USE_AS_STRNCASECMP_L]: Likewise.
18819 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18820 NO_TLS_DIRECT_SEG_REFS.
18821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18822 Fix argument offsets for non-PIC.
18823 [USE_AS_STRNCASECMP_L]: Likewise.
18824 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18825 NO_TLS_DIRECT_SEG_REFS.
18827 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18829 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18831 * locale/loadlocale.c (_nl_load_locale): Likewise.
18833 2011-11-15 Andreas Schwab <schwab@redhat.com>
18835 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18836 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18837 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18838 (SYSCALL_GETTIME): Set errno on error.
18840 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18841 count references to noai6ai_cached.
18843 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18845 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18847 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18848 FD_CLOEXEC for /proc/self/maps.
18850 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18851 FD_CLOEXEC for /proc/meminfo.
18853 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18856 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18857 FD_CLOEXEC for given file.
18859 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18861 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18862 FD_CLOEXEC for /etc/hosts.
18863 (_gethtent): Likewise.
18865 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18867 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18868 cancellation and set FD_CLOEXEC for /etc/netgroup.
18870 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18871 reading /etc/publickey.
18873 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18874 allow cancellation when reading /etc/group.
18876 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18878 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18880 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18881 when using data file.
18883 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18885 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18886 (write_nis_obj): Use "c" and "e" in fopen.
18888 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18890 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18892 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18894 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18896 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18899 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18901 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18903 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18905 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18906 file parsing and set FD_CLOEXEC.
18908 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18910 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18912 2011-11-14 Andreas Schwab <schwab@redhat.com>
18914 * malloc/arena.c (arena_get2): Don't call reused_arena when
18915 _int_new_arena failed.
18917 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18919 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18920 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18925 to compile strcasecmp and strncasecmp.
18926 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18927 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18931 2011-11-13 Ulrich Drepper <drepper@gmail.com>
18933 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18934 locale-defines.sym to gen-as-const-headers.
18935 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18936 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18938 to compile strcasecmp and strncasecmp.
18939 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18940 strcasecmp_l and strncasecmp_l.
18941 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18942 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18943 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18944 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18945 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18946 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18947 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18948 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18949 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18950 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18951 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18953 2011-11-12 Ulrich Drepper <drepper@gmail.com>
18955 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18956 result of SYSDEP_GETTIME_CPU to retval.
18957 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18958 parameter list to macro. Remove trailing semicolon. Adjust users.
18960 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18963 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18965 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18968 from unused variable.
18970 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18972 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18975 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18978 * sunrpc/rpc_prot.c (rejected): Fix case value.
18980 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18981 unsigned long long int to avoid warnings in shift.
18983 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18985 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18988 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18989 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18990 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18992 * nis/nis_table.c (nis_list): Use variable of correct type for
18993 result of __follow_path call.
18995 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18997 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18998 of math functions ceil, trunc, floor, round, and sqrt, when
18999 avaliable on the platform.
19000 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19002 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19003 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19004 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19006 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19008 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19011 2011-11-11 Roland McGrath <roland@hack.frob.com>
19013 * include/unistd.h: Fix __readlink return type.
19014 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19016 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19018 * stdlib/ucontext.h: Undo last change for makecontext.
19020 2011-11-11 Andreas Schwab <schwab@redhat.com>
19022 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19024 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19025 * setjmp/setjmp.h: Mark functions as non-leaf.
19026 * setjmp/bits/setjmp2.h: Likewise.
19027 * stdlib/ucontext.h: Likewise.
19029 2011-11-10 Andreas Schwab <schwab@redhat.com>
19031 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19032 (reused_arena): Don't check arena limit.
19033 (arena_get2): Atomically check arena limit.
19035 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19037 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19038 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19043 2011-11-07 Andreas Schwab <schwab@redhat.com>
19045 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19046 handler when locking.
19048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19049 Fix size of allocated buffer.
19051 2011-11-04 Andreas Schwab <schwab@redhat.com>
19054 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19055 declarations for long double functions.
19056 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19058 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19060 2011-11-03 Andreas Schwab <schwab@redhat.com>
19062 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19065 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19068 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19070 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19072 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19074 * include/alloca.h (stackinfo_alloca_round): Define.
19075 (extend_alloca): Use it.
19076 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19077 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19080 * scripts/check-local-headers.sh: Ignore libaudit.h.
19082 * nscd/Makefile (extra-objs): Make recursively expanded.
19084 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19086 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19089 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19090 * posix/tst-rfc3484-2.c: Likewise.
19091 * posix/tst-rfc3484-3.c: Likewise.
19093 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19095 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19097 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19098 process_vm_writev from libc using GLIBC_2.15 version.
19100 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19102 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19104 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19107 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19110 * nss/getent.c (initgroups_keys): Show error message in case no group
19113 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19114 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19115 __bump_nl_timestamp.
19116 * nscd/connections (nscd_init): When host database is served open
19117 netlink socket and request notification about configuration changes.
19118 (main_loop_poll): Track netlink file descriptor and bump timestamp
19119 in case data becomes available.
19120 (main_loop_epoll): Likewise.
19121 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19122 (database_pers_head): Add extra_data fileds.
19123 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19125 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19128 in6ai data, call __free_in6ai.
19129 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19130 Add -DHAVE_NETLINK.
19131 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19132 interface information. Reuse previous data if netlink timestamp
19134 (__bump_nl_timestamp): New function.
19135 (__free_in6ai): New function.
19137 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19139 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19140 close_not_cancel_no_status here.
19141 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19143 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19146 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19149 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19150 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19151 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19153 2011-07-03 Andreas Jaeger <aj@suse.de>
19156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19157 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19158 * math/libm-test.inc (sin_test): Add test case.
19160 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19163 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19164 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19166 * elf/chroot_canon.c (chroot_canon): Cleanups.
19168 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19171 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19172 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19174 * string/test-strchr.c: Make usable for strchrnul testing.
19175 * string/test-strchrnul.c: New file.
19176 * string/Makefile (strop-tests): Add strchrnul.
19178 * po/it.po: Update from translation team.
19179 * po/es.po: Likewise.
19181 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19184 the three constants needed as parameters. Drop the others.
19185 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19186 __m128i_strloadu_tolower.
19187 Create and initialize variable zero and use it in all the places
19188 where _mm_setzero_si128 was used.
19190 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19191 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19192 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19195 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19196 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19197 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19198 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19199 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19200 __mpranred, __mptan.
19201 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19202 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19203 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19204 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19205 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19206 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19208 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19209 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19211 2011-10-28 Andreas Schwab <schwab@redhat.com>
19213 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19214 redefine if SHARED.
19215 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19218 wide char related routines to wcsmbs subdir.
19220 2011-10-27 Andreas Schwab <schwab@redhat.com>
19223 * misc/sys/cdefs.h (__THROWNL): Define.
19224 * posix/unistd.h: Use __THREADNL instead of __THREAD
19225 for memory synchronization functions.
19227 2011-10-26 Roland McGrath <roland@hack.frob.com>
19230 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19232 * manual/stdio.texi (Obstack Streams): Node removed.
19234 2011-10-26 Andreas Schwab <schwab@redhat.com>
19236 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19237 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19238 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19240 * math/math_private.h (math_force_eval): Allow non-addressable
19242 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19244 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19246 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19247 file is not needed.
19249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19251 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19252 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19253 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19256 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19258 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19259 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19260 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19261 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19262 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19263 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19264 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19265 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19267 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19268 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19269 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19270 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19271 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19272 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19273 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19274 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19276 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19278 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19279 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19282 place. Use VEX encoding when compiling for AVX.
19284 2011-10-25 Andreas Schwab <schwab@redhat.com>
19286 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19287 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19289 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19291 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19293 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19294 useless if() expression.
19295 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19313 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19315 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19317 2011-10-25 Andreas Schwab <schwab@redhat.com>
19319 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19321 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19323 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19325 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19326 .text section. Avoid duplicate constants.
19327 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19337 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19339 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19344 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19351 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19352 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19353 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19354 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19355 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19356 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19357 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19358 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19360 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19361 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19362 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19363 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19365 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19366 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19369 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19370 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19371 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19373 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19375 * sysdeps/x86_64/dla.h: Move to ...
19376 * sysdeps/x86_64/fpu/dla.h: ...here.
19377 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19378 situations. Use __builtin_fma only for gcc 4.6 and up.
19380 * config.make.in: Add have-mfma4 entry.
19381 * configure.in: Substitute libc_cv_cc_fma4.
19382 * math/Makefile (dbl-only-routines): Add sincostab.
19383 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19384 Use __sincostab not sincos.
19385 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19392 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19393 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19394 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19395 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19397 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19398 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19400 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19401 define aliases when function name is a macro.
19402 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19403 sysdeps/ieee754/dbl-64/sincos.tbl.
19404 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19405 fma4-enabled routines.
19406 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19407 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19408 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19409 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19411 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19412 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19413 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19415 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19416 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19417 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19418 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19419 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19421 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19422 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19423 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19424 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19426 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19427 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19433 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19435 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19437 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19448 2011-10-24 Andreas Schwab <schwab@redhat.com>
19450 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19452 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19456 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19458 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19460 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19461 Remove unused variable magic_bits.
19462 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19464 * string/strnlen.c: Define and use STRNLEN macro.
19465 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19466 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19468 * wcsmbs/wcslen.c: Define and use WCSLEN.
19469 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19470 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19471 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19472 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19473 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19474 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19475 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19477 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19480 strnlen-sse2-no-bsf.
19481 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19483 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19484 Add strnlen support.
19485 (USE_AS_STRNLEN): New macro.
19486 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19487 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19488 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19489 * sysdeps/x86_64/wcslen.S: New file.
19491 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19494 XMM-moves are used for copying on small sizes.
19496 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19498 * wcsmbs/Makefile (strop-tests): Add wcschr.
19499 * wcsmbs/test-wcschr.c: New file.
19500 * string/test-strchr.c: Update.
19501 Add wcschr support.
19504 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19506 * wcsmbs/Makefile (strop-tests): Add wcslen.
19507 * wcsmbs/test-wcslen.c: New file.
19508 * string/test-strlen.c: Update.
19509 Add wcslen support.
19512 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19514 * po/it.po: Update from translation team.
19516 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19518 * sysdeps/x86_64/wcscmp.S: Update.
19519 Fix wrong comparison semantics.
19520 wcscmp shall use signed comparison not unsigned.
19521 Don't use substraction to avoid overflow bug.
19522 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19523 * wcsmbc/wcscmp.c: Likewise.
19524 * string/test-strcmp.c: Likewise.
19525 Add new tests to check cases with negative values.
19527 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19529 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19530 * sysdeps/x86_64/dla.h: ...here. New file.
19531 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19541 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19544 __ynl_finite aliases.
19546 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19550 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19552 [DLA_FMA] (EMULV): Use DLA_FMA.
19553 [DLA_FMA] (MUL12): Use EMULV.
19554 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19555 that are not needed.
19556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19564 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19566 * math/s_nan.c: Undef __nan.
19567 * math/s_nanf.c: Undef __nanf.
19568 * math/s_nanl.c: Undef __nanl.
19569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19572 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19574 * math/s_catan.c: Add branch predictions.
19575 * math/s_catanf.c: Likewise.
19576 * math/s_catanh.c: Likewise.
19577 * math/s_catanhf.c: Likewise.
19578 * math/s_catanhl.c: Likewise.
19579 * math/s_catanl.c: Likewise.
19580 * math/s_cexp.c: Likewise.
19581 * math/s_cexpf.c: Likewise.
19582 * math/s_cexpl.c: Likewise.
19583 * math/s_clog.c: Likewise.
19584 * math/s_clog10.c: Likewise.
19585 * math/s_clog10f.c: Likewise.
19586 * math/s_clog10l.c: Likewise.
19587 * math/s_clogf.c: Likewise.
19588 * math/s_clogl.c: Likewise.
19589 * math/s_csqrt.c: Likewise.
19590 * math/s_csqrtf.c: Likewise.
19591 * math/s_csqrtl.c: Likewise.
19592 * math/s_ctanf.c: Likewise.
19593 * math/s_ctanh.c: Likewise.
19594 * math/s_ctanhf.c: Likewise.
19595 * math/s_ctanhl.c: Likewise.
19596 * math/s_ctanl.c: Likewise.
19598 * math/math_private.h: Define __nan, __nanf, __nanl.
19599 * math/s_cacosh.c: Include <math_private.h>.
19600 * math/s_cacoshl.c: Likewise.
19601 * math/s_casinh.c: Likewise.
19602 * math/s_casinhf.c: Likewise.
19603 * math/s_casinhl.c: Likewise.
19604 * math/s_ccos.c: Rely entire on ccosh.
19605 * math/s_ccosf.c: Rely entire on ccoshf.
19606 * math/s_ccosl.c: Rely entirely on ccoshl.
19607 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19608 Remove tests for FE_INVALID.
19609 * math/s_ccoshf.c: Likewise.
19610 * math/s_ccoshl.c: Likewise.
19611 * math/s_csin.c: Likewise.
19612 * math/s_csinf.c: Likewise.
19613 * math/s_csinh.c Likewise.
19614 * math/s_csinhf.c: Likewise.
19615 * math/s_csinhl.c: Likewise.
19616 * math/s_csinl.c: Likewise.
19617 * math/s_ctan.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19619 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19620 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19622 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19625 compilation problems.
19627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19630 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19632 * sysdeps/i386/configure.in: Test for -mfma4 option.
19633 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19634 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19635 COMMON_CPUID_INDEX_80000001.
19636 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19637 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19638 use it if FMA3 is not supported.
19639 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19641 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19642 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19644 2011-10-20 Andreas Schwab <schwab@redhat.com>
19647 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19648 it would create a cycle with a link time dependency.
19650 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19652 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19654 * string/Makefile (strop-tests): Add rawmemchr.
19655 * string/test-rawmemchr.c: New file.
19657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19659 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19660 when compiling str{,n}casecmp and when AVX is available. Hook up
19661 new optimized code in initializers.
19663 2011-10-19 Andreas Schwab <schwab@redhat.com>
19665 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19666 __feraiseexcept instead of feraiseexcept.
19668 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19670 * math/math_private.h: Define defaults for libc_fetestexcept and
19672 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19673 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19674 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19675 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19676 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19677 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19678 libc_fetestexcept and libc_feupdateenv.
19680 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19681 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19682 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19683 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19684 libc_feholdexcept_setround.
19686 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19687 Add s_nearbyint-c and s_nearbyintf-c.
19688 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19689 nearbyintf inlines.
19690 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19692 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19695 * math/math_private.h: Define defaults for libc_fegetround,
19696 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19697 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19698 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19699 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19700 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19701 standard functions.
19702 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19703 Remove comments and hacks for old compiler versions.
19704 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19705 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19706 libc_feholdexceptl.
19708 2011-10-18 Andreas Schwab <schwab@redhat.com>
19710 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19711 (__feraiseexcept_renamed): Add __NTH.
19712 (feraiseexcept): Add __NTH. Rename local variables to fix
19713 namespace violations.
19715 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19721 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19722 recently added interfaces.
19723 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19725 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19726 about macro parameter expansion.
19728 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19729 __NO_MATH_INLINES is defined. Cleanups.
19731 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19732 and __floorf is target has SSE4.1.
19733 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19734 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19735 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19738 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19740 (floorf): Likewise.
19742 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19744 2011-10-17 Andreas Schwab <schwab@redhat.com>
19746 * misc/sys/cdefs.h: Fix last change.
19748 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19751 2011-10-16 Ulrich Drepper <drepper@gmail.com>
19753 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19755 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19761 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19763 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19764 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19765 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19766 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19767 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19768 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19769 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19770 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19771 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19772 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19773 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19774 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19776 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19778 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19779 ceil, ceilf, floor, floorf.
19781 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19782 Perform IRELATIVE relocations last.
19784 * elf/do-rel.h: Add another parameter nrelative, replacing the
19785 local variable with the same name. Change name of the function
19786 to end in Rel or Rela (uppercase).
19787 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19788 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19789 elf_dynamic_do_##reloc function.
19791 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19793 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19794 is sufficient, at least on modern CPUs.
19796 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19798 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19799 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19801 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19803 * math/bits/math-finite.h: Add entries for exp.
19804 * math/e_expl.c: Add __*_finite alias.
19805 * sysdeps/i386/fpu/e_exp.S: Likewise.
19806 * sysdeps/i386/fpu/e_expf.S: Likewise.
19807 * sysdeps/i386/fpu/e_expl.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19809 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19813 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19814 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19816 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19817 is sufficient, at least on modern CPUs.
19819 * ctype/ctype-info.c (__ctype_init): Define.
19820 * include/ctype.h (__ctype_init): Declare.
19821 (__ctype_b_loc): The variable is always initialized.
19822 (__ctype_toupper_loc): Likewise.
19823 (__ctype_tolower_loc): Likewise.
19824 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19825 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19827 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19829 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19831 * configure.in: Also look in $cxxmachine/include for C++ system
19834 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19836 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19837 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19838 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19839 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19840 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19841 (USE_AS_WMEMCMP): New macro.
19843 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19844 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19845 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19846 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19848 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19849 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19850 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19851 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19852 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19854 (USE_AS_WMEMCMP): New macro.
19855 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19856 * sysdeps/string/test-memcmp.c: Update.
19857 Fix simple_wmemcmp.
19859 * wcsmbs/wmemcmp.c: Update.
19860 (WMEMCMP): New macro.
19863 2011-10-12 Andreas Jaeger <aj@suse.de>
19866 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19868 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19870 * libio/iofwide.c (do_length): Avoid warning.
19872 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19874 2011-10-14 Ulrich Drepper <drepper@gmail.com>
19876 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19878 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19879 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19880 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19881 * sysdeps/i386/i686/fpu/e_log.S: New file.
19882 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19883 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19885 * ctype/ctype.h: Add support for inlined isXXX functions when
19886 compiling C++ code.
19888 2011-10-14 Andreas Schwab <schwab@redhat.com>
19890 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19892 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19894 2011-10-13 Roland McGrath <roland@hack.frob.com>
19897 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19899 2011-10-13 Andreas Schwab <schwab@redhat.com>
19901 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19902 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19905 * sysdeps/x86_64/memrchr.S: Check for zero size.
19907 * string/stratcliff.c: Add memrchr tests.
19909 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19912 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19913 rawmemchr-sse2 rawmemchr-sse2-bsf.
19914 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19915 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19916 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19917 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19918 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19919 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19920 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19921 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19922 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19924 * string/memrchr.c (MEMRCHR): New macro.
19926 2011-10-12 Ulrich Drepper <drepper@gmail.com>
19928 Add integration with gcc's -ffinite-math-only and optimize wrapper
19930 * Versions.def: Define GLIBC_2.15 version for libm.
19931 * math/Makefile (headers): Add bits/math-finite.h.
19932 * math/bits/math-finite.h: New file.
19933 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19934 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19935 * math/e_acoshl.c: Add __*_finite alias.
19936 * math/e_acosl.c: Likewise.
19937 * math/e_asinl.c: Likewise.
19938 * math/e_atan2l.c: Likewise.
19939 * math/e_atanhl.c: Likewise.
19940 * math/e_coshl.c: Likewise.
19941 * math/e_exp10.c: Likewise.
19942 * math/e_exp10f.c: Likewise.
19943 * math/e_exp10l.c: Likewise.
19944 * math/e_exp2l.c: Likewise.
19945 * math/e_fmodl.c: Likewise.
19946 * math/e_gammal_r.c: Likewise.
19947 * math/e_hypotl.c: Likewise.
19948 * math/e_j0l.c: Likewise.
19949 * math/e_j1l.c: Likewise.
19950 * math/e_jnl.c: Likewise.
19951 * math/e_lgammal_r.c: Likewise.
19952 * math/e_log10l.c: Likewise.
19953 * math/e_log2l.c: Likewise.
19954 * math/e_logl.c: Likewise.
19955 * math/e_powl.c: Likewise.
19956 * math/e_sinhl.c: Likewise.
19957 * math/e_sqrtl.c: Likewise.
19958 * math/e_scalb.c: Completely rewritten and optimized.
19959 * math/e_scalbf.c: Likewise.
19960 * math/e_scalbl.c: Likewise.
19961 * math/w_acos.c: Likewise.
19962 * math/w_acosf.c: Likewise.
19963 * math/w_acosl.c: Likewise.
19964 * math/w_acosh.c: Likewise.
19965 * math/w_acoshf.c: Likewise.
19966 * math/w_acoshl.c: Likewise.
19967 * math/w_asin.c: Likewise.
19968 * math/w_asinf.c: Likewise.
19969 * math/w_asinl.c: Likewise.
19970 * math/w_atan2.c: Likewise.
19971 * math/w_atan2f.c: Likewise.
19972 * math/w_atan2l.c: Likewise.
19973 * math/w_atanh.c: Likewise.
19974 * math/w_atanhf.c: Likewise.
19975 * math/w_atanhl.c: Likewise.
19976 * math/w_exp10.c: Likewise.
19977 * math/w_exp10f.c: Likewise.
19978 * math/w_exp10l.c: Likewise.
19979 * math/w_fmod.c: Likewise.
19980 * math/w_fmodf.c: Likewise.
19981 * math/w_fmodl.c: Likewise.
19982 * math/w_j0.c: Likewise.
19983 * math/w_j0f.c: Likewise.
19984 * math/w_j0l.c: Likewise.
19985 * math/w_j1.c: Likewise.
19986 * math/w_j1f.c: Likewise.
19987 * math/w_j1l.c: Likewise.
19988 * math/w_jn.c: Likewise.
19989 * math/w_jnf.c: Likewise.
19990 * math/w_log.c: Likewise.
19991 * math/w_logf.c: Likewise.
19992 * math/w_logl.c: Likewise.
19993 * math/w_log10.c: Likewise.
19994 * math/w_log10f.c: Likewise.
19995 * math/w_log10l.c: Likewise.
19996 * math/w_log2.c: Likewise.
19997 * math/w_log2f.c: Likewise.
19998 * math/w_log2l.c: Likewise.
19999 * math/w_pow.c: Likewise.
20000 * math/w_powf.c: Likewise.
20001 * math/w_powl.c: Likewise.
20002 * math/w_remainder.c: Likewise.
20003 * math/w_remainderf.c: Likewise.
20004 * math/w_remainderl.c: Likewise.
20005 * math/w_scalb.c: Likewise.
20006 * math/w_scalbf.c: Likewise.
20007 * math/w_scalbl.c: Likewise.
20008 * math/w_sqrt.c: Likewise.
20009 * math/w_sqrtf.c: Likewise.
20010 * math/w_sqrtl.c: Likewise.
20011 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20012 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20014 * math/math_private.h: Declare __kernel_standard_f.
20015 * math/w_cosh.c: Remove cruft and optimize a bit.
20016 * math/w_coshf.c: Likewise.
20017 * math/w_coshl.c: Likewise.
20018 * math/w_exp2.c: Likewise.
20019 * math/w_exp2f.c: Likewise.
20020 * math/w_exp2l.c: Likewise.
20021 * math/w_hypot.c: Likewise.
20022 * math/w_hypotf.c: Likewise.
20023 * math/w_hypotl.c: Likewise.
20024 * math/w_lgamma.c: Likewise.
20025 * math/w_lgamma_r.c: Likewise.
20026 * math/w_lgammaf.c: Likewise.
20027 * math/w_lgammaf_r.c: Likewise.
20028 * math/w_lgammal.c: Likewise.
20029 * math/w_lgammal_r.c: Likewise.
20030 * math/w_sinh.c: Likewise.
20031 * math/w_sinhf.c: Likewise.
20032 * math/w_sinhl.c: Likewise.
20033 * math/w_tgamma.c: Likewise.
20034 * math/w_tgammaf.c: Likewise.
20035 * math/w_tgammal.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20037 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20038 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20039 Minor optimizations. Pretty printing. Remove cruft.
20040 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20041 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20042 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20044 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20045 * sysdeps/i386/fpu/e_asin.S: Likewise.
20046 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20047 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20048 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20049 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20050 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20051 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20052 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20053 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20054 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20055 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20056 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20057 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20058 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20059 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20060 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20061 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20062 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20063 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20064 * sysdeps/i386/fpu/e_log.S: Likewise.
20065 * sysdeps/i386/fpu/e_log10.S: Likewise.
20066 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20067 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20068 * sysdeps/i386/fpu/e_log2.S: Likewise.
20069 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20071 * sysdeps/i386/fpu/e_logf.S: Likewise.
20072 * sysdeps/i386/fpu/e_logl.S: Likewise.
20073 * sysdeps/i386/fpu/e_pow.S: Likewise.
20074 * sysdeps/i386/fpu/e_powf.S: Likewise.
20075 * sysdeps/i386/fpu/e_powl.S: Likewise.
20076 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20077 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20078 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20079 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20080 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20082 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20083 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20084 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20089 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20091 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20106 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20109 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20110 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20111 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20112 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20113 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20114 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20115 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20116 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20119 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20120 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20121 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20123 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20124 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20125 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20126 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20127 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20130 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20165 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20170 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20171 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20173 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20176 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20177 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20178 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20179 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20180 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20181 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20182 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20183 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20184 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20185 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20186 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20187 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20188 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20189 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20190 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20191 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20193 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20194 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20195 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20196 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20197 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20198 (__isnanf): Likewise.
20199 (__isinf_ns): Likewise.
20200 (__isinf_nsf): Likewise.
20201 (__finite): Likewise.
20202 (__finitef): Likewise.
20203 (__ieee754_sqrt): Define as macro.
20204 (__ieee754_sqrtf): Define as macro.
20205 (__ieee754_sqrtl): Define as macro.
20206 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20208 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20209 __FINITE_MATH_ONLY__ consistent.
20210 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20212 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20214 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20217 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20219 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20221 * po/ja.po: Update from translation team.
20223 2011-10-08 Roland McGrath <roland@hack.frob.com>
20225 * locale/programs/locarchive.c (prepare_address_space): New function.
20226 (create_archive, enlarge_archive, open_archive): Use it.
20228 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20229 inside [SHARED], where it is used.
20231 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20233 * nss/getent.c (netgroup_keys): Remove unused variable.
20234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20236 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20238 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20242 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20243 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20244 * math/Makefile (libm-calls): Add s_isinf_ns.
20245 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20246 * math/multc3.c: Likewise.
20247 * math/s_casin.c: Likewise.
20248 * math/s_casinf.c: Likewise.
20249 * math/s_casinl.c: Likewise.
20250 * math/s_ccos.c: Likewise.
20251 * math/s_ccosf.c: Likewise.
20252 * math/s_ccosl.c: Likewise.
20253 * math/s_ctan.c: Likewise.
20254 * math/s_ctanf.c: Likewise.
20255 * math/s_ctanh.c: Likewise.
20256 * math/s_ctanhf.c: Likewise.
20257 * math/s_ctanhl.c: Likewise.
20258 * math/s_ctanl.c: Likewise.
20259 * math/w_fmod.c: Likewise.
20260 * math/w_fmodf.c: Likewise.
20261 * math/w_fmodl.c: Likewise.
20262 * math/w_remainder.c: Likewise.
20263 * math/w_remainderf.c: Likewise.
20264 * math/w_remainderl.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20266 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20269 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20270 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20271 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20272 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20274 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20276 * stdio-common/printf_fphex.c: Likewise.
20277 * stdio-common/printf_size.c: Likewise.
20279 * math/e_exp10.c: Include math_private.h using <...> not "...".
20280 * math/e_exp10f.c: Likewise.
20281 * math/e_exp10l.c: Likewise.
20282 * math/e_exp2l.c: Likewise.
20283 * math/e_j0l.c: Likewise.
20284 * math/e_j1l.c: Likewise.
20285 * math/e_jnl.c: Likewise.
20286 * math/e_lgammal_r.c: Likewise.
20287 * math/e_rem_pio2l.c: Likewise.
20288 * math/e_scalb.c: Likewise.
20289 * math/e_scalbf.c: Likewise.
20290 * math/e_scalbl.c: Likewise.
20291 * math/k_cosl.c: Likewise.
20292 * math/k_sinl.c: Likewise.
20293 * math/k_tanl.c: Likewise.
20294 * math/s_cacoshf.c: Likewise.
20295 * math/s_catan.c: Likewise.
20296 * math/s_catanf.c: Likewise.
20297 * math/s_catanh.c: Likewise.
20298 * math/s_catanhf.c: Likewise.
20299 * math/s_catanhl.c: Likewise.
20300 * math/s_catanl.c: Likewise.
20301 * math/s_ccosh.c: Likewise.
20302 * math/s_ccoshf.c: Likewise.
20303 * math/s_ccoshl.c: Likewise.
20304 * math/s_cexp.c: Likewise.
20305 * math/s_cexpf.c: Likewise.
20306 * math/s_cexpl.c: Likewise.
20307 * math/s_clog.c: Likewise.
20308 * math/s_clog10.c: Likewise.
20309 * math/s_clog10f.c: Likewise.
20310 * math/s_clog10l.c: Likewise.
20311 * math/s_clogf.c: Likewise.
20312 * math/s_clogl.c: Likewise.
20313 * math/s_csin.c: Likewise.
20314 * math/s_csinf.c: Likewise.
20315 * math/s_csinh.c: Likewise.
20316 * math/s_csinhf.c: Likewise.
20317 * math/s_csinhl.c: Likewise.
20318 * math/s_csinl.c: Likewise.
20319 * math/s_csqrt.c: Likewise.
20320 * math/s_csqrtf.c: Likewise.
20321 * math/s_csqrtl.c: Likewise.
20322 * math/s_ctan.c: Likewise.
20323 * math/s_ctanf.c: Likewise.
20324 * math/s_ctanh.c: Likewise.
20325 * math/s_ctanhf.c: Likewise.
20326 * math/s_ctanhl.c: Likewise.
20327 * math/s_ctanl.c: Likewise.
20328 * math/s_ldexp.c: Likewise.
20329 * math/s_ldexpf.c: Likewise.
20330 * math/s_ldexpl.c: Likewise.
20331 * math/s_significand.c: Likewise.
20332 * math/s_significandf.c: Likewise.
20333 * math/s_significandl.c: Likewise.
20334 * math/w_acos.c: Likewise.
20335 * math/w_acosf.c: Likewise.
20336 * math/w_acosh.c: Likewise.
20337 * math/w_acoshf.c: Likewise.
20338 * math/w_acoshl.c: Likewise.
20339 * math/w_acosl.c: Likewise.
20340 * math/w_asin.c: Likewise.
20341 * math/w_asinf.c: Likewise.
20342 * math/w_asinl.c: Likewise.
20343 * math/w_atan2.c: Likewise.
20344 * math/w_atan2f.c: Likewise.
20345 * math/w_atan2l.c: Likewise.
20346 * math/w_atanh.c: Likewise.
20347 * math/w_atanhf.c: Likewise.
20348 * math/w_atanhl.c: Likewise.
20349 * math/w_cosh.c: Likewise.
20350 * math/w_coshf.c: Likewise.
20351 * math/w_coshl.c: Likewise.
20352 * math/w_dremf.c: Likewise.
20353 * math/w_exp10.c: Likewise.
20354 * math/w_exp10f.c: Likewise.
20355 * math/w_exp10l.c: Likewise.
20356 * math/w_exp2.c: Likewise.
20357 * math/w_exp2f.c: Likewise.
20358 * math/w_fmod.c: Likewise.
20359 * math/w_fmodf.c: Likewise.
20360 * math/w_fmodl.c: Likewise.
20361 * math/w_hypot.c: Likewise.
20362 * math/w_hypotf.c: Likewise.
20363 * math/w_hypotl.c: Likewise.
20364 * math/w_j0.c: Likewise.
20365 * math/w_j0f.c: Likewise.
20366 * math/w_j0l.c: Likewise.
20367 * math/w_j1.c: Likewise.
20368 * math/w_j1f.c: Likewise.
20369 * math/w_j1l.c: Likewise.
20370 * math/w_jn.c: Likewise.
20371 * math/w_jnf.c: Likewise.
20372 * math/w_jnl.c: Likewise.
20373 * math/w_lgamma.c: Likewise.
20374 * math/w_lgamma_r.c: Likewise.
20375 * math/w_lgammaf.c: Likewise.
20376 * math/w_lgammaf_r.c: Likewise.
20377 * math/w_lgammal.c: Likewise.
20378 * math/w_lgammal_r.c: Likewise.
20379 * math/w_log.c: Likewise.
20380 * math/w_log10.c: Likewise.
20381 * math/w_log10f.c: Likewise.
20382 * math/w_log10l.c: Likewise.
20383 * math/w_log2.c: Likewise.
20384 * math/w_log2f.c: Likewise.
20385 * math/w_log2l.c: Likewise.
20386 * math/w_logf.c: Likewise.
20387 * math/w_logl.c: Likewise.
20388 * math/w_pow.c: Likewise.
20389 * math/w_powf.c: Likewise.
20390 * math/w_powl.c: Likewise.
20391 * math/w_remainder.c: Likewise.
20392 * math/w_remainderf.c: Likewise.
20393 * math/w_remainderl.c: Likewise.
20394 * math/w_scalb.c: Likewise.
20395 * math/w_scalbf.c: Likewise.
20396 * math/w_scalbl.c: Likewise.
20397 * math/w_sinh.c: Likewise.
20398 * math/w_sinhf.c: Likewise.
20399 * math/w_sinhl.c: Likewise.
20400 * math/w_sqrt.c: Likewise.
20401 * math/w_sqrtf.c: Likewise.
20402 * math/w_sqrtl.c: Likewise.
20403 * math/w_tgamma.c: Likewise.
20404 * math/w_tgammaf.c: Likewise.
20405 * math/w_tgammal.c: Likewise.
20407 * po/ja.po: Update from translation team.
20409 2011-09-29 Andreas Jaeger <aj@suse.de>
20412 * sunrpc/netname.c (netname2host): Fix logic.
20416 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20418 * math/w_remainder.c (__remainder): Likewise.
20419 * math/w_remainderf.c (__remainderf): Likewise.
20420 * math/libm-test.inc (remainder_test): Add test cases.
20422 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20424 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20427 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20429 * string/test-memcmp.c: Avoid unncessary #defines.
20430 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20432 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20434 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20435 Use new sse2 version for core i3 - i7 as it's faster
20436 than sse42 version.
20437 (bit_Prefer_PMINUB_for_stringop): New.
20438 * sysdeps/x86_64/rawmemchr.S: Update.
20439 Replace with faster SSE2 version.
20440 * sysdeps/x86_64/memrchr.S: New file.
20441 * sysdeps/x86_64/memchr.S: Update.
20442 Replace with faster SSE2 version.
20444 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20446 * elf/dl-load.c (lose): Add cast to avoid warning.
20448 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20450 * po/ca.po: Update from translation team.
20452 * inet/getnetgrent_r.c: Hook up nscd.
20453 * nscd/Makefile (routines): Add nscd_netgroup.
20454 (nscd-modules): Add netgroupcache.
20455 (CFLAGS-netgroupcache.c): Define.
20456 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20457 (cache_search): Add const to second parameter.
20458 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20460 (dbs): Add netgrdb entry.
20461 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20462 (verify_persistent_db): Handle netgrdb.
20463 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20464 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20466 (netgroup_response_header): Define.
20467 (innetgroup_response_header): Define.
20468 (datahead): Add netgroup_response_header and innetgroup_response_header
20470 * nscd/nscd.conf: Add entries for netgroup cache.
20471 * nscd/nscd.h (dbtype): Add netgrdb.
20472 (_PATH_NSCD_NETGROUP_DB): Define.
20473 (netgroup_iov_disabled): Declare.
20474 (xmalloc, xcalloc, xrealloc): Move declarations here.
20475 (cache_search): Adjust prototype.
20476 Add netgroup-related prototypes.
20477 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20478 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20479 (__nscd_innetgr): Declare.
20480 * nscd/selinux.c (perms): Use access_vector_t as element type and
20481 add netgroup-related initializers.
20482 * nscd/netgroupcache.c: New file.
20483 * nscd/nscd_netgroup.c: New file.
20484 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20485 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20486 For four parameters use innetgr.
20487 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20488 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20489 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20490 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20492 * nscd/connections.c (register_traced_file): Don't register file
20493 for disabled databases.
20495 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20497 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20499 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20500 from tree and freeing node.
20502 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20504 * nss/nsswitch.c (__nss_database_lookup): Handle
20505 nss_parse_service_list out of memory case.
20507 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20509 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20510 out of memory case.
20512 2011-10-04 Andreas Schwab <schwab@redhat.com>
20514 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20515 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20517 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20518 elf_machine_rela, elf_machine_lazy_rel.
20519 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20520 (ELF_DYNAMIC_DO_REL): Likewise.
20521 (ELF_DYNAMIC_DO_RELA): Likewise.
20522 (ELF_DYNAMIC_RELOCATE): Likewise.
20523 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20524 to ELF_DYNAMIC_DO_REL.
20525 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20526 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20527 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20530 skip_ifunc, don't call ifunc function if non-zero.
20531 (elf_machine_rela): Likewise.
20532 (elf_machine_lazy_rel): Likewise.
20533 (elf_machine_lazy_rela): Likewise.
20534 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20535 (elf_machine_lazy_rel): Likewise.
20536 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20538 (elf_machine_lazy_rel): Likewise.
20539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20541 (elf_machine_lazy_rel): Likewise.
20542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20543 (elf_machine_lazy_rel): Likewise.
20544 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20545 (elf_machine_lazy_rel): Likewise.
20546 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20547 (elf_machine_lazy_rel): Likewise.
20548 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20549 (elf_machine_lazy_rel): Likewise.
20550 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20551 (elf_machine_lazy_rel): Likewise.
20552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20553 (elf_machine_lazy_rel): Likewise.
20555 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20557 * nss/nss_files/files-init.c (_nss_files_init): Use static
20558 initialization for all the *_traced_file variables.
20560 2011-09-28 Andreas Schwab <schwab@redhat.com>
20562 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20564 2011-09-27 Roland McGrath <roland@hack.frob.com>
20567 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20569 2011-09-27 Andreas Schwab <schwab@redhat.com>
20571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20572 Reread the line before reparsing it.
20574 2011-09-26 Andreas Schwab <schwab@redhat.com>
20576 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20578 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20579 Maxim Kuvyrkov <maxim@codesourcery.com>
20580 Joseph Myers <joseph@codesourcery.com>
20582 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20583 if needed for __stack_chk_guard.
20585 2011-09-19 Roland McGrath <roland@hack.frob.com>
20587 * sysdeps/posix/spawni.c (script_execute): Always define it.
20588 It will be optimized away if unused.
20589 (maybe_script_execute): New function.
20590 (__spawni): Call it.
20592 * Makerules: Don't include tls.make.
20593 (config-tls): Always set to thread.
20594 * tls.make.c: File removed.
20596 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20598 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20599 * config.make.in (CPPFLAGS-config): New substituted variable.
20601 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20603 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20606 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20607 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20609 2011-09-15 Roland McGrath <roland@hack.frob.com>
20611 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20612 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20613 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20614 (CALL_FAIL): Likewise.
20615 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20616 (CALL_FAIL): Macro removed.
20617 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20619 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20622 for __FINITE_MATH_ONLY__ == 1.
20624 2011-09-15 Andreas Schwab <schwab@redhat.com>
20626 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20627 __ieee754_sqrt instead of sqrt.
20628 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20629 __ieee754_sqrtf instead of sqrtf.
20630 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20631 __floorf instead of floorf.
20632 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20633 __floorf, __truncf instead of floorf, truncf.
20635 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20637 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20639 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20640 __extern_always_inline.
20641 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20644 2011-09-14 Andreas Schwab <schwab@redhat.com>
20646 * elf/rtld.c (dl_main): Also relocate in dependency order when
20647 doing symbol dependency testing.
20649 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20652 Always define `refsym'.
20654 2011-09-13 Andreas Schwab <schwab@redhat.com>
20656 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20657 (__FD_ELT): Renamed from __FDELT.
20658 * misc/bits/select2.h (__FD_ELT): Likewise.
20659 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20660 __FD_MASK instead of __FDELT, __FDMASK.
20661 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20663 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20666 * elf/Makefile (gen-ldd): Fix pattern.
20668 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20669 (init_tls): Likewise.
20671 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20675 2011-09-12 Andreas Schwab <schwab@redhat.com>
20677 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20678 `struct cmsghdr *' instead of `void *'.
20679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20682 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20684 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20686 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20687 ldd_rewrite_script.
20689 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20691 * configure.in: Remove --with-tls option.
20692 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20693 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20694 out in case it is missing.
20695 * sysdeps/ia64/elf/configure.in: Likewise.
20696 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20697 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20698 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20699 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20700 * sysdeps/sh/elf/configure.in: Likewise.
20701 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20702 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20703 * sysdeps/x86_64/elf/configure.in: Likewise.
20704 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20705 * sysdeps/mach/hurd/tls.h: Likewise.
20708 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20711 * configure.in: Fix use of AC_INIT.
20713 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20715 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20717 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20719 * malloc/hooks.c: Likewise.
20722 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20723 variables statically.
20724 (narenas): Initialize.
20725 (list_lock): Initialize.
20726 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20727 initializtion of main_arena and list_lock. Small cleanups.
20728 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20729 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20730 Add initializers to main_arena and mp_.
20731 (malloc_state): Remove pagesize member. Change all users to use
20734 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20735 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20736 is always initialized.
20738 * malloc/malloc.c: Removed unused configurations and dead code.
20739 * malloc/arena.c: Likewise.
20740 * malloc/hooks.c: Likewise.
20741 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20743 * include/tls.h: Removed. USE___THREAD must always be defined.
20744 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20745 * elf/dl-libc.c: Likewise.
20746 * elf/dl-tsd.c: Likewise.
20747 * include/errno.h: Likewise.
20748 * include/netdb.h: Likewise.
20749 * include/resolv.h: Likewise.
20750 * inet/herrno-loc.c: Likewise.
20751 * inet/herrno.c: Likewise.
20752 * malloc/arena.c: Likewise.
20753 * malloc/hooks.c: Likewise.
20754 * malloc/malloc.c: Likewise.
20755 * resolv/res-state.c: Likewise.
20756 * resolv/res_libc.c: Likewise.
20757 * sysdeps/i386/dl-machine.h: Likewise.
20758 * sysdeps/ia64/dl-machine.h: Likewise.
20759 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20760 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20761 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20762 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20763 * sysdeps/sh/dl-machine.h: Likewise.
20764 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20765 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20766 * sysdeps/unix/i386/sysdep.S: Likewise.
20767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20768 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20773 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20777 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20778 * sysdeps/x86_64/dl-machine.h: Likewise.
20779 * tls.make.c: Likewise.
20781 * configure.in: Remove --with-__thread option. Make tests for
20782 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20783 tls_model attribute fail if no support is available. Remove
20785 * Makeconfig: Adjust for dropped configure option. All features are
20787 * Makerules: Likewise.
20788 * Versions.def: Likewise.
20789 * argp/argp-fmtstream.c: Likewise.
20790 * argp/argp-fmtstream.h: Likewise.
20791 * argp/argp-help.c: Likewise.
20792 * assert/assert.c: Likewise.
20793 * config.h.in: Likewise.
20794 * config.make.in: Likewise.
20795 * configure: Likewise.
20796 * configure.in: Likewise.
20797 * csu/Versions: Likewise.
20798 * csu/init.c: Likewise.
20799 * elf/tst-audit2.c: Likewise.
20800 * elf/tst-tls10.c: Likewise.
20801 * elf/tst-tls10.h: Likewise.
20802 * elf/tst-tls11.c: Likewise.
20803 * elf/tst-tls12.c: Likewise.
20804 * elf/tst-tls14.c: Likewise.
20805 * elf/tst-tlsmod11.c: Likewise.
20806 * elf/tst-tlsmod12.c: Likewise.
20807 * elf/tst-tlsmod13.c: Likewise.
20808 * elf/tst-tlsmod13a.c: Likewise.
20809 * elf/tst-tlsmod14a.c: Likewise.
20810 * elf/tst-tlsmod15b.c: Likewise.
20811 * elf/tst-tlsmod16a.c: Likewise.
20812 * elf/tst-tlsmod16b.c: Likewise.
20813 * elf/tst-tlsmod7.c: Likewise.
20814 * elf/tst-tlsmod8.c: Likewise.
20815 * elf/tst-tlsmod9.c: Likewise.
20816 * gmon/gmon.c: Likewise.
20817 * grp/fgetgrent_r.c: Likewise.
20818 * grp/putgrent.c: Likewise.
20819 * hurd/fopenport.c: Likewise.
20820 * include/libc-symbols.h: Likewise.
20821 * include/tls.h: Likewise.
20822 * intl/gettextP.h: Likewise.
20823 * intl/loadinfo.h: Likewise.
20824 * locale/global-locale.c: Likewise.
20825 * locale/localeinfo.h: Likewise.
20826 * mach/devstream.c: Likewise.
20827 * malloc/arena.c: Likewise.
20828 * malloc/set-freeres.c: Likewise.
20829 * misc/err.c: Likewise.
20830 * misc/getttyent.c: Likewise.
20831 * misc/mntent_r.c: Likewise.
20832 * posix/getopt.c: Likewise.
20833 * posix/wordexp.c: Likewise.
20834 * pwd/fgetpwent_r.c: Likewise.
20835 * resolv/Versions: Likewise.
20836 * resolv/res_hconf.c: Likewise.
20837 * shadow/fgetspent_r.c: Likewise.
20838 * shadow/putspent.c: Likewise.
20839 * stdio-common/printf_fphex.c: Likewise.
20840 * stdio-common/tmpfile.c: Likewise.
20841 * stdlib/abort.c: Likewise.
20842 * stdlib/fmtmsg.c: Likewise.
20843 * sunrpc/auth_unix.c: Likewise.
20844 * sunrpc/clnt_perr.c: Likewise.
20845 * sunrpc/clnt_tcp.c: Likewise.
20846 * sunrpc/clnt_udp.c: Likewise.
20847 * sunrpc/clnt_unix.c: Likewise.
20848 * sunrpc/openchild.c: Likewise.
20849 * sunrpc/svc_simple.c: Likewise.
20850 * sunrpc/svc_tcp.c: Likewise.
20851 * sunrpc/svc_udp.c: Likewise.
20852 * sunrpc/svc_unix.c: Likewise.
20853 * sunrpc/xdr.c: Likewise.
20854 * sunrpc/xdr_array.c: Likewise.
20855 * sunrpc/xdr_rec.c: Likewise.
20856 * sunrpc/xdr_ref.c: Likewise.
20857 * sunrpc/xdr_stdio.c: Likewise.
20859 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20861 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20863 2011-07-03 Andreas Jaeger <aj@suse.de>
20865 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20867 regenerate with gen-libm-tests.pl.
20869 2010-05-12 Petr Baudis <pasky@suse.cz>
20872 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20873 around j0() zero points by switching to j1().
20874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20879 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20881 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20883 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20886 Patch in part by Pavel Roskin <proski@gnu.org>.
20889 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20891 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20892 Free memory block if necessary.
20895 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20896 be NULL. Don't lock in this case.
20898 2011-09-09 Roland McGrath <roland@hack.frob.com>
20900 * elf/elf.h (ELFOSABI_GNU): New macro.
20901 (ELFOSABI_LINUX): Define to that.
20903 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20905 * string/strncat.c (strncat): Undef the symbol in case it has been
20906 defined in bits/string.h.
20908 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20910 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20912 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20915 2011-08-17 Andreas Jaeger <aj@suse.de>
20917 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20919 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20920 Ian Lance Taylor <iant@google.com>
20922 * math/libm-test.inc (lround_test): New testcase.
20923 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20925 2011-09-08 Ulrich Drepper <drepper@gmail.com>
20927 * Makefile: Remove support for automatic cvs check-ins.
20928 * Makerules: Likewise.
20929 * config.make.in: Likewise.
20930 * configure.in: Likewise.
20931 * intl/Makefile: Likewise.
20932 * locale/Makefile: Likewise.
20933 * po/Makefile: Likewise.
20934 * posix/Makefile: Likewise.
20935 * sysdeps/gnu/Makefile: Likewise.
20936 * sysdeps/mach/hurd/Makefile: Likewise.
20937 * sysdeps/sparc/sparc32/Makefile: Likewise.
20940 * posix/Makefile (bug-regex32-ENV): Define.
20941 Patch by John Stanley <jpsinthemix@verizon.net>.
20943 * misc/Makefile (headers): Add bits/select2.h.
20944 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20945 * misc/bits/select2.h: New file.
20946 * include/bits/select2.h: New file.
20947 * debug/Makefile (routines): Add fdelt_chk.
20948 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20949 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20951 * debug/fdelt_chk.c: New file.
20953 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20954 * wcsmbs/test-wmemcmp.c: Likewise.
20955 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20956 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20958 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20960 * string/Makefile (strop-tests): Add memcmp.
20961 * string/test-wmemcmp.c: New file.
20962 * string/test-memcmp.c: Add wmemcmp support.
20964 2011-09-08 Roland McGrath <roland@hack.frob.com>
20967 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20970 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20971 garbage value in a __mach_port_mod_refs call in the cases of the
20972 task-self and thread-self ports.
20974 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20976 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20978 2011-09-08 Andreas Schwab <schwab@redhat.com>
20980 * elf/dl-load.c (lose): Check for non-null L.
20982 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20984 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20986 * elf/dl-libc.c (dlerror_run): Pass back error code from
20990 * elf/dl-load.c (lose): Free l_origin if it is valid.
20992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20994 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20995 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20996 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20999 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21001 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21003 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21004 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21005 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21006 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21007 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21008 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21009 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21010 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21011 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21012 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21014 2011-08-15 Alan Modra <amodra@gmail.com>
21017 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21018 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21019 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21020 ppc_mcount to static-only-routines.
21021 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21023 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21024 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21026 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21028 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21029 for finite and infinity parameters.
21031 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21034 and add nop instructions for throughput optimization.
21035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21037 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21039 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21040 aligned copy for power7 with vector-scalar instructions.
21041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21043 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21048 2011-09-07 Andreas Schwab <schwab@redhat.com>
21051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21054 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21056 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21057 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21058 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21059 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21062 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21064 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21065 Forgot to demangle the pointer.
21067 * sysdeps/i386/sysdep.h: Define atom_text_section.
21068 * sysdeps/x86_64/sysdep.h: Likewise.
21069 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21070 section with atom_text_section.
21071 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21072 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21073 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21075 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21077 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21078 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21079 already be defined. Change to take two parameters and don't assign
21080 result to variable. Adjust all users.
21081 Define INTERNAL_GETTIME if not already defined.
21082 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21085 HAVE_CLOCK_GETTIME_VSYSCALL.
21086 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21089 gettimeofday vsyscall, just use time.
21091 2011-09-06 Andreas Schwab <schwab@redhat.com>
21093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21096 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21098 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21102 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21104 syscall if possible.
21106 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21108 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21109 e_ident. Don't pass to find_mapsXX.
21110 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21112 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21115 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21116 * sysdeps/x86_64/multiarch/strchr.S: Update.
21117 Check bit_slow_BSF bit.
21118 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21119 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21120 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21122 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21125 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21127 (tryshell): Define.
21128 (__spawni): Change last parameter to be flag. Test
21129 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21130 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21131 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21132 * posix/spawni.c: Likewise.
21133 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21134 * posix/spawnp.c: Likewise. Change normal version to use
21135 SPAWN_XFLAGS_USE_PATH.
21136 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21137 SPAWN_XFLAGS_TRY_SHELL.
21140 * posix/glob.h: Remove gcc 1.x support.
21143 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21145 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21148 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21150 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21151 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21153 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21154 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21157 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21159 * sysdeps/x86_64/wcscmp.S: New file.
21161 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21162 wcscmp-c wcscmp-sse2
21163 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21164 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21165 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21166 * wcsmbs/wcscmp.c: Allow renaming.
21168 2011-09-05 David S. Miller <davem@davemloft.net>
21170 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21171 stack slot, rather than the struct return pointer slot.
21172 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21173 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21175 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21177 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21179 * po/ja.po: Update from translation team.
21182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21183 kernel in 64-bit binaries.
21185 2011-09-01 David S. Miller <davem@davemloft.net>
21187 * elf/elf.h (HWCAP_SPARC_*): Move to..
21188 * sysdeps/sparc/sysdep.h: this new file and add new values.
21189 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21190 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21191 _DL_HWCAP_COUNT to 24.
21192 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21194 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21195 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21196 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21198 instead of magic constants.
21199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21201 2011-08-31 David S. Miller <davem@davemloft.net>
21203 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21205 Reimplement to do errno handling inline.
21206 (SYSCALL_ERROR_HANDLER): New macro.
21207 (__SYSCALL_STRING): Do not do errno handling in asm.
21208 (__CLONE_SYSCALL_STRING): Delete.
21209 (__INTERNAL_SYSCALL_STRING): Delete.
21210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21211 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21212 (PSEUDO): Reimplement to do errno handling inline.
21213 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21214 (SYSCALL_ERROR_HANDLER): New macro.
21215 (__SYSCALL_STRING): Do not do errno handling in asm.
21216 (__CLONE_SYSCALL_STRING): Delete.
21217 (__INTERNAL_SYSCALL_STRING): Delete.
21218 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21219 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21221 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21222 (inline_syscall*): Add 'err' argument.
21223 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21224 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21225 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21226 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21228 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21229 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21231 2011-08-30 Andreas Schwab <schwab@redhat.com>
21233 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21235 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21237 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21240 2011-08-24 David S. Miller <davem@davemloft.net>
21242 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21244 2011-08-24 Andreas Schwab <schwab@redhat.com>
21246 * elf/Makefile: Add rules to build and run unload8 test.
21247 * elf/unload8.c: New file.
21248 * elf/unload8mod1.c: New file.
21249 * elf/unload8mod1x.c: New file.
21250 * elf/unload8mod2.c: New file.
21251 * elf/unload8mod3.c: New file.
21253 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21256 2011-08-23 David S. Miller <davem@davemloft.net>
21258 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21259 subtract stack bias.
21260 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21261 %sp not %fp in calculations.
21262 (_JMPBUF_UNWINDS_ADJ): Likewise.
21264 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21265 (aio_suspend): Call it to force an exception region around the
21266 AIO_MISC_WAIT() invocation.
21268 2011-08-23 Andreas Schwab <schwab@redhat.com>
21270 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21273 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21275 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21277 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21278 and <dl-machine.h>.
21279 (Elf64_FuncDesc): Remove.
21281 2011-08-22 David S. Miller <davem@davemloft.net>
21283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21284 sigaltstack check, add missing cfi directives.
21285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21286 missing cfi directives, and sigaltstack handling.
21288 2011-08-16 Andreas Schwab <schwab@redhat.com>
21291 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21292 object is seen twice.
21293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21295 * elf/Makefile (distribute): Add tst-initorder2.c.
21296 (tests): Add tst-initorder2.
21297 (modules-names): Add tst-initorder2a tst-initorder2b
21298 tst-initorder2c tst-initorder2d. Add rules to build them.
21299 ($(objpfx)tst-initorder2.out): New rule.
21300 * elf/tst-initorder2.c: New file.
21301 * elf/tst-initorder2.exp: New file.
21303 2011-08-22 Andreas Schwab <schwab@redhat.com>
21305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21307 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21308 dependencies back to end of function.
21310 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21311 $(elfobjdir)/ld.so.
21313 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21315 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21316 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21318 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21319 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21320 of __vdso_gettimeofday.
21321 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21322 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21324 (_libc_vdso_platform_setup): Remove initialization of
21325 __vdso_gettimeofday and __vdso_time.
21327 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21329 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21330 and fgetc_unlocked.
21331 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21334 * elf/dl-open.c (add_to_global): Report additions to the global scope
21335 for LD_DEBUG=scopes.
21336 (dl_open_worker): Also print scope of newly loaded dependencies.
21337 (_dl_show_scope): Indicate if there is no scope.
21340 * stdio-common/Makefile (tests): Add bug24.
21341 * stdio-common/bug24.c: New file.
21343 2011-08-19 Andreas Jaeger <aj@suse.de>
21346 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21347 non-existant file when using close-on-exec mode.
21349 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21352 the very first instruction.
21354 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21355 the CFI state in the end.
21356 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21357 inclusion of dl-trampoline.h.
21358 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21360 2011-08-19 Andreas Schwab <schwab@redhat.com>
21362 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21363 expectations for long double.
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21366 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21368 2011-08-14 David S. Miller <davem@davemloft.net>
21370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21371 artificual limit depends upon the system page size.
21373 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21375 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21376 * resolv/Makefile: Define CFLAGS-libresolv.
21378 2011-08-17 Andreas Schwab <schwab@redhat.com>
21380 * nss/makedb.c (compute_tables): Make variables used in nested
21383 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21385 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21386 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21387 if buffer was too small.
21389 * elf/pldd.c (main): Attach to all threads in the process.
21390 Rewrite /proc handling to use *at functions.
21392 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21394 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21395 specifies first scope to show.
21396 (dl_open_worker): Update callers. Move printing scope of new
21397 object to before the relocation.
21398 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21399 * sysdeps/generic/ldsodefs.h: Update declaration.
21401 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21402 string for the scope number.
21404 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21406 * nscd/servicescache.c (cache_addserv): Make sure written is always
21409 2011-08-14 Roland McGrath <roland@hack.frob.com>
21411 * sysdeps/i386/i486/bits/atomic.h
21412 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21413 statement expression, so as to suppress "set but not used" warning.
21414 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21416 * string/strncat.c (STRNCAT): Use prototype definition.
21418 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21419 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21421 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21422 (localedef-modules): Add localedef.
21423 (locale-modules): Add locale.
21425 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21426 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21427 to avoid a warning.
21429 2011-08-14 David S. Miller <davem@davemloft.net>
21431 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21432 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21434 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21436 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21437 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21438 * elf/rtld.c (dl_main): Set l_name of vDSO.
21439 Call _dl_show_scope when DL_DEBUG_SCOPES.
21440 (process_dl_debug): Recognize scopes flag and also set it for all.
21441 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21442 Declare _dl_show_scope.
21444 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21445 (do_dlopen): Pass caller_dlopen to dl_open.
21446 (__libc_dlopen_mode): Initialize caller_dlopen.
21448 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21449 of libc. Make tolower call locale-independent. Optimize a bit by
21450 using isdigit instead of isalnum.
21451 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21453 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21455 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21456 was a dependency or dynamically loaded.
21458 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21460 * intl/l10nflist.c: Allow architecture-specific pop function.
21461 * sysdeps/x86_64/l10nflist.c: New file.
21463 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21466 2011-08-10 Andreas Schwab <schwab@redhat.com>
21468 * include/dirent.h: Add libc_hidden_proto for scandirat and
21469 scandirat64. Don't declare __scandirat64.
21470 * dirent/scandirat.c: Add libc_hidden_def.
21471 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21472 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21474 2011-08-10 David S. Miller <davem@davemloft.net>
21476 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21478 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21482 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21484 * Versions.def [libc]: Add GLIBC_2.15.
21485 * dirent/Makefile (routines): Add scandirat and scandirat64.
21486 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21488 * dirent/dirent.h: Declare scandirat and scandirat64.
21489 * dirent/scandirat.c: New file.
21490 * dirent/scandirat64.c: New file.
21491 * sysdeps/wordsize-64/scandirat.c: New file.
21492 * sysdeps/wordsize-64/scandirat64.c: New file.
21493 * dirent/opendir.c: Define opendirat.
21494 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21496 * dirent/scandir64.c: Adjust for scandir.c change.
21497 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21498 __scandirat64, and __scandir_cancel_handler.
21499 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21500 additional parameter and use openat instead of open (outside of ld.so).
21501 Add new __opendir as wrapper around __opendirat.
21502 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21503 here without requiring old scandirat implementation.
21505 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21507 * dirent/scandir.c (cancel_handler): Renamed to
21508 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21509 defined. Adjust users.
21510 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21513 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21515 * string/test-string.h (IMPL): Use __STRING to expand name and then
21518 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21521 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21523 * string/Makefile: Update.
21524 (strop-tests): Append strncat.
21525 * string/test-wcscmp.c: New file.
21526 New comprehensive test for wcscmp.
21527 * string/test-strcmp.c: Update.
21528 (WIDE): New define.
21530 2011-07-22 Andreas Schwab <schwab@redhat.com>
21532 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21535 2011-07-26 Andreas Schwab <schwab@redhat.com>
21537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21538 encoding to ACE if AI_IDN.
21540 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21543 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21545 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21548 Fix overflow bug in strncat.
21549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21551 * string/test-strncat.c: Update.
21552 Add new tests for checking overflow bugs.
21554 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21557 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21558 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21559 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21561 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21562 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21563 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21564 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21567 (USE_AS_STRCAT): Define.
21568 Add strcat and strncat support.
21569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21571 2011-07-25 Andreas Schwab <schwab@redhat.com>
21573 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21574 __n bigger than INT_MAX+1.
21575 (__strncmp_g): Likewise.
21577 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21579 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21580 * libio/stido.h: Likewise.
21582 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21587 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21594 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21599 (_dl_x86_64_save_sse): Likewise.
21601 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21605 (_dl_x86_64_save_sse): Likewise.
21607 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21609 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21611 2011-07-21 Andreas Schwab <schwab@redhat.com>
21613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21615 (_dl_x86_64_save_sse): Use correct AVX check.
21617 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21620 bug in strncpy/strncat.
21621 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21623 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21625 * string/tester.c (test_strcat): Add tests for different alignments
21626 of source and destination.
21627 (test_strncat): Likewise.
21629 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21632 * posix/glob.c (glob): Check passed in values before using them in
21633 expressions to avoid some overflows.
21634 (glob_in_dir): Likewise.
21637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21638 check for AVX enablement so that we don't crash with old kernels and
21640 * elf/tst-audit4.c: Add same checks here.
21641 * elf/tst-audit6.c: Likewise.
21643 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21645 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21647 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21649 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21651 * po/cs.po: Update from translation team.
21652 * po/bg.po: Likewise.
21654 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21656 * misc/sys/cdefs.h: Add support for const attribute.
21657 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21658 to gnu_dev_{major,minor,makedev} functions.
21660 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21662 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21664 2011-07-20 Andreas Schwab <schwab@redhat.com>
21666 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21669 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21672 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21673 register in order to avoid conflicts with the soft frame pointer
21674 being held in r11 when necessary.
21675 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21676 (INTERNAL_VSYSCALL_NCS): Likewise.
21678 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21680 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21681 * elf/dl-fini.c (_dl_fini): Adjust caller.
21682 * elf/dl-close.c (_dl_close_worker): Likewise.
21683 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21685 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21687 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21688 "aux_cache->nlibs < 0".
21690 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21691 in the reload-count case.
21693 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21696 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21697 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21699 * sysdeps/x86_64/multiarch/strcat.S: New file.
21700 * sysdeps/x86_64/multiarch/strncat.S: New file.
21701 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21702 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21703 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21704 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21705 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21706 (USE_AS_STRCAT): Define.
21707 Add strcat and strncat support.
21708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21710 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21711 * string/strncat.c: Update.
21712 (USE_AS_STRNCAT): Define.
21713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21714 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21716 * sysdeps/x86_64/multiarch/init-arch.h
21717 (bit_Prefer_PMINUB_for_stringop): New.
21718 (index_Prefer_PMINUB_for_stringop): Likewise.
21719 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21720 bit_Prefer_PMINUB_for_stringop.
21722 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21724 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21726 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21727 of casting of buffer.
21728 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21729 buffer32 and buffer64.
21730 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21731 writes instead of casting of buffer.
21732 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21734 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21737 2011-07-19 Andreas Schwab <schwab@redhat.com>
21739 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21743 * nscd/nscd.c (termination_handler): Don't do anything for a database
21744 if it has not yet been initialized.
21746 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21748 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21750 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21752 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21754 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21756 * po/nl.po: Update from translation team.
21757 * po/sv.po: Likewise.
21759 2011-07-16 Roland McGrath <roland@hack.frob.com>
21761 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21762 now disallowed by GCC.
21764 * configure.in (use-default-link): Default to yes if a test -shared
21765 link meets our qualifications.
21766 * configure: Regenerated.
21768 * config.make.in (output-format): New variable.
21769 * configure.in: Check for ld --print-output-format support.
21770 * configure: Regenerated.
21771 * Makerules ($(common-objpfx)format.lds)
21772 [$(output-format) != unknown]: Just use $(output-format),
21773 instead of the linker-script munging.
21775 2011-07-14 Roland McGrath <roland@hack.frob.com>
21777 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21778 of $(common-objpfx)shlib.lds.
21779 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21781 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21782 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21784 * configure.in (-z relro check): Adjust test code to add a large
21785 writable data section after it.
21786 * configure: Regenerated.
21788 2011-07-11 Roland McGrath <roland@hack.frob.com>
21790 * configure.in (-z relro check): Fix test code to make the variable
21792 * configure: Regenerated.
21794 2011-07-11 Ulrich Drepper <drepper@gmail.com>
21796 * nscd/nscd.h (struct traced_file): Define.
21797 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21798 elements. Add traced_files.
21799 (inotify_fd): Declare.
21800 (register_traced_file): Declare.
21801 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21802 (inotify_fd): Export.
21803 (resolv_conf_descr): Remove.
21804 (nscd_init): Move inotify descriptor creation to main.
21805 Don't register files for notification here.
21806 (register_traced_file): New function.
21807 (invalidate_cache): Don't use reset_res to determine whether to call
21808 res_init, go through the list of registered files.
21809 (main_loop_poll): The inotify descriptors are now stored in the
21810 structures for the traced files.
21811 (main_loop_epoll): Likewise
21812 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21813 to __nss_disable_nscd.
21814 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21815 for a database anymore. Check the records for all the registered
21817 * nss/Makefile (libnss_files-routines): Add files-init.
21818 (libnss_db-routines): Add db-init.
21819 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21820 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21821 * nss/nss_db/db-init.c: New file.
21822 * nss/nss_files/files-init.c: New file.
21823 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21824 __nss_lookup_function.
21825 (__nss_lookup_function): Call nss_load_library.
21826 (nss_load_all_libraries): New function.
21827 (__nss_disable_nscd): Take parameter with callback function for files
21828 to register. Set is_nscd. Load all the DSOs for the NSS modules
21829 used for the cached services.
21830 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21831 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21832 options for features to all the files in nscd.
21834 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21836 2011-07-10 Roland McGrath <roland@hack.frob.com>
21838 * csu/elf-init.c (__libc_csu_init): Comment typo.
21840 2011-07-09 Ulrich Drepper <drepper@gmail.com>
21842 * po/pl.po: Update from translation team.
21843 * po/ja.po: Likewise.
21844 * po/ru.po: Likewise.
21845 * po/ko.po: Likewise.
21846 * po/fr.po: Likewise.
21848 2011-07-09 Roland McGrath <roland@hack.frob.com>
21850 * configure.in (.ctors/.dtors header and trailer check):
21851 Use an empirical test on a built program.
21852 * configure: Regenerated.
21854 * configure.in (-z relro check): Use an empirical test on a built DSO.
21855 Detect, but do not require, on ia64.
21856 * configure: Regenerated.
21858 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21859 Update tests that use readelf to use $READELF instead.
21860 * configure: Regenerated.
21862 2011-07-08 Ulrich Drepper <drepper@gmail.com>
21864 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21865 if the result is not used.
21867 2011-07-05 Andreas Jaeger <aj@suse.de>
21870 * stdlib/tst-strtod.c: Add testcase.
21872 2011-07-07 Ulrich Drepper <drepper@gmail.com>
21874 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21875 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21876 The latter has a higher limit. Take additional parameter to pass to
21878 (__pathconf): Pass file to __statfs_link_max.
21879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21881 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21885 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21886 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21888 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21889 (__statfs_filesize_max): Likewise.
21890 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21892 2011-07-05 Andreas Jaeger <aj@suse.de>
21894 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21896 2011-07-06 Marek Polacek <mpolacek@redhat.com>
21898 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21900 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21903 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21905 * Makefile (strop-tests): Add strncat.
21906 * string/test-strncat.c: New file.
21908 2011-06-30 Marek Polacek <mpolacek@redhat.com>
21910 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21912 2011-06-21 Andreas Jaeger <aj@suse.de>
21914 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21915 Copy rule from iconvdata/Makefile.
21917 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21920 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21921 but no long options are defined, just return 'W'.
21923 2011-06-22 Marek Polacek <mpolacek@redhat.com>
21926 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21928 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21930 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21932 (innetgr): Likewise.
21934 2011-07-05 Roland McGrath <roland@hack.frob.com>
21936 * config.make.in (install_root): Default to $(DESTDIR).
21938 2011-07-05 Ulrich Drepper <drepper@gmail.com>
21940 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21942 2011-07-02 Roland McGrath <roland@hack.frob.com>
21944 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21946 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21947 containing directory rather than embedding absolute directory names.
21949 * scripts/check-local-headers.sh: Rewritten using awk.
21950 Match by word, not by line. Print error messages for matches.
21951 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21953 * Makerules [shlib-lds-flags empty]:
21954 ($(common-objpfx)libc_pic.opts): New target.
21955 ($(common-objpfx)libc_pic.os.clean): New target.
21956 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21958 * config.make.in (OBJCOPY): New variable.
21959 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21960 * configure: Regenerated.
21962 * config.make.in (use-default-link): New variable.
21963 * configure.in (use_default_link): Grok --with-default-link to set it.
21964 * configure: Regenerated.
21965 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21966 (shlib-lds, shlib-lds-flags): Define to empty.
21968 * Makerules (shlib-lds): New variable.
21969 (shlib-lds-flags): New variable.
21970 (build-shlib, build-moduile, build-module-asneeded): Use it.
21971 ($(common-objpfx)libc.so): Use $(shlib-lds).
21972 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21973 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21975 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21976 DT_FLAGS/DT_FLAGS_1 with zero flags.
21978 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21979 linker script munging.
21981 2011-07-02 Ulrich Drepper <drepper@gmail.com>
21983 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21985 * crypt/sha512.c (sha512_process_block): Perform total addition using
21986 128-bit if possible.
21987 (__sha512_finish_ctx): Likewise.
21988 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21990 * crypt/sha256.c (SWAP64): Define.
21991 (sha256_process_block): Perform total addition using 64-bit if
21993 (__sha256_finish_ctx): Likewise.
21995 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21997 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21999 * nscd/hstcache.c (cache_addhst): Likewise.
22000 * nscd/grpcache.c (cache_addgr): Likewise.
22001 * nscd/aicache.c (addhstaiX): Likewise
22002 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22004 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22006 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22007 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22008 * nscd/hstcache.c (cache_addhst): Likewise.
22009 * nscd/grpcache.c (cache_addgr): Likewise.
22010 * nscd/aicache.c (addhstaiX): Likewise
22012 2011-07-01 Andreas Schwab <schwab@redhat.com>
22014 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22015 domain only when needed.
22017 2011-06-30 Andreas Schwab <schwab@redhat.com>
22019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22020 is always restored.
22022 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22024 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22025 are re-adding the entry.
22026 * nscd/servicescache.c (cache_addserv): Likewise.
22028 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22030 * sysdeps/generic/dl-irel.h: fix protection against multiple
22032 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22034 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22037 * malloc/memusage.sh: Fix quoting in message.
22038 * debug/xtrace.sh: Likewise.
22040 * configure.in: Remove support for --experimental-malloc option, make
22042 * config.make.in: Likewise.
22043 * malloc/Makefile: Likewise.
22045 2011-06-27 Andreas Schwab <schwab@redhat.com>
22047 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22048 two-byte characters.
22050 2011-06-27 Roland McGrath <roland@hack.frob.com>
22052 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22053 AC_CACHE_CHECK invocation.
22054 * configure: Regenerated.
22056 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22058 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22061 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22062 bit from old_res_options.
22064 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22066 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22067 value type for setfct.
22069 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22072 __gettimeofday instead of gettimeofday.
22074 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22076 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22078 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22082 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22085 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22088 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22089 strcpy-sse2-unaligned strncpy-sse2-unaligned
22090 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22091 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22092 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22093 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22094 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22095 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22097 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22098 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22099 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22100 (STRCPY): Support SSE2 and SSSE3 versions.
22102 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22105 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22106 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22107 kernels which artificially limit size of requests.
22109 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22112 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22113 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22114 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22115 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22116 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22117 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22118 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22120 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22121 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22122 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22123 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22124 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22125 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22127 Enable unaligned load optimization for Intel Core i3, i5 and i7
22129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22131 (index_Fast_Unaligned_Load): Define.
22132 (HAS_FAST_UNALIGNED_LOAD): Define.
22134 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22136 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22138 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22142 until it is clear that the information is realy needed.
22143 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22145 2011-06-22 Andreas Schwab <schwab@redhat.com>
22147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22149 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22152 /sys/devices/system/cpu/online if it is usable.
22154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22155 reading the information from the /proc filesystem to once a second.
22157 2011-06-21 Andreas Jaeger <aj@suse.de>
22159 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22160 NULL after inclusion of kernel headers.
22162 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22164 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22165 calls to internal_setent.
22168 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22169 addresses using gethostbyname4_r ignore IPv4 addresses.
22171 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22172 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22174 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22176 2011-06-20 David S. Miller <davem@davemloft.net>
22178 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22180 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22182 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22183 (elf_irel): Use it.
22184 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22185 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22186 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22187 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22188 * sysdeps/x86_64/dl-irel.h: Likewise.
22190 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22191 * elf/dl-sym.c: Likewise.
22193 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22195 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22196 need to dereference resplen2.
22198 2011-06-14 Andreas Schwab <schwab@redhat.com>
22200 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22202 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22204 * Makeconfig: Define vardbdir and inst_vardbdir.
22205 * nss/Makefile: Add rules to install db-Makefile.
22207 * nss/nss_db/db-XXX.c: Cleanup.
22209 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22210 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22212 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22213 * nss/makedb.c: Implement -g option to specify that value strings
22214 are generated and should not be added to table iterated over for
22216 * nss/nss_db/db-initgroups.c: New file.
22218 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22221 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22222 (internal_getgrouplist): Adjust to name change.
22223 Update use_initgroups_entry if this is not the first call.
22224 * nss/databases.def: Add initgroups entry.
22226 * nss/makedb.c (compute_tables): Check result of multiple hash table
22227 sizes to minimize maximum chain length.
22229 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22231 * Versions.def: Add entry for libnss_db.
22232 * shlib-versions: Likewise.
22233 * nss/Makefile: Add rules to build libnss_db.
22234 * nss/Versions: Add libnss_db information. Organize libnss_files
22236 * nss/db-Makefile: Add gshadow support. Change rules for the new
22237 makedb progra. Some minor improvements to generate smaller files.
22238 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22240 * nss/makedb.c: ...here.
22241 Improve database format to be smaller and require less memory at
22243 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22245 * nss/nss_db/db-netgrp.c: Likewise.
22246 * nss/nss_db/db-open.c: Likewise.
22247 * nss/nss_files/flies-XXX.x: Adjust comments.
22248 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22249 * nss/nss_files/files-grp.c: Likewise.
22250 * nss/nss_files/files-hosts.c: Likewise.
22251 * nss/nss_files/files-network.c: Likewise.
22252 * nss/nss_files/files-proto.c: Likewise.
22253 * nss/nss_files/files-pwd.c: Likewise.
22254 * nss/nss_files/files-rpc.c: Likewise.
22255 * nss/nss_files/files-service.c: Likewise.
22256 * nss/nss_files/files-sgrp.c: Likewise.
22257 * nss/nss_files/files-spwd.c: Likewise.
22258 * nss/nss_db/db-alias.c: Removed.
22259 * nss/nss_db/dummy-db.h: Removed.
22261 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22263 * nss/makedb.c: Rewritten to not use database library.
22264 * nss/Makefile: Update to build new makedb program.
22266 2011-06-14 Andreas Jaeger <aj@suse.de>
22268 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22269 memset declaration.
22271 2011-06-10 Andreas Schwab <schwab@redhat.com>
22273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22276 2011-06-10 Roland McGrath <roland@hack.frob.com>
22278 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22279 * elf/Makefile ($(objpfx)ld.so): Likewise.
22281 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22282 Don't list ld.so twice in dependencies.
22284 * posix/bug-regex31.c: Include <stdlib.h>.
22286 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22288 * nis/nss_compat/compat-spwd.c
22289 (getspent_next_nss_netgr): Remove unused variable.
22290 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22292 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22293 nonmembers" output to use the right array.
22295 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22297 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22299 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22300 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22301 * catgets/gencat.c (read_input_file): Likewise.
22302 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22304 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22305 variable definition inside #if's controlling its use.
22307 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22309 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22311 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22313 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22316 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22318 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22319 * configure: Regenerated.
22321 * Makerules: Revert last change.
22322 * elf/Makefile: Likewise.
22324 2011-06-09 Roland McGrath <roland@hack.frob.com>
22326 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22327 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22328 (reloc-link): Likewise.
22330 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22332 * elf/Makefile: Add rules to build pldd.
22333 * elf/pldd.c: New file.
22334 * elf/pldd-xx.c: New file.
22336 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22338 * version.h: Update for 2.15 development version.
22340 2011-06-07 David S. Miller <davem@davemloft.net>
22342 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22345 elf_machine_lazy_rel): Likewise.
22346 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22347 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22348 elf_machine_lazy_rel): Likewise.
22349 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22350 dl_hwcap via passed in argument.
22351 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22354 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22356 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22358 2011-06-06 Roland McGrath <roland@hack.frob.com>
22361 * manual/fdl-1.1.texi: New file, verbatim from:
22362 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22363 * manual/lgpl-2.1.texi: New file, verbatim from:
22364 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22365 * manual/Makefile (licenses): New variable, list those new file names.
22367 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22369 * manual/fdl.texi: File removed.
22370 * manual/lesser.texi: File removed.
22371 * manual/libc.texinfo (Copying, Documentation License):
22372 Use new @include file names, put @appendix directive before @include.
22374 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22377 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22378 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22379 (mq_open): Add __NTH.
22381 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22384 Assume Intel Core i3/i5/i7 processor if AVX is available.
22386 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22391 2011-05-31 Andreas Schwab <schwab@redhat.com>
22393 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22394 memory. Use alloca_account. Fix memory leak when retrying.
22396 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22398 * version.h (RELEASE): Bump for 2.14 release.
22399 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22401 * config.make.in (RANLIB): Remove entry.
22403 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22405 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22406 (libc.pot): Work around missing support for .ksh extension in xgettext.
22409 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22410 if both request failed.
22411 (send_dg): In case of server errors clear resplen or *resplen2.
22414 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22415 when there are multiple maps.
22416 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22417 (_dl_fini): Remove test here.
22419 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22421 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22424 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22425 bit from old_res_options.
22426 (gaih_inet): Likewise.
22429 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22432 * resolv/res_init.c (res_setoptions): Make the code more compact.
22435 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22439 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22441 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22444 * malloc/malloc.h: Declare malloc hook variables as volatile.
22446 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22450 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22451 raise in the comment.
22452 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22454 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22456 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22459 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22460 grow the buffers more if it already has to be sufficient.
22461 (build_wcs_upper_buffer): Likewise.
22462 * posix/regexec.c (check_matching): Likewise.
22463 (clean_state_log_if_needed): Likewise.
22464 (extend_buffers): Don't enlarge buffers beyond size of the input
22466 Patches mostly by Emil Wojak <emil@wojak.eu>.
22467 * posix/bug-regex32.c: New file.
22468 * posix/Makefile (tests): Add bug-regex32.
22470 * locale/findlocale.c (_nl_find_locale): Return right away if
22471 _nl_explode_name failed.
22472 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22474 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22476 * debug/xtrace.sh: Unify messages.
22477 * malloc/memusage.sh: Likewise.
22480 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22481 time symbol from vDSO. Substitute with vsyscall if not available.
22482 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22485 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22486 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22487 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22488 Add sendmmsg and internal_sendmmsg.
22489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22490 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22493 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22494 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22497 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22500 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22501 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22503 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22507 * iconvdata/Makefile (tests): Add bug-iconv9.
22508 * iconvdata/bug-iconv9.c: New file.
22510 2011-05-27 Andreas Schwab <schwab@redhat.com>
22513 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22515 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22518 (struct user_regs_struct): Change intcs field back to cs.
22520 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22522 * po/ja.po: Update from translation team.
22524 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22527 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22528 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22530 2011-05-20 Andreas Schwab <schwab@redhat.com>
22532 * stdlib/longlong.h: Update from GCC.
22534 2011-05-23 Andreas Schwab <schwab@redhat.com>
22536 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22538 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22539 Add parameter name.
22540 (__sysconf): Pass it down.
22542 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22545 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22548 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22549 add in in __libc_use_alloca calls. Adjust callers.
22550 (glob): Use malloc in some situations.
22552 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22553 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22556 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22558 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22559 and CLOCK_BOOTTIME_ALARM.
22562 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22565 * string/_strerror.c (__strerror_r): Print negative errors as signed
22569 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22570 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22571 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22573 * configure.in: Fix typo in redirection and correct removal of test
22574 files in two cases.
22577 * locale/setlocale.c (new_composite_name): Fix test to check for
22578 identical name of all categories.
22581 * libio/filedoalloc.c (local_isatty): New function.
22582 (_IO_file_doallocate): Use local_isatty.
22583 * stdio-common/perror.c (perror): In case a new stream is used
22584 forward the stream error.
22585 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22588 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22593 * include/alloca.h (extend_alloca_account): Define.
22596 * posix/regex.h: Fix comments with documentation of user-accessible
22597 fields after compilation and describe correct free'ing of pattern
22598 after re_compile_pattern.
22599 Patch by Reuben Thomas <rrt@sc3d.org>.
22601 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22603 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22604 and -mno-altivec to prevent the compiler from using Altivec and/or
22605 VSX instructions when the corresponding registers are not available.
22607 2011-05-19 Andreas Schwab <schwab@redhat.com>
22609 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22611 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22613 * libio/freopen.c (freopen): Use __dup2, not dup2.
22614 * libio/freopen64.c (freopen64): Likewise.
22616 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22619 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22620 * math/Makefile (tests): Add test-powl.
22621 (CFLAGS-test-powl.c): Define.
22622 * math/test-powl.c: New file.
22624 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22626 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22628 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22631 * iconvdata/gb18030.c: Update to GB18020-2005.
22633 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22635 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22636 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22637 Patch by Aharon Robbins <arnold@skeeve.com>.
22640 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22644 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22645 through underflows.
22648 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22649 point to strings before performing equality test for error_one_per_line
22653 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22657 (struct user_fpregs_struct): Avoid __uint*_t types.
22660 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22661 symbol info. Use it instead of calling _dl_addr locally.
22662 (lock_and_info): New function.
22663 (tr_freehook): Call lock_and_info and pass symbol info as additional
22664 parameter to tr_where.
22665 (tr_mallochook): Likewise.
22666 (tr_reallochook): Likewise.
22667 (tr_memalignhook): Likewise.
22669 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22670 used and couldn't be at all thread-safe.
22672 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22674 * libio/freopen.c (freopen): Don't close old file descriptor
22675 before the new one is opened. Instead dup the new file descriptor
22676 to the old one after the new stream is created.
22677 * libio/freopen64.c (freopen64): Likewise.
22678 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22679 * libio/fileops.c (_IO_new_file_close_it): Handle new
22680 _IO_FLAGS2_NOCLOSE flag.
22681 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22682 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22683 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22684 _IO_FLAGS2_NOCLOSE flag.
22685 * include/unistd.h: Add hidden_proto for dup3.
22686 Define __have_dup3.
22687 * io/dup3.c: Define hidden symbol.
22688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22691 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22692 when an incomplete long option is used.
22693 * posix/tst-getopt_long1.c: New file.
22694 * posix/Makefile (tests): Add tst-getopt_long1.
22697 * scripts/config.guess: Update from autoconf-2.68.
22698 * scripts/config.sub: Likewise.
22701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22703 (has_cpuclock): ...this. New function.
22704 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22705 macro here based on has_cpuclock code.
22708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22709 First byte (not low byte) is now always NUL.
22710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22713 Use non-cancelable interfaces.
22716 * locale/iso-639.def: Add entry for Sorani.
22719 * include/stdlib.h: Move include protection to the right place.
22720 Define abort_msg_s. Declare __abort_msg with it.
22721 * stdlib/abort.c (__abort_msg): Adjust type.
22722 * assert/assert.c (__assert_fail_base): New function. Majority
22723 of code from __assert_fail. Allocate memory for __abort_msg with
22725 (__assert_fail): Now call __assert_fail_base.
22726 * assert/assert-perr.c: Remove bulk of implementation. Use
22727 __assert_fail_base.
22728 * include/assert.hL Declare __assert_fail_base.
22729 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22731 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22733 2011-05-14 Ulrich Drepper <drepper@gmail.com>
22737 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22738 until all modules are registered in the DTV.
22739 * elf/Makefile: Add rules to build and run tst-tls19.
22740 * elf/tst-tls19.c: New file.
22741 * elf/tst-tls19mod1.c: New file.
22742 * elf/tst-tls19mod2.c: New file.
22743 * elf/tst-tls19mod3.c: New file.
22744 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22747 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22751 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22752 two-byte sequence errors.
22753 * iconvdata/Makefile (tests): Add bug-iconv8.
22754 * iconvdata/bug-iconv8.c: New file.
22757 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22760 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22763 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22764 (dummy_getcfa): New function.
22765 (init): Get _Unwind_GetCFA address, use dummy if not found.
22766 (backtrace_helper): In recursion check, also check whether CFA changes.
22767 (__backtrace): Completely initialize arg.
22769 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22770 storing incomplete byte sequence in state object. Avoid testing for
22771 guaranteed too small input if we know there is enough data available.
22773 2011-05-11 Andreas Schwab <schwab@redhat.com>
22775 * Makeconfig (+link-pie): Indent.
22776 * Rules (binaries-pie): Define if $(have-fpie) and
22778 (binaries-shared): Also filter out $(binaries-pie).
22779 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22780 * nscd/Makefile (others-pie): Add nscd.
22781 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22782 ($(objpfx)nscd): Remove command override.
22783 * login/Makefile (others-pie): Add pt_chown.
22784 ($(objpfx)pt_chown): Remove command override.
22785 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22786 remove command overrides.
22788 2011-05-13 Ulrich Drepper <drepper@gmail.com>
22790 * libio/tst_putwc.c: Fix error messages.
22793 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22794 currently writing and seek to current position when not.
22795 * libio/Makefile (tests): Add bug-fclose1.
22796 * libio/bug-fclose1.c: New file.
22798 2011-05-12 Ulrich Drepper <drepper@gmail.com>
22801 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22802 don't set DF_1_NODELETE here.
22803 (do_lookup_x): When entering new entry test for copy relocation
22804 and if necessary set DF_1_NODELETE flag.
22805 * elf/tst-unique4.cc: New file.
22806 * elf/tst-unique4.h: New file.
22807 * elf/tst-unique4lib.cc: New file.
22808 * elf/Makefile: Add rules to build and run tst-unique4.
22809 Patch by Piotr Bury <pbury@goahead.com>.
22811 2011-05-11 Ulrich Drepper <drepper@gmail.com>
22814 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22817 * misc/mntent_r.c (addmntent): Flush the stream after the output
22820 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22821 (is_trusted_path_normalize): Skip initial colon. Append slash
22822 to empty buffer. Duplicate is_trusted_path code but allow
22823 constructed patch to be prefix.
22824 (is_dst): Allow $ORIGIN followed by /.
22825 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22826 Correct testing of result of is_trusted_path_normalize
22827 (decompose_rpath): Fix warning.
22829 2011-05-10 Ulrich Drepper <drepper@gmail.com>
22832 * grp/initgroups.c (internal_getgrouplist): When we found the service
22833 list through the initgroups entry in nsswitch.conf do not always
22834 continue on a successful lookup. Don't always use the
22835 __nss_group_database value if it is set.
22836 * nss/nsswitch.conf (initgroups): Change action for successful db
22837 lookup to continue for compatibility.
22839 2011-05-09 Ulrich Drepper <drepper@gmail.com>
22842 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22844 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22846 * iconvdata/tst-tables.sh: Likewise.
22847 * iconvdata/cp770.c: New file.
22848 * iconvdata/cp771.c: New file.
22849 * iconvdata/cp772.c: New file.
22850 * iconvdata/cp773.c: New file.
22851 * iconvdata/cp774.c: New file.
22852 * iconvdata/testdata/CP770: New file.
22853 * iconvdata/testdata/CP770..UTF8: New file.
22854 * iconvdata/testdata/CP771: New file.
22855 * iconvdata/testdata/CP771..UTF8: New file.
22856 * iconvdata/testdata/CP772: New file.
22857 * iconvdata/testdata/CP772..UTF8: New file.
22858 * iconvdata/testdata/CP773: New file.
22859 * iconvdata/testdata/CP773..UTF8: New file.
22860 * iconvdata/testdata/CP774: New file.
22861 * iconvdata/testdata/CP774..UTF8: New file.
22863 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22865 * iconvdata/gen-8bit-gap.sh: Likewise.
22866 * iconvdata/gen-8bit.sh: Likewise.
22868 * locale/iso-639.def: Add ary entry.
22871 * locale/C-translit.h.in: Add U20A1 transliteration.
22874 * locale/iso-639.def: Add wae entry.
22875 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22878 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22882 * locale/C-translit.h.in: Add entry for U20B9.
22883 Patch by pravin.d.s@gmail.com.
22885 2011-05-08 Ulrich Drepper <drepper@gmail.com>
22888 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22889 ENAMETOOLONG use generic getcwd.
22890 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22891 in rtld. Use *stat64.
22892 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22893 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22894 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22895 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22896 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22897 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22898 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22899 __fstatat64 macros.
22900 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22901 * dirent/rewinddir.c: Add libc_hidden_def.
22902 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22903 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22905 * include/dirent.h (__alloc_dir): Add flags parameter.
22906 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22907 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22909 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22910 from fdopendir if O_CLOEXEC is already set.
22912 2011-03-15 Alan Modra <amodra@gmail.com>
22914 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22915 l_tls_firstbyte_offset non-zero. Save padding offset in
22916 l_tls_firstbyte_offset for later use.
22917 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22918 freeing static tls block.
22920 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22922 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22923 where #ifdef was intended. The intent is to prevent ARG_MAX from
22924 being defined by the kernel headers.
22926 2011-05-07 Ulrich Drepper <drepper@gmail.com>
22929 * resolv/resolv.h: Define RES_NOTLDQUERY.
22930 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22931 no-tld-query and set RES_NOTLDQUERY.
22932 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22933 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22934 modern BIND to search name as TLD unless forbidden.
22936 2011-05-07 Petr Baudis <pasky@suse.cz>
22937 Ulrich Drepper <drepper@gmail.com>
22940 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22941 (is_trusted_path): ...to here.
22942 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22943 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22944 using is_trusted_path_normalize() in setuid scripts.
22946 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22949 __BEGIN/__END_DECLS.
22951 2011-05-06 Ulrich Drepper <drepper@gmail.com>
22953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22954 NSS_STATUS_NOTFOUND if no record was found.
22956 2011-05-05 Andreas Schwab <schwab@redhat.com>
22958 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22959 (headers-not-in-tirpc): Remove rpc/netdb.h
22960 * resolv/netdb.h: Revert last change.
22962 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22964 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22965 circular dependency between libgcc.a and libc.a.
22967 2011-05-05 Andreas Schwab <schwab@redhat.com>
22969 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22970 * nis/Makefile: Don't install rpcsvc/*.
22971 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22972 instead of <rpc/types.h>.
22973 (MAXHOSTNAMELEN): Define.
22975 2011-05-03 Andreas Schwab <schwab@redhat.com>
22977 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22979 2011-04-28 Maciej Babinski <mbabinski@google.com>
22982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22983 gethostbyname4_r when IPv6 results are possible.
22985 2011-05-02 Ulrich Drepper <drepper@gmail.com>
22988 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22989 _PC_PIPE_BUF handling.
22991 2011-04-30 Bruno Haible <bruno@clisp.org>
22994 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22995 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22997 * inet/getnameinfo.c (getnameinfo): Likewise.
22999 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23001 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23002 to groups setting in database lookup.
23003 * nss/nsswitch.conf: Add initgroups entry.
23005 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23008 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23010 Patch by Eric Blake <eblake@redhat.com>.
23012 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23014 * sunrpc/Makefile (need-export-routines): Add svc_run.
23015 (routines): Remove svc_run.
23016 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23017 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23018 * sunrpc/svc_run.c (svc_run): Likewise.
23019 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23021 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23024 problem in reallocation in last patch.
23026 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23028 * sunrpc/Makefile: Move inclusion of Rules.
23030 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23032 * nss/nss_files/files-initgroups.c: New file.
23033 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23034 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23035 _nss_files_initgroups_dyn.
23037 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23039 * elf/elf.h (R_ARM_IRELATIVE): Define.
23041 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23043 * po/ru.po: Update from translation team.
23045 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23047 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23050 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23054 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23059 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23061 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23067 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23070 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23072 * stdlib/bug-getcontext.c: New file.
23073 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23075 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23077 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23078 instructions into .machine "z9-109".
23079 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23080 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23082 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23084 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23085 between environment variables and auxiliary vector.
23087 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23089 * Makefile: Add rules to build linkobj/libc.so.
23090 * include/libc-symbols.h: Define libc_hidden_nolink.
23091 * include/rpc/auth.h: Mark functions which are to be hidden.
23092 * include/rpc/auth_des.h: Likewise.
23093 * include/rpc/auth_unix.h: Likewise.
23094 * include/rpc/clnt.h: Likewise.
23095 * include/rpc/des_crypt.h: Likewise.
23096 * include/rpc/key_prot.h: Likewise.
23097 * include/rpc/pmap_clnt.h: Likewise.
23098 * include/rpc/pmap_prot.h: Likewise.
23099 * include/rpc/pmap_rmt.h: Likewise.
23100 * include/rpc/rpc_msg.h: Likewise.
23101 * include/rpc/svc.h: Likewise.
23102 * include/rpc/svc_auth.h: Likewise.
23103 * include/rpc/xdr.h: Likewise.
23104 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23105 * nss/Makefile: Likewise.
23106 * sunrpc/Makefile: Don't install headers. Build library with normal
23107 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23108 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23109 for the compat linking library. Remove use of INTDEF/INTUSE.
23110 * sunrpc/auth_none.c: Likewise.
23111 * sunrpc/auth_unix.c: Likewise.
23112 * sunrpc/authdes_prot.c: Likewise.
23113 * sunrpc/authuxprot.c: Likewise.
23114 * sunrpc/clnt_gen.c: Likewise.
23115 * sunrpc/clnt_perr.c: Likewise.
23116 * sunrpc/clnt_raw.c: Likewise.
23117 * sunrpc/clnt_simp.c: Likewise.
23118 * sunrpc/clnt_tcp.c: Likewise.
23119 * sunrpc/clnt_udp.c: Likewise.
23120 * sunrpc/clnt_unix.c: Likewise.
23121 * sunrpc/des_crypt.c: Likewise.
23122 * sunrpc/des_soft.c: Likewise.
23123 * sunrpc/get_myaddr.c: Likewise.
23124 * sunrpc/key_call.c: Likewise.
23125 * sunrpc/key_prot.c: Likewise.
23126 * sunrpc/netname.c: Likewise.
23127 * sunrpc/pm_getmaps.c: Likewise.
23128 * sunrpc/pm_getport.c: Likewise.
23129 * sunrpc/pmap_clnt.c: Likewise.
23130 * sunrpc/pmap_prot.c: Likewise.
23131 * sunrpc/pmap_prot2.c: Likewise.
23132 * sunrpc/pmap_rmt.c: Likewise.
23133 * sunrpc/publickey.c: Likewise.
23134 * sunrpc/rpc_cmsg.c: Likewise.
23135 * sunrpc/rpc_common.c: Likewise.
23136 * sunrpc/rpc_dtable.c: Likewise.
23137 * sunrpc/rpc_prot.c: Likewise.
23138 * sunrpc/rpc_thread.c: Likewise.
23139 * sunrpc/rtime.c: Likewise.
23140 * sunrpc/svc.c: Likewise.
23141 * sunrpc/svc_auth.c: Likewise.
23142 * sunrpc/svc_authux.c: Likewise.
23143 * sunrpc/svc_raw.c: Likewise.
23144 * sunrpc/svc_run.c: Likewise.
23145 * sunrpc/svc_simple.c: Likewise.
23146 * sunrpc/svc_tcp.c: Likewise.
23147 * sunrpc/svc_udp.c: Likewise.
23148 * sunrpc/svc_unix.c: Likewise.
23149 * sunrpc/svcauth_des.c: Likewise.
23150 * sunrpc/xcrypt.c: Likewise.
23151 * sunrpc/xdr.c: Likewise.
23152 * sunrpc/xdr_array.c: Likewise.
23153 * sunrpc/xdr_float.c: Likewise.
23154 * sunrpc/xdr_intXX_t.c: Likewise.
23155 * sunrpc/xdr_mem.c: Likewise.
23156 * sunrpc/xdr_rec.c: Likewise.
23157 * sunrpc/xdr_ref.c: Likewise.
23158 * sunrpc/xdr_sizeof.c: Likewise.
23159 * sunrpc/xdr_stdio.c: Likewise.
23161 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23164 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23165 * sysdeps/ia64/dl-tls.h: Likewise.
23166 * sysdeps/powerpc/dl-tls.h: Likewise.
23167 * sysdeps/s390/dl-tls.h: Likewise.
23168 * sysdeps/sh/dl-tls.h: Likewise.
23169 * sysdeps/sparc/dl-tls.h: Likewise.
23170 * sysdeps/x86_64/dl-tls.h: Likewise.
23171 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23173 2011-03-14 Andreas Schwab <schwab@redhat.com>
23175 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23176 rpath element also skip the following colon.
23177 (expand_dynamic_string_token): Add is_path parameter and pass
23178 down to DL_DST_REQUIRED and _dl_dst_substitute.
23179 (decompose_rpath): Call expand_dynamic_string_token with
23180 non-zero is_path. Ignore empty rpaths.
23181 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23184 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23189 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23192 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23193 Patch by Filipe David Manana <fdmanana@apache.org>.
23195 2011-04-07 Andreas Schwab <schwab@redhat.com>
23197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23198 Maintain aligned stack.
23199 (CHECK_RSP): Remove unused macro.
23201 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23203 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23204 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23206 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23208 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23210 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23212 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23215 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23216 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23217 * sysdeps/x86_64/memmove.c: New file.
23218 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23219 (memcpy): Renamed to ...
23220 (__new_memcpy): This.
23221 (memcpy): Provide GLIBC_2_14 memcpy.
23222 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23223 (memcpy): Provide GLIBC_2_2_5 memcpy.
23225 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23228 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23230 2011-03-30 Andreas Schwab <schwab@redhat.com>
23232 * misc/syncfs.c: New file.
23233 * misc/Makefile (routines): Add syncfs.
23234 * posix/unistd.h: Declare syncfs.
23235 * sysdeps/unix/syscalls.list: Add syncfs.
23237 2011-04-01 Andreas Schwab <schwab@redhat.com>
23239 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23244 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23246 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23249 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23253 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23259 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23260 sync_file_range.c with -fexceptions.
23261 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23262 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23263 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23264 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23265 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23266 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23268 sync_file_range as cancellation point
23269 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23270 now a wrapper around __call_sync_file_range with cancellation handling.
23271 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23272 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23273 function name to __call_sync_file_range.
23274 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23275 Add call_sync_file_range.
23277 2011-04-01 Andreas Schwab <schwab@redhat.com>
23279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23282 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23284 * iconv/iconv.h: Fix typo in comment.
23285 * io/fcntl.h: Likewise.
23286 * libio/stdio.h: Likewise.
23287 * posix/spawn.h: Likewise.
23288 * posix/unistd.h: Likewise.
23289 * stdlib/stdlib.h: Likewise.
23290 * time/time.h: Likewise.
23291 * wcsmbs/wchar.h: Likewise.
23293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23294 open_by_handle): Add.
23295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23296 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23297 Augment a few comments.
23298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23303 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23306 * io/fcntl.h (AT_EMPTY_PATH): Define.
23308 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23310 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23311 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23312 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23314 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23315 * Versions.def: Add GLIBC_2.14.
23316 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23319 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23323 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23325 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23328 * string/test-strncmp.c (do_page_test): New function.
23329 (check2): Likewise.
23330 (test_main): Call check2.
23331 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23333 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23336 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23337 Handle cache information in CPU leaf 4.
23338 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23340 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23343 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23344 character representation.
23345 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23347 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23349 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23350 END(__isnan) to END(__isnanf) to match function entry point/label
23351 EALIGN(__isnanf,...).
23353 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23355 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23357 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23360 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23361 copy from the symbol referenced in the relocation to initialize the
23363 Patch by Piotr Bury <pbury@goahead.com>.
23364 * elf/Makefile: Add rules to build and tst-unique3.
23365 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23366 * elf/tst-unique3.cc: New file.
23367 * elf/tst-unique3.h: New file.
23368 * elf/tst-unique3lib.cc: New file.
23369 * elf/tst-unique3lib2.cc: New file.
23371 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23373 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23375 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23376 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23379 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23381 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23382 to-be-loaded object along a path to loader is ld.so.
23384 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23385 Ulrich Drepper <drepper@gmail.com>
23387 * sysdeps/x86_64/memset.S: After aligning destination, code
23388 branches to different locations depending on the value of
23389 misalignment, when multiarch is enabled. Fix this.
23391 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23393 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23394 Set _x86_64_preferred_memory_instruction for AMD processsors.
23395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23396 Set bit_Prefer_SSE_for_memop for AMD processors.
23398 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23400 * libio/fmemopen.c (fmemopen): Optimize a bit.
23402 2011-03-03 Andreas Schwab <schwab@redhat.com>
23404 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23406 2011-03-03 Roland McGrath <roland@redhat.com>
23408 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23410 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23412 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23413 __bzero_ultra1 instead of __memset_ultra1.
23415 2011-02-23 Andreas Schwab <schwab@redhat.com>
23416 Ulrich Drepper <drepper@gmail.com>
23419 * include/link.h (struct link_map): Add l_orig_initfini.
23420 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23421 returning unsuccessfully.
23422 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23423 close of a file loaded at startup, restore the original l_initfini
23425 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23426 list, store the pointer.
23427 * elf/Makefile ($(objpfx)noload-mem): New rule.
23428 (noload-ENV): Define.
23429 (tests): Add $(objpfx)noload-mem.
23430 * elf/noload.c: Include <memcheck.h>.
23431 (main): Call mtrace. Close all opened handles.
23433 2011-02-17 Andreas Schwab <schwab@redhat.com>
23436 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23437 dependencies are missing.
23439 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23441 Fix __if_freereq crash: Unlike the generic version which uses free,
23443 * sysdeps/mach/hurd/ifreq.h: New file.
23445 2011-01-27 Petr Baudis <pasky@suse.cz>
23446 Ulrich Drepper <drepper@gmail.com>
23449 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23450 to extend_alloca().
23451 * stdio-common/bug23.c: New file.
23452 * stdio-common/Makefile (tests): Add bug23.
23454 2010-09-28 Andreas Schwab <schwab@redhat.com>
23455 Ulrich Drepper <drepper@gmail.com>
23458 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23459 before performing relro protection. At old place add assertion
23460 to make sure nothing changed.
23462 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23463 Glauber de Oliveira Costa <glommer@gmail.com>
23465 * elf/elf.h: Add new ARM TLS relocs.
23467 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23470 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23472 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23474 * sysdeps/wordsize-64/tst-writev.c: New file.
23476 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23478 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23479 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23480 insns in _dl_start to prevent a TOC reference before relocs are
23483 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23486 * Makeconfig: Remove RANLIB definition.
23487 * Makerules: Don't use RANLIB.
23488 * aclocal.m4: Remove ranlib test.
23489 * configure.in: No need to check for ranlib.
23490 * elf/rtld-Rules: Don't use RANLIB.
23492 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23494 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23496 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23497 inclusion protection macro.
23499 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23500 SIGRTMIN and SIGRTMAX and print information in that case only when
23501 SIGRTMIN is defined.
23503 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23505 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23506 arginfo fn returning -1.
23508 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23509 and thousands string is zero terminated.
23511 2011-02-03 Andreas Schwab <schwab@redhat.com>
23513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23514 sysdeps/unix/sysv/linux/bits/socket.h.
23516 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23518 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23519 (__CPU_COUNT): Remove old macros.
23520 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23521 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23522 (__CPU_ALLOC, __CPU_FREE): Add macros.
23523 (__sched_cpualloc, __sched_cpufree): Add declarations.
23525 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23527 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23528 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23529 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23530 (readdhstai): Return value of addhstaiX call.
23531 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23532 (addgrbyX): Return value returned by cache_addgr.
23533 (readdgrbyname): Return value returned by addgrbyX.
23534 (readdgrbygid): Likewise.
23535 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23536 (addpwbyX): Return value returned by cache_addpw.
23537 (readdpwbyname): Return value returned by addhstbyX.
23538 (readdpwbyuid): Likewise.
23539 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23540 (addservbyX): Return value returned by cache_addserv.
23541 (readdservbyname): Return value returned by addservbyX:
23542 (readdservbyport): Likewise.
23543 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23544 (addhstbyX): Return value returned by cache_addhst.
23545 (readdhstbyname): Return value returned by addhstbyX.
23546 (readdhstbyaddr): Likewise.
23547 (readdhstbynamev6): Likewise.
23548 (readdhstbyaddrv6): Likewise.
23549 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23550 (readdinitgroups): Return value returned by addinitgroupsX.
23551 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23552 (prune_cache): Keep track of timeout value of re-added entries.
23553 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23554 * nscd/nscd.h: Adjust prototypes of readd* functions.
23556 2011-02-04 Roland McGrath <roland@redhat.com>
23558 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23559 (nis_stats): Likewise.
23560 * nis/nis_modify.c (nis_modify): Likewise.
23561 * nis/nis_remove.c (nis_remove): Likewise.
23562 * nis/nis_add.c (nis_add): Likewise.
23564 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23566 * posix/fnmatch_loop.c: Add some consts.
23568 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23570 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23573 * config.make.in (config-cflags-novzeroupper): Define.
23574 * configure.in: Substitute libc_cv_cc_novzeroupper.
23575 * elf/Makefile (AVX-CFLAGS): Define.
23576 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23577 (CFLAGS-tst-auditmod4a.c): Likewise.
23578 (CFLAGS-tst-auditmod4b.c): Likewise.
23579 (CFLAGS-tst-auditmod6b.c): Likewise.
23580 (CFLAGS-tst-auditmod6c.c): Likewise.
23581 (CFLAGS-tst-auditmod7b.c): Likewise.
23582 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23584 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23586 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23587 function to the callback.
23588 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23590 2011-02-02 Andreas Schwab <schwab@redhat.com>
23592 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23595 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23598 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23600 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23602 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23605 * elf/Makefile: Add rules to build and run new test.
23606 * elf/tst-initorder.c: New file.
23607 * elf/tst-initorder.exp: New file.
23608 * elf/tst-initordera1.c: New file.
23609 * elf/tst-initordera2.c: New file.
23610 * elf/tst-initordera3.c: New file.
23611 * elf/tst-initordera4.c: New file.
23612 * elf/tst-initorderb1.c: New file.
23613 * elf/tst-initorderb2.c: New file.
23614 * elf/tst-order-a1.c: New file.
23615 * elf/tst-order-a2.c: New file.
23616 * elf/tst-order-a3.c: New file.
23617 * elf/tst-order-a4.c: New file.
23618 * elf/tst-order-b1.c: New file.
23619 * elf/tst-order-b2.c: New file.
23620 * elf/tst-order-main.c: New file.
23621 New test case by George Gensure <werkt0@gmail.com>.
23623 2010-10-01 Andreas Schwab <schwab@redhat.com>
23625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23626 decoding ACE if AI_CANONIDN.
23628 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23630 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23632 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23634 * version.h (RELEASE): Bump for 2.13 release.
23635 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23637 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23641 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23642 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23646 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23648 * posix/getconf.c: Update copyright year.
23649 * catgets/gencat.c: Likewise.
23650 * csu/version.c: Likewise.
23651 * debug/catchsegv.sh: Likewise.
23652 * debug/xtrace.sh: Likewise.
23653 * elf/ldconfig.c: Likewise.
23654 * elf/ldd.bash.in: Likewise.
23655 * elf/sprof.c (print_version): Likewise.
23656 * iconv/iconv_prog.c: Likewise.
23657 * iconv/iconvconfig.c: Likewise.
23658 * locale/programs/locale.c: Likewise.
23659 * locale/programs/localedef.c: Likewise.
23660 * malloc/memusage.sh: Likewise.
23661 * malloc/mtrace.pl: Likewise.
23662 * nscd/nscd.c (print_version): Likewise.
23663 * nss/getent.c: Likewise.
23665 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23666 PF_CAIF, and PF_ALG.
23667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23669 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23671 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23672 (modules-names): Use them.
23673 (ifunc-test-modules, ifunc-pie-tests): Define.
23674 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23675 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23676 (test-extras): Likewise.
23677 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23678 $(compile-command.c).
23679 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23680 (all-built-dso): Define.
23681 (check-textrel.out, check-execstack.out): Depend on it.
23683 * configure.in: Don't override --enable-multi-arch.
23685 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23688 * nscd/hstcache.c (tryagain): Define.
23689 (cache_addhst): Return tryagain not notfound for temporary errors.
23690 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23693 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23696 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23697 to make the syscall.
23698 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23701 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23702 and fall back to matching as normal character if the string ends before
23703 the matching ']' is found. This is what POSIX requires.
23704 * posix/testfnm.c: Adjust test result.
23705 * posix/globtest.sh: Adjust test result. Add new test.
23706 * posix/tst-fnmatch.input: Likewise.
23707 * posix/tst-fnmatch2.c: Add new test.
23709 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23711 * elf/Makefile (check-execstack): Revert last change. Depend on
23713 (check-execstack.h): New target.
23714 (generated): Add check-execstack.h.
23715 * elf/check-execstack.c: Include "check-execstack.h".
23716 (main): Revert last change.
23717 (handle_file): Return zero if GNU_STACK is absent and
23718 DEFAULT_STACK_PERMS doesn't include PF_X.
23720 2011-01-13 Ulrich Drepper <drepper@gmail.com>
23722 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23723 in child fails because the descriptor is already closed.
23724 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23725 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23726 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23729 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23733 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23734 temporary buffer used to handle multi lookups locally.
23735 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23737 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23739 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23742 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23744 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23745 alignment for SSE2.
23747 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23750 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23751 characters. When rounding increased number of integer digits recompute
23753 * stdio-common/tst-grouping.c: New file.
23754 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23756 2011-01-09 Ulrich Drepper <drepper@gmail.com>
23758 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23759 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23761 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23763 * bits/select.h: Likewise.
23765 2011-01-08 Ulrich Drepper <drepper@gmail.com>
23767 * po/ja.po: Update from translation team.
23769 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
23772 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23773 implementation just like for lxstat, fxstatat, et al.
23775 2010-12-27 Jim Meyering <meyering@redhat.com>
23778 * posix/regexec.c (build_trtable): Return failure indication upon
23779 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23781 2010-12-25 Ulrich Drepper <drepper@gmail.com>
23784 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23785 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23786 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23787 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23790 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23793 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23794 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23796 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23798 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23799 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23800 script has SORT_BY_INIT_PRIORITY.
23801 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23802 NO_CTORS_DTORS_SECTIONS is defined.
23803 * elf/soinit.c: Likewise.
23804 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23805 NO_CTORS_DTORS_SECTIONS is defined.
23806 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23807 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23808 * sysdeps/sh/init-first.c: Likewise.
23809 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23811 2010-12-24 Ulrich Drepper <drepper@gmail.com>
23813 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23814 always use the slow path.
23816 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23818 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23819 similar rule which adds the sysdep directories to the header search in
23820 order to pick up the correct platform stackinfo.h.
23821 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23822 perform test if it is, otherwise return successfully without testing.
23823 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23824 DEFAULT_STACK_PERMS define in stackinfo.h.
23825 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23826 defined in stackinfo.h.
23827 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23828 DEFAULT_STACK_PERMS defined in stackinfo.h.
23829 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23830 * sysdeps/ia64/stackinfo.h: Likewise.
23831 * sysdeps/s390/stackinfo.h: Likewise.
23832 * sysdeps/sh/stackinfo.h: Likewise.
23833 * sysdeps/sparc/stackinfo.h: Likewise.
23834 * sysdeps/x86_64/stackinfo.h: Likewise.
23835 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23836 PF_X for powerpc64. Retain PF_X for powerpc32.
23838 2010-12-19 Ulrich Drepper <drepper@gmail.com>
23840 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23842 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23843 GETDENTS_64BIT_ALIGNED.
23845 2010-12-14 Ulrich Drepper <dreper@gmail.com>
23847 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23849 2010-12-10 Andreas Schwab <schwab@redhat.com>
23851 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23854 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23855 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23857 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23858 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23860 2010-12-09 Ulrich Drepper <drepper@gmail.com>
23863 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23866 2010-12-09 Jakub Jelinek <jakub@redhat.com>
23868 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23870 2010-12-03 Ulrich Drepper <drepper@gmail.com>
23872 * po/it.po: Update from translation team.
23874 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23879 2010-11-30 Ulrich Drepper <drepper@gmail.com>
23881 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23883 2010-11-24 Andreas Schwab <schwab@redhat.com>
23885 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23887 (gaih_getanswer_slice): Likewise.
23889 2010-10-20 Jakub Jelinek <jakub@redhat.com>
23891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23893 2010-05-31 Petr Baudis <pasky@suse.cz>
23896 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23897 silently even in the chroot mode.
23899 2010-11-22 Ulrich Drepper <drepper@gmail.com>
23901 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23902 last patch a bit. Pretty printing
23904 2010-05-31 Petr Baudis <pasky@suse.cz>
23907 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23908 initialization of skip_initgroups_dyn.
23910 2010-11-19 Ulrich Drepper <drepper@gmail.com>
23912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23915 2010-11-16 Ulrich Drepper <drepper@gmail.com>
23917 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23919 2010-11-11 Andreas Schwab <schwab@redhat.com>
23921 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23922 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23923 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23924 ($(objpfx)tst-fnmatch-mem): New rule.
23925 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23926 * posix/tst-fnmatch.c (main): Call mtrace.
23928 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23931 Support Intel processor model 6 and model 0x2c.
23933 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
23935 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23938 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23941 * string/test-strncasecmp.c (check_result): New function.
23942 (do_one_test): Use it.
23943 (check1): New function.
23944 (test_main): Use it.
23945 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23946 Support strcasecmp and strncasecmp.
23948 2010-11-08 Ulrich Drepper <drepper@gmail.com>
23951 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23952 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23954 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23956 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23960 * sysdeps/x86_64/multiarch/bzero.S: New file.
23961 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23962 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23963 * sysdeps/x86_64/multiarch/memset.S: New file.
23964 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23966 Set bit_Prefer_SSE_for_memop for Intel processors.
23967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23969 (index_Prefer_SSE_for_memop): Define.
23970 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23972 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
23974 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23975 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23977 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23980 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23981 (__x86_64_raw_data_cache_size_half): Likewise.
23982 (__x86_64_raw_shared_cache_size): Likewise.
23983 (__x86_64_raw_shared_cache_size_half): Likewise.
23985 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23986 (__x86_64_raw_data_cache_size_half): Likewise.
23987 (__x86_64_raw_shared_cache_size): Likewise.
23988 (__x86_64_raw_shared_cache_size_half): Likewise.
23989 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23990 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23991 and __x86_64_raw_shared_cache_size_half. Round
23992 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23993 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23994 to multiple of 256 bytes.
23996 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23999 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24000 of inacessible symlinks. Verify result of symlink before returning it.
24001 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24002 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24004 2010-10-28 Erich Ritz <erichritz@gmail.com>
24006 * math/math.h (isinf): Fix typo in comment.
24008 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24010 * po/da.po: Update from translation team.
24012 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24014 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24015 is added to the list.
24017 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24018 Ulrich Drepper <drepper@gmail.com>
24020 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24021 the global list here. Move code to...
24022 (_dl_add_to_namespace_list): ...here. New function.
24023 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24024 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24025 * elf/dl-load.c (lose): Don't remove the element from the list.
24026 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24027 (_dl_map_object): Likewise.
24029 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24032 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24033 into all bytes of SSE register.
24034 Patch by Richard Li <richardpku@gmail.com>.
24036 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24039 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24042 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24044 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24045 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24046 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24052 2010-10-22 Andreas Schwab <schwab@redhat.com>
24054 * include/dlfcn.h (__RTLD_SECURE): Define.
24055 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24056 mode & __RTLD_SECURE instead.
24057 (open_path): Rename preloaded parameter to secure.
24058 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24059 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24060 * elf/dl-deps.c (openaux): Likewise.
24061 * elf/rtld.c (struct map_args): Remove is_preloaded.
24062 (map_doit): Don't use it.
24063 (dl_main): Likewise.
24064 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24065 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24067 2010-09-09 Andreas Schwab <schwab@redhat.com>
24069 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24070 (sysd-rules-targets): Remove duplicates.
24071 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24072 rtld-%.$o dependency.
24074 2010-10-18 Andreas Schwab <schwab@redhat.com>
24076 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24077 _dl_map_object do it.
24079 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24081 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24082 fast fma builtins, define the macros in the C99 standard.
24083 (FP_FAST_FMAF): Likewise.
24084 (FP_FAST_FMAL): Likewise.
24085 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24087 * bits/mathdef.h: Update copyright year.
24088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24090 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24092 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24093 builtins, define the macros in the C99 standard.
24094 (FP_FAST_FMAF): Likewise.
24095 (FP_FAST_FMAL): Likewise.
24096 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24098 (FP_FAST_FMAF): Likewise.
24100 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24103 * math/libm-test.inc (fma_test): Some new testcases.
24104 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24105 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24106 y and infinite z. Do multiplication by C already in long double.
24107 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24109 y and infinite z. Do bitwise or of inexact bit into u.d.
24110 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24111 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24112 * sysdeps/i386/fpu/s_fma.S: Removed.
24113 * sysdeps/i386/fpu/s_fmal.S: Removed.
24115 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24118 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24120 computation is not scheduled after fetestexcept. Fix value
24121 of minimum denormal long double.
24123 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24126 * math/libm-test.inc (fma_test): Add some more tests.
24127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24130 2010-10-15 Andreas Schwab <schwab@redhat.com>
24132 * scripts/data/localplt-s390-linux-gnu.data: New file.
24133 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24135 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24138 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24139 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24141 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24143 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24145 if one of x and y is very large and the other is subnormal.
24146 * sysdeps/s390/fpu/s_fmaf.c: New file.
24147 * sysdeps/s390/fpu/s_fma.c: New file.
24148 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24149 * sysdeps/powerpc/fpu/s_fma.S: New file.
24150 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24151 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24152 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24154 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24157 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24160 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24161 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24162 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24163 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24164 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24167 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24170 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24171 * posix/bug-regex31.input: Add test case.
24173 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24175 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24176 * posix/bug-regex31.input: New file.
24179 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24180 (parse_sub_exp): Fix last change, use postorder.
24182 * posix/bug-regex31.c: New file.
24183 * posix/Makefile: Add rules to build and run bug-regex31.
24185 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24188 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24191 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24192 to have entries in sys_siglist.
24195 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24198 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24201 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24202 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24203 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24204 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24205 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24206 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24207 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24208 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24209 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24210 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24211 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24212 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24213 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24214 * math/ftestexcept.c (fetestexcept): Likewise.
24215 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24216 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24217 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24218 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24219 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24220 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24221 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24223 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24226 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24229 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24231 * string/bug-strstr1.c: New file.
24232 * string/Makefile: Add rules to build and run bug-strstr1.
24234 2010-10-05 Eric Blake <eblake@redhat.com>
24237 * string/str-two-way.h (two_way_long_needle): Always clear memory
24238 when skipping input due to the shift table.
24240 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24243 * malloc/mcheck.c: Handle large requests.
24246 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24247 for strncmp and strncasecmp.
24248 * string/stratcliff.c: Add tests for strcmp and strncmp.
24249 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24251 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24253 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24256 2010-09-30 Andreas Jaeger <aj@suse.de>
24258 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24259 (CGROUP_SUPER_MAGIC): Define.
24260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24261 Handle btrfs and cgroup file systems.
24262 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24265 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24267 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24268 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24270 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24273 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24274 trying to locate the ELF header.
24276 2010-09-27 Andreas Schwab <schwab@redhat.com>
24279 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24280 Mask out sign-bit copies when constructing f_fsid.
24282 2010-09-24 Petr Baudis <pasky@suse.cz>
24284 * debug/stack_chk_fail_local.c: Add missing licence exception.
24285 * debug/warning-nop.c: Likewise.
24287 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24289 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24290 implementing getdents64 using getdents syscall, set d_type if
24291 __ASSUME_GETDENTS32_D_TYPE.
24293 2010-09-16 Andreas Schwab <schwab@redhat.com>
24295 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24296 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24298 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24301 * posix/unistd.h: Undo change of feature selection for ftruncate from
24304 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24306 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24309 2010-09-20 Andreas Schwab <schwab@redhat.com>
24311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24313 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24315 2010-09-14 Andreas Schwab <schwab@redhat.com>
24317 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24318 variables after CHECK_SP call.
24319 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24321 2010-09-13 Andreas Schwab <schwab@redhat.com>
24322 Ulrich Drepper <drepper@redhat.com>
24324 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24325 re-relocationg ld.so.
24326 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24327 _dl_init_paths call.
24328 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24331 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24333 * resolv/res_init.c (__res_vinit): Count the default server we added.
24335 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24336 Ulrich Drepper <drepper@redhat.com>
24339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24340 (____longjmp_chk): Use %ebx for saving value across system call.
24343 2010-09-06 Andreas Schwab <schwab@redhat.com>
24345 * manual/Makefile: Don't mix pattern rules with normal rules.
24347 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24349 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24351 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24352 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24353 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24354 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24358 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24361 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24362 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24364 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24366 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24367 * sysdeps/x86_64/addmul_1.S: Likewise.
24368 * sysdeps/x86_64/lshift.S: Likewise.
24369 * sysdeps/x86_64/mul_1.S: Likewise.
24370 * sysdeps/x86_64/rshift.S: Likewise.
24371 * sysdeps/x86_64/sub_n.S: Likewise.
24372 * sysdeps/x86_64/submul_1.S: Likewise.
24374 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24376 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24377 Define __sched_param instead of SCHED_* and sched_param when
24378 <bits/sched.h> is included with __need_schedparam defined.
24379 * bits/sched.h [__need_schedparam]
24380 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24381 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24382 (__defined_schedparam): Define to 1.
24383 (__sched_param): New structure, identical to sched_param.
24384 (__need_schedparam): Undefine.
24386 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24389 (epoll_create1): Declare.
24391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24393 2010-08-31 Andreas Schwab <schwab@redhat.com>
24396 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24397 shifting retval into place.
24399 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24401 * nis/rpcsvc/nis.h: Update copyright notice.
24402 * nis/rpcsvc/nis.x: Likewise.
24403 * nis/rpcsvc/nis_callback.h: Likewise.
24404 * nis/rpcsvc/nis_callback.x: Likewise.
24405 * nis/rpcsvc/nis_object.x: Likewise.
24406 * nis/rpcsvc/nis_tags.h: Likewise.
24407 * nis/rpcsvc/yp.h: Likewise.
24408 * nis/rpcsvc/yp.x: Likewise.
24409 * nis/rpcsvc/ypupd.h: Likewise.
24410 * nis/yp_xdr.c: Likewise.
24411 * nis/ypupdate_xdr.c: Likewise.
24413 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24414 mainly the body of pmap_getport. Add parameters to specify timeouts.
24415 (pmap_getport): Use __libc_rpc_getport.
24416 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24417 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24418 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24420 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24425 2010-08-27 Roland McGrath <roland@redhat.com>
24427 * sysdeps/i386/i686/multiarch/Makefile
24428 (CFLAGS-varshift.c): New variable.
24430 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24432 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24433 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24437 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24439 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24441 * sysdeps/x86_64/strlen.S: Unroll the loop.
24442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24443 strlen-sse2 strlen-sse2-bsf.
24444 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24445 __strlen_no_bsf if bit_Slow_BSF is set.
24446 (__strlen_sse42): Removed.
24447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24448 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24450 2010-08-25 Roland McGrath <roland@redhat.com>
24452 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24453 * sysdeps/x86_64/multiarch/varshift.c: New file.
24454 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24455 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24456 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24457 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24459 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24462 strlen-sse2 strlen-sse2-bsf.
24463 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24464 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24465 (__strlen_sse2): Removed.
24466 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24469 bit_Slow_BSF for Atom.
24470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24471 (index_Slow_BSF): Define.
24472 (HAS_SLOW_BSF): Define.
24474 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24477 * resolv/res_init.c (__res_vinit): When no server address at all
24478 is given default to loopback.
24480 2010-08-24 Roland McGrath <roland@redhat.com>
24482 * configure.in: Remove config-name.h generation.
24483 * configure: Regenerated.
24484 * config-name.in: File removed.
24485 * scripts/config-uname.sh: New file.
24486 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24487 ($(objdir)config-name.h): New target.
24489 * sunrpc/rpc_parse.h: Avoid nested comment.
24491 2010-08-24 Richard Henderson <rth@redhat.com>
24492 Ulrich Drepper <drepper@redhat.com>
24493 H.J. Lu <hongjiu.lu@intel.com>
24495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24497 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24498 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24499 _mm_alignr_epi8 with _mm_loadu_si128.
24500 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24501 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24502 (__m128i_shift_right): Removed.
24503 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24504 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24505 * sysdeps/x86_64/multiarch/varshift.h: New file.
24506 * sysdeps/x86_64/multiarch/varshift.S: New file.
24508 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24510 * configure.in: Move assembler checks to before sysdep dir checking.
24512 2010-08-20 Petr Baudis <pasky@suse.cz>
24514 * LICENSES: Sync the sunrpc license.
24516 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24518 * sunrpc/auth_des.c: Update copyright notice once again.
24519 * sunrpc/auth_none.c: Likewise.
24520 * sunrpc/auth_unix.c: Likewise.
24521 * sunrpc/authdes_prot.c: Likewise.
24522 * sunrpc/authuxprot.c: Likewise.
24523 * sunrpc/bindrsvprt.c: Likewise.
24524 * sunrpc/clnt_gen.c: Likewise.
24525 * sunrpc/clnt_perr.c: Likewise.
24526 * sunrpc/clnt_raw.c: Likewise.
24527 * sunrpc/clnt_simp.c: Likewise.
24528 * sunrpc/clnt_tcp.c: Likewise.
24529 * sunrpc/clnt_udp.c: Likewise.
24530 * sunrpc/clnt_unix.c: Likewise.
24531 * sunrpc/des_crypt.c: Likewise.
24532 * sunrpc/des_soft.c: Likewise.
24533 * sunrpc/get_myaddr.c: Likewise.
24534 * sunrpc/getrpcport.c: Likewise.
24535 * sunrpc/key_call.c: Likewise.
24536 * sunrpc/key_prot.c: Likewise.
24537 * sunrpc/openchild.c: Likewise.
24538 * sunrpc/pm_getmaps.c: Likewise.
24539 * sunrpc/pm_getport.c: Likewise.
24540 * sunrpc/pmap_clnt.c: Likewise.
24541 * sunrpc/pmap_prot.c: Likewise.
24542 * sunrpc/pmap_prot2.c: Likewise.
24543 * sunrpc/pmap_rmt.c: Likewise.
24544 * sunrpc/rpc/auth.h: Likewise.
24545 * sunrpc/rpc/auth_unix.h: Likewise.
24546 * sunrpc/rpc/clnt.h: Likewise.
24547 * sunrpc/rpc/des_crypt.h: Likewise.
24548 * sunrpc/rpc/key_prot.h: Likewise.
24549 * sunrpc/rpc/netdb.h: Likewise.
24550 * sunrpc/rpc/pmap_clnt.h: Likewise.
24551 * sunrpc/rpc/pmap_prot.h: Likewise.
24552 * sunrpc/rpc/pmap_rmt.h: Likewise.
24553 * sunrpc/rpc/rpc.h: Likewise.
24554 * sunrpc/rpc/rpc_des.h: Likewise.
24555 * sunrpc/rpc/rpc_msg.h: Likewise.
24556 * sunrpc/rpc/svc.h: Likewise.
24557 * sunrpc/rpc/svc_auth.h: Likewise.
24558 * sunrpc/rpc/types.h: Likewise.
24559 * sunrpc/rpc/xdr.h: Likewise.
24560 * sunrpc/rpc_clntout.c: Likewise.
24561 * sunrpc/rpc_cmsg.c: Likewise.
24562 * sunrpc/rpc_common.c: Likewise.
24563 * sunrpc/rpc_cout.c: Likewise.
24564 * sunrpc/rpc_dtable.c: Likewise.
24565 * sunrpc/rpc_hout.c: Likewise.
24566 * sunrpc/rpc_main.c: Likewise.
24567 * sunrpc/rpc_parse.c: Likewise.
24568 * sunrpc/rpc_parse.h: Likewise.
24569 * sunrpc/rpc_prot.c: Likewise.
24570 * sunrpc/rpc_sample.c: Likewise.
24571 * sunrpc/rpc_scan.c: Likewise.
24572 * sunrpc/rpc_scan.h: Likewise.
24573 * sunrpc/rpc_svcout.c: Likewise.
24574 * sunrpc/rpc_tblout.c: Likewise.
24575 * sunrpc/rpc_util.c: Likewise.
24576 * sunrpc/rpc_util.h: Likewise.
24577 * sunrpc/rpcinfo.c: Likewise.
24578 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24579 * sunrpc/rpcsvc/key_prot.x: Likewise.
24580 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24581 * sunrpc/rpcsvc/mount.x: Likewise.
24582 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24583 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24584 * sunrpc/rpcsvc/rex.x: Likewise.
24585 * sunrpc/rpcsvc/rstat.x: Likewise.
24586 * sunrpc/rpcsvc/rusers.x: Likewise.
24587 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24588 * sunrpc/rpcsvc/spray.x: Likewise.
24589 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24590 * sunrpc/rtime.c: Likewise.
24591 * sunrpc/svc.c: Likewise.
24592 * sunrpc/svc_auth.c: Likewise.
24593 * sunrpc/svc_authux.c: Likewise.
24594 * sunrpc/svc_raw.c: Likewise.
24595 * sunrpc/svc_run.c: Likewise.
24596 * sunrpc/svc_simple.c: Likewise.
24597 * sunrpc/svc_tcp.c: Likewise.
24598 * sunrpc/svc_udp.c: Likewise.
24599 * sunrpc/svc_unix.c: Likewise.
24600 * sunrpc/svcauth_des.c: Likewise.
24601 * sunrpc/xcrypt.c: Likewise.
24602 * sunrpc/xdr.c: Likewise.
24603 * sunrpc/xdr_array.c: Likewise.
24604 * sunrpc/xdr_float.c: Likewise.
24605 * sunrpc/xdr_mem.c: Likewise.
24606 * sunrpc/xdr_rec.c: Likewise.
24607 * sunrpc/xdr_ref.c: Likewise.
24608 * sunrpc/xdr_sizeof.c: Likewise.
24609 * sunrpc/xdr_stdio.c: Likewise.
24611 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24614 2010-08-19 Andreas Schwab <schwab@redhat.com>
24616 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24618 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24620 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24621 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24622 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24623 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24624 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24625 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24626 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24627 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24628 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24629 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24630 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24632 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24633 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24635 2010-07-26 Anton Blanchard <anton@samba.org>
24637 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24638 * malloc/arena.c (heap_trim): Likewise.
24640 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24642 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24644 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24645 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24647 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24649 * sysdeps/i386/elf/Makefile: New file.
24651 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24653 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24654 from fanotify_init.
24655 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24658 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24660 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24662 * sysdeps/multiarch/strcmp.S: Likewise.
24664 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24666 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24667 strncase_l-nonascii.
24668 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24669 Add strncase_l-ssse3.
24670 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24671 * sysdeps/x86_64/strcmp.S: Likewise.
24672 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24673 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24674 * sysdeps/x86_64/strncase.S: New file.
24675 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24676 * sysdeps/x86_64/strncase_l.S: New file.
24677 * string/Makefile (strop-tests): Add strncasecmp.
24678 * string/test-strncasecmp.c: New file.
24680 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24683 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24686 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24688 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24690 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24692 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24696 2010-05-01 Alan Modra <amodra@gmail.com>
24698 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24699 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24700 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24701 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24702 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24703 tidying. Don't tail-call __sigjmp_save for static lib.
24704 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24706 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24707 (CALL_MCOUNT): Add eh info, and nop after bl.
24708 (TAIL_CALL_SYSCALL_ERROR): New macro.
24709 (PSEUDO_RET): Use it.
24710 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24711 Correct save location of integer regs and cr.
24712 (_dl_profile_resolve): Correct cr save location. Delete nops
24713 after bl when SHARED. Reduce cfi size a little by better
24714 placement of cfi directives.
24715 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24716 make a stack frame. Instead use parm save area as a temp.
24717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24718 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24720 Don't make a stack frame for parent, use parm save area.
24721 Increase child stack frame to 112 bytes. Don't save unused reg,
24722 and adjust reg usage. Set up cfi on error recovery and
24723 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24725 (__makecontext): Add dummy nop after jump to exit.
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24727 Use correct parm save area and cr save, reduce stack frame.
24728 Correct cfi for possible PSEUDO_RET frame setup.
24729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24730 Branch to local label emitted by PSEUDO_RET rather than
24733 2010-08-12 Andreas Schwab <schwab@redhat.com>
24736 * locale/programs/locale.c (print_assignment): New function.
24737 (show_locale_vars): Use it.
24739 2010-08-11 Ulrich Drepper <drepper@redhat.com>
24741 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24743 (struct statfs64): Likewise.
24744 (_STATFS_F_FLAGS): Define.
24745 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24746 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24747 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24748 (ST_VALID): Define locally.
24749 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24750 __statvfs_getflags, use the provided value.
24751 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24752 __ASSUME_STATFS_F_FLAGS.
24754 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24756 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24757 Add sys/fanotify.h.
24758 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24759 fanotify_mask for GLIBC_2.13.
24760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24761 fanotify_init and fanotify_mark.
24762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24763 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24765 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24767 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24768 prlimit64 for GLIBC_2.13.
24769 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24775 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24779 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24782 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24783 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24785 * nss/Makefile: Add rules to build and run tst-nss-test1.
24786 * shlib-versions: Add entry for libnss_test1.
24787 * nss/nss_test1.c: New file.
24788 * nss/tst-nss-test1.c: New file.
24790 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24791 (__nss_configure_lookup): Set appropriate entry in
24792 __nss_configure_lookup to true.
24793 * nss/nsswitch.h: Define enum with indeces of databases in
24794 databases and __nss_database_custom arrays. Declare
24795 __nss_database_custom.
24796 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24797 to avoid using nscd when custom rules are installed.
24798 * nss/getXXbyYY_r.c: Likewise.
24799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24801 * nss/nss_files/files-parse.c: Whitespace fixes.
24803 2010-08-09 Ulrich Drepper <drepper@redhat.com>
24806 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24807 * posix/fnmatch_loop.c: Likewise.
24809 2010-07-17 Andi Kleen <ak@linux.intel.com>
24811 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24812 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24813 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24814 * Versions.def [GLIBC_2.13]: Add.
24816 2010-08-06 Ulrich Drepper <drepper@redhat.com>
24818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24819 Also fail if tpwd after pwuid call is NULL.
24821 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24823 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24824 when converting to ms.
24826 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24828 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24829 EOPNOTSUPP errors with ENOTTY.
24830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24831 EOPNOTSUPP errors with ENOTTY.
24833 2010-07-31 Ulrich Drepper <drepper@redhat.com>
24835 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24836 Add strcasecmp_l-ssse3.
24837 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24839 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24840 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24841 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24843 2010-07-30 Ulrich Drepper <drepper@redhat.com>
24845 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24847 * string/Makefile (strop-tests): Add strcasecmp.
24848 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24849 strcasecmp_l-nonascii.
24850 (gen-as-const-headers): Add locale-defines.sym.
24851 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24852 * sysdeps/x86_64/strcasecmp.S: New file.
24853 * sysdeps/x86_64/strcasecmp_l.S: New file.
24854 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24855 * sysdeps/x86_64/locale-defines.sym: New file.
24856 * string/test-strcasecmp.c: New file.
24858 * string/test-strcasestr.c: Test both ends of the range of characters.
24859 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24861 2010-07-29 Roland McGrath <roland@redhat.com>
24864 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24866 2010-07-27 Ulrich Drepper <drepper@redhat.com>
24868 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24871 2010-07-27 Andreas Schwab <schwab@redhat.com>
24873 * manual/memory.texi (Malloc Tunable Parameters): Document
24876 2010-07-26 Roland McGrath <roland@redhat.com>
24879 * configure.in (-fgnu89-inline check): Set and substitute
24880 gnu89_inline, not libc_cv_gnu89_inline.
24881 * configure: Regenerated.
24882 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24884 2010-07-26 Ulrich Drepper <drepper@redhat.com>
24886 * string/test-strnlen.c: New file.
24887 * string/Makefile (strop-tests): Add strnlen.
24888 * string/tester.c (test_strnlen): Add a few more test cases.
24889 * string/tst-strlen.c: Better error reporting.
24891 * sysdeps/x86_64/strnlen.S: New file.
24893 2010-07-24 Ulrich Drepper <drepper@redhat.com>
24895 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24896 lower-latency instructions.
24898 2010-07-23 Ulrich Drepper <drepper@redhat.com>
24900 * string/test-strcasestr.c: New file.
24901 * string/test-strstr.c: New file.
24902 * string/Makefile (strop-tests): Add strstr and strcasestr.
24903 * string/str-two-way.h: Don't undefine MAX.
24904 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24906 2010-07-21 Andreas Schwab <schwab@redhat.com>
24908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24909 strcasestr-nonascii.
24910 (CFLAGS-strcasestr-nonascii.c): Define.
24911 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24913 Remove unused attribute.
24915 2010-07-20 Roland McGrath <roland@redhat.com>
24917 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24918 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24919 ld.so.cache was broken. With it, there is no way to disable dsocaps
24920 like LD_HWCAP_MASK can disable hwcaps.
24922 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24924 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24926 2010-07-16 Ulrich Drepper <drepper@redhat.com>
24928 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24929 call in strcasestr.
24930 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24931 __strcasestr_sse42_nonascii.
24932 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24933 strcasestr-nonascii.c.
24934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24936 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
24938 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24940 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24943 2010-07-09 Ulrich Drepper <drepper@redhat.com>
24945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24948 2010-07-06 Andreas Schwab <schwab@redhat.com>
24951 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24954 2010-07-06 Ulrich Drepper <drepper@redhat.com>
24956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24957 _PC_PIPE_BUF using F_GETPIPE_SZ.
24959 2010-07-05 Roland McGrath <roland@redhat.com>
24961 * manual/arith.texi (Rounding Functions): Fix rint description
24962 implicit in round description.
24964 2010-07-02 Ulrich Drepper <drepper@redhat.com>
24966 * elf/Makefile: Fix linking for a few tests to make recent linker
24969 2010-06-30 Andreas Schwab <schwab@redhat.com>
24971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24972 $(common-objpfx)libc_nonshared.a.
24974 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
24976 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24977 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24978 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24979 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24980 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24981 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24982 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24983 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24998 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24999 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25000 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25001 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25002 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25003 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25004 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25005 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25006 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25007 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25008 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25009 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25025 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25027 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25028 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25029 * string/memmove.c (memmove): Renamed to ...
25030 (MEMMOVE): ...this. Default to memmove.
25031 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25032 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25035 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25036 mempcpy-ssse3-back memmove-ssse3-back.
25037 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25040 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25041 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25042 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25043 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25044 * sysdeps/x86_64/multiarch/memmove.c: New file.
25045 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25046 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25047 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25048 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25049 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25052 (index_Fast_Copy_Backward): Define.
25053 (HAS_ARCH_FEATURE): Define.
25054 (HAS_FAST_REP_STRING): Define.
25055 (HAS_FAST_COPY_BACKWARD): Define.
25057 2010-06-21 Andreas Schwab <schwab@redhat.com>
25059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25060 Restore proper fallback handling.
25062 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25065 * posix/group_member.c (__group_member): Correct checking loop.
25067 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25068 OOM in getpwuid_r correctly. Return error number when the caller
25069 should return, otherwise -1.
25070 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25071 call returning > 0 value.
25072 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25074 2010-06-07 Andreas Schwab <schwab@redhat.com>
25076 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25077 libc_nonshared.a from targets in modules-names.
25079 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25081 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25084 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25086 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25091 2010-06-02 Andreas Schwab <schwab@redhat.com>
25093 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25095 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25106 2010-06-14 Roland McGrath <roland@redhat.com>
25108 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25110 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25112 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25113 __REDIRECT followed by __THROW.
25114 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25115 * posix/getopt.h (getopt): Likewise.
25117 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25119 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25120 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25121 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25123 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25124 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25126 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25130 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25134 Properly check family and model.
25136 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25138 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25140 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25142 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25144 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25146 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25149 2010-05-19 Andreas Schwab <schwab@redhat.com>
25151 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25154 2010-05-21 Andreas Schwab <schwab@redhat.com>
25156 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25157 and internal_recvmmsg.
25158 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25159 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25160 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25161 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25163 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25164 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25165 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25167 2010-05-20 Andreas Schwab <schwab@redhat.com>
25169 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25171 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25173 POWER7 optimizations.
25174 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25175 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25177 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25179 * version.h: Update for 2.13 development version.
25181 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25183 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25184 exceptions. Return 0.
25186 2010-05-07 Roland McGrath <roland@redhat.com>
25188 * elf/ldconfig.c (main): Add a const.
25190 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25192 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25193 (args_options): Add no-idn option.
25194 (ahosts_keys_int): Add idn_flags to ai_flags.
25195 (parse_option): Handle 'i' option to clear idn_flags.
25197 * malloc/malloc.c (_int_free): Possible race in the most recently
25198 added check. Only act on the data if no current modification
25201 See ChangeLog.17 for earlier changes.