1 2013-02-12 Andreas Schwab <schwab@suse.de>
4 * posix/regexec.c (extend_buffers): Add parameter min_len.
5 (check_matching): Pass minimum needed length.
6 (clean_state_log_if_needed): Likewise.
7 (get_subexp): Likewise.
8 * posix/Makefile (tests): Add bug-regex34.
9 (bug-regex34-ENV): Define.
10 * posix/bug-regex34.c: New file.
13 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14 elements compare against the byte sequence of it, not its name.
15 * posix/Makefile (tests): Add bug-regex35.
16 (bug-regex35-ENV): Define.
17 * posix/bug-regex35.c: New file.
19 2013-02-11 Tom de Vries <tom@codesourcery.com>
21 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25 (CHECK_EOL): Add undef.
27 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29 * bits/stdlib-bsearch.h: New file.
30 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31 * stdlib/stdlib.h: Likewise.
33 2013-02-11 Roland McGrath <roland@hack.frob.com>
35 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38 * manual/search.texi (Array Search Function): Add missing const in
40 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41 declaration to use rlim_t.
42 (Basic Scheduling Functions): Remove erroneous const from
43 sched_getparam prototype. Remove erroneous * from
44 sched_get_priority_max and sched_get_priority_min prototypes.
45 (Resource Usage): Fix summary @comment on vtimes to refer to
46 sys/vtimes.h rather than vtimes.h.
47 Add missing *s in vtimes prototype.
48 (Limits on Resources): Fix ulimit prototype to return long int.
49 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50 prototypes to use long int rather than double.
51 (BSD Random): Fix initstate and setstate to use char *, not void *.
52 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53 prototype to make second argument 'struct aiocb64 *const[]'.
54 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55 (Status of AIO Operations): Remove erroneous const in aio_return and
56 aio_return64 prototypes.
57 (Synchronizing I/O): Fix sync prototype to return void.
58 * manual/startup.texi (Suboptions): Remove an erroneous const in
60 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
61 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62 use size_t rather than int.
63 (Scanning All Users): Likewise for getpwent_r.
64 (Setting Groups): Add missing const to setgroups prototype.
65 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
66 * manual/socket.texi (Host Names): Fix gethostbyaddr and
67 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68 'const void *' rather than 'const char *'.
69 (Host Address Functions): Likewise for inet_ntop.
70 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
72 ssize_t for return value.
73 (Sending Data): Likewise for send, sendto, sendmsg.
74 (Socket Option Functions): Add a missing const in setsockopt prototype.
75 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
76 use wchar_t for the argument.
77 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
78 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
80 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
81 double/float/long double for second argument.
82 Fix return types of significand, significandf, significandl.
83 * manual/filesys.texi (Setting Permissions): Use mode_t for second
84 argument in fchmod prototype.
85 (File Owner): Use uid_t and gid_t in fchown prototype.
86 (File Times): Add const to utimes, futimes, and lutimes prototypes.
87 (Making Special Files): Use mode_t and dev_t in mknod prototype.
88 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
89 use 'const struct dirent **' as argument types to CMP function pointer
91 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
92 (File Times): Fix summary magic @comment for struct utimbuf and utime
93 to refer to utime.h, not time.h.
94 * manual/string.texi (Argz Functions): Add missing const in
95 argz_extract and argz_next prototypes.
96 (Finding Tokens in a String): Likewise for basename.
97 (String/Array Comparison): Fix typo in wcscasecmp prototype.
98 (Copying and Concatenation): Fix typo in wmemmove prototype.
99 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
100 (Signal Stack): Remove erroneous const in sigstack prototype.
101 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
103 (Simple Calendar Time): Likewise for stime.
104 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
106 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
107 say sys/sysctl.h instead.
108 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
109 and vsyslog prototypes.
111 2013-02-11 Tom de Vries <tom@codesourcery.com>
113 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
116 2013-02-11 Roland McGrath <roland@hack.frob.com>
118 * misc/sys/mman.h: Fix typo in mremap comment.
120 2013-02-08 Roland McGrath <roland@hack.frob.com>
122 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
125 2013-02-08 Joseph Myers <joseph@codesourcery.com>
128 * debug/segfault.c: Don't include <bp-checks.h>.
129 * sysdeps/generic/bp-checks.h: Remove file.
130 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
131 (__GETDENTS): Don't use CHECK_N.
132 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
133 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
134 (__getgroups): Don't use CHECK_N.
135 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
136 (setgroups): Don't use CHECK_N.
137 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
138 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
139 (__libc_msgrcv): Don't use CHECK_N.
140 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
141 (__libc_msgsnd): Don't use CHECK_N.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
144 (__libc_pread): Don't use CHECK_N.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
146 include <bp-checks.h>.
147 (__libc_pread64): Don't use CHECK_N.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
149 include <bp-checks.h>.
150 (__libc_pwrite): Don't use CHECK_N.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
152 include <bp-checks.h>.
153 (__libc_pwrite64): Don't use CHECK_N.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
156 (__libc_pread): Don't use CHECK_N.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
158 include <bp-checks.h>.
159 (__libc_pread64): Don't use CHECK_N.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
161 include <bp-checks.h>.
162 (__libc_pwrite): Don't use CHECK_N.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
164 include <bp-checks.h>.
165 (__libc_pwrite64): Don't use CHECK_N.
166 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
167 (do_pread): Don't use CHECK_N.
168 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
169 (do_pread64): Don't use CHECK_N.
170 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
171 (do_pwrite): Don't use CHECK_N.
172 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
173 (do_pwrite64): Don't use CHECK_N.
174 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
175 (__libc_readv): Don't use CHECK_N.
176 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
177 (semop): Don't use CHECK_N.
178 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
180 (semtimedop): Don't use CHECK_N.
181 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
182 (__libc_pread): Don't use CHECK_N.
183 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
185 (__libc_pread64): Don't use CHECK_N.
186 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
188 (__libc_pwrite): Don't use CHECK_N.
189 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
191 (__libc_pwrite64): Don't use CHECK_N.
192 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
194 (__libc_msgrcv): Don't use CHECK_N.
195 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
196 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
197 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
198 (__libc_writev): Don't use CHECK_N.
200 2013-02-08 Roland McGrath <roland@hack.frob.com>
202 * string/strcpy.c: Removed unused variable.
204 * Makeconfig (+sysdep-includes): Define with := rather than =.
205 Use an existing include/ subdir of each sysdeps dir before it.
207 2013-02-08 Carlos O'Donell <carlos@redhat.com>
209 * nscd/connection.c (register_traced_file): Comment function.
210 [HAVE_INOTIFY] (union __inev): Define.
211 [HAVE_INOTIFY] (inotify_check_files): New function.
212 [HAVE_INOTIFY] (clear_db_cache): Likewise.
213 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
215 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
217 2013-02-08 Carlos O'Donell <carlos@redhat.com>
219 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
220 loaded if not already and that a failure is permanent.
222 2013-02-08 Carlos O'Donell <carlos@redhat.com>
225 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
226 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
228 2013-02-08 Joseph Myers <joseph@codesourcery.com>
231 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
232 (CHECK_1_NULL_OK): Likewise.
233 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
234 (__fxstat): Do not use CHECK_1.
235 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
237 (___fxstat64): Do not use CHECK_1.
238 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
240 (__fxstatat): Do not use CHECK_1.
241 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
243 (__fxstatat64): Do not use CHECK_1.
244 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
246 (__fxstat): Do not use CHECK_1.
247 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
249 (__fxstatat): Do not use CHECK_1.
250 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
252 (__getresgid): Do not use CHECK_1.
253 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
255 (__getresuid): Do not use CHECK_1.
256 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
258 (__lxstat): Do not use CHECK_1.
259 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
261 (__old_msgctl): Do not use CHECK_1.
262 (__new_msgctl): Likewise.
263 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
265 (__new_setrlimit): Do not use CHECK_1.
266 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
268 (__old_shmctl): Do not use CHECK_1.
269 (__new_shmctl): Likewise.
270 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
272 (__xstat): Do not use CHECK_1.
273 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
274 (__lxstat): Do not use CHECK_1.
275 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
277 (___lxstat64): Do not use CHECK_1.
278 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
279 (__old_msgctl): Do not use CHECK_1.
280 (__new_msgctl): Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
283 (__gettimeofday): Do not use CHECK_1.
284 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
285 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
288 (__gettimeofday): Do not use CHECK_1.
289 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
290 (__old_shmctl): Do not use CHECK_1_NULL_OK.
291 (__new_shmctl): Do not use CHECK_1.
292 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
294 (do_sigtimedwait): Do not use CHECK_1.
295 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
297 (do_sigwaitinfo): Do not use CHECK_1.
298 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
300 (msgctl): Do not use CHECK_1.
301 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
303 (shmctl): Do not use CHECK_1.
304 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
305 (ustat): Do not use CHECK_1.
306 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
308 (__fxstat): Do not use CHECK_1.
309 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
311 (__fxstatat): Do not use CHECK_1.
312 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
314 (__lxstat): Do not use CHECK_1.
315 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
317 (__xstat): Do not use CHECK_1.
318 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
319 (__xstat): Do not use CHECK_1.
320 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
321 (___xstat64): Do not use CHECK_1.
324 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
326 (CHECK_BOUNDS_HIGH): Likewise.
327 * string/strcpy.c: Do not include <bp-checks.h>.
328 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
330 2013-02-07 Roland McGrath <roland@hack.frob.com>
332 * nscd/nscd-client.h (__nscd_drop_map_ref):
333 Add __attribute__ ((unused)).
334 * nis/nss-nisplus.h (niserr2nss): Likewise.
336 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
337 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
339 * csu/libc-tls.c (init_static_tls, init_slotinfo):
340 Remove inline keyword.
341 * include/rounding-mode.h (round_away): Likewise.
342 * libio/wfileops.c (adjust_wide_data): Likewise.
343 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
344 (__m128i_strloadu_tolower): Likewise.
345 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
346 (__m128i_strloadu_tolower): Likewise.
347 * time/mktime.c (ydhms_diff): Likewise.
348 * locale/elem-hash.h (elem_hash): Likewise.
349 * locale/setlocale.c (setdata): Likewise.
350 * posix/regex_internal.h (re_string_char_size_at): Likewise.
351 (re_string_wchar_at): Likewise.
352 (bitset_not, bitset_merge, bitset_mask): Likewise.
353 [!(__GNUC__ > 3)] (inline): Remove macro.
354 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
355 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
356 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
357 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
358 * string/memcmp.c (memcmp_bytes): Likewise.
359 * locale/programs/locarchive.c (compute_hashval): Likewise.
360 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
361 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
362 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
363 * nss/getent.c (print_rpc, print_protocols): Likewise.
364 (print_passwd, print_group, print_aliases): Likewise.
365 * nis/nss-nisplus.h (niserr2nss): Likewise.
366 * nscd/connections.c (restart_p): Likewise.
367 Change return type to bool.
369 2013-02-05 Roland McGrath <roland@hack.frob.com>
371 * Makeconfig (all-Depend-files): Add existing
372 $(sorted-subdirs:=/Depend) files.
373 (all-subdirs): Remove nss.
374 * sysdeps/unix/inet/Subdirs: Add it here instead.
375 * hesiod/Depend: New file.
377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
378 instead of calling alloca.
380 * io/lseek.c (__lseek): Rename to __libc_lseek.
381 Define __lseek as an alias.
383 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
385 2013-02-04 Carlos O'Donell <carlos@redhat.com>
387 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
388 else clause and remove check for non-standard endianness.
390 2013-02-04 David S. Miller <davem@davemloft.net>
392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
394 2013-02-04 Joseph Myers <joseph@codesourcery.com>
397 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
398 (__ubp_memchr): Remove prototype.
399 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
400 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
401 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
402 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
403 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
405 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
406 (__ubp_memchr): Likewise.
407 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
408 (__ubp_memchr): Likewise.
409 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
410 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
411 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
412 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
414 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
415 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
416 (__getcwd): Do not use CHECK_STRING.
417 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
419 (__real_chown): Do not use CHECK_STRING.
420 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
422 (fchownat): Do not use CHECK_STRING.
423 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
425 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
427 (__lchown): Do not use CHECK_STRING.
428 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
429 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
430 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
431 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
433 include <bp-checks.h>.
434 (truncate64): Do not use CHECK_STRING.
435 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
437 (__real_chown): Do not use CHECK_STRING.
438 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
440 (__lchown): Do not use CHECK_STRING.
441 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
443 (__chown): Do not use CHECK_STRING.
444 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
446 (truncate64): Do not use CHECK_STRING.
447 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
449 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
450 (__xmknod): Do not use CHECK_STRING.
451 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
453 (__xmknodat): Do not use CHECK_STRING.
454 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
455 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
457 2013-02-04 Andreas Schwab <schwab@suse.de>
460 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
461 * include/netdb.h: Likewise for h_errno.
462 * elf/tst-stackguard1.c: Include <tls.h>.
464 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
466 * elf/link.h (struct link_map): Extend the l_addr comment.
467 * include/link.h (struct link_map): Likewise.
469 2013-02-01 Joseph Myers <joseph@codesourcery.com>
472 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
473 (BOUNDED_1): Remove macro.
474 * debug/backtrace.c: Don't include <bp-checks.h>.
475 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
476 (__backtrace): Likewise.
477 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
479 (__backtrace): Don't use BOUNDED_1.
480 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
482 (__backtrace): Don't use BOUNDED_1.
483 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
484 (__backtrace): Don't use BOUNDED_1.
485 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
486 (shmat): Don't use BOUNDED_N.
488 2013-01-31 Joseph Myers <joseph@codesourcery.com>
491 * sysdeps/generic/bp-start.h: Remove file.
492 * csu/libc-start.c: Don't include <bp-start.h>.
493 (LIBC_START_MAIN): Set up __environ directly instead of using
494 INIT_ARGV_and_ENVIRON.
495 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
499 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
501 (CHECK_FCNTL): Likewise.
502 (CHECK_N_PAGES): Likewise.
505 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
507 (CHECK_SIGSET_NULL_OK): Likewise.
508 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
510 (sigpending): Don't use CHECK_SIGSET.
511 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
514 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
516 (do_sigsuspend): Don't use CHECK_SIGSET.
517 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
519 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
520 (do_sigwait): Don't use CHECK_SIGSET.
521 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
524 include <bp-checks.h>.
525 (sigpending): Don't use CHECK_SIGSET.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
527 include <bp-checks.h>.
528 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
529 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
531 (sigpending): Don't use CHECK_SIGSET.
532 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
534 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
537 * sysdeps/generic/bp-semctl.h: Remove file.
538 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
539 <bp-checks.h> and <bp-semctl.h>.
540 (__old_semctl): Don't use CHECK_SEMCTL.
541 (__new_semctl): Likewise.
542 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
544 (__old_semctl): Don't use CHECK_SEMCTL.
545 (__new_semctl): Likewise.
546 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
547 <bp-checks.h> and <bp-semctl.h>.
548 (__old_semctl): Don't use CHECK_SEMCTL.
549 (__new_semctl): Likewise.
550 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
551 <bp-checks.h> and <bp-semctl.h>.
552 (semctl): Don't use CHECK_SEMCTL.
555 * Makerules (elide-bp-thunks): Remove variable.
556 (elide-routines.oS): Don't use $(elide-bp-thunks).
557 (elide-routines.os): Likewise.
558 (elide-routines.o): Likewise.
559 (elide-routines.op): Likewise.
560 (elide-routines.og): Likewise.
561 (objects): Don't use $(bp-thunks).
562 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
564 (common-generated): Do not add s-proto-bp.d.
565 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
568 Do not generate makefile rules for bounded-pointer thunks.
569 * sysdeps/generic/bp-thunks.h: Remove file.
570 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
571 * sysdeps/unix/s-proto-bp.S: Likewise.
574 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
575 parts of result separately when argument is not close to line from
576 -i to i and one part of argument is small.
577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
579 * math/libm-test.inc (cacos_test): Add more tests.
580 (casin_test): Likewise.
581 (casinh_test): Likewise.
582 * sysdeps/i386/fpu/libm-test-ulps: Update.
583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
585 2013-01-31 David S. Miller <davem@davemloft.net>
587 * po/de.po: Update from translation team.
589 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
591 * time/tzfile.c: Include stdint.h for SIZE_MAX.
593 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
595 * configure.in (_AC_PROG_CC_C89): New definition.
596 * configure: Regenerate.
598 * configure.in (AC_PROG_CPP): New definition.
599 * configure: Regenerate.
601 2013-01-23 Joseph Myers <joseph@codesourcery.com>
603 * debug/tst-backtrace.h: New file.
604 * debug/tst-backtrace2.c: Include tst-backtrace.h.
605 (ret): Remove variable.
607 (FAIL): Remove macro.
608 (NO_INLINE): Likewise.
609 (fn1): Use match function instead of strstr.
610 * debug/tst-backtrace3.c: Include tst-backtrace.h.
611 (ret): Remove variable.
613 (FAIL): Remove macro.
614 (NO_INLINE): Likewise.
615 (fn): Use match function instead of strstr.
616 * debug/tst-backtrace4.c: Include tst-backtrace.h.
617 (ret): Remove variable.
619 (FAIL): Remove macro.
620 (NO_INLINE): Likewise.
621 (handle_signal): Use match function instead of strstr.
622 * debug/tst-backtrace5.c: Include tst-backtrace.h.
623 (ret): Remove variable.
625 (FAIL): Remove macro.
626 (NO_INLINE): Likewise.
627 (handle_signal): Use match function instead of strstr.
629 2013-01-23 Roland McGrath <roland@hack.frob.com>
631 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
633 2013-01-23 David S. Miller <davem@davemloft.net>
635 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
636 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
637 argument of CAS if possible.
638 * sysdeps/sparc/sparc64/bits/atomic.h
639 (__arch_compare_and_exchange_val_32_acq): Likewise.
640 (__arch_compare_and_exchange_val_64_acq): Likewise.
642 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
644 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
645 * sysdeps/posix/ulimit.c: ... this.
647 * sysdeps/unix/bsd/ulimit.c: Remove file.
649 2013-01-23 Adam Conrad <adconrad@0c3.net>
651 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
652 (LDFLAGS-tst-array5): Likewise.
654 2013-01-23 Joseph Myers <joseph@codesourcery.com>
657 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
658 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
659 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
660 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
662 2013-01-21 David S. Miller <davem@davemloft.net>
664 * sysdeps/sparc/backtrace.c: New file.
665 * sysdeps/sparc/sparc32/backtrace.h: New file.
666 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
667 * sysdeps/sparc/sparc64/backtrace.h: New file.
668 * sysdeps/sparc/sparc64/backtrace.c: Delete.
669 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
672 2013-01-21 Andreas Schwab <schwab@suse.de>
675 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
678 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
684 2013-01-18 Joseph Myers <joseph@codesourcery.com>
685 Mark Mitchell <mark@codesourcery.com>
686 Tom de Vries <tom@codesourcery.com>
687 Paul Pluzhnikov <ppluzhnikov@google.com>
689 * debug/tst-backtrace2.c: New file.
690 * debug/tst-backtrace3.c: Likewise.
691 * debug/tst-backtrace4.c: Likewise.
692 * debug/tst-backtrace5.c: Likewise.
693 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
694 (CFLAGS-tst-backtrace3.c): Likewise.
695 (CFLAGS-tst-backtrace4.c): Likewise.
696 (CFLAGS-tst-backtrace5.c): Likewise.
697 (LDFLAGS-tst-backtrace2): Likewise.
698 (LDFLAGS-tst-backtrace3): Likewise.
699 (LDFLAGS-tst-backtrace4): Likewise.
700 (LDFLAGS-tst-backtrace5): Likewise.
701 (tests): Add new tests tst-backtrace2, tst-backtrace3,
702 tst-backtrace4 and tst-backtrace5.
704 2013-01-18 Anton Blanchard <anton@samba.org>
705 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
707 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
708 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
709 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
710 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
712 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
713 "+r" and remove output regs list as redundant. Add explicit inline
714 asm to specify register of return val to work around compiler codegen
715 bug. Remove (int) cast on return value. Add return type parameter to
716 use in macro so that this macro does not truncate return value for
718 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
719 pass to INTERNAL_VSYSCALL_NCS.
720 (INLINE_VSYSCALL): Add 'long int' as return type to
721 INTERNAL_VSYSCALL_NCS macro invocation.
722 (INTERNAL_VSYSCALL): Add 'long int' as return type to
723 INTERNAL_VSYSCALL_NCS macro invocation.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
726 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
729 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
730 Fix application of SIMD FP exception mask.
732 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
733 mp_no from a power of two.
734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
735 __mpexp_twomm1. Use __pow_mp.
737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
740 2013-01-17 David S. Miller <davem@davemloft.net>
742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
744 2013-01-17 Joseph Myers <joseph@codesourcery.com>
747 * include/complex.h: Condition contents on [!_COMPLEX_H].
748 (__kernel_casinhf): New prototype.
749 (__kernel_casinh): Likewise.
750 (__kernel_casinhl): Likewise.
751 * math/Makefile (libm_calls): Add k_casinh.
752 * math/k_casinh.c: New file.
753 * math/k_casinhf.c: Likewise.
754 * math/k_casinhl.c: Likewise.
755 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
756 finite nonzero arguments.
757 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
758 finite nonzero arguments.
759 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
760 finite nonzero arguments.
761 * math/s_casinh.c: Do not include <float.h>.
762 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
763 * math/s_casinhf.c: Do not include <float.h>.
764 (__casinhf): Move code for finite nonzero arguments to
766 * math/s_casinhl.c: Do not include <float.h>.
767 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
769 (__casinhl): Move code for finite nonzero arguments to
771 * math/libm-test.inc (cacos_test): Add more tests.
772 * sysdeps/i386/fpu/libm-test-ulps: Update.
773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
775 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
777 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
778 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
779 [!HAVE_MREMAP]: Remove [defined linux] case.
780 * malloc/arena.c: Do not include <malloc-sysdep.h>.
782 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
784 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
786 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
788 * elf/elf.h (R_386_SIZE32): New relocation.
789 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
791 (elf_machine_rela): Likewise.
792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
793 R_X86_64_SIZE64 and R_X86_64_SIZE32.
795 2013-01-17 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
798 (FP_FAST_FMA): Do not define.
799 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
800 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
801 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
802 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
803 !_SOFT_FLOAT]: Likewise.
804 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
805 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
807 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
808 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
810 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
811 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
812 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
815 2013-01-16 Andreas Schwab <schwab@suse.de>
818 * include/stdlib.h (__mktemp): Add declaration.
819 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
820 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
822 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
824 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
826 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
827 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
828 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
830 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
831 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
833 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
835 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
836 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
837 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
839 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
840 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
844 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
846 2013-01-15 David S. Miller <davem@davemloft.net>
848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
849 trunc{,f} to libm-sysdep_routes.
850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
860 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
861 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
863 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
864 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
865 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
868 nearbyint{,f} to libm-sysdep_routes.
869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
883 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
885 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
886 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
887 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
889 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
890 libc_feholdexcept and libc_fesetenv.
892 2013-01-15 Mike Frysinger <vapier@gentoo.org>
894 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
896 2013-01-14 David S. Miller <davem@davemloft.net>
898 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
899 (SPARC_ASM_VIS2_IFUNC): Likewise.
900 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
902 use of 'siam' instruction.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
936 routines to libm-sysdep_routines.
937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
940 fdim/fdimf to libm-sysdep_routines.
941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
949 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
950 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
951 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
952 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
954 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
959 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
964 local variable MPTWO.
965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
968 2013-01-13 Mike Frysinger <vapier@gentoo.org>
970 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
973 2013-01-13 Mike Frysinger <vapier@gentoo.org>
975 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
977 2013-01-13 Mike Frysinger <vapier@gentoo.org>
979 * manual/pattern.texi (glob_t): Document gl_flags.
980 (glob64_t): Likewise.
982 2013-01-11 David S. Miller <davem@davemloft.net>
984 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
985 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
986 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
987 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
988 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
989 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
990 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
991 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
992 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
993 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
994 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
995 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
996 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
998 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
999 sparc V9 rather than using V8 code.
1000 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1001 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1003 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1005 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1008 2013-01-11 Roland McGrath <roland@hack.frob.com>
1010 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1011 not in the main loop.
1012 * configure: Regenerated.
1014 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1016 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1017 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1019 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1020 [!__GLIBC_HAVE_LONG_LONG] case.
1021 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1022 condition to just #else.
1023 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1024 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1025 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1026 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1028 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1029 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1030 #elif condition to just #else.
1031 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1032 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1033 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1034 #elif condition to just #else.
1036 2013-01-11 Steve Ellcey <sellcey@mips.com>
1038 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1039 (EF_MIPS_ARCH_64): Fix value.
1040 (EF_MIPS_ARCH_32R2): New.
1041 (EF_MIPS_ARCH_64R2): New.
1043 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1045 * Makeconfig (+link-pie-before-libc): New.
1046 (+link-pie-after-libc): Likewise.
1047 (+link-pie-tests): Likewise.
1048 (+link-pie): Rewritten.
1049 (link-before-libc): Remove $(config-LDFLAGS).
1050 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1051 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1052 (config-LDFLAGS): Renamed to ...
1053 (rtld-LDFLAGS): This.
1054 (rtld-tests-LDFLAGS): New macro.
1055 (link-libc-rpath-link): Likewise.
1056 (link-libc-tests-rpath-link): Likewise.
1057 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1058 (link-libc): Prepand $(link-libc-rpath-link).
1059 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1060 (test-program-prefix): New macro.
1061 (test-via-rtld-prefix): Likewise.
1062 (test-program-cmd): Likewise.
1063 (host-test-program-cmd): Likewise.
1064 * Makefile ($(common-objpfx)testrun.sh): Replace
1065 $(run-program-prefix) with $(test-program-prefix).
1066 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1068 ($(common-objpfx)shlib.lds): Likewise.
1069 (build-module-helper): Likewise.
1070 ($(common-objpfx)format.lds): Likewise.
1071 * Rules (binaries-pie-tests): New.
1072 (binaries-pie-notests): Likewise.
1073 (binaries-pie): Rewritten.
1074 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1075 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1076 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1077 (make-test-out): Replace $(host-built-program-cmd) with
1078 $(host-test-program-cmd).
1079 * config.make.in (build-hardcoded-path-in-tests): New variable.
1080 * configure.in (--enable-hardcoded-path-in-tests): New configure
1082 (hardcoded_path_in_tests): New AC_SUBST.
1083 * configure: Regenerated.
1084 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1085 $(built-program-cmd) with $(test-program-cmd).
1086 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1087 (test_program_cmd): This.
1088 * elf/Makefile ($(objpfx)order.out): Run test with
1089 $(test-program-prefix).
1090 ($(objpfx)order2.out): Likewise.
1091 ($(objpfx)tst-initorder.out): Likewise.
1092 ($(objpfx)tst-initorder2.out): Likewise.
1093 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1094 $(test-program-cmd).
1095 ($(objpfx)tst-array1-static.out): Likewise.
1096 ($(objpfx)tst-array2.out): Likewise.
1097 ($(objpfx)tst-array3.out): Likewise.
1098 ($(objpfx)tst-array4.out): Likewise.
1099 ($(objpfx)tst-array5.out): Likewise.
1100 ($(objpfx)tst-array5-static.out): Likewise.
1101 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1102 $(test-program-cmd).
1103 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1104 $(run-program-prefix) with $(test-program-prefix).
1105 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1106 (test_program_prefix): This.
1107 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1108 $(run-program-prefix) with $(test-program-prefix).
1109 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1110 (test_program_prefix): This.
1111 * iconvdata/tst-tables.sh: Likewise.
1112 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1113 $(run-program-prefix) with $(test-program-prefix).
1114 ($(objpfx)tst-translit.out): Likewise.
1115 ($(objpfx)tst-gettext2.out): Likewise.
1116 ($(objpfx)tst-gettext4.out): Likewise.
1117 ($(objpfx)tst-gettext6.out): Likewise.
1118 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1119 (test_program_prefix): This.
1120 * intl/tst-gettext2.sh: Likewise.
1121 * intl/tst-gettext4.sh Likewise.
1122 * intl/tst-gettext6.sh: Likewise.
1123 * intl/tst-translit.sh: Likewise.
1124 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1125 with $(test-program-cmd).
1126 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1127 $(run-program-prefix) with $(test-program-prefix).
1128 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1129 (test_program_prefix): This.
1130 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1131 $(run-program-prefix) with $(test-program-prefix).
1132 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1133 (test_program_prefix): This.
1134 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1135 * posix/Makefile ($(objpfx)globtest.out): Replace
1136 $(run-via-rtld-prefix) and $(test-wrapper) with
1137 $(test-program-prefix) and $(test-via-rtld-prefix).
1138 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1139 $(test-program-prefix).
1140 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1141 $(host-test-program-cmd).
1142 (tst-spawn-ARGS): Likewise.
1143 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1144 $(test-program-prefix).
1145 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1146 (test_via_rtld_prefix): This.
1147 (test_wrapper): Renamed to ...
1148 (test_program_prefix): This.
1149 (run_program_prefix): Replaced by test_program_prefix.
1150 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1151 (test_program_prefix): This.
1152 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1153 with $(host-test-program-cmd).
1154 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1155 $(run-program-prefix) with $(test-program-prefix).
1156 ($(objpfx)tst-printf.out): Likewise.
1157 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1158 $(test-program-cmd).
1159 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1160 (test_program_prefix): This.
1161 * stdio-common/tst-unbputc.sh: Likewise.
1162 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1163 $(run-program-prefix) with $(test-program-prefix).
1164 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1165 (test_program_prefix): This.
1166 * string/Makefile ($(objpfx)tst-svc.out): Replace
1167 $(built-program-cmd) with $(test-program-cmd).
1169 2013-01-11 Andreas Jaeger <aj@suse.de>
1172 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1173 value. Sync with Linux 3.7.
1175 2013-01-10 David S. Miller <davem@davemloft.net>
1177 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1181 2013-01-10 Roland McGrath <roland@hack.frob.com>
1183 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1185 * configure: Regenerated.
1187 2013-01-10 David S. Miller <davem@davemloft.net>
1189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1190 sparc V9 rather than using V8 code.
1191 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1192 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1194 2013-01-10 Roland McGrath <roland@hack.frob.com>
1196 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1197 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1198 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1199 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1200 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1201 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1202 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1203 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1204 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1205 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1206 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1207 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1208 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1209 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1210 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1211 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1212 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1213 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1214 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1215 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1216 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1217 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1218 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1219 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1220 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1221 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1222 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1224 2013-01-10 David S. Miller <davem@davemloft.net>
1226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1228 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1230 * posix/Makefile (tests-static): New variable.
1231 (tests): Add $(tests-static).
1232 (tst-exec-static-ARGS): New variable.
1233 (tst-spawn-static-ARGS): Likewise.
1234 * posix/tst-exec-static.c: New file.
1235 * posix/tst-spawn-static.c: Likewise.
1236 * posix/tst-exec.c: Support run directly.
1237 * posix/tst-spawn.c: Likewise.
1239 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1241 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1243 * math/bits/mathcalls.h (llrint): Likewise.
1244 (llround): Likewise.
1245 * stdlib/stdlib.h (struct drand48_data): Likewise.
1246 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1247 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1250 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1252 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1253 (elf_greg_t): Likewise.
1254 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1255 (__jmp_buf): Likewise.
1256 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1258 (llrint): Likewise, for all definitions.
1259 (llrintl): Likewise.
1261 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1262 Remove [__GNUC__] condition.
1263 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1264 condition to just [__USE_ISOC99].
1265 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1267 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1270 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1271 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1273 (_POSIX_V6_ILP32_OFF32): Likewise.
1274 (_XBS5_ILP32_OFF32): Likewise.
1275 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1276 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1278 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1280 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1283 doubles __mpexp_twomm1. Adjust usage.
1284 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1287 2013-01-10 Andreas Schwab <schwab@suse.de>
1290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1291 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1293 2013-01-09 David S. Miller <davem@davemloft.net>
1296 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1297 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1298 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1299 TCP_FASTOPEN): Define.
1300 (tcp_repair_opt): New structure.
1301 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1303 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1304 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1305 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1306 (tcp_cookie_transactions): New structure.
1308 2013-01-09 Anton Blanchard <anton@samba.org>
1310 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1311 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1313 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1315 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1317 * include/features.h (__USE_ANSI): Remove.
1319 2013-01-09 Roland McGrath <roland@hack.frob.com>
1321 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1323 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1325 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1327 * sysdeps/s390/fpu/libm-test-ulps: Update.
1329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1331 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1336 (__mp_dbl): Likewise.
1337 (__dbl_mp): Likewise.
1338 (add_magnitudes): Likewise.
1339 (sub_magnitudes): Likewise.
1345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1350 (__mp_dbl): Likewise.
1351 (__dbl_mp): Likewise.
1352 (add_magnitudes): Likewise.
1353 (sub_magnitudes): Likewise.
1359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1364 (__mp_dbl): Likewise.
1365 (__dbl_mp): Likewise.
1366 (add_magnitudes): Likewise.
1367 (sub_magnitudes): Likewise.
1374 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1376 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1377 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1378 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1379 2 && __USE_EXTERN_INLINES]: Likewise.
1381 2013-01-08 Andreas Jaeger <aj@suse.de>
1384 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1386 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1387 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1389 2013-01-07 Anton Blanchard <anton@samba.org>
1391 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1392 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1393 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1394 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1395 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1396 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1397 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1398 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1402 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1403 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1409 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1412 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1418 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1419 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1420 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1421 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1423 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1424 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1426 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1433 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1435 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1437 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1438 (__MALLOC_PMT): Likewise.
1439 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1440 [__GNUC__], only on [_LIBC].
1441 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1442 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1443 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1444 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1445 forward declaration.
1446 (realloc_hook_ini): Likewise.
1447 (memalign_hook_ini): Likewise.
1448 (__libc_memalign): Do not use __MALLOC_PMT in variable
1450 (__libc_valloc): Likewise.
1451 (__libc_pvalloc): Likewise.
1452 (__libc_calloc): Likewise.
1453 (__posix_memalign): Likewise.
1456 * math/s_casinh.c: Include <float.h>.
1457 (__casinh): Do not do computation with squaring and square root
1458 for large arguments.
1459 * math/s_casinhf.c: Include <float.h>.
1460 (__casinhf): Do not do computation with squaring and square root
1461 for large arguments.
1462 * math/s_casinhl.c: Include <float.h>.
1463 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1464 (__casinhl): Do not do computation with squaring and square root
1465 for large arguments.
1466 * math/libm-test.inc (casin_test): Add more tests.
1467 (casinh_test): Likewise.
1468 * sysdeps/i386/fpu/libm-test-ulps: Update.
1469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1471 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1473 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1474 (__x86_64_raw_data_cache_size): Likewise.
1475 (__x86_64_data_cache_size_half): Likewise.
1476 (__x86_64_raw_data_cache_size_half): Likewise.
1477 (__x86_64_shared_cache_size): Likewise.
1478 (__x86_64_raw_shared_cache_size): Likewise.
1479 (__x86_64_shared_cache_size_half): Likewise.
1480 (__x86_64_raw_shared_cache_size_half): Likewise.
1481 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1483 (__x86_data_cache_size): This.
1484 (__x86_64_raw_data_cache_size): Renamed to ...
1485 (__x86_raw_data_cache_size): This.
1486 (__x86_64_data_cache_size_half): Renamed to ...
1487 (__x86_data_cache_size_half): This.
1488 (__x86_64_raw_data_cache_size_half): Renamed to ...
1489 (__x86_raw_data_cache_size_half): This.
1490 (__x86_64_shared_cache_size): Renamed to ...
1491 (__x86_shared_cache_size): This.
1492 (__x86_64_raw_shared_cache_size): Renamed to ...
1493 (__x86_raw_shared_cache_size): This.
1494 (__x86_64_shared_cache_size_half): Renamed to ...
1495 (__x86_shared_cache_size_half): This.
1496 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1497 (__x86_raw_shared_cache_size_half): This.
1498 * sysdeps/x86_64/memcpy.S: Updated.
1499 * sysdeps/x86_64/memset.S: Likewise.
1500 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1504 2013-01-04 David S. Miller <davem@davemloft.net>
1506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1508 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1511 1 to avoid redefinition warning.
1512 (__USE_GNU): Don't define.
1513 (init_signaling_nan): Protoize.
1515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1517 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1519 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1521 (__cpymn): Likewise.
1522 (norm): Remove commented code.
1524 (__mp_dbl): Likewise.
1526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1527 (__cpymn): Likewise.
1528 (norm): Remove commented code.
1530 (__mp_dbl): Likewise.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1534 mp_no value for 1.0 and 2.0.
1535 (norm): Use RADIXI instead of radixi.d.
1537 (__mul): Use 0.0 instead of zero.d.
1538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1539 mp_no value for 1.0 and 2.0.
1540 (norm): Use RADIXI instead of radixi.d.
1542 (__mul): Use 0.0 instead of zero.d.
1544 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1547 * math/s_casinh.c (__casinh): Reduce finite argument to first
1548 quadrant then set signs of results at the end.
1549 * math/s_casinhf.c (__casinhf): Likewise.
1550 * math/s_casinhl.c (__casinhl): Likewise.
1551 * math/libm-test.inc (casin_test): Add more tests.
1552 (casinh_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1560 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1562 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1565 (__mp_dbl): Likewise.
1568 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1569 and adjust the header comment.
1571 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1572 variable name from declaration.
1574 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1577 Initialize COMMON_CPUID_INDEX_7 element.
1578 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1579 (CPUID_RTM): Likewise.
1580 (HAS_RTM): Likewise.
1581 (COMMON_CPUID_INDEX_7): New enum.
1583 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1586 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1587 size is zero, record memory as freed.
1589 2013-01-03 Andreas Jaeger <aj@suse.de>
1591 * po/ia.po: Add new Interlingua translation.
1593 2012-01-03 Allan McRae <allan@archlinux.org>
1595 * locale/programs/localedef.c: Fix description of '--posix' flag.
1597 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1599 * NEWS: Update dates in second copyright notice.
1600 * README: Update copyright dates in example.
1601 * manual/libc.texinfo: Update copyright dates.
1602 * scripts/test-installation.pl: Update copyright date in --version
1605 * hurd/ctty-input.c: Fix copyright notice formatting.
1606 * hurd/ctty-output.c: Likewise.
1607 * hurd/dtable.c: Likewise.
1608 * hurd/hurd-raise.c: Likewise.
1609 * hurd/hurdprio.c: Likewise.
1610 * hurd/msgportdemux.c: Likewise.
1611 * misc/sys/file.h: Likewise.
1612 * misc/sys/ioctl.h: Likewise.
1613 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1614 * sysdeps/mach/hurd/chdir.c: Likewise.
1615 * sysdeps/mach/hurd/fchdir.c: Likewise.
1616 * sysdeps/mach/hurd/rename.c: Likewise.
1617 * sysdeps/mach/hurd/rmdir.c: Likewise.
1618 * sysdeps/mach/hurd/seekdir.c: Likewise.
1619 * sysdeps/mach/hurd/setsid.c: Likewise.
1620 * sysdeps/posix/wait3.c: Likewise.
1622 * All files with FSF copyright notices: Update copyright dates
1623 using scripts/update-copyrights.
1624 * intl/plural.c: Regenerated.
1625 * locale/programs/charmap-kw.h: Likewise.
1626 * locale/programs/locfile-kw.h: Likewise.
1628 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1630 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1633 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1634 calculation loop and add branch prediction.
1636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1637 check access beyond bounds of m1np.
1639 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1641 (__inv): Remove local variable MPTWO to use the global
1643 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1646 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1647 MP3HALFS static const.
1649 2013-01-01 David S. Miller <davem@davemloft.net>
1651 * po/ca.po: Update from translation team.
1653 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1655 * scripts/update-copyrights: New file.
1656 * Makeconfig: Reformat copyright notice.
1657 * ctype/ctype.h: Likewise.
1658 * debug/swprintf_chk.c: Likewise.
1659 * elf/dl-cache.c: Likewise.
1660 * elf/dl-debug.c: Likewise.
1661 * elf/dl-object.c: Likewise.
1662 * grp/initgroups.c: Likewise.
1663 * hurd/Makefile: Likewise.
1664 * hurd/hurd/signal.h: Likewise.
1665 * hurd/hurdfault.c: Likewise.
1666 * hurd/hurdioctl.c: Likewise.
1667 * hurd/hurdlookup.c: Likewise.
1668 * hurd/intr-msg.c: Likewise.
1669 * iconv/gconv_open.c: Likewise.
1670 * libio/swprintf.c: Likewise.
1671 * locale/lc-ctype.c: Likewise.
1672 * locale/nl_langinfo.c: Likewise.
1673 * mach/Machrules: Likewise.
1674 * mach/Makefile: Likewise.
1675 * malloc/obstack.h: Likewise.
1676 * manual/Makefile: Likewise.
1677 * manual/tsort.awk: Likewise.
1678 * misc/bits/stab.def: Likewise.
1679 * nis/nis_print_group_entry.c: Likewise.
1680 * nis/nis_table.c: Likewise.
1681 * nis/nss_compat/compat-pwd.c: Likewise.
1682 * nis/nss_compat/compat-spwd.c: Likewise.
1683 * po/Makefile: Likewise.
1684 * posix/fnmatch.c: Likewise.
1685 * posix/regex.h: Likewise.
1686 * resolv/Makefile: Likewise.
1687 * resolv/nss_dns/dns-network.c: Likewise.
1688 * resolv/res_hconf.c: Likewise.
1689 * scripts/gen-sorted.awk: Likewise.
1690 * soft-fp/soft-fp.h: Likewise.
1691 * stdio-common/printf.h: Likewise.
1692 * stdlib/monetary.h: Likewise.
1693 * stdlib/random.c: Likewise.
1694 * stdlib/random_r.c: Likewise.
1695 * sysdeps/generic/Makefile: Likewise.
1696 * sysdeps/gnu/Makefile: Likewise.
1697 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1725 * sysdeps/mach/hurd/errnos.awk: Likewise.
1726 * sysdeps/mach/hurd/fork.c: Likewise.
1727 * sysdeps/mach/hurd/getcwd.c: Likewise.
1728 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1729 * sysdeps/mach/hurd/mmap.c: Likewise.
1730 * sysdeps/mach/hurd/utimes.c: Likewise.
1731 * sysdeps/mach/hurd/xmknod.c: Likewise.
1732 * sysdeps/posix/profil.c: Likewise.
1733 * sysdeps/posix/readdir_r.c: Likewise.
1734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1735 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1736 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1737 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1741 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1743 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1745 * sysdeps/pthread/lio_listio.c: Likewise.
1746 * sysdeps/sparc/dl-procinfo.h: Likewise.
1747 * sysdeps/unix/i386/sysdep.S: Likewise.
1748 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1749 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1750 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1751 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1753 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1754 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1755 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1756 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1757 * sysdeps/wordsize-32/divdi3.c: Likewise.
1758 * time/sys/time.h: Likewise.
1759 * wcsmbs/Makefile: Likewise.
1761 2013-01-01 David S. Miller <davem@davemloft.net>
1763 * po/fr.po: Update from translation team.
1765 * catgets/gencat.c: Update copyright year.
1766 * csu/version.c: Likewise.
1767 * debug/catchsegv.sh: Likewise.
1768 * debug/pcprofiledump.c: Likewise.
1769 * debug/xtrace.sh: Likewise.
1770 * elf/ldconfig.c: Likewise.
1771 * elf/ldd.bash.in: Likewise.
1772 * elf/pldd.c: Likewise.
1773 * elf/sotruss.ksh: Likewise.
1774 * elf/sprof.c: Likewise.
1775 * iconv/iconv_prog.c: Likewise.
1776 * iconv/iconvconfig.c: Likewise.
1777 * locale/programs/locale.c: Likewise.
1778 * locale/programs/localedef.c: Likewise.
1779 * login/programs/pt_chown.c: Likewise.
1780 * malloc/memusage.sh: Likewise.
1781 * malloc/memusagestat.c: Likewise.
1782 * malloc/mtrace.pl: Likewise.
1783 * nscd/nscd.c: Likewise.
1784 * nss/getent.c: Likewise.
1785 * nss/makedb.c: Likewise.
1786 * posix/getconf.c: Likewise.
1788 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1790 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1793 2012-12-30 Mike Frysinger <vapier@gentoo.org>
1795 * math/bits/mathcalls.h (modf): Use __nonnull.
1797 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1800 (split): Use macro CN instead of the bare value.
1801 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1804 instead of the bare value.
1807 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1813 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1815 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1816 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1817 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1818 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1820 2012-12-28 Andreas Jaeger <aj@suse.de>
1822 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1823 values are from Linux 3.7.
1825 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1826 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1828 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1830 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1835 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1836 variables with preprocessor constants.
1837 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1838 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1839 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1841 2012-12-27 Bruno Haible <bruno@clisp.org>
1844 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1847 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1850 and use variable directly.
1851 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1853 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1855 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1858 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1859 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1860 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1861 include directive. Remove local variable MPONE.
1862 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1863 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1864 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1866 2012-12-25 David S. Miller <davem@davemloft.net>
1868 * version.h (RELEASE): Set to "development".
1869 (VERSION): Set to "2.17.90".
1870 * NEWS: Add 2.18 section.
1872 2012-12-21 David S. Miller <davem@davemloft.net>
1874 * po/hr.po: Update from translation team.
1876 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1878 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1880 2012-12-19 Steve Ellcey <sellcey@mips.com>
1882 * NEWS: Mention new memcpy for MIPS.
1884 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1886 * manual/contrib.texi (Contributors): Spelling correction.
1888 2012-12-15 David S. Miller <davem@davemloft.net>
1890 * po/ru.po: Update from translation team.
1892 2012-12-13 David S. Miller <davem@davemloft.net>
1894 * NEWS: Mention IFUNC testsuite enhancements.
1896 * po/pl.po: Update from translation team.
1897 * po/bg.po: Likewise.
1899 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1900 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1902 2012-12-11 David S. Miller <davem@davemloft.net>
1904 * po/sv.po: Update from translation team.
1906 * po/vi.po: Update from translation team.
1908 * po/cs.po: Update from translation team.
1910 * po/de.po: Update from translation team.
1911 * po/eo.po: Likewise.
1912 * po/nl.po: Likewise.
1914 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1917 * manual/argp.texi (Argp Helper Functions): Move node to follow
1921 * manual/conf.texi (Limits on File System Capacity): Mention if
1922 terminating null is included in the max size.
1924 2012-12-10 Andreas Jaeger <aj@suse.de>
1926 * po/cs.po: Update from translation team.
1928 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1930 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1931 void pointer and cast to uintptr_t.
1932 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1934 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1935 * sysdeps/s390/s390-64/memset.S: Likewise.
1937 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
1940 * menual/message.texi (Message Translation): Fix typos.
1941 (Helper programs for gettext): Likewise.
1943 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1946 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1949 2012-12-07 David S. Miller <davem@davemloft.net>
1951 * po/libc.pot: Update.
1953 2012-12-07 Richard Henderson <rth@redhat.com>
1956 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1957 normal/normal case to before the switch.
1958 (_FP_DIV): Likewise.
1960 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1961 Mike Frysinger <vapier@gentoo.org>
1963 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1964 check for __NR_fadvise64_64.
1966 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1968 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1969 0, not just to plain "0" as a statement.
1970 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1973 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1975 * NEWS: Use sourceware.org in Bugzilla URL.
1977 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1980 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1982 * stdio-common/tst-put-error.c (do_test): Add newline to the
1983 padded test to ensure flush.
1985 2012-12-05 Jeff Law <law@redhat.com>
1987 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1989 2012-12-05 Joseph Myers <joseph@codesourcery.com>
1991 * README: Don't refer to ports add-on as distributed separately.
1992 Mention AArch64 in list of systems supported in the ports add-on.
1994 * LICENSES: Add more non-FSF copyright and license notices.
1996 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1999 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2001 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2002 10000 as width of padded output.
2004 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2006 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2009 variable LX with __attribute__ ((unused)).
2010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2012 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2013 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2014 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2015 with __attribute__ ((unused)).
2017 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2019 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2021 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2023 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2024 (CFLAGS-nldbl-acos.c): New variable.
2025 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2026 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2027 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2028 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2029 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2030 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2031 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2032 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2033 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2034 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2035 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2036 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2037 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2038 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2039 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2040 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2041 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2042 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2043 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2044 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2045 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2046 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2047 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2048 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2049 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2050 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2051 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2052 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2053 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2054 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2055 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2056 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2057 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2058 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2059 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2060 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2061 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2062 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2063 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2064 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2065 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2066 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2067 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2068 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2069 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2070 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2071 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2072 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2073 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2074 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2075 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2076 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2077 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2078 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2079 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2080 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2081 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2082 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2083 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2084 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2085 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2086 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2087 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2088 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2089 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2090 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2091 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2092 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2093 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2094 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2095 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2096 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2097 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2098 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2099 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2100 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2101 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2102 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2103 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2104 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2105 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2106 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2107 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2108 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2109 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2110 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2111 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2112 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2113 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2114 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2115 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2116 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2117 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2118 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2119 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2120 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2121 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2124 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2128 whole low double instead of just low 47 bits when splitting values
2131 2012-12-03 Allan McRae <allan@archlinux.org>
2133 * manual/stdio.texi (Predefined Printf Handlers): Remove
2134 @hsep and @vsep usage.
2136 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2138 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2139 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2141 2012-12-03 Jeff Law <law@redhat.com>
2143 * time/sys/time.h (settimeofday): Do not mark TV argument
2146 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2148 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2149 when currently writing and seek to current position when not.
2150 * libio/Makefile (tests): Remove bug-fclose1.
2151 * libio/bug-fclose1.c: Delete.
2153 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2155 * manual/arith.texi (feenableexcept): Fix typo.
2156 (fedisableexcept): Likewise.
2158 2012-11-30 Roland McGrath <roland@hack.frob.com>
2160 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2161 second, differently-typed declaration, rather than a cast.
2163 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2165 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2166 * include/rpc/svc.h: ... here.
2168 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2171 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2172 depending n and resplen2 to catch cases where answer
2175 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2177 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2178 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2180 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2184 2012-11-29 Roland McGrath <roland@hack.frob.com>
2186 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2188 2012-11-28 Jeff Law <law@redhat.com>
2191 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2192 dataset_temporary. Track alloca usage into alloca_used.
2193 If dataset is large allocate and release it via malloc/free.
2195 2012-06-04 Florian Weimer <fweimer@redhat.com>
2198 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2200 2012-11-28 David S. Miller <davem@davemloft.net>
2202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2204 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2207 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2208 of pi/2 rounded to nearest to 64 bits.
2209 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2211 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2214 2012-11-28 Jeff Law <law@redhat.com>
2215 Martin Osvald <mosvald@redhat.com>
2218 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2219 * sunrpc/svc.c: Include time.h.
2220 (__svc_accept_failed): New function.
2221 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2222 any reason other than EINTR, call __svc_accept_failed.
2223 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2224 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2226 2012-11-28 Andreas Schwab <schwab@suse.de>
2228 * scripts/abilist.awk: Also handle indirect functions in .opd
2231 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/x86/fpu/powl_helper.c: New file.
2235 * sysdeps/x86/fpu/Makefile: Likewise.
2236 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2238 (__ieee754_powl): Use __powl_helper for finite arguments except
2239 integer exponents below 8.
2240 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2242 (__ieee754_powl): Use __powl_helper for finite arguments except
2243 integer exponents below 8.
2244 * math/libm-test.inc (pow_test): Add more tests and enable some
2245 previously disabled tests.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2249 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 Carlos O'Donell <carlos_odonell@mentor.com>
2252 * nss/makedb.c (is_prime): Assert that input is odd and greater
2253 than 4. Note that fact in a comment too.
2254 (next_prime): Add 4 to input.
2256 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2259 * libio/Makefile (tests): Add test case tst-fwrite-error.
2260 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2261 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2262 * libio/tst-fwrite-error.c: New test case.
2264 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2266 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2267 before casting to void *.
2268 * include/libc-internal.h (__pointer_type): New macro.
2269 (__integer_if_pointer_type_sub): Likewise.
2270 (__integer_if_pointer_type): Likewise.
2271 (cast_to_integer): Likewise.
2272 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2273 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2274 before casting to atomic64_t.
2275 (atomic_exchange_acq): Likewise.
2276 (__arch_exchange_and_add_body): Likewise.
2277 (__arch_add_body): Likewise.
2278 (atomic_add_negative): Likewise.
2279 (atomic_add_zero): Likewise.
2281 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2283 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2284 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2285 (add_fdes): Likewise.
2286 (linear_search_fdes): Likewise.
2287 (binary_search_unencoded_fdes): Likewise.
2289 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2291 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2293 2012-11-24 Adam Conrad <adconrad@0c3.net>
2295 * configure.in: Autodetect C++ header directories.
2296 * configure: Regenerated.
2298 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2300 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2302 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2306 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2308 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2309 LDBL_MANT_DIG == 106]: Disable some tests.
2310 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2312 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2316 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2317 input for small inputs. Return +/- pi/2 for large inputs.
2318 * math/libm-test.inc (atan_test): Add more tests.
2320 * sysdeps/generic/unwind-dw2-fde-glibc.c
2321 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2322 __attribute__ ((unused)).
2325 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2326 x * y if x and y are nonzero and z is zero.
2329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2330 nonzero exponents with absolute value below 0x1p-117 to +/-
2334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2335 up arguments below 2**-450, not just those below 2**-500.
2336 * math/libm-test.inc (hypot_test): Add another test.
2339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2340 Return a+b for ratio over 2**120, not 2**60.
2341 * math/libm-test.inc (hypot_test): Add another test.
2343 * math/libm-test.inc (clog_test): Use
2344 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2345 (clog10_test): Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2350 2012-11-22 Andreas Schwab <schwab@suse.de>
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2354 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2356 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2357 printf output with newline.
2359 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2362 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2363 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2364 -z nodlopen, -z initfirst and -z execstack support.
2365 * configure: Regenerated.
2367 * elf/elf.h (DF_1_NODIRECT): New macro.
2368 (DF_1_IGNMULDEF): Likewise.
2369 (DF_1_NOKSYMS): Likewise.
2370 (DF_1_NOHDR): Likewise.
2371 (DF_1_EDITED): Likewise.
2372 (DF_1_NORELOC): Likewise.
2373 (DF_1_SYMINTPOSE): Likewise.
2374 (DF_1_GLOBAUDIT): Likewise.
2375 (DF_1_SINGLETON): Likewise.
2376 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2377 DT_1_SUPPORTED_MASK bits.
2378 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2380 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2382 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2384 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2386 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2389 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2390 (sendmmsg): Move declarations...
2391 * socket/sys/socket.h: ... here.
2392 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2393 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2395 * socket/recvmmsg.c: ... this new file.
2396 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2397 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2398 definition of __sendmmsg hidden.
2399 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2400 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2401 Move ENOSYS stub into and include it from...
2402 * socket/sendmmsg.c: ... this new file.
2403 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2404 (sysdep_routines): Move recvmmsg and sendmmsg...
2405 * socket/Makefile (routines): ... here.
2406 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2407 (GLIBC_PRIVATE): Add __sendmmsg.
2408 * include/sys/socket.h (__sendmmsg): Add declarations.
2409 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2412 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2414 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2415 variable I1 with __attribute__ ((unused)).
2416 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2418 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2420 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2421 DUMMY variables with __attribute__ ((unused)).
2423 * bits/byteswap.h: Include <bits/types.h>.
2424 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2426 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2428 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2429 string_t. Do not manually set errno.
2430 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2431 length with __strnlen. Make sure to both set errno and return it on
2434 2012-11-19 David S. Miller <davem@davemloft.net>
2436 With help from Joseph Myers.
2437 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2438 very large arguments properly.
2439 * math/libm-test.inc (atan_test): New tests.
2440 (atan2_test): New tests.
2441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2444 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2447 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2450 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2451 [POSIX] (EADDRNOTAVAIL): Likewise.
2452 [POSIX] (EAFNOSUPPORT): Likewise.
2453 [POSIX] (EALREADY): Likewise.
2454 [POSIX] (ECONNABORTED): Likewise.
2455 [POSIX] (ECONNREFUSED): Likewise.
2456 [POSIX] (ECONNRESET): Likewise.
2457 [POSIX] (EDESTADDRREQ): Likewise.
2458 [POSIX] (EDQUOT): Likewise.
2459 [POSIX] (EHOSTUNREACH): Likewise.
2460 [POSIX] (EIDRM): Likewise.
2461 [POSIX] (EISCONN): Likewise.
2462 [POSIX] (ELOOP): Likewise.
2463 [POSIX] (EMULTIHOP): Likewise.
2464 [POSIX] (ENETDOWN): Likewise.
2465 [POSIX] (ENETUNREACH): Likewise.
2466 [POSIX] (ENOBUFS): Likewise.
2467 [POSIX] (ENODATA): Likewise.
2468 [POSIX] (ENOLINK): Likewise.
2469 [POSIX] (ENOMSG): Likewise.
2470 [POSIX] (ENOPROTOOPT): Likewise.
2471 [POSIX] (ENOSR): Likewise.
2472 [POSIX] (ENOSTR): Likewise.
2473 [POSIX] (ENOTCONN): Likewise.
2474 [POSIX] (ENOTSOCK): Likewise.
2475 [POSIX] (EOPNOTSUPP): Likewise.
2476 [POSIX] (EOVERFLOW): Likewise.
2477 [POSIX] (EPROTO): Likewise.
2478 [POSIX] (EPROTONOSUPPORT): Likewise.
2479 [POSIX] (EPROTOTYPE): Likewise.
2480 [POSIX] (ESTALE): Likewise.
2481 [POSIX] (ETIME): Likewise.
2482 [POSIX] (ETXTBSY): Likewise.
2483 [POSIX] (EWOULDBLOCK): Likewise.
2484 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2485 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2486 [POSIX] (SEEK_CUR): Likewise.
2487 [POSIX] (SEEK_END): Likewise.
2488 [POSIX || UNIX98] (mode_t): Do not require.
2489 [POSIX] (off_t): Likewise.
2490 [POSIX] (pid_t): Likewise.
2491 [POSIX] (sys/stat.h): Do not allow header.
2492 [POSIX] (unistd.h): Likewise.
2493 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2494 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2495 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2496 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2498 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2499 sigevent): Specify elements.
2500 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2502 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2503 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2505 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2506 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2507 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2508 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2509 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2510 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2511 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2512 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2513 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2514 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2515 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2516 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2517 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2518 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2520 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2522 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2524 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2526 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2527 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2528 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2529 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2530 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2531 Specify lower bound on value.
2532 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2533 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2534 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2535 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2536 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2538 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2539 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2541 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2543 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2544 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2545 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2550 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2551 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2555 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2560 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2562 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2563 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2564 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2565 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2566 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2567 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2569 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2570 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2574 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2575 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2577 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2581 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2582 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2583 specify as optional.
2584 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2587 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2588 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2589 [XPG3] (NL_LANGMAX): Likewise.
2590 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2591 [POSIX || XPG3] (NL_NMAX): Likewise.
2592 [POSIX || XPG3] (NL_SETMAX): Likewise.
2593 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2594 [XPG3] (NZERO): Likewise.
2595 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2596 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2597 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2598 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2599 (REG_ERANGE): Expect.
2600 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2602 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2603 Use (void) in prototype.
2604 [POSIX] (*_t): Allow.
2605 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2606 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2607 (WRDE_BADVAL): Expect.
2609 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2611 [XPG3 || XPG4] (O_RSYNC): Likewise.
2612 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2614 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2615 [XPG3 || XPG4] (sigqueue): Likewise.
2616 [XPG3 || XPG4] (sigtimedwait): Likewise.
2617 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2618 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2619 [XPG3 || XPG4] (vsnprintf): Likewise.
2620 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2622 [XPG3 || XPG4] (blksize_t): Likewise.
2623 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2625 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2626 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2627 [XPG3 || XPG4] (struct itimerspec): Likewise.
2628 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2629 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2630 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2631 [XPG3 || XPG4] (clockid_t): Likewise.
2632 [XPG3 || XPG4] (timer_t): Likewise.
2633 [XPG3 || XPG4] (clock_getres): Likewise.
2634 [XPG3 || XPG4] (clock_gettime): Likewise.
2635 [XPG3 || XPG4] (clock_settime): Likewise.
2636 [XPG3 || XPG4] (nanosleep): Likewise.
2637 [XPG3 || XPG4] (timer_create): Likewise.
2638 [XPG3 || XPG4] (timer_delete): Likewise.
2639 [XPG3 || XPG4] (timer_gettime): Likewise.
2640 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2641 [XPG3 || XPG4] (timer_settime): Likewise.
2642 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2643 [XPG3 || XPG4] (getlogin_r): Likewise.
2644 [XPG3 || XPG4] (pread): Likewise.
2645 [XPG3 || XPG4] (pthread_atfork): Likewise.
2646 [XPG3 || XPG4] (pwrite): Likewise.
2649 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2652 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2654 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2655 finalizing MALLSTREAM.
2657 * sysdeps/mach/hurd/syncfs.c: New file.
2659 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2662 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2663 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2665 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2666 (_nss_dns_gethostbyname4_r): Likewise.
2667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2668 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2670 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2673 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2675 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2677 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2678 * elf/cache.c (print_entry): Print ",AArch64" for
2681 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2682 * elf/cache.c (print_entry): Print ",hard-float" for
2685 2012-11-18 David S. Miller <davem@davemloft.net>
2687 With help from Joseph Myers.
2688 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2690 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2692 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2693 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2696 * math/libm-test.inc (y0_test): New tests.
2697 (y1_test): New tests.
2698 * sysdeps/i386/fpu/libm-test-ulps: Update.
2699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2702 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2704 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2706 * configure: Regenerated.
2708 2012-11-17 David S. Miller <davem@davemloft.net>
2711 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2712 nonzero exponents with absolute value below 0x1p-128 to +/-
2715 2012-11-17 Joseph Myers <joseph@codesourcery.com>
2717 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2719 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2721 * posix/getconf-speclist.c: New file.
2722 * posix/posix-envs.def: Likewise.
2723 * posix/confstr.c (START_ENV_GROUP): New macro.
2724 (END_ENV_GROUP): Likewise.
2725 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2726 (KNOWN_PRESENT_ENV_STRING): Likewise.
2727 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2728 (UNKNOWN_ENVIRONMENT): Likewise.
2729 (confstr): Include posix-envs.def instead of handling
2730 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2731 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2732 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2733 (END_ENV_GROUP): Likewise.
2734 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2735 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2736 (UNKNOWN_ENVIRONMENT): Likewise.
2737 (__sysconf): Include posix-envs.def instead of handling associated
2738 cases directly here.
2739 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2740 preprocessing getconf-speclist.c rather than running getconf or
2741 generating empty file.
2743 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2745 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2747 2012-11-16 Andrej Lajovic <natrij@gmail.com>
2750 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2752 2012-11-16 David S. Miller <davem@davemloft.net>
2754 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2755 smaller than LDBL_EPSILON/2.0L, just return xm1.
2757 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2759 * elf/tst-array1.c (init): Set constructor priority to 1000.
2760 (fini): Set destructor priority to 1000.
2761 * elf/tst-array2dep.c: Likewise.
2763 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2766 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2767 (_IO_new_file_xsputn): Also return EOF if none of the input
2768 data was written when overflow failed.
2769 * libio/iopadn.c (_IO_padn): Likewise.
2770 * libio/iowpadn.c (_IO_wpadn): Likewise.
2771 * stdio-common/tst-put-error.c: Add copyright notice.
2772 (do_test): Add case for printing padded string.
2773 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2774 _IO_padn returned error.
2775 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2776 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2779 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2781 * libio/libioP.h: Add comment note that the references to C++
2782 bits are now obsolete.
2784 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2786 * math/libm-test.inc (check_complex): Use asprintf.
2788 2012-11-14 Joseph Myers <joseph@codesourcery.com>
2790 * debug/pcprofiledump.c (print_version): Update copyright year.
2791 * malloc/memusagestat.c (print_version): Likewise.
2793 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2796 * elf/Makefile (tests): Add tst-audit8.
2797 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2798 ($(objpfx)tst-audit8.out): New target.
2799 (tst-audit8-ENV): New variable.
2800 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2801 audit if l_reloc_result is NULL.
2802 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2803 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2804 * elf/tst-audit8.c: New file.
2806 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2808 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2809 * misc/Makefile (CFLAGS-select.c): Define.
2810 * posix/Makefile (CFLAGS-pause.c): Define.
2812 2012-11-13 David S. Miller <davem@davemloft.net>
2814 * crypt/Makefile: Move test targets after toplevel Rules
2815 inclusion. Grab any necessary sysdep routines when linking.
2816 * crypt/md5.c (md5_process_block): Remove define, we will always
2817 name it __md5_process_block.
2818 (md5_finish_ctx): Update md5_process_block call.
2819 (md5_stream): Likewise.
2820 (md5_process_bytes): Likewise.
2821 (md5_process_block): Rename to __md5_process_block and move to ...
2822 * crypt/md5-block.c: ... here.
2823 * crypt/sha256.c (sha256_process_block): Move to ...
2824 * crypt/sha256-block.c: ... here.
2825 * crypt/sha512.c (sha512_process_block): Move to ...
2826 * crypt/sha512-block.c: ... here.
2827 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2829 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2830 * sysdeps/sparc/sparc64/multiarch/Makefile
2831 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2833 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2836 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2837 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2838 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2839 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2840 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2841 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2842 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2843 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2847 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2849 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2851 2012-11-13 Joseph Myers <joseph@codesourcery.com>
2853 * timezone/tzselect.ksh: Update from tzcode git revision
2854 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2855 * timezone/zdump.c: Likewise.
2856 * timezone/zic.c: Likewise.
2857 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2858 in TZVERSION setting, not $(PKGVERSION).
2859 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2860 REPORT_BUGS_TO settings.
2863 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2866 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2869 detection to immediately after _FP_ROUND().
2870 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2873 2012-11-11 David S. Miller <davem@davemloft.net>
2875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2877 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2878 __close rather than their public counterparts.
2880 2012-11-10 Joseph Myers <joseph@codesourcery.com>
2882 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2884 [UNIX98] (sem_timedwait): Do not expect.
2885 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2886 [XPG4 || UNIX98] (sockatmark): Do not expect.
2887 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2888 (clock_getcpuclockid): Do not expect.
2889 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2890 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2892 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2893 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2894 [UNIX98] (vwscanf): Likewise.
2895 [UNIX98] (vswscanf): Likewise.
2897 2012-11-09 Joseph Myers <joseph@codesourcery.com>
2899 * timezone/version.h: Remove file.
2900 * timezone/README: Do not refer to version.h.
2901 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2903 ($(objpfx)zdump.o): Likewise.
2904 ($(objpfx)version.h): New target.
2906 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2908 * timezone/README: Don't mention modification to tzselect.ksh.
2909 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2910 work on unmodified tzselect.ksh. Substitute version numbers in
2913 * Makefile (format-me): Remove.
2914 (INSTALL): Adjust indentation. Use commands directly instead of
2917 * aclocal.m4 (ACX_PKGVERSION): New macro.
2918 (ACX_BUGURL): Likewise.
2919 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2920 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2921 (REPORT_BUGS_TO): Likewise.
2922 * configure: Regenerated.
2923 * config.h.in (PKGVERSION): New macro.
2924 (REPORT_BUGS_TO): Likewise.
2925 * config.make.in (PKGVERSION): New variable.
2926 (PKGVERSION_TEXI): Likewise.
2927 (REPORT_BUGS_TO): Likewise.
2928 (REPORT_BUGS_TEXI): Likewise.
2929 * Makefile (format-me): Use -I$(common-objpfx)manual.
2930 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2931 ($(common-objpfx)manual/%): New target.
2932 (manual/%): Remove target.
2933 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2934 (print_version): Use PKGVERSION.
2935 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2936 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2938 ($(objpfx)xtrace): Likewise.
2939 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2940 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2941 (print_version): Use PKGVERSION.
2942 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2943 (do_version): Use PKGVERSION.
2944 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2946 (common-ldd-rewrite): Likewise.
2947 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2948 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2949 (print_version): Use PKGVERSION.
2950 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2951 * elf/pldd.c (argp_program_bug_address): Remove variable.
2952 (more_help): New function.
2953 (argp): Use more_help.
2954 (print_version): Use PKGVERSION.
2955 * elf/sln.c (main): Use PKGVERSION.
2956 (usage): Use REPORT_BUGS_TO.
2957 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2958 (top level): Use PKGVERSION.
2959 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2960 (print_version): Use PKGVERSION.
2961 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2962 (print_version): Use PKGVERSION.
2963 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2964 (print_version): Use PKGVERSION.
2965 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2966 (print_version): Use PKGVERSION.
2967 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2968 (print_version): Use PKGVERSION.
2969 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2970 (print_version): Use PKGVERSION.
2971 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2973 ($(objpfx)memusage): Likewise.
2974 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2975 (do_version): Use PKGVERSION.
2976 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2977 (print_version): Use PKGVERSION.
2978 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2979 ($PKGVERSION): New variable.
2980 ($REPORT_BUGS_TO): Likewise.
2981 (usage): Use $REPORT_BUGS_TO.
2982 (top level): Use $PKGVERSION.
2983 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2984 ($(objpfx)pkgvers.texi): New rule.
2985 ($(objpfx)stamp-pkgvers): Likewise.
2986 * manual/install.texi: Include pkgvers.texi.
2987 (--with-pkgversion): Document new configure option.
2988 (--with-bugurl): Likewise.
2989 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2990 than necessarily for this particular distribution. Use
2991 REPORT_BUGS_TO for where to report bugs.
2992 * INSTALL: Regenerated.
2993 * manual/libc.texinfo: Include pkgvers.texi.
2994 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2995 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2996 (print_version): Use PKGVERSION.
2997 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2998 (print_version): Use PKGVERSION.
2999 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3000 (print_version): Use PKGVERSION.
3001 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3002 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3004 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3005 (print_version): Use PKGVERSION.
3006 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3007 (print_version): Use PKGVERSION.
3008 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3011 * timezone/checktab.awk: Update from tzcode 2012i.
3012 * timezone/ialloc.c: Likewise.
3013 * timezone/private.h: Likewise.
3014 * timezone/scheck.c: Likewise.
3015 * timezone/tzfile.h: Likewise.
3016 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3017 (TZVERSION): Hardcode tzcode version number.
3018 * timezone/zdump.c: Update from tzcode 2012i.
3019 * timezone/zic.c: Likewise.
3020 * timezone/version.h: New file.
3021 * timezone/README: Describe version.h. Update upstream location.
3024 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3025 (mktemp): Enable declaration.
3026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3043 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3044 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3045 for copies of such integer values.
3046 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3047 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3049 2012-11-09 Andreas Jaeger <aj@suse.de>
3051 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3052 definitions and declarations that are provided by
3053 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3055 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3057 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3058 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3059 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3062 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3064 * elf/elf.h: Update comment before AArch64 relocations.
3066 2012-11-07 David S. Miller <davem@davemloft.net>
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3070 (__start_context): Declare.
3071 (__makecontext_ret): Delete.
3072 (__makecontext): Hook up __start_context instead of
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3075 (sysdep_routines): Add __start_context when in stdlib.
3077 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3079 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3080 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3081 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3083 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3084 (READELF): New variable. Use it instead of hardcoded "readelf".
3086 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3088 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3089 * sysdeps/x86/Makefile: Here.
3090 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3091 * sysdeps/x86/tst-xmmymm.sh: This.
3093 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3095 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3097 [UNIX98] (pthread_barrier_t): Do not expect.
3098 [UNIX98] (pthread_barrierattr_t): Likewise.
3099 [UNIX98] (pthread_spinlock_t): Likewise.
3100 [UNIX98] (pthread_barrier_destroy): Likewise.
3101 [UNIX98] (pthread_barrier_init): Likewise.
3102 [UNIX98] (pthread_barrier_wait): Likewise.
3103 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3104 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3105 [UNIX98] (pthread_barrierattr_init): Likewise.
3106 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3107 [UNIX98] (pthread_getcpuclockid): Likewise.
3108 [UNIX98] (pthread_mutex_timedlock): Likewise.
3109 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3110 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3111 [UNIX98] (pthread_sigmask): Likewise.
3112 [UNIX98] (pthread_spin_destroy): Likewise.
3113 [UNIX98] (pthread_spin_init): Likewise.
3114 [UNIX98] (pthread_spin_lock): Likewise.
3115 [UNIX98] (pthread_spin_trylock): Likewise.
3116 [UNIX98] (pthread_spin_unlock): Likewise.
3117 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3119 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3120 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3121 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3122 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3123 [XPG3 || XPG4] (pthread_key_t): Likewise.
3124 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3125 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3126 [XPG3 || XPG4] (pthread_once_t): Likewise.
3127 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3128 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3129 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3130 [XPG3 || XPG4] (pthread_t): Likewise.
3132 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3134 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3136 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3137 Change function return type to int.
3139 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3140 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3141 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3142 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3143 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3144 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3145 [!POSIX] (posix_madvise): Likewise.
3146 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3148 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3149 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3151 (posix_mem_offset): Likewise.
3152 (posix_typed_mem_get_info): Likewise.
3153 (posix_typed_mem_open): Likewise.
3155 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3156 Change condition to [XOPEN2K8].
3158 * conform/conformtest.pl: Preprocess allow-header data with -x c
3159 instead of from stdin.
3160 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3161 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3162 [C99-based standards] (cerfc): Likewise.
3163 [C99-based standards] (cexp2): Likewise.
3164 [C99-based standards] (cexpm1): Likewise.
3165 [C99-based standards] (clog10): Likewise.
3166 [C99-based standards] (clog1p): Likewise.
3167 [C99-based standards] (clog2): Likewise.
3168 [C99-based standards] (clgamma): Likewise.
3169 [C99-based standards] (ctgamma): Likewise.
3170 [C99-based standards] (cerff): Likewise.
3171 [C99-based standards] (cerfcf): Likewise.
3172 [C99-based standards] (cexp2f): Likewise.
3173 [C99-based standards] (cexpm1f): Likewise.
3174 [C99-based standards] (clog10f): Likewise.
3175 [C99-based standards] (clog1pf): Likewise.
3176 [C99-based standards] (clog2f): Likewise.
3177 [C99-based standards] (clgammaf): Likewise.
3178 [C99-based standards] (ctgammaf): Likewise.
3179 [C99-based standards] (cerfl): Likewise.
3180 [C99-based standards] (cerfcl): Likewise.
3181 [C99-based standards] (cexp2l): Likewise.
3182 [C99-based standards] (cexpm1l): Likewise.
3183 [C99-based standards] (clog10l): Likewise.
3184 [C99-based standards] (clog1pl): Likewise.
3185 [C99-based standards] (clog2l): Likewise.
3186 [C99-based standards] (clgammal): Likewise.
3187 [C99-based standards] (ctgammal): Likewise.
3188 * conform/data/inttypes.h-data [C99-based standards]: Include
3189 stdint.h-data. Remove all expectations for stdint.h contents.
3190 [C99-based standards] (PRI*): Do not allow.
3191 [C99-based standards] (SCN*): Likewise.
3192 [C99-based standards] (*_t): Likewise.
3193 [C99-based-standards] (PRId8): Expect macro.
3194 [C99-based-standards] (PRIi8): Likewise.
3195 [C99-based-standards] (PRIo8): Likewise.
3196 [C99-based-standards] (PRIu8): Likewise.
3197 [C99-based-standards] (PRIx8): Likewise.
3198 [C99-based-standards] (PRIX8): Likewise.
3199 [C99-based-standards] (SCNd8): Likewise.
3200 [C99-based-standards] (SCNi8): Likewise.
3201 [C99-based-standards] (SCNo8): Likewise.
3202 [C99-based-standards] (SCNu8): Likewise.
3203 [C99-based-standards] (SCNx8): Likewise.
3204 [C99-based-standards] (PRIdLEAST8): Likewise.
3205 [C99-based-standards] (PRIiLEAST8): Likewise.
3206 [C99-based-standards] (PRIoLEAST8): Likewise.
3207 [C99-based-standards] (PRIuLEAST8): Likewise.
3208 [C99-based-standards] (PRIxLEAST8): Likewise.
3209 [C99-based-standards] (PRIXLEAST8): Likewise.
3210 [C99-based-standards] (SCNdLEAST8): Likewise.
3211 [C99-based-standards] (SCNiLEAST8): Likewise.
3212 [C99-based-standards] (SCNoLEAST8): Likewise.
3213 [C99-based-standards] (SCNuLEAST8): Likewise.
3214 [C99-based-standards] (SCNxLEAST8): Likewise.
3215 [C99-based-standards] (PRIdFAST8): Likewise.
3216 [C99-based-standards] (PRIiFAST8): Likewise.
3217 [C99-based-standards] (PRIoFAST8): Likewise.
3218 [C99-based-standards] (PRIuFAST8): Likewise.
3219 [C99-based-standards] (PRIxFAST8): Likewise.
3220 [C99-based-standards] (PRIXFAST8): Likewise.
3221 [C99-based-standards] (SCNdFAST8): Likewise.
3222 [C99-based-standards] (SCNiFAST8): Likewise.
3223 [C99-based-standards] (SCNoFAST8): Likewise.
3224 [C99-based-standards] (SCNuFAST8): Likewise.
3225 [C99-based-standards] (SCNxFAST8): Likewise.
3226 [C99-based-standards] (PRId16): Likewise.
3227 [C99-based-standards] (PRIi16): Likewise.
3228 [C99-based-standards] (PRIo16): Likewise.
3229 [C99-based-standards] (PRIu16): Likewise.
3230 [C99-based-standards] (PRIx16): Likewise.
3231 [C99-based-standards] (PRIX16): Likewise.
3232 [C99-based-standards] (SCNd16): Likewise.
3233 [C99-based-standards] (SCNi16): Likewise.
3234 [C99-based-standards] (SCNo16): Likewise.
3235 [C99-based-standards] (SCNu16): Likewise.
3236 [C99-based-standards] (SCNx16): Likewise.
3237 [C99-based-standards] (PRIdLEAST16): Likewise.
3238 [C99-based-standards] (PRIiLEAST16): Likewise.
3239 [C99-based-standards] (PRIoLEAST16): Likewise.
3240 [C99-based-standards] (PRIuLEAST16): Likewise.
3241 [C99-based-standards] (PRIxLEAST16): Likewise.
3242 [C99-based-standards] (PRIXLEAST16): Likewise.
3243 [C99-based-standards] (SCNdLEAST16): Likewise.
3244 [C99-based-standards] (SCNiLEAST16): Likewise.
3245 [C99-based-standards] (SCNoLEAST16): Likewise.
3246 [C99-based-standards] (SCNuLEAST16): Likewise.
3247 [C99-based-standards] (SCNxLEAST16): Likewise.
3248 [C99-based-standards] (PRIdFAST16): Likewise.
3249 [C99-based-standards] (PRIiFAST16): Likewise.
3250 [C99-based-standards] (PRIoFAST16): Likewise.
3251 [C99-based-standards] (PRIuFAST16): Likewise.
3252 [C99-based-standards] (PRIxFAST16): Likewise.
3253 [C99-based-standards] (PRIXFAST16): Likewise.
3254 [C99-based-standards] (SCNdFAST16): Likewise.
3255 [C99-based-standards] (SCNiFAST16): Likewise.
3256 [C99-based-standards] (SCNoFAST16): Likewise.
3257 [C99-based-standards] (SCNuFAST16): Likewise.
3258 [C99-based-standards] (SCNxFAST16): Likewise.
3259 [C99-based-standards] (PRId32): Likewise.
3260 [C99-based-standards] (PRIi32): Likewise.
3261 [C99-based-standards] (PRIo32): Likewise.
3262 [C99-based-standards] (PRIu32): Likewise.
3263 [C99-based-standards] (PRIx32): Likewise.
3264 [C99-based-standards] (PRIX32): Likewise.
3265 [C99-based-standards] (SCNd32): Likewise.
3266 [C99-based-standards] (SCNi32): Likewise.
3267 [C99-based-standards] (SCNo32): Likewise.
3268 [C99-based-standards] (SCNu32): Likewise.
3269 [C99-based-standards] (SCNx32): Likewise.
3270 [C99-based-standards] (PRIdLEAST32): Likewise.
3271 [C99-based-standards] (PRIiLEAST32): Likewise.
3272 [C99-based-standards] (PRIoLEAST32): Likewise.
3273 [C99-based-standards] (PRIuLEAST32): Likewise.
3274 [C99-based-standards] (PRIxLEAST32): Likewise.
3275 [C99-based-standards] (PRIXLEAST32): Likewise.
3276 [C99-based-standards] (SCNdLEAST32): Likewise.
3277 [C99-based-standards] (SCNiLEAST32): Likewise.
3278 [C99-based-standards] (SCNoLEAST32): Likewise.
3279 [C99-based-standards] (SCNuLEAST32): Likewise.
3280 [C99-based-standards] (SCNxLEAST32): Likewise.
3281 [C99-based-standards] (PRIdFAST32): Likewise.
3282 [C99-based-standards] (PRIiFAST32): Likewise.
3283 [C99-based-standards] (PRIoFAST32): Likewise.
3284 [C99-based-standards] (PRIuFAST32): Likewise.
3285 [C99-based-standards] (PRIxFAST32): Likewise.
3286 [C99-based-standards] (PRIXFAST32): Likewise.
3287 [C99-based-standards] (SCNdFAST32): Likewise.
3288 [C99-based-standards] (SCNiFAST32): Likewise.
3289 [C99-based-standards] (SCNoFAST32): Likewise.
3290 [C99-based-standards] (SCNuFAST32): Likewise.
3291 [C99-based-standards] (SCNxFAST32): Likewise.
3292 [C99-based-standards] (PRId64): Likewise.
3293 [C99-based-standards] (PRIi64): Likewise.
3294 [C99-based-standards] (PRIo64): Likewise.
3295 [C99-based-standards] (PRIu64): Likewise.
3296 [C99-based-standards] (PRIx64): Likewise.
3297 [C99-based-standards] (PRIX64): Likewise.
3298 [C99-based-standards] (SCNd64): Likewise.
3299 [C99-based-standards] (SCNi64): Likewise.
3300 [C99-based-standards] (SCNo64): Likewise.
3301 [C99-based-standards] (SCNu64): Likewise.
3302 [C99-based-standards] (SCNx64): Likewise.
3303 [C99-based-standards] (PRIdLEAST64): Likewise.
3304 [C99-based-standards] (PRIiLEAST64): Likewise.
3305 [C99-based-standards] (PRIoLEAST64): Likewise.
3306 [C99-based-standards] (PRIuLEAST64): Likewise.
3307 [C99-based-standards] (PRIxLEAST64): Likewise.
3308 [C99-based-standards] (PRIXLEAST64): Likewise.
3309 [C99-based-standards] (SCNdLEAST64): Likewise.
3310 [C99-based-standards] (SCNiLEAST64): Likewise.
3311 [C99-based-standards] (SCNoLEAST64): Likewise.
3312 [C99-based-standards] (SCNuLEAST64): Likewise.
3313 [C99-based-standards] (SCNxLEAST64): Likewise.
3314 [C99-based-standards] (PRIdFAST64): Likewise.
3315 [C99-based-standards] (PRIiFAST64): Likewise.
3316 [C99-based-standards] (PRIoFAST64): Likewise.
3317 [C99-based-standards] (PRIuFAST64): Likewise.
3318 [C99-based-standards] (PRIxFAST64): Likewise.
3319 [C99-based-standards] (PRIXFAST64): Likewise.
3320 [C99-based-standards] (SCNdFAST64): Likewise.
3321 [C99-based-standards] (SCNiFAST64): Likewise.
3322 [C99-based-standards] (SCNoFAST64): Likewise.
3323 [C99-based-standards] (SCNuFAST64): Likewise.
3324 [C99-based-standards] (SCNxFAST64): Likewise.
3325 [C99-based-standards] (PRIdMAX): Likewise.
3326 [C99-based-standards] (PRIiMAX): Likewise.
3327 [C99-based-standards] (PRIoMAX): Likewise.
3328 [C99-based-standards] (PRIuMAX): Likewise.
3329 [C99-based-standards] (PRIxMAX): Likewise.
3330 [C99-based-standards] (PRIXMAX): Likewise.
3331 [C99-based-standards] (SCNdMAX): Likewise.
3332 [C99-based-standards] (SCNiMAX): Likewise.
3333 [C99-based-standards] (SCNoMAX): Likewise.
3334 [C99-based-standards] (SCNuMAX): Likewise.
3335 [C99-based-standards] (SCNxMAX): Likewise.
3336 [C99-based-standards] (PRIdPTR): Likewise.
3337 [C99-based-standards] (PRIiPTR): Likewise.
3338 [C99-based-standards] (PRIoPTR): Likewise.
3339 [C99-based-standards] (PRIuPTR): Likewise.
3340 [C99-based-standards] (PRIxPTR): Likewise.
3341 [C99-based-standards] (PRIXPTR): Likewise.
3342 [C99-based-standards] (SCNdPTR): Likewise.
3343 [C99-based-standards] (SCNiPTR): Likewise.
3344 [C99-based-standards] (SCNoPTR): Likewise.
3345 [C99-based-standards] (SCNuPTR): Likewise.
3346 [C99-based-standards] (SCNxPTR): Likewise.
3347 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3349 * conform/data/stdint.h-data: Update comments to clarify
3351 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3353 [C99-based standards] (INT8_MAX): Likewise.
3354 [C99-based standards] (INT16_MIN): Likewise.
3355 [C99-based standards] (INT16_MAX): Likewise.
3356 [C99-based standards] (INT32_MIN): Likewise.
3357 [C99-based standards] (INT32_MAX): Likewise.
3358 [C99-based standards] (INT64_MIN): Likewise.
3359 [C99-based standards] (INT64_MAX): Likewise.
3360 [C99-based standards] (UINT8_MAX): Likewise.
3361 [C99-based standards] (UINT16_MAX): Likewise.
3362 [C99-based standards] (UINT32_MAX): Likewise.
3363 [C99-based standards] (UINT64_MAX): Likewise.
3364 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3365 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3366 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3367 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3368 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3369 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3370 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3371 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3372 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3373 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3374 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3375 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3376 [C99-based standards] (INT_FAST8_MIN): Likewise.
3377 [C99-based standards] (INT_FAST8_MAX): Likewise.
3378 [C99-based standards] (INT_FAST16_MIN): Likewise.
3379 [C99-based standards] (INT_FAST16_MAX): Likewise.
3380 [C99-based standards] (INT_FAST32_MIN): Likewise.
3381 [C99-based standards] (INT_FAST32_MAX): Likewise.
3382 [C99-based standards] (INT_FAST64_MIN): Likewise.
3383 [C99-based standards] (INT_FAST64_MAX): Likewise.
3384 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3385 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3386 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3387 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3388 [C99-based standards] (INTPTR_MIN): Likewise.
3389 [C99-based standards] (INTPTR_MAX): Likewise.
3390 [C99-based standards] (UINTPTR_MAX): Likewise.
3391 [C99-based standards] (INTMAX_MIN): Likewise.
3392 [C99-based standards] (INTMAX_MAX): Likewise.
3393 [C99-based standards] (UINTMAX_MAX): Likewise.
3394 [C99-based standards] (PTRDIFF_MIN): Likewise.
3395 [C99-based standards] (PTRDIFF_MAX): Likewise.
3396 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3397 [C99-based standards] (SIZE_MAX): Likewise.
3398 [C99-based standards] (WCHAR_MAX): Likewise.
3399 [C99-based standards] (WINT_MAX): Likewise.
3400 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3401 constraint on value.
3402 [C99-based standards] (WCHAR_MIN): Likewise.
3403 [C99-based standards] (WINT_MIN): Likewise.
3404 [C99-based standards] (*_t): Allow.
3405 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3406 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3407 Include math.h-data and complex.h-data. Remove all expectations
3408 of math.h and complex.h contents.
3409 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3411 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3412 (struct tm): Expect tag.
3413 [C99-based-standards] (wcstof): Expect function.
3414 [C99-based-standards] (wcstold): Likewise.
3415 [C99-based-standards] (wcstoll): Likewise.
3416 [C99-based-standards] (wcstoull): Likewise.
3417 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3418 macro-int-constant. Specify type.
3419 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3420 constraint on value.
3421 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3423 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3425 [ISO C standards]: Do not allow headers.
3426 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3427 wcs[abcdefghijklmnopqrstuvwxyz]*.
3428 [ISO C standards] (*_t): Do not allow.
3429 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3431 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3432 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3434 [ISO C standards]: Do not allow headers.
3435 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3436 is[abcdefghijklmnopqrstuvwxyz]*.
3437 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3438 to[abcdefghijklmnopqrstuvwxyz]*.
3439 [ISO C standards] (*_t): Do not allow.
3440 * conform/data/stdalign.h-data: New file.
3441 * conform/data/stdbool.h-data: Likewise.
3442 * conform/data/stdnoreturn.h-data: Likewise.
3444 2012-11-07 Roland McGrath <roland@hack.frob.com>
3447 * manual/filesys.texi (Directory Entries): Typo fix.
3448 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3450 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3452 * elf/elf.h (EM_AARCH64): New macro.
3453 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3454 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3455 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3456 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3457 (R_AARCH64_TLSDESC): Likewise.
3458 (NT_ARM_TLS): Likewise.
3459 (NT_ARM_HW_BREAK): Likewise.
3460 (NT_ARM_HW_WATCH): Likewise.
3462 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3465 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3466 (__ieee754_powl): Saturate nonzero exponents with absolute value
3467 below 0x1p-79 to +/- 0x1p-79.
3468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3469 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3470 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3471 nonzero exponents with absolute value below 0x1p-32 to +/-
3473 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3474 (__ieee754_powl): Saturate nonzero exponents with absolute value
3475 below 0x1p-79 to +/- 0x1p-79.
3476 * math/libm-test.inc (pow_test): Add more tests.
3478 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3480 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3481 _dl_s390_cap_flags with kernel. Increase string length.
3482 (_dl_s390_platforms): Add z196 and zEC12.
3484 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3486 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3487 Change XOPEN21K to XOPEN2K.
3489 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3491 * string/memmove.c: Use memcpy when possible.
3493 2012-11-06 Andreas Jaeger <aj@suse.de>
3495 * po/eo.po: Update from translation team.
3497 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3501 exponent and small x and y exponents, scale x or y up. Increase
3502 by 2 the exponent used in scaling up.
3503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3505 * math/libm-test.inc (fma_test): Add more tests.
3506 (fma_test_towardzero): Likewise.
3507 (fma_test_downward): Likewise.
3508 (fma_test_upward): Likewise.
3510 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3513 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3517 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3518 namespace for names of struct fields.
3519 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3521 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3522 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3524 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3527 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3529 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3531 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3538 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3542 definitely overflow as x * y not x * y + z.
3543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3545 * math/libm-test.inc (fma_test): Add more tests.
3546 (fma_test_towardzero): Likewise.
3547 (fma_test_downward): Likewise.
3548 (fma_test_upward): Likewise.
3550 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3554 * include/stub-tag.h: Remove file.
3555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3557 * manual/maint.texi (Porting): Don't reference it.
3558 * Makerules ($(objpfx)stubs): Likewise.
3559 * dirent/closedir.c: Don't include <stub-tag.h>.
3560 * dirent/dirfd.c: Likewise.
3561 * dirent/fdopendir.c: Likewise.
3562 * dirent/getdents.c: Likewise.
3563 * dirent/getdents64.c: Likewise.
3564 * dirent/opendir.c: Likewise.
3565 * dirent/readdir.c: Likewise.
3566 * dirent/readdir64.c: Likewise.
3567 * dirent/readdir64_r.c: Likewise.
3568 * dirent/readdir_r.c: Likewise.
3569 * dirent/rewinddir.c: Likewise.
3570 * dirent/seekdir.c: Likewise.
3571 * dirent/telldir.c: Likewise.
3572 * gmon/profil.c: Likewise.
3573 * grp/setgroups.c: Likewise.
3574 * inet/if_index.c: Likewise.
3575 * io/access.c: Likewise.
3576 * io/chdir.c: Likewise.
3577 * io/chmod.c: Likewise.
3578 * io/chown.c: Likewise.
3579 * io/close.c: Likewise.
3580 * io/dup.c: Likewise.
3581 * io/dup2.c: Likewise.
3582 * io/dup3.c: Likewise.
3583 * io/euidaccess.c: Likewise.
3584 * io/faccessat.c: Likewise.
3585 * io/fchdir.c: Likewise.
3586 * io/fchmod.c: Likewise.
3587 * io/fchmodat.c: Likewise.
3588 * io/fchown.c: Likewise.
3589 * io/fchownat.c: Likewise.
3590 * io/fcntl.c: Likewise.
3591 * io/flock.c: Likewise.
3592 * io/fstatfs.c: Likewise.
3593 * io/fstatfs64.c: Likewise.
3594 * io/fstatvfs.c: Likewise.
3595 * io/fstatvfs64.c: Likewise.
3596 * io/futimens.c: Likewise.
3597 * io/fxstat.c: Likewise.
3598 * io/fxstat64.c: Likewise.
3599 * io/fxstatat.c: Likewise.
3600 * io/fxstatat64.c: Likewise.
3601 * io/getcwd.c: Likewise.
3602 * io/isatty.c: Likewise.
3603 * io/lchmod.c: Likewise.
3604 * io/lchown.c: Likewise.
3605 * io/link.c: Likewise.
3606 * io/linkat.c: Likewise.
3607 * io/lseek.c: Likewise.
3608 * io/lseek64.c: Likewise.
3609 * io/lxstat64.c: Likewise.
3610 * io/mkdir.c: Likewise.
3611 * io/mkdirat.c: Likewise.
3612 * io/mkfifo.c: Likewise.
3613 * io/mkfifoat.c: Likewise.
3614 * io/open.c: Likewise.
3615 * io/open64.c: Likewise.
3616 * io/openat.c: Likewise.
3617 * io/openat64.c: Likewise.
3618 * io/pipe.c: Likewise.
3619 * io/pipe2.c: Likewise.
3620 * io/poll.c: Likewise.
3621 * io/posix_fadvise.c: Likewise.
3622 * io/posix_fadvise64.c: Likewise.
3623 * io/posix_fallocate.c: Likewise.
3624 * io/posix_fallocate64.c: Likewise.
3625 * io/read.c: Likewise.
3626 * io/readlink.c: Likewise.
3627 * io/readlinkat.c: Likewise.
3628 * io/rmdir.c: Likewise.
3629 * io/sendfile.c: Likewise.
3630 * io/sendfile64.c: Likewise.
3631 * io/statfs.c: Likewise.
3632 * io/statfs64.c: Likewise.
3633 * io/statvfs.c: Likewise.
3634 * io/statvfs64.c: Likewise.
3635 * io/symlink.c: Likewise.
3636 * io/symlinkat.c: Likewise.
3637 * io/ttyname.c: Likewise.
3638 * io/ttyname_r.c: Likewise.
3639 * io/umask.c: Likewise.
3640 * io/unlink.c: Likewise.
3641 * io/unlinkat.c: Likewise.
3642 * io/utime.c: Likewise.
3643 * io/utimensat.c: Likewise.
3644 * io/write.c: Likewise.
3645 * io/xmknod.c: Likewise.
3646 * io/xmknodat.c: Likewise.
3647 * io/xstat.c: Likewise.
3648 * io/xstat64.c: Likewise.
3649 * login/getpt.c: Likewise.
3650 * login/grantpt.c: Likewise.
3651 * login/unlockpt.c: Likewise.
3652 * math/e_acoshl.c: Likewise.
3653 * math/e_acosl.c: Likewise.
3654 * math/e_asinl.c: Likewise.
3655 * math/e_atan2l.c: Likewise.
3656 * math/e_atanhl.c: Likewise.
3657 * math/e_coshl.c: Likewise.
3658 * math/e_expl.c: Likewise.
3659 * math/e_fmodl.c: Likewise.
3660 * math/e_gammal_r.c: Likewise.
3661 * math/e_hypotl.c: Likewise.
3662 * math/e_j0l.c: Likewise.
3663 * math/e_j1l.c: Likewise.
3664 * math/e_jnl.c: Likewise.
3665 * math/e_lgammal_r.c: Likewise.
3666 * math/e_log10l.c: Likewise.
3667 * math/e_log2l.c: Likewise.
3668 * math/e_logl.c: Likewise.
3669 * math/e_powl.c: Likewise.
3670 * math/e_rem_pio2l.c: Likewise.
3671 * math/e_sinhl.c: Likewise.
3672 * math/e_sqrtl.c: Likewise.
3673 * math/fclrexcpt.c: Likewise.
3674 * math/fedisblxcpt.c: Likewise.
3675 * math/feenablxcpt.c: Likewise.
3676 * math/fegetenv.c: Likewise.
3677 * math/fegetexcept.c: Likewise.
3678 * math/fegetround.c: Likewise.
3679 * math/feholdexcpt.c: Likewise.
3680 * math/fesetenv.c: Likewise.
3681 * math/fesetround.c: Likewise.
3682 * math/feupdateenv.c: Likewise.
3683 * math/fgetexcptflg.c: Likewise.
3684 * math/fraiseexcpt.c: Likewise.
3685 * math/fsetexcptflg.c: Likewise.
3686 * math/ftestexcept.c: Likewise.
3687 * math/k_cosl.c: Likewise.
3688 * math/k_rem_pio2l.c: Likewise.
3689 * math/k_sinl.c: Likewise.
3690 * math/k_tanl.c: Likewise.
3691 * math/s_asinhl.c: Likewise.
3692 * math/s_atanl.c: Likewise.
3693 * math/s_cbrtl.c: Likewise.
3694 * math/s_erfl.c: Likewise.
3695 * math/s_expm1l.c: Likewise.
3696 * math/s_log1pl.c: Likewise.
3697 * math/s_tanhl.c: Likewise.
3698 * misc/acct.c: Likewise.
3699 * misc/brk.c: Likewise.
3700 * misc/chflags.c: Likewise.
3701 * misc/chroot.c: Likewise.
3702 * misc/fchflags.c: Likewise.
3703 * misc/fgetxattr.c: Likewise.
3704 * misc/flistxattr.c: Likewise.
3705 * misc/fremovexattr.c: Likewise.
3706 * misc/fsetxattr.c: Likewise.
3707 * misc/fsync.c: Likewise.
3708 * misc/ftruncate.c: Likewise.
3709 * misc/futimes.c: Likewise.
3710 * misc/futimesat.c: Likewise.
3711 * misc/getdomain.c: Likewise.
3712 * misc/getdtsz.c: Likewise.
3713 * misc/gethostid.c: Likewise.
3714 * misc/gethostname.c: Likewise.
3715 * misc/getloadavg.c: Likewise.
3716 * misc/getpagesize.c: Likewise.
3717 * misc/getsysstats.c: Likewise.
3718 * misc/getxattr.c: Likewise.
3719 * misc/gtty.c: Likewise.
3720 * misc/ioctl.c: Likewise.
3721 * misc/lgetxattr.c: Likewise.
3722 * misc/listxattr.c: Likewise.
3723 * misc/llistxattr.c: Likewise.
3724 * misc/lremovexattr.c: Likewise.
3725 * misc/lsetxattr.c: Likewise.
3726 * misc/lutimes.c: Likewise.
3727 * misc/madvise.c: Likewise.
3728 * misc/mincore.c: Likewise.
3729 * misc/mlock.c: Likewise.
3730 * misc/mlockall.c: Likewise.
3731 * misc/mmap.c: Likewise.
3732 * misc/mprotect.c: Likewise.
3733 * misc/msync.c: Likewise.
3734 * misc/munlock.c: Likewise.
3735 * misc/munlockall.c: Likewise.
3736 * misc/munmap.c: Likewise.
3737 * misc/preadv.c: Likewise.
3738 * misc/preadv64.c: Likewise.
3739 * misc/ptrace.c: Likewise.
3740 * misc/pwritev.c: Likewise.
3741 * misc/pwritev64.c: Likewise.
3742 * misc/readv.c: Likewise.
3743 * misc/reboot.c: Likewise.
3744 * misc/remap_file_pages.c: Likewise.
3745 * misc/removexattr.c: Likewise.
3746 * misc/revoke.c: Likewise.
3747 * misc/select.c: Likewise.
3748 * misc/setdomain.c: Likewise.
3749 * misc/setegid.c: Likewise.
3750 * misc/seteuid.c: Likewise.
3751 * misc/sethostid.c: Likewise.
3752 * misc/sethostname.c: Likewise.
3753 * misc/setregid.c: Likewise.
3754 * misc/setreuid.c: Likewise.
3755 * misc/setxattr.c: Likewise.
3756 * misc/sstk.c: Likewise.
3757 * misc/stty.c: Likewise.
3758 * misc/swapoff.c: Likewise.
3759 * misc/swapon.c: Likewise.
3760 * misc/sync.c: Likewise.
3761 * misc/syncfs.c: Likewise.
3762 * misc/syscall.c: Likewise.
3763 * misc/truncate.c: Likewise.
3764 * misc/ualarm.c: Likewise.
3765 * misc/usleep.c: Likewise.
3766 * misc/ustat.c: Likewise.
3767 * misc/utimes.c: Likewise.
3768 * misc/vhangup.c: Likewise.
3769 * misc/writev.c: Likewise.
3770 * posix/_exit.c: Likewise.
3771 * posix/alarm.c: Likewise.
3772 * posix/execve.c: Likewise.
3773 * posix/fexecve.c: Likewise.
3774 * posix/fork.c: Likewise.
3775 * posix/fpathconf.c: Likewise.
3776 * posix/getaddrinfo.c: Likewise.
3777 * posix/getegid.c: Likewise.
3778 * posix/geteuid.c: Likewise.
3779 * posix/getgid.c: Likewise.
3780 * posix/getgroups.c: Likewise.
3781 * posix/getlogin.c: Likewise.
3782 * posix/getlogin_r.c: Likewise.
3783 * posix/getpgid.c: Likewise.
3784 * posix/getpid.c: Likewise.
3785 * posix/getppid.c: Likewise.
3786 * posix/getresgid.c: Likewise.
3787 * posix/getresuid.c: Likewise.
3788 * posix/getsid.c: Likewise.
3789 * posix/getuid.c: Likewise.
3790 * posix/glob64.c: Likewise.
3791 * posix/nanosleep.c: Likewise.
3792 * posix/pathconf.c: Likewise.
3793 * posix/pause.c: Likewise.
3794 * posix/posix_madvise.c: Likewise.
3795 * posix/pread.c: Likewise.
3796 * posix/pread64.c: Likewise.
3797 * posix/pwrite.c: Likewise.
3798 * posix/pwrite64.c: Likewise.
3799 * posix/sched_getaffinity.c: Likewise.
3800 * posix/sched_getp.c: Likewise.
3801 * posix/sched_gets.c: Likewise.
3802 * posix/sched_primax.c: Likewise.
3803 * posix/sched_primin.c: Likewise.
3804 * posix/sched_rr_gi.c: Likewise.
3805 * posix/sched_setaffinity.c: Likewise.
3806 * posix/sched_setp.c: Likewise.
3807 * posix/sched_sets.c: Likewise.
3808 * posix/sched_yield.c: Likewise.
3809 * posix/setgid.c: Likewise.
3810 * posix/setlogin.c: Likewise.
3811 * posix/setpgid.c: Likewise.
3812 * posix/setresgid.c: Likewise.
3813 * posix/setresuid.c: Likewise.
3814 * posix/setsid.c: Likewise.
3815 * posix/setuid.c: Likewise.
3816 * posix/sleep.c: Likewise.
3817 * posix/spawni.c: Likewise.
3818 * posix/sysconf.c: Likewise.
3819 * posix/times.c: Likewise.
3820 * posix/wait.c: Likewise.
3821 * posix/wait3.c: Likewise.
3822 * posix/wait4.c: Likewise.
3823 * posix/waitpid.c: Likewise.
3824 * resolv/gai_sigqueue.c: Likewise.
3825 * resource/getpriority.c: Likewise.
3826 * resource/getrlimit.c: Likewise.
3827 * resource/getrusage.c: Likewise.
3828 * resource/nice.c: Likewise.
3829 * resource/setpriority.c: Likewise.
3830 * resource/setrlimit.c: Likewise.
3831 * resource/ulimit.c: Likewise.
3832 * rt/aio_cancel.c: Likewise.
3833 * rt/aio_fsync.c: Likewise.
3834 * rt/aio_read.c: Likewise.
3835 * rt/aio_sigqueue.c: Likewise.
3836 * rt/aio_suspend.c: Likewise.
3837 * rt/aio_write.c: Likewise.
3838 * rt/clock_getres.c: Likewise.
3839 * rt/clock_gettime.c: Likewise.
3840 * rt/clock_nanosleep.c: Likewise.
3841 * rt/clock_settime.c: Likewise.
3842 * rt/lio_listio.c: Likewise.
3843 * rt/mq_close.c: Likewise.
3844 * rt/mq_getattr.c: Likewise.
3845 * rt/mq_notify.c: Likewise.
3846 * rt/mq_open.c: Likewise.
3847 * rt/mq_receive.c: Likewise.
3848 * rt/mq_send.c: Likewise.
3849 * rt/mq_setattr.c: Likewise.
3850 * rt/mq_timedreceive.c: Likewise.
3851 * rt/mq_timedsend.c: Likewise.
3852 * rt/mq_unlink.c: Likewise.
3853 * rt/shm_open.c: Likewise.
3854 * rt/shm_unlink.c: Likewise.
3855 * rt/timer_create.c: Likewise.
3856 * rt/timer_delete.c: Likewise.
3857 * rt/timer_getoverr.c: Likewise.
3858 * rt/timer_gettime.c: Likewise.
3859 * rt/timer_settime.c: Likewise.
3860 * setjmp/__longjmp.c: Likewise.
3861 * setjmp/setjmp.c: Likewise.
3862 * signal/kill.c: Likewise.
3863 * signal/killpg.c: Likewise.
3864 * signal/raise.c: Likewise.
3865 * signal/sigaction.c: Likewise.
3866 * signal/sigaltstack.c: Likewise.
3867 * signal/sigblock.c: Likewise.
3868 * signal/sigignore.c: Likewise.
3869 * signal/sigintr.c: Likewise.
3870 * signal/signal.c: Likewise.
3871 * signal/sigpause.c: Likewise.
3872 * signal/sigpending.c: Likewise.
3873 * signal/sigqueue.c: Likewise.
3874 * signal/sigreturn.c: Likewise.
3875 * signal/sigset.c: Likewise.
3876 * signal/sigsetmask.c: Likewise.
3877 * signal/sigstack.c: Likewise.
3878 * signal/sigsuspend.c: Likewise.
3879 * signal/sigtimedwait.c: Likewise.
3880 * signal/sigvec.c: Likewise.
3881 * signal/sigwait.c: Likewise.
3882 * signal/sigwaitinfo.c: Likewise.
3883 * signal/sysv_signal.c: Likewise.
3884 * socket/accept.c: Likewise.
3885 * socket/accept4.c: Likewise.
3886 * socket/bind.c: Likewise.
3887 * socket/connect.c: Likewise.
3888 * socket/getpeername.c: Likewise.
3889 * socket/getsockname.c: Likewise.
3890 * socket/getsockopt.c: Likewise.
3891 * socket/isfdtype.c: Likewise.
3892 * socket/listen.c: Likewise.
3893 * socket/recv.c: Likewise.
3894 * socket/recvfrom.c: Likewise.
3895 * socket/recvmsg.c: Likewise.
3896 * socket/send.c: Likewise.
3897 * socket/sendmsg.c: Likewise.
3898 * socket/sendto.c: Likewise.
3899 * socket/setsockopt.c: Likewise.
3900 * socket/shutdown.c: Likewise.
3901 * socket/sockatmark.c: Likewise.
3902 * socket/socket.c: Likewise.
3903 * socket/socketpair.c: Likewise.
3904 * stdio-common/ctermid.c: Likewise.
3905 * stdio-common/cuserid.c: Likewise.
3906 * stdio-common/remove.c: Likewise.
3907 * stdio-common/rename.c: Likewise.
3908 * stdio-common/renameat.c: Likewise.
3909 * stdio-common/tempname.c: Likewise.
3910 * stdlib/getcontext.c: Likewise.
3911 * stdlib/makecontext.c: Likewise.
3912 * stdlib/setcontext.c: Likewise.
3913 * stdlib/swapcontext.c: Likewise.
3914 * stdlib/system.c: Likewise.
3915 * streams/fattach.c: Likewise.
3916 * streams/fdetach.c: Likewise.
3917 * streams/getmsg.c: Likewise.
3918 * streams/getpmsg.c: Likewise.
3919 * streams/putmsg.c: Likewise.
3920 * streams/putpmsg.c: Likewise.
3921 * sysdeps/unix/bsd/getpt.c: Likewise.
3922 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3923 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3924 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3927 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3928 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3929 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3930 * sysvipc/msgctl.c: Likewise.
3931 * sysvipc/msgget.c: Likewise.
3932 * sysvipc/msgrcv.c: Likewise.
3933 * sysvipc/msgsnd.c: Likewise.
3934 * sysvipc/semctl.c: Likewise.
3935 * sysvipc/semget.c: Likewise.
3936 * sysvipc/semop.c: Likewise.
3937 * sysvipc/semtimedop.c: Likewise.
3938 * sysvipc/shmat.c: Likewise.
3939 * sysvipc/shmctl.c: Likewise.
3940 * sysvipc/shmdt.c: Likewise.
3941 * sysvipc/shmget.c: Likewise.
3942 * termios/tcdrain.c: Likewise.
3943 * termios/tcflow.c: Likewise.
3944 * termios/tcflush.c: Likewise.
3945 * termios/tcgetattr.c: Likewise.
3946 * termios/tcgetpgrp.c: Likewise.
3947 * termios/tcsendbrk.c: Likewise.
3948 * termios/tcsetattr.c: Likewise.
3949 * termios/tcsetpgrp.c: Likewise.
3950 * time/adjtime.c: Likewise.
3951 * time/clock.c: Likewise.
3952 * time/getitimer.c: Likewise.
3953 * time/gettimeofday.c: Likewise.
3954 * time/setitimer.c: Likewise.
3955 * time/settimeofday.c: Likewise.
3956 * time/stime.c: Likewise.
3957 * time/time.c: Likewise.
3959 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3961 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3964 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3966 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3968 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3972 FE_TONEAREST before applying Dekker multiplication and Knuth
3973 addition. Clear inexact exceptions and check for exact zero
3975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3978 * math/libm-test.inc (fma_test): Add more tests.
3979 (fma_test_towardzero): Likewise.
3980 (fma_test_downward): Likewise.
3981 (fma_test_upward): Likewise.
3982 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3984 (libc_fesetround): New macro.
3985 (libc_fesetroundf): Likewise.
3986 (libc_fesetroundl): Likewise.
3987 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3989 (libc_fesetround_387): Likewise.
3990 (libc_fesetroundf): New macro.
3991 (libc_fesetround): Likewise.
3992 (libc_fesetroundl): Likewise.
3993 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3995 (libc_fesetroundf): New macro.
3996 (libc_fesetround): Likewise.
3997 (libc_fesetroundl): Likewise.
3998 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3999 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4000 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4002 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4003 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4005 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4006 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4008 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4012 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4013 integer constant usable in #if and use that to give value to enum
4015 (FE_DIVBYZERO): Likewise.
4016 (FE_UNDERFLOW): Likewise.
4017 (FE_OVERFLOW): Likewise.
4018 (FE_INVALID): Likewise.
4019 (FE_INVALID_SNAN): Likewise.
4020 (FE_INVALID_ISI): Likewise.
4021 (FE_INVALID_IDI): Likewise.
4022 (FE_INVALID_ZDZ): Likewise.
4023 (FE_INVALID_IMZ): Likewise.
4024 (FE_INVALID_COMPARE): Likewise.
4025 (FE_INVALID_SOFTWARE): Likewise.
4026 (FE_INVALID_SQRT): Likewise.
4027 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4028 (FE_TONEAREST): Likewise.
4029 (FE_TOWARDZERO): Likewise.
4030 (FE_UPWARD): Likewise.
4031 (FE_DOWNWARD): Likewise.
4032 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4033 (FE_DIVBYZERO): Likewise.
4034 (FE_OVERFLOW): Likewise.
4035 (FE_UNDERFLOW): Likewise.
4036 (FE_INEXACT): Likewise.
4037 (FE_TONEAREST): Likewise.
4038 (FE_DOWNWARD): Likewise.
4039 (FE_UPWARD): Likewise.
4040 (FE_TOWARDZERO): Likewise.
4041 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4042 (FE_UNDERFLOW): Likewise.
4043 (FE_OVERFLOW): Likewise.
4044 (FE_DIVBYZERO): Likewise.
4045 (FE_INVALID): Likewise.
4046 (FE_TONEAREST): Likewise.
4047 (FE_TOWARDZERO): Likewise.
4048 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4049 (FE_OVERFLOW): Likewise.
4050 (FE_UNDERFLOW): Likewise.
4051 (FE_DIVBYZERO): Likewise.
4052 (FE_INEXACT): Likewise.
4053 (FE_TONEAREST): Likewise.
4054 (FE_TOWARDZERO): Likewise.
4055 (FE_UPWARD): Likewise.
4056 (FE_DOWNWARD): Likewise.
4057 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4058 (FE_DIVBYZERO): Likewise.
4059 (FE_OVERFLOW): Likewise.
4060 (FE_UNDERFLOW): Likewise.
4061 (FE_INEXACT): Likewise.
4062 (FE_TONEAREST): Likewise.
4063 (FE_DOWNWARD): Likewise.
4064 (FE_UPWARD): Likewise.
4065 (FE_TOWARDZERO): Likewise.
4067 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4069 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4071 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4073 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4074 commands. Quote $PWD.
4075 (blacklist_exports): Don't use remove_newlines. Replace "declare
4077 (remove_newlines): Remove.
4079 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4081 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4082 * stdlib/stdlib.h (atof): Moved to ...
4083 * include/bits/stdlib-float.h: Here. New file.
4084 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4085 * stdlib/bits/stdlib-float.h: New file.
4086 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4088 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4091 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4093 * conform/conformtest.pl (@headers): Add fenv.h.
4094 * conform/data/fenv.h-data: New file.
4095 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4096 include of <math/fenv.h>.
4098 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4099 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4100 && !UNIX98]. Enables tests for XOPEN2K8.
4101 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4102 POSIX2008]: Likewise.
4104 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4105 (struct rusage): Do not expect type or its members.
4108 * math/math.h (FP_NAN): Define macro to integer constant usable in
4109 #if and use that to give value to enum constant.
4110 (FP_INFINITE): Likewise.
4111 (FP_ZERO): Likewise.
4112 (FP_SUBNORMAL): Likewise.
4113 (FP_NORMAL): Likewise.
4115 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4117 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4118 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4121 2012-11-02 Roland McGrath <roland@hack.frob.com>
4123 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4124 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4125 autoconf-time if not.
4126 * configure.in: Remove AC_PREREQ.
4128 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4130 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4131 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4132 of the internal implementation.
4134 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4136 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4137 except include of <misc/sys/syslog.h>.
4139 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4142 function returns with a NULL context exit with zero.
4144 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4146 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4148 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4150 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4151 (run_program_cmd): This.
4152 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4153 (tst_langinfo): New variable. Use it.
4155 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4157 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4158 floating point opcodes.
4160 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4162 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4165 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4167 * sysdeps/mach/hurd/powerpc: Remove directory.
4168 * sysdeps/mach/powerpc: Likewise.
4170 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4172 * scripts/check-local-headers.sh: Ignore c++ headers.
4174 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4176 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4177 __libc_cleanup_region_start argument.
4179 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4184 x * y using scaling, not as x * y + z.
4185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4187 * math/libm-test.inc (fma_test): Add more tests.
4188 (fma_test_towardzero): Likewise.
4189 (fma_test_downward): Likewise.
4190 (fma_test_upward): Likewise.
4192 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4194 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4196 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4198 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4201 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4203 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4205 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4212 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4215 Fix the order of the list for glibc 2.17.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4219 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4223 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4227 for low part of x being zero before using __atanl (y).
4228 * math/libm-test.inc (atan2_test): Add another test.
4230 * manual/install.texi (Configuring and compiling): Document
4231 general use of test-wrapper and test-wrapper-env.
4232 * INSTALL: Regenerated.
4234 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4235 (__fma): Do not extract and scale down low bits on after-rounding
4236 systems when result rounded to normal precision would have normal
4238 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4239 (__fmal): Do not extract and scale down low bits on after-rounding
4240 systems when result rounded to normal precision would have normal
4242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4243 (__fmal): Do not extract and scale down low bits on after-rounding
4244 systems when result rounded to normal precision would have normal
4246 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4248 (fma_test): Add more tests.
4249 (fma_test_towardzero): Likewise.
4250 (fma_test_downward): Likewise.
4251 (fma_test_upward): Likewise.
4253 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4255 * sysdeps/i386/tininess.h: Renamed to ...
4256 * sysdeps/x86/tininess.h: This.
4257 * sysdeps/x86_64/tininess.h: Removed.
4259 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4261 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4262 input. Use $(build-program-cmd).
4263 ($(objpfx)tst-array1-static.out): Likewise.
4264 ($(objpfx)tst-array2.out): Likewise.
4265 ($(objpfx)tst-array3.out): Likewise.
4266 ($(objpfx)tst-array4.out): Likewise.
4267 ($(objpfx)tst-array5.out): Likewise.
4268 ($(objpfx)tst-array5-static.out): Likewise.
4270 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4272 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4275 * nss/nsswitch.h (nss_interface_function): Provide new
4276 macro for use with NSS functions.
4277 * grp/initgroups.c: Use new macro.
4278 * nss/getXXbyYY.c: Likewise.
4279 * nss/getXXbyYY_r.c: Likewise.
4280 * nss/getXXent.c: Likewise.
4281 * nss/getXXent_r.c: Likewise.
4282 * sysdeps/posix/getaddrinfo.c: Likewise.
4284 2012-10-30 Andreas Jaeger <aj@suse.de>
4286 * po/ru.po: Update Russion translation from translation project.
4288 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4293 result and shift together with sticky bit instead of replicating
4294 round-to-nearest rounding.
4295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4297 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4298 missing underflow exceptions.
4299 (fma_test_towardzero): Add more tests.
4300 (fma_test_downward): Likewise.
4301 (fma_test_upward): Likewise.
4304 * sysdeps/generic/tininess.h: New file.
4305 * sysdeps/i386/tininess.h: Likewise.
4306 * sysdeps/sh/tininess.h: Likewise.
4307 * sysdeps/x86_64/tininess.h: Likewise.
4308 * stdlib/tst-strtod-underflow.c: Likewise.
4309 * stdlib/tst-tininess.c: Likewise.
4310 * stdlib/strtod_l.c: Include <tininess.h>.
4311 (round_and_return): Do not set errno for exact underflow cases.
4312 Force an underflow exception when setting errno for underflow.
4313 Determine underflow based on rounding to normal precision if
4314 TININESS_AFTER_ROUNDING.
4315 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4316 ERANGE for exact underflow cases.
4317 * stdlib/Makefile (tests): Add tst-tininess and
4318 tst-strtod-underflow.
4319 ($(objpfx)tst-tininess): Use $(link-libm).
4320 ($(objpfx)tst-strtod-underflow): Likewise.
4322 2012-10-30 Andreas Jaeger <aj@suse.de>
4325 * elf/Makefile (tests): Remove conditional for have-initfini-array
4326 since this is now always required and the variable does not exist
4328 (tests-static): Likewise.
4329 (modules-names): Likewise.
4331 * po/eo.po: Add Esperanto translation from translation project.
4333 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4334 merged with constructor/destructor.
4335 (init_array): Likewise.
4336 * elf/tst-array2dep.c (fini_array): Likewise.
4337 (init_array): Likewise.
4339 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4341 * manual/message.texi: Delete @cartouche tags.
4343 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4345 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4347 * sysdeps/mach/hurd/fsync.c: Likewise.
4349 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4350 [_POSIX_REALTIME_SIGNALS]: Change condition to
4351 [_POSIX_REALTIME_SIGNALS > 0].
4353 2012-10-27 Andreas Jaeger <aj@suse.de>
4355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4356 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4358 [__WORDSIZE != 64]: Likewise.
4360 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4362 * iconvdata/tst-table.sh: Remove ${SHELL}.
4363 * iconvdata/tst-tables.sh: Likewise.
4365 2012-10-25 David S. Miller <davem@davemloft.net>
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4368 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4374 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4378 2012-10-25 Roland McGrath <roland@hack.frob.com>
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4381 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4384 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4385 Jim Blandy <jimb@codesourcery.com>
4387 * scripts/cross-test-ssh.sh: New file.
4388 * manual/install.texi (Configuring and compiling): Document use of
4390 * INSTALL: Regenerated.
4392 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4394 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4397 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4399 * Makeconfig (run-program-prefix): Fix comment.
4401 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4402 Jim Blandy <jimb@codesourcery.com>
4404 * Makeconfig (test-wrapper): New variable,
4405 (test-wrapper-env): Likewise.
4406 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4407 (run-built-tests): Define to yes.
4408 (run-program-prefix): Use $(test-wrapper).
4409 (built-program-cmd): Likewise.
4410 * Rules (make-test-out): Use $(test-wrapper-env) and
4411 $(host-built-program-cmd).
4412 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4413 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4415 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4416 $(test-wrapper-env) to tst-rtld-load-self.sh.
4417 ($(objpfx)order2.out): Use $(test-wrapper).
4418 ($(objpfx)tst-initorder.out): Likewise.
4419 ($(objpfx)tst-initorder2.out): Likewise.
4420 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4421 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4422 (test_wrapper_env): New variable. Use it to run ld.so.
4423 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4424 Use it to run ld.so.
4425 (test_wrapper_env): Likewise.
4426 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4427 $(test-wrapper) to run-iconv-test.sh.
4428 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4429 (ICONV): Use $test_wrapper.
4430 * posix/Makefile ($(objpfx)globtest.out): Pass
4431 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4432 globtest.sh, not $(run-program-prefix).
4433 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4434 (test_wrapper): Likewise.
4435 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4436 set together with run_via_rtld_prefix.
4437 (run_program_prefix): Define in terms of test_wrapper and
4438 run_via_rtld_prefix.
4440 2012-10-24 Roland McGrath <roland@hack.frob.com>
4442 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4443 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4447 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4448 Declare __clock_getres, __clock_gettime, __clock_settime,
4449 __clock_nanosleep, and __clock_getcpuclockid.
4450 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4451 Remove librt_hidden_def (clock_gettime).
4452 * sysdeps/unix/clock_gettime.c: Likewise.
4453 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4455 * rt/clock_getres.c: Define __clock_getres as an alias.
4456 * sysdeps/posix/clock_getres.c: Likewise.
4457 * rt/clock_settime.c: Define __clock_settime as an alias.
4458 * sysdeps/unix/clock_settime.c: Likewise.
4459 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4460 * sysdeps/unix/clock_nanosleep.c: Likewise.
4461 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4462 * rt/clock-compat.c: New file.
4463 * rt/Makefile (librt-routines): Add clock-compat and move
4464 $(clock-routines) to ...
4465 (routines): ... here, new variable.
4466 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4467 Don't add get_clockfreq here.
4468 * rt/Versions (libc: GLIBC_2.17): New version set.
4469 Add clock_* symbols here.
4470 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4472 (GLIBC_2.17): Add clock_* symbols.
4473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4484 * NEWS: Mention the move.
4486 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4487 Use __open, __read, __close rather than their public counterparts.
4488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4489 (__get_clockfreq_via_cpuinfo): Likewise.
4490 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4491 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4493 * config.h.in (HAVE_IFUNC): New #undef.
4494 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4496 * configure: Regenerated.
4498 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4500 * configure.in: Move READELF check to start of file.
4501 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4502 libc_cv_asm_gnu_indirect_function in the process.
4503 * configure: Regenerated.
4505 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4507 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4508 send the output to /dev/null.
4509 (libc_cv_cc_with_libunwind): Likewise.
4510 (libc_cv_as_noexecstack): Likewise.
4511 * configure: Regenerate.
4513 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4515 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4517 * posix/globtest.sh (TMPDIR): Do not set.
4518 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4519 (testout): Likewise.
4521 2012-10-24 Andreas Jaeger <aj@suse.de>
4523 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4524 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4525 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4526 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4527 posix_fadvise64, posix_fallocate64.
4529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4530 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4531 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4533 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4535 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4538 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4539 <bits/fcntl-linux.h>.
4540 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4543 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4544 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4545 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4546 [__WORDSIZE != 64]: Likewise.
4548 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4550 * Makeconfig (run-built-tests): New variable.
4551 * Rules [$(cross-compiling) = yes]: Change condition to
4552 [$(run-built-tests) = no].
4553 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4554 to [$(run-built-tests) = yes].
4555 * elf/Makefile [$(cross-compiling) = no]: Likewise
4556 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4557 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4558 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4559 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4560 * io/Makefile [$(cross-compiling) = no]: Likewise.
4561 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4562 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4563 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4564 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4565 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4566 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4567 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4568 * string/Makefile [$(cross-compiling) = no]: Likewise.
4570 * posix/Makefile ($(objpfx)globtest.out): Pass
4571 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4572 $(rtld-installed-name).
4573 * posix/globtest.sh (elf_objpfx): Remove variable.
4574 (rtld_installed_name): Likewise.
4575 (library_path): Likewise.
4576 (run_program_prefix): New variable. Use for running globtest
4579 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4580 Joseph Myers <joseph@codesourcery.com>
4582 * Makeconfig (host-built-program-cmd): New variable.
4583 * elf/Makefile (tst-stackguard1-ARGS): Use
4584 $(host-built-program-cmd).
4585 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4586 (tst-spawn-ARGS): Likewise.
4587 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4589 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4590 Jim Blandy <jimb@codesourcery.com>
4592 * Makeconfig (run-via-rtld-prefix): New variable.
4593 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4594 (built-program-cmd): Likewise.
4596 2012-10-22 Andreas Jaeger <aj@suse.de>
4598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4599 __O_RSYNC if it exists, otherwise to O_SYNC.
4601 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4602 Joseph Myers <joseph@codesourcery.com>
4604 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4606 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4608 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4611 2012-10-22 Andreas Jaeger <aj@suse.de>
4613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4621 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4628 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4629 Joseph Myers <joseph@codesourcery.com>
4631 * config.make.in (NM): New variable.
4633 2012-10-21 Andreas Jaeger <aj@suse.de>
4635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4636 definitions and declarations that are provided by
4637 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4639 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4642 * elf/Makefile (tests-static): Add tst-leaks1-static.
4643 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4644 ($(objpfx)tst-leaks1-static): New rule.
4645 ($(objpfx)tst-leaks1-static-mem): Likewise.
4646 (tst-leaks1-static-ENV): New macro.
4647 * elf/dl-open.c (dl_open_worker): Check the main application
4648 only if SHARED is defined.
4649 * elf/tst-leaks1-static.c: New file.
4651 2012-10-20 Andreas Jaeger <aj@suse.de>
4653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4654 generic values for Linux.
4655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4656 and declarations that are provided by <bits/fcntl-linux.h> and
4657 include <bits/fcntl-linux.h>.
4658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4661 2012-10-20 Roland McGrath <roland@hack.frob.com>
4663 * io/fcntl.h: Move include of <bits/types.h> to the top and
4664 include it unconditionally.
4666 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4668 * wcsmbs/Makefile (tests-ifunc): New variable.
4669 (tests): Add $(tests-ifunc).
4670 * wcsmbs/test-wcschr-ifunc.c: New file.
4671 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4672 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4673 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4674 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4675 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4677 * string/Makefile (tests-ifunc): New variable.
4678 (tests): Add $(tests-ifunc).
4679 * string/test-memccpy.c (TEST_NAME): New macro.
4680 * string/test-memchr.c (TEST_NAME): Likewise.
4681 * string/test-memcmp.c (TEST_NAME): Likewise.
4682 * string/test-memcpy.c (TEST_NAME): Likewise.
4683 * string/test-memmem.c (TEST_NAME): Likewise.
4684 * string/test-memmove.c (TEST_NAME): Likewise.
4685 * string/test-memset.c (TEST_NAME): Likewise.
4686 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4687 * string/test-stpcpy.c (TEST_NAME): Likewise.
4688 * string/test-stpncpy.c (TEST_NAME): Likewise.
4689 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4690 * string/test-strcasestr.c (TEST_NAME): Likewise.
4691 * string/test-strcat.c (TEST_NAME): Likewise.
4692 * string/test-strchr.c (TEST_NAME): Likewise.
4693 * string/test-strcmp.c(TEST_NAME): Likewise.
4694 * string/test-strcpy.c (TEST_NAME): Likewise.
4695 * string/test-strcspn.c (TEST_NAME): Likewise.
4696 * string/test-strlen.c (TEST_NAME): Likewise.
4697 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4698 * string/test-strncmp.c (TEST_NAME): Likewise.
4699 * string/test-strncpy.c (TEST_NAME): Likewise.
4700 * string/test-strnlen.c (TEST_NAME): Likewise.
4701 * string/test-strpbrk.c (TEST_NAME): Likewise.
4702 * string/test-strrchr.c (TEST_NAME): Likewise.
4703 * string/test-strspn.c (TEST_NAME): Likewise.
4704 * string/test-strstr.c (TEST_NAME): Likewise.
4705 * string/test-bcopy-ifunc.c: New file.
4706 * string/test-bzero-ifunc.c: Likewise.
4707 * string/test-memccpy-ifunc.c: Likewise.
4708 * string/test-memchr-ifunc.c: Likewise.
4709 * string/test-memcmp-ifunc.c: Likewise.
4710 * string/test-memcpy-ifunc.c: Likewise.
4711 * string/test-memmem-ifunc.c: Likewise.
4712 * string/test-memmove-ifunc.c: Likewise.
4713 * string/test-mempcpy-ifunc.c: Likewise.
4714 * string/test-memset-ifunc.c: Likewise.
4715 * string/test-rawmemchr-ifunc.c: Likewise.
4716 * string/test-stpcpy-ifunc.c: Likewise.
4717 * string/test-stpncpy-ifunc.c: Likewise.
4718 * string/test-strcasecmp-ifunc.c: Likewise.
4719 * string/test-strcasestr-ifunc.c: Likewise.
4720 * string/test-strcat-ifunc.c: Likewise.
4721 * string/test-strchr-ifunc.c: Likewise.
4722 * string/test-strchrnul-ifunc.c: Likewise.
4723 * string/test-strcmp-ifunc.c: Likewise.
4724 * string/test-strcpy-ifunc.c: Likewise.
4725 * string/test-strcspn-ifunc.c: Likewise.
4726 * string/test-strlen-ifunc.c: Likewise.
4727 * string/test-strncasecmp-ifunc.c: Likewise.
4728 * string/test-strncat-ifunc.c: Likewise.
4729 * string/test-strncmp-ifunc.c: Likewise.
4730 * string/test-strncpy-ifunc.c: Likewise.
4731 * string/test-strnlen-ifunc.c: Likewise.
4732 * string/test-strpbrk-ifunc.c: Likewise.
4733 * string/test-strrchr-ifunc.c: Likewise.
4734 * string/test-strspn-ifunc.c: Likewise.
4735 * string/test-strstr-ifunc.c: Likewise.
4737 * debug/Makefile (tests-ifunc): New variable.
4738 (tests): Add $(tests-ifunc).
4739 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4740 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4741 * debug/test-stpcpy_chk-ifunc.c: New file.
4742 * debug/test-strcpy_chk-ifunc.c: Likewise.
4744 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4747 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4748 header is not read in.
4750 2012-10-19 Joseph Myers <joseph@codesourcery.com>
4752 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4753 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4754 directly. Pass built executable to script as
4755 $(built-program-cmd).
4756 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4757 $testprogram without using LD_LIBRARY_PATH and $ldso.
4759 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4760 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4761 $(rtld-installed-name).
4762 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4763 (rtld_installed_name): Likewise.
4764 (library_path): Likewise.
4765 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4766 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4767 $(run-program-prefix) to tst-tables.sh.
4768 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4769 it to run tst-table-from and tst-table-to.
4770 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4771 Pass it to tst-table.sh.
4772 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4773 $(run-program-prefix) to tst-gettext.sh.
4774 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4776 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4778 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4780 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4781 to run tst-gettext2.
4782 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4783 to run tst-translit.
4784 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4785 $(run-program-prefix) to tst-mtrace.sh.
4786 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4788 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4789 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4790 $(rtld-installed-name).
4791 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4792 (rtld_installed_name): Likewise.
4793 (run_program_prefix): New variable. Use it to run wordexp-test.
4795 * Makeconfig (ARCH): Remove all definitions.
4796 (machine): Likewise.
4797 [ARCH]: Remove conditional code.
4798 [!objdir]: Give error.
4799 [!objdir] (objpfx): Remove.
4800 [!objdir] (common-objpfx): Likewise.
4801 [!objdir] (common-objdir): Likewise.
4802 * configure.in (config_makefile): Remove. Hardcode Makefile in
4803 AC_CONFIG_FILES call.
4804 * configure: Regenerated.
4807 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4809 (testout): Likewise.
4811 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4812 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4813 $(rtld-installed-name).
4814 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4815 (rtld_installed_name): Likwise.
4816 (runit): Remove function.
4817 (run_getconf): New variable, Use it for running getconf binary.
4819 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4822 * string/test-memmem.c (check_result): New function.
4823 (do_one_test): Use it.
4824 (check1): New function.
4825 (test_main): Use it.
4827 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4829 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4831 2012-10-18 Joseph Myers <joseph@codesourcery.com>
4833 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4834 (_G_LSEEK64): Likewise.
4835 (_G_MMAP64): Likewise.
4836 (_G_FSTAT64): Likewise.
4837 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4838 (_G_LSEEK64): Likewise.
4839 (_G_MMAP64): Likewise.
4840 (_G_FSTAT64): Likewise.
4841 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4842 unconditional. Call __mmap64 directly.
4843 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4844 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4846 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4847 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4849 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4850 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4852 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4853 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4855 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4856 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4858 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4859 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4860 __fxstat64 directly.
4861 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4862 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4864 (freopen64) [!_G_OPEN64]: Remove conditional code.
4865 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4867 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4868 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4870 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4871 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4873 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4874 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4876 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4877 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4879 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4880 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4882 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4883 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4885 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4887 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4890 * manual/memory.texi (Malloc Tunable Parameters): Add note
4891 about free list pointers overwriting some perturb bytes.
4892 Wording suggested by Roland McGrath.
4894 2012-10-17 Joseph Myers <joseph@codesourcery.com>
4896 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4897 (lgamma_test): Likewise.
4898 (tgamma_test): Likewise.
4900 2012-10-16 Florian Weimer <fweimer@redhat.com>
4903 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4904 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4906 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4908 * NEWS: Mention BZ #14716.
4909 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4910 when removing AVAILABLE1_USES_J macro.
4912 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4914 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4915 (__bswap_64): __uint64_t for unsigned 64-bit int.
4917 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4919 * include/string.h (memmem): Declare libc hidden alias.
4920 * string/memmem.c (memmem): Define libc hidden alias.
4921 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4922 __read, __close instead of open, read, close.
4924 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4927 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4929 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4930 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4931 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4933 (__rawmemchr_sse2): Likewise.
4934 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4935 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4936 (__strchr_sse2): Likewise.
4937 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4938 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4939 (__strcasecmp_sse2): Likewise.
4940 (__strncasecmp_sse2): Likewise.
4941 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4942 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4943 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4944 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4945 (__strrchr_sse2): Likewise.
4946 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4948 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4949 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4950 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4951 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4952 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4953 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4956 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4957 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4958 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4959 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4960 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4961 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4962 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4963 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4964 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4965 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4966 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4967 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4968 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4969 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4970 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4971 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4972 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4974 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4975 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4976 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4977 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4979 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4981 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4982 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4983 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4984 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4986 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4988 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4989 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4990 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4991 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4993 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4995 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4996 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4997 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4998 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4999 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5000 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5001 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5002 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5003 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5004 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5005 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5006 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5007 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5009 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5010 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5011 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5012 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5014 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5015 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5016 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5017 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5018 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5019 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5020 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5021 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5022 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5023 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5026 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5027 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5028 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5029 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5032 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5033 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5035 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5036 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5037 * include/ifunc-impl-list.h: New file.
5038 * misc/ifunc-impl-list.c: Likewise.
5039 * misc/Makefile (routines): Add ifunc-impl-list.
5040 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5041 * string/test-string.h: Include <ifunc-impl-list.h>.
5042 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5043 impl_array): New variables.
5044 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5046 (test_init): Call __libc_ifunc_impl_list to initialize
5047 func_list if TEST_IFUNC and TEST_NAME are defined.
5049 * string/Makefile (strop-tests): Add bcopy and bzero.
5050 * string/test-bcopy.c: New file.
5051 * string/test-bzero.c: Likewise.
5052 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5054 * string/test-memset.c: Support bzero test if TEST_BZERO is
5056 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5058 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5060 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5063 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5065 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5066 * configure: Regenerated.
5068 * Makeconfig (+link-static-before-libc): Don't include
5069 $(link-static-libc).
5071 * libio/libio.h (_IO_pos_t): Remove.
5073 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5075 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5080 * crypt/crypt-entry.c: Include fips-private.h.
5081 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5082 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5083 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5084 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5086 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5088 * crypt/crypt-private.h: Include stdbool.h.
5089 (_ufc_setup_salt_r): Return bool.
5090 * crypt/crypt-entry.c: Include errno.h.
5091 (__crypt_r): Return NULL with EINVAL for bad salt.
5092 * crypt/crypt_util.c (bad_for_salt): New.
5093 (_ufc_setup_salt_r): Check that salt is long enough and within
5094 the specified alphabet.
5095 * crypt/badsalttest.c: New file.
5096 * crypt/Makefile (tests): Add it.
5097 ($(objpfx)badsalttest): New.
5099 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5101 * NEWS: Add entry for BZ #14602.
5103 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5105 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5107 * math/libm-test.inc: Update comment listing what functions and
5109 (isgreater_test): New function.
5110 (isgreaterequal_test): Likewise.
5111 (isless_test): Likewise.
5112 (islessequal_test): Likewise.
5113 (islessgreater_test): Likewise.
5114 (isunordered_test): Likewise.
5115 (main): Call the new functions.
5117 2012-10-09 Roland McGrath <roland@hack.frob.com>
5119 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5120 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5121 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5122 * sysdeps/i386/configure: Regenerated.
5123 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5124 * sysdeps/mach/configure: Regenerated.
5125 * sysdeps/mach/hurd/configure: Regenerated.
5126 * sysdeps/powerpc/configure: Regenerated.
5127 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5128 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5129 * sysdeps/s390/s390-32/configure: Regenerated.
5130 * sysdeps/s390/s390-64/configure: Regenerated.
5131 * sysdeps/sh/configure: Regenerated.
5132 * sysdeps/sparc/configure: Regenerated.
5133 * sysdeps/unix/sysv/linux/configure: Regenerated.
5134 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5135 * sysdeps/x86_64/configure: Regenerated.
5137 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5138 defined. Don't check if MAP is NULL.
5140 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5143 (_G_stat64): Likewise.
5144 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5145 (_G_stat64): Likewise.
5146 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5147 instead of struct _G_stat64.
5148 * libio/fileops.c (mmap_remap_check): Likewise.
5149 (decide_maybe_mmap): Likewise.
5150 (_IO_new_file_seekoff): Likewise.
5151 (_IO_file_stat): Likewise.
5152 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5154 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5155 instead of struct _G_stat64.
5156 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5158 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5161 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5163 (CHECK_EOL): New macro.
5164 (two_way_short_needle): Check beginning of haystack for EOL. Use
5166 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5167 Replace with CHECK_EOL.
5168 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5169 Replace with CHECK_EOL.
5171 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5173 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5175 * math/libm-test.inc: Update comment listing what functions and
5177 (finite_test): New function.
5178 (isinf_test): Likewise.
5179 (isnan_test): Likewise.
5180 (fpclassify_test): Test subnormal input.
5181 (isfinite_test): Likewise.
5182 (isnormal_test): Likewise.
5183 (main): Call the new functions.
5185 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5188 * Makerules (%.dynsym): Force C locale when running
5189 $(OBJDUMP) --dynamic-syms.
5191 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5193 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5196 2012-10-06 David S. Miller <davem@davemloft.net>
5198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5199 upper 32-bits of the length value in %o2 since we use branch-on-register
5200 tests which consider the entire 64-bit register.
5202 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5204 * string/test-strstr.c (check2): Add a test for page boundary.
5206 2012-10-05 David S. Miller <davem@davemloft.net>
5208 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5209 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5211 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5213 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5214 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5215 and bzero when HWCAP_SPARC_CRYPTO is present.
5217 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5220 * string/test-strstr.c (check2): New function.
5221 (test_main): Call check2.
5223 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5225 * string/bug-strcasestr1.c (do_test): Moved to ...
5226 * string/test-strcasestr.c (check1): Here. New function.
5227 (do_one_test): Break out result checking code into ...
5228 (check_result): This. New function.
5229 (do_one_test): Call check_result.
5230 (test_main): Call check1.
5231 * string/bug-strchr1.c (do_test): Moved to ...
5232 * string/test-strchr.c (check1): Here. New function.
5233 (do_one_test): Break out result checking code into ...
5234 (check_result): This. New function.
5235 (do_one_test): Call check_result.
5236 (test_main): Call check1.
5237 * string/bug-strstr1.c (main): Moved to ...
5238 * string/test-strstr.c (check1): Here. New function.
5239 (do_one_test): Break out result checking code into ...
5240 (check_result): This. New function.
5241 (do_one_test): Call check_result.
5242 (test_main): Call check1.
5243 * string/bug-strcasestr1.c: Removed.
5244 * string/bug-strchr1.c: Likewise.
5245 * string/bug-strstr1.c: Likewise.
5247 * elf/Makefile (dl-routines): Add hwcaps.
5248 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5249 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5250 (_dl_important_hwcaps): Moved to ...
5251 * elf/dl-hwcaps.c: Here. New file.
5252 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5255 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5256 if IS_IN_rtld isn't defined.
5258 * elf/dl-support.c (_dl_sysinfo_map): New.
5259 Include "get-dynamic-info.h" and "setup-vdso.h".
5260 (_dl_non_dynamic_init): Call setup_vdso.
5261 * elf/dynamic-link.h: Don't include <assert.h>.
5262 (elf_get_dynamic_info): Moved to ...
5263 * elf/get-dynamic-info.h: Here. New file.
5264 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5265 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5266 * elf/setup-vdso.h: Here. New file.
5267 * elf/rtld.c: Include "setup-vdso.h".
5268 (dl_main): Call setup_vdso.
5270 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5272 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5273 creal in comment listing functions tested. List finite, isinf,
5274 isnan, isless, islessequal, isgreater, isgreaterequal,
5275 islessgreater, isunordered, lgamma_r and pow10 as functions and
5276 macros not tested. Mention which functions not tested are aliases
5277 for other functions. Fix typo. Note that signs of NaNs are not
5280 * scripts/config.guess: Update from config.git.
5281 * scripts/config.sub: Likewise.
5283 2012-10-04 Roland McGrath <roland@hack.frob.com>
5285 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5286 * misc/madvise.c (madvise): Renamed to __madvise.
5287 Make madvise a weak alias.
5288 * include/sys/mman.h: Declare __madvise.
5289 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5290 * sysdeps/unix/syscalls.list
5291 (madvise): Make __madvise the strong name, and madvise a weak alias.
5292 * sysdeps/unix/sysv/linux/syscalls.list
5293 (madvise, mmap): Remove redundant entries.
5294 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5295 * malloc/malloc.c (mtrim): Likewise.
5296 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5298 2012-10-03 Roland McGrath <roland@hack.frob.com>
5300 * sysdeps/mach/hurd/dl-cache.c: File removed.
5301 * config.h.in (USE_LDCONFIG): New #undef.
5302 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5303 * configure: Regenerated.
5304 * elf/Makefile (dl-routines): Add dl-cache only under
5305 [$(use-ldconfig) = yes].
5306 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5307 cache on [USE_LDCONFIG].
5308 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5310 * elf/rtld.c (dl_main): Likewise.
5312 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5314 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5315 _SC_LEVEL4_CACHE_LINESIZE.
5317 2012-10-03 Roland McGrath <roland@hack.frob.com>
5319 * sysdeps/unix/bsd/confstr.h: File removed.
5321 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5323 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5326 2012-10-02 Roland McGrath <roland@hack.frob.com>
5328 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5329 Make 'mapoff' field ElfW(Off) rather than off_t.
5331 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5333 * nscd/Makefile: Remove nscd-cflags and all its users.
5334 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5335 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5338 * malloc.c (malloc_printerr): Clarify error message.
5340 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5344 Set bit_FMA_Usable if FMA is supported.
5345 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5347 (bit_FMA4_Usable): Updated.
5348 (index_FMA_Usable): New macro.
5349 (CPUID_FMA): Likewise
5350 (HAS_FMA): Defined with bit_FMA_Usable.
5352 2012-10-01 Roland McGrath <roland@hack.frob.com>
5354 * bits/types.h (__swblk_t): Type removed.
5355 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5356 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5358 (__SWBLK_T_TYPE): Likewise.
5359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5360 (__SWBLK_T_TYPE): Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5362 (__SWBLK_T_TYPE): Likewise.
5363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5364 (__SWBLK_T_TYPE): Likewise.
5366 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5367 Honza Horak <hhorak@redhat.com>
5369 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5370 (xdr_mapname): Use YPMAXMAP as maxsize.
5371 (xdr_peername): Use YPMAXPEER as maxsize.
5372 (xdr_keydat): Use YPAXRECORD as maxsize.
5373 (xdr_valdat): Use YPMAXRECORD as maxsize.
5375 2012-10-01 Roland McGrath <roland@hack.frob.com>
5377 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5379 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5380 * csu/init-first.c: ... here.
5381 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5382 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5383 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5384 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5385 * sysdeps/i386/init-first.c: File removed.
5386 * sysdeps/sh/init-first.c: File removed.
5388 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5392 if x * y might underflow to zero and z is zero.
5393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5395 * math/libm-test.inc (min_subnorm_value): New variable.
5396 (fma_test): Add more tests.
5397 (fma_test_towardzero): Likewise.
5398 (fma_test_downward): Likewise
5399 (fma_test_upward): Likewise.
5400 (initialize): Set min_subnorm_value.
5402 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5408 mode for addition resulting in exact zero.
5409 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5412 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5414 * math/libm-test.inc (fma_test): Add more tests.
5415 (fma_test_towardzero): New function.
5416 (fma_test_downward): Likewise.
5417 (fma_test_upward): Likewise.
5418 (main): Call the new functions.
5420 2012-09-28 David S. Miller <davem@davemloft.net>
5422 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5424 2012-09-28 Roland McGrath <roland@hack.frob.com>
5426 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5429 * sysdeps/gnu/_G_config.h: Moved to ...
5430 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5431 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5432 * sysdeps/generic/_G_config.h: ... here.
5434 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5436 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5438 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5439 Conditionalize target on [libnss_test1.so-version].
5441 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5443 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5444 (elfobjdir): Move out of conditionals.
5446 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5447 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5448 (__nss_lookup_function): Conditionalize label remove_from_tree on
5449 [!DO_STATIC_NSS || SHARED], matching its only use.
5451 2012-09-28 David S. Miller <davem@davemloft.net>
5453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5454 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5456 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5458 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5460 when HWCAP_SPARC_CRYPTO is present.
5462 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5464 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5466 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5469 * stdio-common/vfprintf.c (process_string_arg): Revert
5472 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5474 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5476 * stdio-common/tst-sprintf.c: Include <locale.h>
5477 (main): Test sprintf's handling of incomplete multibyte
5480 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5482 * elf/dl-runtime.c (VERSYMIDX): Removed.
5483 * elf/dl-version.c (VERSYMIDX): Likewise.
5484 * elf/do-rel.h (VERSYMIDX): Likewise.
5486 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5487 * elf/rtld.c (VALIDX): Likewise.
5488 (ADDRIDX): Likewise.
5489 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5490 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5491 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5492 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5494 (ADDRIDX): Likewise.
5496 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5498 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5500 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5503 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5505 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5506 addresses are in the same scope as 192.0.2/24.
5507 * posix/gai.conf: Document new scope table defaults.
5509 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5512 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5513 for ftell. Compute offsets from write pointers instead.
5514 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5516 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5519 * libio/Makefile (tests): New test case tst-fseek.
5520 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5521 combination works in wide mode.
5522 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5523 state when the external buffer state changes.
5525 2012-09-27 David S. Miller <davem@davemloft.net>
5528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5529 pass reloc->r_addend in as the 'high' argument to
5530 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5534 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5536 * rt/tst-aio2.c: Include <pthread.h>.
5537 * rt/tst-aio3.c: Likewise.
5539 2012-09-27 Steve Ellcey <sellcey@mips.com>
5541 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5543 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5545 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5546 contents on [SHARED].
5548 2012-09-26 Marek Polacek <polacek@redhat.com>
5552 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5553 for C++ and GCC <4.3 as well as for non GCC compilers.
5555 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5559 2012-09-25 Roland McGrath <roland@hack.frob.com>
5561 * Makefile.in (all, install): Declare with .PHONY.
5562 Reported by Michael Hope <michael.hope@linaro.org>.
5564 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5566 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5567 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5569 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5571 (sydep_routines): Add the new and the internal functions.
5572 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5573 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5575 (GLIBC_2.17): Add the new function.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5577 (GLIBC_2.17): Likewise.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5579 (GLIBC_2.17): Likewise.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5581 (GLIBC_2.17): Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5584 2012-09-25 Alan Modra <amodra@gmail.com>
5586 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5587 Add release barrier before setting once_control to say
5588 initialisation is done. Add hints on lwarx. Use macro in
5590 (clear_once_control): Add release barrier.
5592 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5595 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5597 * math/s_clog10.c (__clog10): Likewise.
5598 * math/s_clog10f.c (__clog10f): Likewise.
5599 * math/s_clog10l.c (__clog10l): Likewise.
5600 * math/s_clogf.c (__clogf): Likewise.
5601 * math/s_clogl.c (__clogl): Likewise.
5602 * math/Makefile (libm-calls): Add x2y2m1.
5603 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5604 (__x2y2m1): Likewise.
5605 (__x2y2m1l): Likewise.
5606 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5607 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5612 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5613 * sysdeps/i386/fpu/libm-test-ulps: Update.
5614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5617 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5618 int as type of variable DEPTH.
5619 (glob): Use size_t instead of int as type of variables NEWCOUNT
5622 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5624 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5626 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5627 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5628 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5629 macros for using routine as __sincosf_ia32.
5630 Use macro for function declaration and weak_alias.
5631 * sysdeps/i386/fpu/libm-test-ulps: Update.
5633 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5636 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5638 * math/s_cexpf.c (__cexpf): Likewise.
5639 * math/s_csinf.c (__csinf): Likewise.
5640 * math/s_csinhf.c (__csinhf): Likewise.
5641 * math/s_ctanf.c (__ctanf): Likewise.
5642 * math/s_ctanhf.c (__ctanhf): Likewise.
5643 * math/s_ccosh.c (__ccoshf): Likewise.
5644 * math/s_cexp.c (__cexpl): Likewise.
5645 * math/s_csin.c (__csin): Likewise.
5646 * math/s_csinh.c (__csinh): Likewise.
5647 * math/s_ctan.c (__ctan): Likewise.
5648 * math/s_ctanh.c (ctanh): Likewise.
5649 * math/s_ccoshl.c (__ccoshl): Likewise.
5650 * math/s_cexpl.c (__cexpl): Likewise.
5651 * math/s_csinl.c (__csinl): Likewise.
5652 * math/s_csinhl.c (__csinhl): Likewise.
5653 * math/s_ctanl.c (__ctanl): Likewise.
5654 * math/s_ctanhl.c (__ctanhl): Likewise.
5656 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5658 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5659 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5660 (_IO_off_t): Define to __off_t, not _G_off_t.
5661 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5662 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5663 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5664 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5665 type of __dummy and __dummy2 fields.
5666 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5667 (_G_ssize_t): Likewise.
5668 (_G_off_t): Likewise.
5669 (_G_pid_t): Likewise.
5670 (_G_uid_t): Likewise.
5671 (_G_wchar_t): Likewise.
5672 (_G_wint_t): Likewise.
5673 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5674 (_G_ssize_t): Likewise.
5675 (_G_off_t): Likewise.
5676 (_G_pid_t): Likewise.
5677 (_G_uid_t): Likewise.
5678 (_G_wchar_t): Likewise.
5679 (_G_wint_t): Likewise.
5680 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5681 (_G_ssize_t): Likewise.
5682 (_G_off_t): Likewise.
5683 (_G_pid_t): Likewise.
5684 (_G_uid_t): Likewise.
5685 (_G_wchar_t): Likewise.
5686 (_G_wint_t): Likewise.
5688 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5690 * malloc/arena.c: Include malloc-sysdep.h.
5691 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5692 is sufficient to shrink the heap or an unmap is needed.
5693 * sysdeps/generic/malloc-sysdep.h: New file. Define
5694 new function check_may_shrink_heap.
5695 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5696 new function check_may_shrink_heap.
5698 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5700 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5703 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5705 * catgets/test-gencat.sh: Add "set -e".
5706 * elf/tst-pathopt.sh: Likewise.
5707 * grp/tst_fgetgrent.sh: Likewise.
5708 * iconvdata/run-iconv-test.sh: Likewise.
5709 * intl/tst-gettext.sh: Likewise.
5710 * intl/tst-gettext2.sh: Likewise.
5711 * intl/tst-gettext4.sh: Likewise.
5712 * intl/tst-gettext6.sh: Likewise.
5713 * intl/tst-translit.sh: Likewise.
5714 * io/ftwtest-sh: Likewise.
5715 * libio/test-freopen.sh: Likewise.
5716 * malloc/tst-mtrace.sh: Likewise.
5717 * posix/globtest.sh: Likewise.
5718 * posix/tst-getconf.sh: Likewise.
5719 * posix/wordexp-tst.sh: Likewise.
5720 * stdio-common/tst-printf.sh: Likewise.
5721 * stdio-common/tst-unbputc.sh: Likewise.
5722 * stdlib/tst-fmtmsg.sh: Likewise.
5723 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5724 * catgets/Makefile: Do not specify -e option when running
5725 testsuite shell scripts.
5726 * elf/Makefile: Likewise.
5727 * grp/Makefile: Likewise.
5728 * iconvdata/Makefile: Likewise.
5729 * intl/Makefile: Likewise.
5730 * io/Makefile: Likewise.
5731 * libio/Makefile: Likewise.
5732 * malloc/Makefile: Likewise.
5733 * posix/Makefile: Likewise.
5734 * stdio-common/Makefile: Likewise.
5735 * stdlib/Makefile: Likewise.
5736 * sysdeps/x86_64/Makefile: Likewise.
5738 * io/ftwtest-sh: Add copyright header.
5739 * posix/globtest.sh: Likewise.
5740 * posix/tst-getconf.sh: Likewise.
5741 * posix/wordexp-tst.sh: Likewise.
5742 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5744 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5747 * Makeconfig (+link): Defined as $(+link-static) if
5748 $(build-shared) isn't yes.
5749 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5751 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5753 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5756 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5757 new chunk size with MALLOC_ALIGN_MASK.
5759 2012-09-24 Joseph Myers <joseph@codesourcery.com>
5762 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5764 (__printf_fphex): Determine rounding using get_rounding_mode and
5766 * stdio-common/tst-printf-round.c (struct hex_test): New
5768 (hex_tests): New variable.
5769 (test_hex_in_one_mode): New function.
5770 (do_test): Also run tests for hex float output.
5772 2012-09-21 Joseph Myers <joseph@codesourcery.com>
5774 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5775 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5776 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5777 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5778 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5779 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5780 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5783 2012-09-20 Joseph Myers <joseph@codesourcery.com>
5785 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5786 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5787 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5788 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5790 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5793 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5795 * elf/tst-rtld-load-self.sh: New test.
5796 * elf/Makefile: Run it.
5798 2012-09-18 Joseph Myers <joseph@codesourcery.com>
5800 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5801 (tst-writev-ENV): Remove.
5802 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5804 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5806 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5808 2012-09-17 Joseph Myers <joseph@codesourcery.com>
5810 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5812 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5814 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5815 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5819 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5822 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5823 * config.make.in (have-cpp-asm-debuginfo): Removed.
5824 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5825 * configure: Regenerated.
5827 2012-09-14 Joseph Myers <joseph@codesourcery.com>
5830 * stdio-common/printf_fp.c: Include <stdbool.h> and
5832 (___printf_fp): Determine rounding using get_rounding_mode and
5834 * stdio-common/tst-printf-round.c: New file.
5835 * stdio-common/Makefile (tests): Add tst-printf-round.
5836 (link-libm): New variable.
5837 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5839 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5842 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5843 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5845 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5848 2012-09-13 Joseph Myers <joseph@codesourcery.com>
5850 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5851 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5852 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5853 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5855 2012-09-12 Joseph Myers <joseph@codesourcery.com>
5858 * include/rounding-mode.h: New file.
5859 * sysdeps/generic/get-rounding-mode.h: Likewise.
5860 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5861 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5862 (MAX_VALUE): New macro.
5863 (MIN_VALUE): Likewise.
5864 (overflow_value): New function.
5865 (underflow_value): Likewise.
5866 (round_and_return): Use overflow_value and underflow_value to
5867 determine return values in overflow and underflow cases. Use
5868 round_away to determine rounding depending on rounding mode.
5869 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5870 determine return values in overflow and underflow cases.
5871 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5872 (struct test_results): New structure.
5873 (struct test): Use struct test_results to store expected results
5874 for all rounding modes.
5875 (TEST): Include expected results for all rounding modes.
5876 (test_in_one_mode): New function.
5877 (do_test): Use test_in_one_mode to compute and check results.
5878 Check results for all rounding modes.
5879 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5882 2012-12-09 Allan McRae <allan@archlinux.org>
5884 * sysdeps/i386/fpu/libm-test-ulps: Update
5886 2012-09-11 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5889 (_G_int32_t): Likewise.
5890 (_G_uint16_t): Likewise.
5891 (_G_uint32_t): Likewise.
5892 (_G_HAVE_BOOL): Likewise.
5893 (_G_HAVE_ATEXIT): Likewise.
5894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5895 (_G_HAVE_IO_FILE_OPEN): Likewise.
5896 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5897 (_G_int32_t): Likewise.
5898 (_G_uint16_t): Likewise.
5899 (_G_uint32_t): Likewise.
5900 (_G_HAVE_BOOL): Likewise.
5901 (_G_HAVE_ATEXIT): Likewise.
5902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5903 (_G_HAVE_IO_FILE_OPEN): Likewise.
5904 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5905 (_G_int32_t): Likewise.
5906 (_G_uint16_t): Likewise.
5907 (_G_uint32_t): Likewise.
5908 (_G_HAVE_BOOL): Likewise.
5909 (_G_HAVE_ATEXIT): Likewise.
5910 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5911 (_G_HAVE_IO_FILE_OPEN): Likewise.
5913 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5915 * csu/libc-tls.c: Update copyright years.
5917 2012-09-10 Joseph Myers <joseph@codesourcery.com>
5919 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5920 [!_G_USING_THUNKS]: Remove conditional code.
5921 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5922 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5924 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5925 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5926 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5927 (_G_VTABLE_LABEL_PREFIX): Likewise.
5928 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5929 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5930 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5931 (_G_VTABLE_LABEL_PREFIX): Likewise.
5932 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5933 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5934 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5935 (_G_VTABLE_LABEL_PREFIX): Likewise.
5936 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5938 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5940 * libio/Makefile: Include ../Makeconfig before tests.
5941 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5942 only if $(build-shared) is yes.
5944 * iconv/gconv_db.c: Update copyright years.
5946 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5948 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5949 unwind info if defined PIC. Fix special cases description.
5950 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5952 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5954 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5956 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5958 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5960 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5963 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5964 (LDLIBS-tst-chk4): This.
5965 (LDFLAGS-tst-chk5): Renamed to ...
5966 (LDLIBS-tst-chk5): This.
5967 (LDFLAGS-tst-chk6): Renamed to ...
5968 (LDLIBS-tst-chk6): This.
5969 (LDFLAGS-tst-lfschk4): Renamed to ...
5970 (LDLIBS-tst-lfschk4): This.
5971 (LDFLAGS-tst-lfschk5): Renamed to ...
5972 (LDLIBS-tst-lfschk5): This.
5973 (LDFLAGS-tst-lfschk6): Renamed to ...
5974 (LDLIBS-tst-lfschk6): This.
5976 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5977 on $(common-objpfx)soversions.mk.
5979 2012-09-07 Joseph Myers <joseph@codesourcery.com>
5982 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5985 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 * malloc/arena.c (arena_get_retry): New function that gets
5988 another arena for the caller to try its request on.
5989 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5990 current arena cannot fulfill the request.
5991 (__libc_memalign): Likewise.
5992 (__libc_memalign): Likewise.
5993 (__libc_pvalloc): Likewise.
5994 (__libc_calloc): Likewise.
5996 2012-09-05 John Tobey <john.tobey@gmail.com>
5999 * manual/arith.texi (Operations on Complex): Fix description
6002 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6005 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6009 * manual/memory.texi (Memory): Make order of menu items match
6012 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6014 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6015 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6016 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6018 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6020 * csu/libc-tls.c (static_dtv): Renamed to ...
6021 (_dl_static_dtv): This. Make it global.
6022 (_dl_initial_dtv): Removed.
6023 (__libc_setup_tls): Updated.
6024 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6025 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6028 2012-09-06 Petr Machata <pmachata@redhat.com>
6030 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6031 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6032 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6033 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6035 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6038 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6039 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6045 * Makeconfig (link-static-before-libc): Replace $(+prector)
6047 (link-static-after-libc): Replace $(+postctor) with
6049 (link-bounded): Replace $(+prector)/$(+postctor) with
6050 $(+prectorT)/$(+postctorT).
6051 (+prectorT): New macro.
6052 (+postctorT): Likewise.
6054 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6056 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6057 (round_str): Handle values above the maximum for IBM long double
6059 * stdlib/tst-strtod-round.c (tests): Regenerated.
6061 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6063 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6065 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6066 zarch_nohighgprs around the zarch optimized routines.
6067 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6068 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6069 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6072 2012-09-05 David S. Miller <davem@davemloft.net>
6074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6076 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6077 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6078 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6079 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6082 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6084 * malloc/arena.c: Fold copyright years.
6085 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6091 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6093 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6097 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6098 change internal state upon failure.
6100 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6102 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6103 * malloc/memusage.c (mmap): Likewise.
6104 (mmap64, mremap): Likewise. Adjust name in comment.
6106 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6108 * libio/fileops.c: Fix typos in comments.
6109 * libio/oldfileops.c: Likewise.
6110 * libio/wfileops.c: Likewise.
6112 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6115 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6116 (tst-malloc-usable-ENV): Set environment for test case.
6117 * malloc/hooks.c (malloc_check_get_size): New function to get
6119 * malloc/malloc.c (musable): Use malloc_check_get_size.
6120 * malloc/tst-malloc-usable.c: New test case.
6122 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6124 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6126 2012-09-05 Allan McRae <allan@archlinux.org>
6129 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6130 determine header location.
6131 * configure: Regenerated.
6133 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6135 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6137 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6138 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6142 2012-09-04 David S. Miller <davem@davemloft.net>
6144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6146 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6148 2012-09-04 Florian Weimer <fweimer@redhat.com>
6150 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6153 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6155 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6158 * libio/iogetdelim.c: Include <limits.h>.
6159 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6160 + len + 1 would overflow.
6162 2012-09-03 Andreas Jaeger <aj@suse.de>
6164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6165 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6169 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6170 Add s_sinf-sse2, s_conf-sse2.
6172 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6173 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6174 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6175 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6177 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6178 for using routine as __sinf_ia32.
6179 Use macro for function declaration and weak_alias.
6180 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6181 for using routine as __cosf_ia32.
6182 Use macro for function declaration and weak_alias.
6184 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6185 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6187 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6188 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6191 * math/libm-test.inc (cos_test): Add more test cases.
6192 (sin_test): Likewise.
6193 (sincos_test): Likewise.
6195 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6197 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6198 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6200 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6202 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6205 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6206 first element of the GOT.
6207 (elf_machine_load_address): Return the difference between
6208 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6210 2012-09-01 Allan McRae <allan@archlinux.org>
6213 * configure.in (AWK): Require gawk version 3.0 or later.
6214 * configure: Regenerated.
6216 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6218 * sysdeps/unix/sysv/linux/kernel-features.h
6219 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6220 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6221 [__NR_clock_getres]: Make code unconditional.
6222 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6223 (clock_getcpuclockid): Remove code left unreachable by removal of
6225 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6227 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6228 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6229 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6230 Make code unconditional.
6231 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6233 * sysdeps/unix/sysv/linux/clock_settime.c
6234 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6236 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6237 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6239 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6242 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6243 scripts/test-installation.pl.
6245 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6246 and $ld_so_version if it is set.
6248 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6252 failure if reading from procfs failed.
6253 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6255 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6257 * sysdeps/unix/sysv/linux/kernel-features.h
6258 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6259 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6260 Remove conditional code.
6261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6262 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6263 Remove conditional code.
6264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6265 * sysdeps/unix/sysv/linux/i386/fxstat.c
6266 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6268 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6269 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6271 * sysdeps/unix/sysv/linux/i386/lxstat.c
6272 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6274 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6275 Remove conditional code.
6276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6277 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6278 Remove conditional code.
6279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6280 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6281 <kernel-features.h>.
6282 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6284 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6285 Remove conditional code.
6286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6287 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6290 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6293 * NEWS: Add fixed bug number.
6295 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6298 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6299 underflowing exponent in case of negative sign.
6300 * stdlib/tst-strtod-round-data: Add more tests.
6301 * stdlib/tst-strtod-round.c (tests): Regenerated.
6304 * stdlib/strtod_l.c (NDIG): Remove.
6305 (HEXNDIG): Likewise.
6306 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6307 smallest representable value.
6308 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6309 lie within an exact representation of 1/2 ulp of the result.
6310 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6312 (TENS_P9_IDX): Define unconditionally.
6313 (TENS_P9_SIZE): Likewise.
6314 (TENS_P10_IDX): Likewise.
6315 (TENS_P10_SIZE): Likewise.
6316 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6317 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6318 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6319 entries for 10^2^13 and 10^2^14.
6320 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6321 (TENS_P13_IDX): Define.
6322 (TENS_P13_SIZE): Likewise.
6323 (TENS_P14_IDX): Likewise.
6324 (TENS_P14_SIZE): Likewise.
6325 (_fpioconst_pow10): Change array size to
6326 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6328 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6329 1024]: Add entries for 10^2^13 and 10^2^14.
6330 [LAST_POW10 > _LAST_POW10]: Remove #error.
6331 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6332 (_fpioconst_pow10): Change array size to
6333 FPIOCONST_POW10_ARRAY_SIZE.
6334 * stdlib/gen-fpioconst.c: New file.
6335 * stdlib/gen-tst-strtod-round.c: Likewise.
6336 * stdlib/tst-strtod-round-data: Likewise.
6337 * stdlib/tst-strtod-round.c: Likewise.
6338 * stdlib/Makefile (tests): Add tst-strtod-round.
6341 * stdlib/strtod_l.c: Include <stdint.h>.
6342 (NDEBUG): Do not define.
6343 (round_and_return): Change EXPONENT parameter to type intmax_t.
6344 Rearrange calculations to avoid internal overflow possibilities.
6345 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6346 Rearrange calculations to avoid internal overflow possibilities.
6347 Assert that number fits inside MPNSIZE limbs.
6348 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6349 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6350 calculations and add assertions to avoid internal overflow
6351 possibilities. Add casts to avoid signed/unsigned operations.
6352 * stdlib/tst-strtod-overflow.c: New file.
6353 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6355 2012-08-25 Marek Polacek <polacek@redhat.com>
6357 * time/time.h: Fix some typos in comments.
6359 2012-08-23 Roland McGrath <roland@hack.frob.com>
6361 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6362 * posix/tst-rfc3484-2.c: Likewise.
6363 * posix/tst-rfc3484-3.c: Likewise.
6365 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6367 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6368 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6370 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6372 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6373 #include of fxstatat64.c.
6375 2012-08-22 Roland McGrath <roland@hack.frob.com>
6377 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6378 * shadow/getspent_r.c: Likewise.
6379 * shadow/getspnam.c: Likewise.
6380 * shadow/getspnam_r.c: Likewise.
6381 * gshadow/getsgent.c: Likewise.
6382 * gshadow/getsgent_r.c: Likewise.
6383 * gshadow/getsgnam.c: Likewise.
6384 * gshadow/getsgnam_r.c: Likewise.
6385 * inet/getnetbyad.c: Likewise.
6386 * inet/getnetbyad_r.c: Likewise.
6387 * inet/getnetbynm.c: Likewise.
6388 * inet/getnetbynm_r.c: Likewise.
6389 * inet/getnetent.c: Likewise.
6390 * inet/getnetent_r.c: Likewise.
6391 * inet/getproto.c: Likewise.
6392 * inet/getproto_r.c: Likewise.
6393 * inet/getprtent.c: Likewise.
6394 * inet/getprtent_r.c: Likewise.
6395 * inet/getprtname.c: Likewise.
6396 * inet/getprtname_r.c: Likewise.
6397 * inet/getrpcbyname.c: Likewise.
6398 * inet/getrpcbyname_r.c: Likewise.
6399 * inet/getrpcbynumber.c: Likewise.
6400 * inet/getrpcbynumber_r.c: Likewise.
6401 * inet/getrpcent.c: Likewise.
6402 * inet/getrpcent_r.c: Likewise.
6403 * inet/getaliasent.c: Likewise.
6404 * inet/getaliasent_r.c: Likewise.
6405 * inet/getaliasname.c: Likewise.
6406 * inet/getaliasname_r.c: Likewise.
6407 * nscd/getgrgid_r.c: Likewise.
6408 * nscd/getgrnam_r.c: Likewise.
6409 * nscd/gethstbyad_r.c: Likewise.
6410 * nscd/gethstbynm3_r.c: Likewise.
6411 * nscd/getpwnam_r.c: Likewise.
6412 * nscd/getpwuid_r.c: Likewise.
6413 * nscd/getsrvbynm_r.c: Likewise.
6414 * nscd/getsrvbypt_r.c: Likewise.
6415 * nscd/gai.c: Likewise.
6417 * configure.in (build_nscd): New substituted variable, set
6418 by --disable-build-nscd and defaults to $use_nscd.
6419 * configure: Regenerated.
6420 * config.make.in (build-nscd): New substituted variable.
6421 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6422 Change conditional to require [$(build-nscd) = yes] as well.
6423 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6426 * configure.in (use_nscd): New substituted variable, set by
6427 --disable-nscd. If enabled, define USE_NSCD.
6428 * configure: Regenerated.
6429 * config.h.in: Add USE_NSCD.
6430 * config.make.in (use-nscd): New substituted variable.
6431 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6432 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6433 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6434 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6435 (CFLAGS-getgrnam_r.c): Likewise.
6436 (CFLAGS-initgroups.c): Likewise.
6437 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6438 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6440 * inet/getnetgrent_r.c
6441 (nscd_setnetgrent): New function, broken out of ...
6442 (setnetgrent): ... here. Call it.
6443 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6444 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6445 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6446 * nscd/Makefile (routines, aux): Move definitions after include of
6447 Makeconfig. Conditionalize on [$(use-nscd) != no].
6448 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6449 Conditionalize on [USE_NSCD].
6450 (is_nscd, nscd_init_cb): Likewise.
6451 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6452 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6453 * nss/nss_db/db-init.c: Likewise.
6454 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6456 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6457 (make_request): Use it.
6458 (cache_valid_p): New function.
6459 (__check_pf): Use it.
6460 * NEWS: Add item for --disable-nscd.
6462 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6464 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6465 to support sed >= 4.2.1-20-ga9bf076.
6466 * configure: Regenerated.
6468 2012-08-22 Roland McGrath <roland@hack.frob.com>
6470 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6471 Conditionalize whole body on [IREL].
6473 2012-08-22 Jeff Law <law@redhat.com>
6476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6477 if the family is PF_UNSPEC.
6479 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6481 * Makerules (lib-version): Rename from V.
6482 (install-lib-nosubdir): Change V to lib-version.
6484 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6487 * powerpc32/power6/wcschr.c: New file.
6488 * powerpc32/power6/wcscpy.c: New file.
6489 * powerpc32/power6/wcsrchr.c: New file.
6490 * powerpc64/power6/wcschr.c: New file.
6491 * powerpc64/power6/wcscpy.c: New file.
6492 * powerpc64/power6/wcsrchr.c: New file.
6494 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6496 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6497 (two_way_short_needle): Use it.
6498 * string/strstr.c (AVAILABLE1_USES_J): Define.
6499 * string/strcasestr.c: Likewise.
6501 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6503 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6506 * NEWS: Add an entry.
6507 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6508 define their defaults.
6509 (two_way_short_needle): Detect end-of-string on-the-fly.
6510 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6511 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6512 * string/bug-strcasestr1.c: New test.
6513 * string/Makefile: Run it.
6515 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6518 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6519 the first character.
6521 2012-08-21 Roland McGrath <roland@hack.frob.com>
6523 * csu/elf-init.c (__libc_csu_irel): Function removed.
6524 * csu/libc-start.c (apply_irel): New function.
6525 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6527 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6529 * sysdeps/unix/sysv/linux/kernel-features.h
6530 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6531 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6532 <kernel-features.h>.
6533 [__NR_fadvise64_64]: Make code unconditional.
6534 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6535 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6536 !__NR_fadvise64_64)]: Likewise.
6537 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6538 !__NR_fadvise64_64))]: Likewise.
6539 [__NR_fadvise64]: Make code unconditional.
6540 [!__NR_fadvise64]: Remove conditional code.
6541 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6542 <kernel-features.h>.
6543 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6545 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6548 not include <kernel-features.h>.
6549 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6551 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6554 include <kernel-features.h>.
6555 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6557 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6560 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6563 slight instruction rearrangements per scrollpipe analysis.
6564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6566 2012-08-20 Roland McGrath <roland@hack.frob.com>
6568 * manual/syslog.texi (syslog; vsyslog, closelog):
6569 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6570 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6572 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6573 DSOCAPS to match condition on defining it.
6575 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6577 * sysdeps/unix/sysv/linux/kernel-features.h
6578 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6580 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6581 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6583 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6584 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6586 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6587 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6589 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6590 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6592 * sysdeps/unix/sysv/linux/kernel-features.h
6593 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6594 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6596 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6597 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6598 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6599 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6600 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6601 Make code unconditional.
6602 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6603 (__mmap64) [!__NR_mmap2]: Likewise.
6604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6605 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6606 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6607 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6608 [__NR_mmap2]: Make code unconditional.
6609 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6610 (__mmap64) [!__NR_mmap2]: Likewise.
6612 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6614 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6616 2012-08-18 Andreas Jaeger <aj@suse.de>
6618 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6620 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6622 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6623 * include/unistd.h (__have_sock_cloexec): Likewise.
6624 (__have_pipe2): Likewise.
6625 (__have_dup3): Likewise.
6627 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6630 * include/unistd.h (__have_pipe2): Change define into an extern int.
6631 (__have_dup3): Likewise.
6632 * socket/have_sock_cloexec.c: Include fcntl.h.
6633 (__have_pipe2): New variable.
6634 (__have_dup3): Likewise.
6636 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6638 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6640 2012-08-17 Marek Polacek <polacek@redhat.com>
6642 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6643 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6645 2012-08-17 Roland McGrath <roland@hack.frob.com>
6647 * configure.in: Add AC_SUBST for sysheaders.
6648 * configure: Regenerated.
6649 * config.make.in (sysheaders): New substituted variable.
6651 * sysdeps/unix/mkfifo.c: Moved ...
6652 * sysdeps/posix/mkfifo.c: ... here.
6653 * sysdeps/unix/mkfifoat.c: Moved ...
6654 * sysdeps/posix/mkfifoat.c: ... here.
6656 * sysdeps/unix/utime.c: Moved ...
6657 * sysdeps/posix/utime.c: ... here.
6659 * sysdeps/unix/time.c: Moved ...
6660 * sysdeps/posix/time.c: ... here.
6661 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6662 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6664 * sysdeps/unix/nice.c: Moved ...
6665 * sysdeps/posix/nice.c: ... here.
6667 * sysdeps/unix/alarm.c: Moved ...
6668 * sysdeps/posix/alarm.c: ... here.
6670 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6672 2012-08-17 Jeff Law <law@redhat.com>
6674 * intl/Makefile (codeset_mo): New variable.
6675 ($(codeset_mo)): New target.
6676 (tst-codeset.out): Depend on that. Remove explicit rule.
6677 (tst-gettext3.out, tst-gettext5.out): Likewise.
6678 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6679 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6680 * intl/tst-codeset.sh: Remove.
6681 * intl/tst-gettext3.sh: Likewise.
6682 * intl/tst-gettext5.sh: Likewise.
6684 2012-08-17 Roland McGrath <roland@hack.frob.com>
6686 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6687 * sysdeps/unix/syscalls.list: ... here.
6689 * sysdeps/posix/getaddrinfo.c
6690 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6691 (gaiconf_init, gaiconf_reload): Use them.
6693 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6694 Define using time_t rather than struct timespec.
6696 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6697 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6699 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6701 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6702 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6705 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6706 __libc_cleanup_push argument.
6708 * bits/param.h: New file.
6709 * misc/sys/param.h: New file.
6710 * include/sys/param.h: New file.
6711 * misc/Makefile (headers): Add bits/param.h.
6712 * sysdeps/generic/sys/param.h: File removed.
6713 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6714 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6715 * sysdeps/mach/hurd/bits/param.h: New file.
6716 * sysdeps/mach/hurd/sys/param.h: File removed.
6718 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6721 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6723 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6724 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6727 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6728 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6729 rather than -D_IO_MTSAFE_IO conditionally.
6730 * stdio-common/Makefile (CPPFLAGS): Likewise.
6731 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6732 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6733 Use $(libio-mtsafe).
6734 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6736 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6737 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6738 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6739 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6740 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6741 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6742 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6743 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6744 (CFLAGS-fread_u_chk.c): Likewise.
6745 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6746 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6747 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6748 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6749 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6750 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6751 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6752 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6753 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6755 * libio/Makefile: Test [$(libc-reentrant) = yes]
6756 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6759 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6760 * sysdeps/pthread/configure: File removed.
6761 * sysdeps/pthread/Makeconfig: New file.
6762 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6763 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6765 2012-08-16 Gary Benson <gbenson@redhat.com>
6767 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6768 unmapping the first object in a namespace.
6770 2012-08-16 Roland McGrath <roland@hack.frob.com>
6772 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6773 (__internal_setnetgrent): ... this. Add internal_function to
6774 definition. Add libc_hidden_def.
6775 (setnetgrent): Update caller.
6776 (internal_endnetgrent): Renamed to ...
6777 (__internal_endnetgrent): ... this. Add internal_function to
6778 definition. Add libc_hidden_def.
6779 (endnetgrent): Update caller.
6780 (internal_getnetgrent_r): Renamed to ...
6781 (__internal_getnetgrent_r): ... this. Add internal_function to
6782 definition. Add libc_hidden_def.
6783 (__getnetgrent_r): Update caller.
6784 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6786 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6788 * stdlib/longlong.h: Update from GCC.
6790 2012-08-16 Roland McGrath <roland@hack.frob.com>
6792 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6793 on _QL, which is set by umul_ppmm but never used.
6794 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6795 variables, which are set by GMP macros but never used.
6796 * stdio-common/_itowa.c (_itowa): Likewise.
6797 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6798 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6800 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6802 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6803 struct La_sh_regs is not constant.
6804 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6805 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6806 and struct La_sparc64_regs are not constant.
6808 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6810 * sysdeps/unix/sysv/linux/kernel-features.h
6811 (__ASSUME_POSIX_TIMERS): Remove.
6812 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6813 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6814 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6815 Make code unconditional.
6816 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6817 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6818 Make code unconditional.
6819 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6820 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6821 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6822 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6823 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6824 Make code unconditional.
6825 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6826 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6827 (__libc_missing_posix_timers): Remove.
6829 2012-08-15 Roland McGrath <roland@hack.frob.com>
6831 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6832 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6834 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6836 * elf/dl-sym.c: Include <stdlib.h>.
6838 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6839 constants, which avoids warnings in 32-bit builds.
6841 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6842 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6844 * misc/lseek.c: File moved to ...
6845 * io/lseek.c: ... here.
6847 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6849 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6850 shifting LEN more than 31 bits at once.
6852 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6855 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6856 segmentation fault for a case of two empty input strings.
6857 * string/test-strncasecmp.c (check1): Renamed to...
6859 (bz14195): Add new testcase for two empty input strings and N > 0.
6860 (test_main): Call new testcase, adapt for renamed function.
6862 2012-08-15 Andreas Jaeger <aj@suse.de>
6865 * crypt/md5test2.c: New test, based on test supplied by Serge
6866 Belyshev <belyshev@depni.sinp.msu.ru>.
6867 * crypt/Makefile (xtests): Add md5test-giant..
6868 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6870 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6873 * crypt/md5.c (md5_process_block): Don't assume the buffer
6874 length is less than 2**32.
6875 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6876 length is less than 2**64.
6878 2012-08-15 Roland McGrath <roland@hack.frob.com>
6880 * string/str-two-way.h: Include <sys/param.h>.
6881 (MAX): Macro removed.
6883 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6884 Move #define and #undef of memmove to just before and after
6885 including <string.h>.
6887 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6888 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6889 and after including <string.h>. Move declarations of
6890 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6891 to before #include "string/memmove.c".
6893 * include/dirent.h: Declare __getdirentries.
6895 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6896 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6898 2012-08-14 Mike Frysinger <vapier@gentoo.org>
6900 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6901 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6902 * sysdeps/i386/configure: Regenerated.
6903 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6904 STABS_CURRENT_FILE, and STABS_FUN.
6905 (END): Remove call to STABS_FUN_END.
6906 (STABS_CURRENT_FILE1): Delete.
6907 (STABS_CURRENT_FILE): Likewise.
6908 (STABS_FUN): Likewise.
6909 (STABS_FUN_END): Likewise.
6910 (STABS_FUN2): Likewise.
6911 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6912 * sysdeps/x86_64/configure: Regenerated.
6914 2012-08-14 Roland McGrath <roland@hack.frob.com>
6916 * elf/dl-open.c: Include <atomic.h>.
6917 * elf/dl-lookup.c: Likewise.
6919 2012-08-14 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/unix/sysv/linux/kernel-features.h
6922 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6923 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6925 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6927 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6928 condition on __ASSUME_CLONE_THREAD_FLAGS.
6930 2012-08-14 Andreas Jaeger <aj@suse.de>
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6934 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6936 * include/atomic.h (atomic_exchange_and_add): Split into ...
6937 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6940 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6944 2012-08-13 Jeff Law <law@redhat.com>
6946 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6947 null byte in the output string.
6949 2012-08-10 Joseph Myers <joseph@codesourcery.com>
6951 * sysdeps/unix/sysv/linux/kernel-features.h
6952 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6953 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6954 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6955 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6956 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6957 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6958 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6960 2012-08-09 Jeff Law <law@redhat.com>
6963 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6964 When avoid_arena is set, don't retry in the that arena. Pick the
6965 next one, whatever it might be.
6966 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6967 (arena_lock): Pass in new parameter to arena_get2.
6968 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6970 (__libc_malloc): Unify retrying after main arena failure with
6971 __libc_memalign version.
6972 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6974 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6977 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6978 to __redirect_strstr.
6979 (__strstr_sse42): Use typeof __redirect_strstr.
6980 (__strstr_ia32): Likewise.
6981 (__libc_strstr): New prototype.
6982 (strstr): Renamed to ...
6983 (__libc_strstr): This.
6984 (strstr): New strong alias of __libc_strstr.
6985 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6989 (__libc_time): New prototype.
6990 (time_ifunc): Replace time with __libc_time.
6991 (time): New strong alias and hidden definition of __libc_time.
6992 (__GI_time): Remove strong alias.
6993 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6995 (memmove): Redefined to __redirect_memmove.
6996 (__memmove_sse2): Use typeof __redirect_memmove.
6997 (__memmove_ssse3): Likewise.
6998 (__memmove_ssse3_back): Likewise.
6999 (__libc_memmove): New prototype.
7000 (memmove): Renamed to ...
7001 (__libc_memmove): This.
7002 (memmove): New strong alias of __libc_memmove.
7004 2012-08-08 Mark Salter <msalter@redhat.com>
7007 (R_MN10300_TLS_GD): Define.
7008 (R_MN10300_TLS_LD): Likewise.
7009 (R_MN10300_TLS_LDO): Likewise.
7010 (R_MN10300_TLS_GOTIE): Likewise.
7011 (R_MN10300_TLS_IE): Likewise.
7012 (R_MN10300_TLS_LE): Likewise.
7013 (R_MN10300_TLS_DTPMOD): Likewise.
7014 (R_MN10300_TLS_DTPOFF): Likewise.
7015 (R_MN10300_TLS_TPOFF): Likewise.
7016 (R_MN10300_SYM_DIFF): Likewise.
7017 (R_MN10300_ALIGN): Likewise.
7018 (R_MN10300_NUM): Update.
7020 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7022 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7025 2012-08-08 Roland McGrath <roland@hack.frob.com>
7027 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7029 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7030 sysdeps/unix -> sysdeps/posix move.
7031 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7033 2012-08-07 Allan McRae <allan@archlinux.org>
7036 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7037 (SUNOS_CPP): Likewise.
7038 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7040 (open_input): Call CPP using execvp.
7042 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7044 * sysdeps/unix/sysv/linux/kernel-features.h
7045 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7046 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7047 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7048 (__ASSUME_WAITID_SYSCALL): Likewise.
7049 * sysdeps/unix/sysv/linux/dl-execstack.c
7050 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7052 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7054 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7055 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7056 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7058 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7060 [__ASSUME_WAITID_SYSCALL]: Likewise.
7061 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7063 2012-08-07 Roland McGrath <roland@hack.frob.com>
7065 * sysdeps/unix/closedir.c: Renamed to ...
7066 * sysdeps/posix/closedir.c: ... here.
7067 * sysdeps/unix/dirfd.c: Renamed to ...
7068 * sysdeps/posix/dirfd.c: ... here.
7069 * sysdeps/unix/dirstream.h: Renamed to ...
7070 * sysdeps/posix/dirstream.h: ... here.
7071 * sysdeps/unix/fdopendir.c: Renamed to ...
7072 * sysdeps/posix/fdopendir.c: ... here.
7073 * sysdeps/unix/opendir.c: Renamed to ...
7074 * sysdeps/posix/opendir.c: ... here.
7075 * sysdeps/unix/readdir.c: Renamed to ...
7076 * sysdeps/posix/readdir.c: ... here.
7077 * sysdeps/unix/readdir_r.c: Renamed to ...
7078 * sysdeps/posix/readdir_r.c: ... here.
7079 * sysdeps/unix/rewinddir.c: Renamed to ...
7080 * sysdeps/posix/rewinddir.c: ... here.
7081 * sysdeps/unix/seekdir.c: Renamed to ...
7082 * sysdeps/posix/seekdir.c: ... here.
7083 * sysdeps/unix/telldir.c: Renamed to ...
7084 * sysdeps/posix/telldir.c: ... here.
7085 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7086 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7087 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7088 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7090 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7091 * bits/fcntl.h: ... here.
7093 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7095 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7096 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7097 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7098 (struct flock): Move l_start, l_len to the beginning.
7099 Use __pid_t for l_pid.
7100 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7101 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7102 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7103 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7104 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7105 [__USE_LARGEFILE64] (struct flock64): New type.
7106 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7108 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7109 * bits/dirent.h: ... here.
7111 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7112 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7114 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7117 Change from 2.6.0 to 2.6.16.
7118 * sysdeps/unix/sysv/linux/configure: Regenerated.
7119 * sysdeps/unix/sysv/linux/kernel-features.h
7120 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7121 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7123 (__ASSUME_UTIMES): Likewise.
7124 (__ASSUME_CLONE_STOPPED): Remove.
7125 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7126 architectures, not kernel version.
7127 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7128 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7129 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7130 (__ASSUME_WAITID_SYSCALL): Likewise.
7131 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7132 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7133 * README: State 2.6.16 as minimum Linux kernel version. Do not
7134 refer to older versions.
7136 2012-08-06 Roland McGrath <roland@hack.frob.com>
7138 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7139 Define alphasort64 as an alias.
7140 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7141 Define versionsort64 as an alias.
7142 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7143 Define scandir64 as an alias.
7144 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7145 Define scandirat64 as an alias.
7146 * dirent/alphasort64.c (alphasort64):
7147 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7148 * dirent/versionsort64.c: Likewise.
7149 * dirent/scandir64.c: Likewise.
7150 * dirent/scandirat64.c: Likewise.
7151 * sysdeps/wordsize-64/alphasort.c: File removed.
7152 * sysdeps/wordsize-64/alphasort64.c: File removed.
7153 * sysdeps/wordsize-64/scandir.c: File removed.
7154 * sysdeps/wordsize-64/scandir64.c: File removed.
7155 * sysdeps/wordsize-64/scandirat.c: File removed.
7156 * sysdeps/wordsize-64/scandirat64.c: File removed.
7157 * sysdeps/wordsize-64/versionsort.c: File removed.
7158 * sysdeps/wordsize-64/versionsort64.c: File removed.
7159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7166 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7168 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7170 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7172 [defined __arch64__ || defined __sparcv9]
7173 (__INO_T_MATCHES_INO64_T): New macro.
7174 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7175 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7176 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7177 * sysdeps/unix/sysv/linux/bits/dirent.h
7178 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7179 (_DIRENT_MATCHES_DIRENT64): New macro.
7181 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7182 Define lockf64 as an alias.
7183 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7184 Define fseeko64 as an alias.
7185 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7186 Define ftello64 as an alias.
7187 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7188 Define _IO_fgetpos64 and fgetpos64 as aliases.
7189 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7190 Define _IO_fsetpos64 and fsetpos64 as aliases.
7191 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7192 Conditionalize body on this.
7193 * libio/fseeko64.c: Likewise.
7194 * libio/ftello64.c: Likewise.
7195 * libio/iofgetpos64.c: Likewise.
7196 * libio/iofsetpos64.c: Likewise.
7197 * sysdeps/wordsize-64/lockf.c: File removed.
7198 * sysdeps/wordsize-64/lockf64.c: File removed.
7199 * sysdeps/wordsize-64/fseeko.c: File removed.
7200 * sysdeps/wordsize-64/fseeko64.c: File removed.
7201 * sysdeps/wordsize-64/ftello.c: File removed.
7202 * sysdeps/wordsize-64/ftello64.c: File removed.
7203 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7204 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7205 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7206 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7208 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7214 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7216 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7218 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7219 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7220 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7221 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7222 [defined __arch64__ || defined __sparcv9]
7223 (__OFF_T_MATCHES_OFF64_T): New macro.
7224 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7225 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7227 (__OFF_T_MATCHES_OFF64_T): New macro.
7229 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7231 * stdlib/secure-getenv.c (__secure_getenv): Replace
7232 GLIBC_2_16 with GLIBC_2_17.
7234 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7237 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7239 2012-08-03 David S. Miller <davem@davemloft.net>
7241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7243 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7247 (__ASSUME_CORRECT_SI_PID): Likewise.
7248 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7249 (__ASSUME_TMPFS_NAME): Likewise.
7250 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7251 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7253 (HAVE_AUX_SECURE): Make definition unconditional.
7254 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7255 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7257 2012-08-03 Roland McGrath <roland@hack.frob.com>
7259 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7260 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7261 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7262 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7263 __eloop_threshold instead of SYMLOOP_MAX.
7265 * sysdeps/generic/eloop-threshold.h: New file.
7266 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7268 * elf/chroot_canon.c (chroot_canon): Likewise.
7270 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7274 Change to 2.6.0 everywhere.
7275 * sysdeps/unix/sysv/linux/configure: Regenerated.
7276 * sysdeps/unix/sysv/linux/kernel-features.h
7277 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7278 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7280 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7281 (__ASSUME_FUTEX_REQUEUE): Remove.
7282 (__ASSUME_STATFS64): Define unconditionally.
7283 (__ASSUME_AT_SECURE): Likewise.
7284 (__ASSUME_CORRECT_SI_PID): Likewise.
7285 (__ASSUME_TGKILL): Define without depending on kernel version for
7287 (__ASSUME_UTIMES): Likewise.
7288 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7290 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7291 (__ASSUME_TMPFS_NAME): Likewise.
7292 * README: Update reference to Linux kernel versions.
7294 2012-08-02 Marek Polacek <polacek@redhat.com>
7297 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7298 libc_cv_asm_type_prefix with %.
7299 * configure: Regenerated.
7300 * include/libc-symbols.h: Remove comment about
7301 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7302 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7303 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7304 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7305 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7306 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7307 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7308 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7309 * elf/tst-unique2mod1.c: Likewise.
7310 * elf/tst-unique1mod2.c: Likewise.
7311 * elf/tst-unique1mod1.c: Likewise.
7312 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7313 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7314 Replace ASM_TYPE_DIRECTIVE with .type.
7315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7316 * sysdeps/i386/sysdep.h: Likewise.
7317 * sysdeps/x86_64/sysdep.h: Likewise.
7318 * sysdeps/sh/sysdep.h: Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7320 Do not define ASM_TYPE_DIRECTIVE.
7321 * sysdeps/powerpc/sysdep.h: Likewise.
7322 * sysdeps/powerpc/powerpc32/sysdep.h:
7323 Replace ASM_TYPE_DIRECTIVE with .type.
7324 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7325 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7326 * sysdeps/i386/fpu/e_powf.S: Likewise.
7327 * sysdeps/i386/fpu/e_expl.S: Likewise.
7328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7329 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7330 * sysdeps/i386/fpu/e_pow.S: Likewise.
7331 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7332 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7333 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7334 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7335 * sysdeps/i386/fpu/e_log2.S: Likewise.
7336 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7337 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7338 * sysdeps/i386/fpu/e_powl.S: Likewise.
7339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7340 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7341 * sysdeps/i386/fpu/e_logl.S: Likewise.
7342 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7347 * sysdeps/i386/fpu/e_log.S: Likewise.
7348 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7349 * sysdeps/i386/fpu/e_logf.S: Likewise.
7350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7352 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7353 * sysdeps/i386/fpu/e_log10.S: Likewise.
7354 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7356 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7357 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7359 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7360 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7361 * sysdeps/i386/i686/strtok.S: Likewise.
7362 * sysdeps/i386/i386-mcount.S: Likewise.
7363 * sysdeps/i386/strtok.S: Likewise.
7364 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7368 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7369 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7370 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7371 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7372 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7373 * sysdeps/x86_64/_mcount.S: Likewise.
7374 * sysdeps/x86_64/strtok.S: Likewise.
7375 * sysdeps/sh/_mcount.S: Likewise.
7377 2012-08-01 Roland McGrath <roland@hack.frob.com>
7379 * libio/iofopen.c: Include <fcntl.h>.
7380 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7381 (_IO_fopen64, fopen64): Define as aliases.
7382 * libio/iofopen64.c: Include <fcntl.h>.
7383 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7384 Conditionalize body on this.
7385 * sysdeps/wordsize-64/iofopen.c: File removed.
7386 * sysdeps/wordsize-64/iofopen64.c: File removed.
7388 2012-08-01 Marek Polacek <polacek@redhat.com>
7390 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7391 Use dlfcn directly instead of a variable.
7392 (binfmt-subdir): Do not define.
7395 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7397 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7398 Remove all definitions.
7399 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7400 <kernel-features.h>.
7401 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7402 (miss_F_GETOWN_EX): Remove all definitions.
7403 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7405 [!__ASSUME_FCNTL64]: Remove conditional code.
7406 [__ASSUME_FCNTL64]: Make code unconditional.
7407 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7408 <kernel-features.h>.
7409 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7410 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7411 (lockf64) [__NR_fcntl64]: Make code unconditional.
7412 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7414 * sysdeps/unix/sysv/linux/kernel-features.h
7415 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7416 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7417 Make code unconditional.
7418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7421 [__NR_vfork]: Make code unconditional.
7422 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7423 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7425 [__NR_vfork]: Make code unconditional.
7426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7429 2012-08-01 Roland McGrath <roland@hack.frob.com>
7431 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7432 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7434 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7435 Define mkstemp64 as an alias.
7436 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7437 Define mkstemps64 as an alias.
7438 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7439 Define mkostemp64 as an alias.
7440 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7441 Define mkostemps64 as an alias.
7442 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7443 Conditionalize body on this.
7444 * misc/mkostemp64.c: Likewise.
7445 * misc/mkostemps64.c: Likewise.
7446 * misc/mkstemps64.c: Likewise.
7447 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7448 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7449 * sysdeps/wordsize-64/mkostemp.c: File removed.
7450 * sysdeps/wordsize-64/mkstemp.c: File removed.
7451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7453 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7454 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7457 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7458 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7459 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7460 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7462 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7463 compat_symbol macros from <shlib-compat.h> rather than the underlying
7464 default_symbol_version and symbol_version macros, so that DEFAULT
7465 lines in shlib-versions are respected.
7466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7468 2012-08-01 Florian Weimer <fweimer@redhat.com>
7470 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7471 Declare with warn_unused_result.
7472 (setgid, setregid, setegid, setresgid): Likewise.
7473 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7475 * WUR-REPORT: Remove set*id functions.
7477 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7479 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7481 2012-07-31 Roland McGrath <roland@hack.frob.com>
7483 * include/sys/socket.h (__libc_accept, __libc_accept4):
7484 Add attribute_hidden.
7485 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7489 * inet/getnetgrent_r.c (setup): Likewise.
7491 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7493 2012-07-31 David S. Miller <davem@davemloft.net>
7495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7497 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7500 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7501 value between 1.0 and 2.0 and smaller part has absolute value less
7503 * math/s_clog10.c (__clog10): Likewise.
7504 * math/s_clog10f.c (__clog10f): Likewise.
7505 * math/s_clog10l.c (__clog10l): Likewise.
7506 * math/s_clogf.c (__clogf): Likewise.
7507 * math/s_clogl.c (__clogl): Likewise.
7508 * math/libm-test.inc (clog_test): Add more tests.
7509 (clog10_test): Likewise.
7510 * sysdeps/i386/fpu/libm-test-ulps: Update.
7511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513 2012-07-31 Florian Weimer <fweimer@redhat.com>
7515 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7516 Exit with zero in case no suitable GID is found, and write a
7517 message to standard error.
7519 2012-07-30 Roland McGrath <roland@hack.frob.com>
7521 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7523 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7524 (MAXPATHLEN): Removed.
7525 (NOGROUP, NODEV): New macros.
7526 (setbit, clrbit, isset, isclr): New macros.
7527 (howmany, roundup, powerof2): New macros.
7528 (DEV_BSIZE): New macro.
7530 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7531 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7533 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7534 definition on [!__NO_LONG_DOUBLE_MATH].
7536 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7537 PTR_MANGLE and PTR_DEMANGLE.
7539 * socket/accept4.c (accept4): Rename to __libc_accept4.
7540 Define accept4 as a weak alias.
7542 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7543 on [_DIRENT_HAVE_D_TYPE].
7544 * io/ftw.c (ftw_dir): Likewise.
7546 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7548 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7550 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7551 Use the BSD numbers rather than the arbitrary ones we had.
7552 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7553 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7554 (SIGXCPU, SIGXFSZ): New macros.
7557 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7558 initializer on [_LIBC_REENTRANT].
7560 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7561 definitions inside [_POSIX_MAPPED_FILES].
7563 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7565 * dirent/opendir.c: Include <fcntl.h>.
7567 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7568 (__libc_getspecific): Likewise.
7569 (__libc_key_create): Likewise.
7571 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7572 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7573 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7574 (tmpfile64): Define as alias.
7575 * sysdeps/wordsize-64/tmpfile.c: File removed.
7576 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7580 * stdio-common/vfscanf.c: Include <stdbool.h>.
7581 * nss/makedb.c: Likewise.
7582 * stdio-common/_i18n_number.h: Likewise.
7583 * argp/argp-help.c: Likewise.
7584 * posix/wordexp.c: Likewise.
7585 * sysdeps/posix/spawni.c: Likewise.
7586 * nss/nss_files/files-initgroups.c: Likewise.
7587 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7588 * nss/nss_files/files-initgroups.c: Likewise.
7589 * nss/nss_db/db-netgrp.c: Likewise.
7590 * nss/nss_db/db-initgroups.c: Likewise.
7591 * io/fchmodat.c: Include <sys/stat.h>.
7593 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7594 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7596 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7599 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7600 Add multiple inclusion protection.
7602 2012-07-27 David S. Miller <davem@davemloft.net>
7604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7606 2012-07-27 Gary Benson <gbenson@redhat.com>
7609 * elf/rtld.c: Include <stap-probe.h>.
7610 (dl_main): Added static probes "init_start" and "init_complete".
7611 * elf/dl-load.c: Include <stap-probe.h>.
7612 (lose): Take new parameter "nsid".
7613 Added static probe "map_failed".
7614 (_dl_map_object_from_fd): Pass namespace id to lose.
7615 Added static probe "map_start".
7616 (open_verify): Pass namespace id to lose.
7617 * elf/dl-open.c: Include <stap-probe.h>.
7618 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7619 and "reloc_complete".
7620 * elf/dl-close.c: Include <stap-probe.h>.
7621 (_dl_close_worker): Added static probes "unmap_start" and
7623 * elf/rtld-debugger-interface.txt: New file documenting the above.
7625 2012-07-26 Roland McGrath <roland@hack.frob.com>
7627 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7628 rather than a string variable.
7629 * sunrpc/rpc_main.c (h_output): Likewise.
7630 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7632 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7634 * inet/check_native.c: New file.
7636 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7639 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7640 if larger part has absolute value 1.0.
7641 * math/s_clog10.c (__clog10): Likewise.
7642 * math/s_clog10f.c (__clog10f): Likewise.
7643 * math/s_clog10l.c (__clog10l): Likewise.
7644 * math/s_clogf.c (__clogf): Likewise.
7645 * math/s_clogl.c (__clogl): Likewise.
7646 * math/libm-test.inc (clog_test): Add more tests.
7647 (clog10_test): Likewise.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7651 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7652 (pltexit): Likewise.
7653 (La_regs): Likewise.
7654 (La_retval): Likewise.
7655 (int_retval): Likewise.
7656 Update #error for removed macros to refer only to definitions in
7658 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7660 (pltexit): Likewise.
7661 (La_regs): Likewise.
7662 (La_retval): Likewise.
7663 (int_retval): Likewise.
7664 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7666 (pltexit): Likewise.
7667 (La_regs): Likewise.
7668 (La_retval): Likewise.
7669 (int_retval): Likewise.
7670 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7672 (pltexit): Likewise.
7673 (La_regs): Likewise.
7674 (La_retval): Likewise.
7675 (int_retval): Likewise.
7676 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7678 (pltexit): Likewise.
7679 (La_regs): Likewise.
7680 (La_retval): Likewise.
7681 (int_retval): Likewise.
7682 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7684 (pltexit): Likewise.
7685 (La_regs): Likewise.
7686 (La_retval): Likewise.
7687 (int_retval): Likewise.
7688 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7690 (pltexit): Likewise.
7691 (La_regs): Likewise.
7692 (La_retval): Likewise.
7693 (int_retval): Likewise.
7694 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7695 macro definitions in tst-audit.h.
7696 * sysdeps/i386/tst-audit.h: New file.
7697 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7698 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7699 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7700 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7701 * sysdeps/sh/tst-audit.h: Likewise.
7702 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7703 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7704 * sysdeps/x86_64/tst-audit.h: Likewise.
7706 2012-07-26 Andreas Jaeger <aj@suse.de>
7708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7711 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7712 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7713 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7715 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7719 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7724 (si_call_addr, si_syscall, si_arch): Define new macro.
7725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7727 (si_call_addr, si_syscall, si_arch): Define new marcro.
7728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7730 (si_call_addr, si_syscall, si_arch): Define new macro.
7731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7733 (si_call_addr, si_syscall, si_arch): Define new macro.
7735 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7739 Change to 2.4.21 where previously 2.4.1.
7740 * sysdeps/unix/sysv/linux/configure: Regenerated.
7741 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7742 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7743 Linux kernel version.
7744 (__ASSUME_STD_AUXV): Remove.
7745 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7747 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7748 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7749 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7750 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7751 (__ASSUME_NETLINK_SUPPORT): Likewise.
7752 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7753 (__no_netlink_support): Remove conditional definition.
7754 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7756 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7757 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7759 (if_nameindex_ioctl): Remove.
7760 (if_nameindex_netlink): Do not handle __no_netlink_support.
7761 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7763 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7764 Remove conditional code.
7765 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7767 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7769 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7770 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7771 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7773 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7774 [!__ASSUME_STD_AUXV]: Remove conditional code.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7776 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7777 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7780 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7792 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7795 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7797 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7799 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7801 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7804 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7806 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7809 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7811 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7813 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7815 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7818 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7820 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7822 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7824 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7827 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7829 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7831 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7832 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7833 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7834 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7835 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7836 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7837 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7838 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7839 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7840 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7841 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7842 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7844 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7845 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7849 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7850 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7851 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7853 2012-07-25 Florian Weimer <fweimer@redhat.com>
7855 * Versions.def: Add GLIBC_2.17.
7856 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7857 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7858 Introduce __libc_secure_getenv.
7859 * stdlib/Versions (2.17): Add secure_getenv
7860 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7861 * stdlib/secure-getenv.c: Rename __secure_getenv to
7862 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7863 symbol __secure_getenv for GLIBC_2.0.
7864 * stdlib/tst-secure-getenv.c: New.
7865 * stdlib/Makefile (tests): Add testcase.
7866 * manual/startup.texi (Environment Access): Document
7868 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7869 __libc_secure_getenv.
7870 * inet/ruserpass.c (ruserpass): Likewise.
7871 * malloc/mtrace.c (mtrace): Likewise.
7872 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7874 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7875 * sysdeps/posix/tempname.c: Likewise. Evaluate
7877 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7878 __secure_getenv to __libc_secure_getenv.
7879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7892 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7894 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7895 (struct La_i86_retval): Likewise.
7896 (struct La_x86_64_regs): Likewise.
7897 (struct La_x86_64_retval): Likewise.
7898 (struct La_x32_regs): Likewise.
7899 (struct La_x32_retval): Likewise.
7900 (struct La_ppc32_regs): Likewise.
7901 (struct La_ppc32_retval): Likewise.
7902 (struct La_ppc64_regs): Likewise.
7903 (struct La_ppc64_retval): Likewise.
7904 (struct La_sh_regs): Likewise.
7905 (struct La_sh_retval): Likewise.
7906 (struct La_s390_32_regs): Likewise.
7907 (struct La_s390_32_retval): Likewise.
7908 (struct La_s390_64_regs): Likewise.
7909 (struct La_s390_64_retval): Likewise.
7910 (struct La_sparc32_regs): Likewise.
7911 (struct La_sparc32_retval): Likewise.
7912 (struct La_sparc64_regs): Likewise.
7913 (struct La_sparc64_retval): Likewise.
7914 (struct audit_ifaces): Remove architecture-specific pltenter and
7916 * sysdeps/i386/ldsodefs.h: New file.
7917 * sysdeps/powerpc/ldsodefs.h: Likewise.
7918 * sysdeps/s390/ldsodefs.h: Likewise.
7919 * sysdeps/sh/ldsodefs.h: Likewise.
7920 * sysdeps/sparc/ldsodefs.h: Likewise.
7921 * sysdeps/x86_64/ldsodefs.h: Likewise.
7923 2012-07-25 Marek Polacek <polacek@redhat.com>
7926 * math/libm-test.inc (yn_test): Add another test.
7927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7928 to ERANGE when the result is +-Inf.
7929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7931 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7934 2012-07-24 Joseph Myers <joseph@codesourcery.com>
7936 * conform/data/time.h-data (NULL): Use macro-constant. Require
7938 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7940 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7942 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7944 * configure.in <sysdeps resolving>: Correct printing
7946 * configure: Regenerate.
7948 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7950 * math/w_ilogb.c: Include <limits.h>.
7951 * math/w_ilogbl.c: Likewise.
7953 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7955 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7956 va_copy. Document allowing for unavailable va_copy only as
7957 pre-C99 compatibility.
7958 * manual/string.texi (Copying and Concatenation): Use va_copy
7959 instead of __va_copy in concat example.
7961 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7963 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7964 (__sendto): Use create_address_port. Initialize APORT and deallocate
7967 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7968 with O_NOLINK passed to __file_name_lookup.
7970 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7971 with O_NOLINK passed to __file_name_lookup.
7973 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7974 negative N or less than NGIDS.
7976 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7977 type to string_t. Set ERANGE as errno and return it if NAME is not big
7978 enough. Use memcpy instead of strncpy.
7980 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7982 * elf/Makefile (check-data): Remove.
7983 (localplt.data): New vpath directive.
7984 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7985 instead of $(check-data).
7986 * scripts/data/localplt-generic.data: Move to ...
7987 * sysdeps/generic/localplt.data: ... here.
7988 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7989 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7990 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7993 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7996 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7999 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8002 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8005 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8009 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8011 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8012 PPC32 and PPC64 files.
8013 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8014 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8016 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8018 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8019 __makecontext_ret to ...
8020 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8021 ... here and call exit if uc_link is NULL. New file.
8022 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8023 __makecontext_ret.S.
8024 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8025 __makecontext_ret to ...
8026 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8027 ... here and call exit if uc_link is NULL. New file.
8028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8029 __makecontext_ret.S.
8031 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8033 * elf/elf.h (R_390_IRELATIVE): New definition.
8034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8035 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8036 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8038 (elf_machine_lazy_rel): Likewise.
8039 * sysdeps/s390/dl-irel.h: New file.
8040 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8041 * sysdeps/s390/s390-64/memset.S: New asm code.
8042 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8043 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8045 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8046 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8047 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8049 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8050 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8051 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8052 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8053 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8054 * sysdeps/s390/s390-32/memset.S: New asm code.
8055 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8057 2012-07-17 Marek Polacek <polacek@redhat.com>
8060 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8061 * sysdeps/s390/s390-64/configure.in: Likewise.
8062 * sysdeps/sparc/configure.in: Likewise.
8063 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8064 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8065 * sysdeps/i386/configure.in: Likewise.
8066 * sysdeps/x86_64/configure.in: Likewise.
8067 * sysdeps/sh/configure.in: Likewise.
8068 * sysdeps/s390/s390-32/configure: Regenerated.
8069 * sysdeps/s390/s390-64/configure: Likewise.
8070 * sysdeps/x86_64/configure: Likewise.
8071 * sysdeps/sh/configure: Likewise.
8072 * sysdeps/powerpc/powerpc64/configure: Likewise.
8073 * sysdeps/powerpc/powerpc32/configure: Likewise.
8074 * sysdeps/sparc/configure: Likwise.
8075 * sysdeps/i386/configure: Likewise.
8077 * elf/dl-open.c: Comment fixes.
8079 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8081 * Makefile [CXX] (check-data): Remove.
8082 [CXX] (c++-types.data): New vpath directive.
8083 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8084 vpath. Do not allow for C++ type data being missing.
8085 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8086 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8087 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8088 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8089 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8090 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8091 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8094 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8097 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8100 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8103 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8106 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8109 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8112 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8115 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8116 definitions to architecture-specific files.
8120 * sysdeps/i386/tls-macros.h: New file.
8121 * sysdeps/powerpc/tls-macros.h: Likewise.
8122 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8123 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8124 * sysdeps/sh/tls-macros.h: Likewise.
8125 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8126 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8127 * sysdeps/x86_64/tls-macros.h: Likewise.
8129 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8132 zero value for regular exit case.
8134 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8135 (__start_context): Preserve zero value for regular exit case.
8137 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8138 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8140 * manual/setjmp.texi (setcontext): Clarify normal process
8141 termination when uc_link is the null pointer.
8142 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8145 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8147 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8148 preprocessor. Test for each exception mask separately.
8150 2012-07-16 Andreas Jaeger <aj@suse.de>
8152 * po/ru.po: Update from translation team.
8154 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8156 * conform/data/string.h-data (NULL): Use macro-constant. Require
8158 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8160 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8161 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8164 2012-07-13 Andreas Jaeger <aj@suse.de>
8166 * po/fr.po: Update from translation team.
8168 2012-07-12 Marek Polacek <polacek@redhat.com>
8171 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8175 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8179 Change to 2.4.1 where previously 2.4.0.
8180 * sysdeps/unix/sysv/linux/configure: Regenerated.
8181 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8182 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8184 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8185 (__ASSUME_AT_CLKTCK): Remove.
8186 (__ASSUME_AT_PAGESIZE): Likewise.
8187 (__ASSUME_AT_XID): Likewise.
8188 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8189 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8190 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8192 (HAVE_AUX_PAGESIZE): Likewise.
8193 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8194 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8195 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8197 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8201 the temporary buffer used to invoke __gethostbyname2_r,
8202 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8203 host_data / struct gaih_addrtuple.
8204 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8205 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8206 header file nss/nsswitch.h.
8207 * nss/nsswitch.h (global scope): Add definition of implementation
8208 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8209 resolv/nss_dns/dns-host.c).
8211 2012-07-11 Andreas Jaeger <aj@suse.de>
8213 * po/fr.po: Update from translation team.
8215 * po/sv.po: Update from translation team
8216 * po/fr.po: Another update from translation team.
8218 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8221 for subnormals or multiply small sinh result by itself.
8222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8225 2012-07-11 David S. Miller <davem@davemloft.net>
8227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8229 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8232 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8233 (INTERNAL_MARK): Shift it here.
8235 2012-07-10 Marek Polacek <polacek@redhat.com>
8238 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8239 libc_cv_asm_global_directive with .globl.
8240 * configure: Regenerated.
8241 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8243 * sysdeps/i386/configure: Regenerated.
8244 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8246 * sysdeps/x86_64/configure: Regenerated.
8247 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8248 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8249 * elf/tst-unique2mod2.c: Likewise.
8250 * elf/tst-unique2mod1.c: Likewise.
8251 * elf/tst-unique1mod2.c: Likewise.
8252 * elf/tst-unique1mod1.c: Likewise.
8253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8254 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8256 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8257 * sysdeps/mach/sysdep.h: Likewise.
8258 * sysdeps/i386/sysdep.h: Likewise.
8259 * sysdeps/i386/i386-mcount.S: Likewise.
8260 * sysdeps/x86_64/_mcount.S: Likewise.
8261 * sysdeps/x86_64/sysdep.h: Likewise.
8262 * sysdeps/sh/_mcount.S: Likewise.
8263 * sysdeps/sh/sysdep.h: Likewise.
8264 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8265 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8266 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8268 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8269 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8270 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8271 * locale/localeinfo.h: Likewise.
8272 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8273 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8275 2012-07-09 Roland McGrath <roland@hack.frob.com>
8278 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8280 * manual/message.texi (The Uniforum approach): Likewise.
8281 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8282 (glibc iconv Implementation): Likewise.
8284 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8287 * math/s_clog.c (__clog): Avoid scaling a value down where that
8288 could result in underflow.
8289 * math/s_clog10.c (__clog10): Likewise.
8290 * math/s_clog10f.c (__clog10f): Likewise.
8291 * math/s_clog10l.c (__clog10l): Likewise.
8292 * math/s_clogf.c (__clogf): Likewise.
8293 * math/s_clogl.c (__clogl): Likewise.
8294 * math/libm-test.inc (clog_test): Add more tests.
8295 (clog10_test): Likewise.
8296 * sysdeps/i386/fpu/libm-test-ulps: Update.
8297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8299 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8302 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8303 by 7 not 8 to examine high bit of fractional part.
8306 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8307 for call to __mcount_internal.
8308 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8309 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8310 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8312 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8315 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8316 approximation for values within 0x1p-13f of an odd multiple of
8318 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8319 exception. Add more tests.
8320 * sysdeps/i386/fpu/libm-test-ulps: Update.
8323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8324 inputs and return -1 for them. Do not check for +Inf in case not
8326 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8327 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8329 and return -1 for them. Do not check for +Inf in case not
8331 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8334 and return -1 for them. Do not check for +Inf in case not
8336 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8338 * sysdeps/i386/fpu/libm-test-ulps: Update.
8339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8343 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8345 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8349 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8350 could result in spurious underflow. Scale down values above
8351 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8352 * math/s_csqrtf.c (__csqrtf): Likewise.
8353 * math/s_csqrtl.c (__csqrtl): Likewise.
8354 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8356 * sysdeps/i386/fpu/libm-test-ulps: Update.
8357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8359 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8361 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8363 * catgets/xopen-msg.awk: New file.
8364 * catgets/xopen-msg.sed: Removed.
8366 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8368 * intl/po2test.awk: New file.
8369 * intl/po2test.sed: Removed.
8371 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8374 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8375 or multiply small sinh result by itself.
8376 * math/s_ctanf.c (__ctanf): Likewise.
8377 * math/s_ctanh.c (__ctanh): Likewise.
8378 * math/s_ctanhf.c (__ctanhf): Likewise.
8379 * math/s_ctanhl.c (__ctanhl): Likewise.
8380 * math/s_ctanl.c (__ctanl): Likewise.
8381 * math/libm-test.inc (ctan_test_tonearest): New function.
8382 (ctan_test_towardzero): Likewise.
8383 (ctan_test_downward): Likewise.
8384 (ctan_test_upward): Likewise.
8385 (ctanh_test_tonearest): Likewise.
8386 (ctanh_test_towardzero): Likewise.
8387 (ctanh_test_downward): Likewise.
8388 (ctanh_test_upward): Likewise.
8389 (main): Call these new functions.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8393 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8395 * .gitignore: Delete /ports entry.
8397 2012-07-03 Andreas Jaeger <aj@suse.de>
8399 * po/bg.po: Update from translation team.
8400 * po/cs.po: Likewise.
8401 * po/de.po: Likewise.
8402 * po/hr.po: Likewise.
8403 * po/nl.pl: Likewise.
8404 * po/pl.po: Likewise.
8405 * po/vi.po: Likewise.
8407 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8409 * Makeconfig [!+link] (+link-before-libc): New variable.
8410 [!+link] (+link-after-libc): Likewise.
8411 [!+link] (+link-tests): Likewise.
8412 [!+link] (+link): Define in terms of $(+link-before-libc) and
8413 $(+link-after-libc).
8414 [!+link-static] (+link-static-before-libc): New variable.
8415 [!+link-static] (+link-static-after-libc): Likewise.
8416 [!+link-static] (+link-static-tests): Likewise.
8417 [!+link-static] (+link-static): Define in terms of
8418 $(+link-static-before-libc) and $(+link-static-after-libc).
8419 [build-shared] (link-libc-before-gnulib): New variable.
8420 [build-shared] (link-libc-tests): Likewise.
8421 [build-shared] (link-libc): Define in terms of
8422 $(link-libc-before-gnulib).
8423 [!build-shared] (link-libc-tests): New variable.
8424 (link-libc-static-tests): New variable.
8425 [!gnulib] (gnulib-arch): New variable.
8426 [!gnulib] (gnulib-tests): Likewise.
8427 [!gnulib] (static-gnulib-arch): Likewise.
8428 [!gnulib] (static-gnulib-tests): Likewise.
8429 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8430 Define with "=" instead of ":=".
8431 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8432 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8433 * Rules (binaries-all-notests): New variable.
8434 (binaries-all-tests): Likewise.
8435 (binaries-static-notests): Likewise.
8436 (binaries-static-tests): Likewise.
8437 (binaries-all): Define using $(binaries-all-notests) and
8438 $(binaries-all-tests).
8439 (binaries-static): Define using $(binaries-static-notests) and
8440 $(binaries-static-tests).
8441 (binaries-shared-tests): New variable.
8442 (binaries-shared-notests): Likewise.
8443 (binaries-shared): Remove variable.
8444 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8445 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8446 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8447 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8448 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8449 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8450 * elf/Makefile (sln-modules): New variable.
8451 (extra-objs): Add $(sln-modules:=.o).
8452 (ldconfig-modules): Add static-stubs.
8453 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8454 * elf/static-stubs.c: New file.
8457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8458 by 7 not 8 to examine high bit of fractional part. Use volatile
8459 variables when splitting into final array of floats if
8460 __FLT_EVAL_METHOD__ != 0.
8461 * math/libm-test.inc (cos_test): Add another test.
8462 (sin_test): Likewise.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8466 * math/libm-test.inc (cosh_test): Add more tests.
8468 * version.h (RELEASE): Set to "development".
8469 (VERSION): Set to "2.16.90".
8471 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8473 * NEWS: Update copyright. Remove last-updated date.
8474 Mention math library bug fixes and timezone data changes.
8475 * README: Mention GNU/Hurd, x32, and HPPA support status.
8477 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8479 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8481 2012-06-27 Andreas Jaeger <aj@suse.de>
8483 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8485 2012-06-25 Andreas Jaeger <aj@suse.de>
8487 * sysdeps/s390/fpu/libm-test-ulps: Update.
8489 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8490 Thomas Schwinge <thomas@codesourcery.com>
8492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8493 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8497 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8499 * sysdeps/mach/start.c: Remove file.
8500 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8501 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8502 * sysdeps/sh/init-first.c: Likewise.
8504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8505 registers for frame unwinding purposes, add CFI directives.
8506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8508 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8511 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8512 __fortify_fail returning.
8513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8516 sysdeps/sh/____longjmp_chk.S.
8517 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8518 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8519 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8520 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8522 * sysdeps/sh/abort-instr.h: New file.
8523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8524 process in case exit returns.
8526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8527 initialize the GOT register before use.
8529 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8530 calculation of ARGC > 4.
8532 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8533 meaningful names to some local labels.
8535 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8536 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8538 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8539 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8540 (__arch_compare_and_exchange_val_16_acq): Likewise.
8541 (__arch_compare_and_exchange_val_32_acq): Likewise.
8542 (atomic_exchange_and_add): Fix gUSA sequence.
8543 (atomic_add): Likewise.
8544 (atomic_add_negative): Likewise.
8545 (atomic_add_zero): Likewise.
8546 (atomic_bit_test_set): Likewise.
8548 2012-06-22 Andreas Schwab <schwab@redhat.com>
8551 * include/link.h (struct link_map): Add l_free_initfini.
8552 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8554 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8555 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8556 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8559 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8561 * configure.in: Use AC_LANG_SOURCE.
8562 * configure: Regenerate.
8564 2012-06-22 Roland McGrath <roland@hack.frob.com>
8566 * configure.in (libc_cv_localstatedir): New substituted variable.
8567 * configure: Regenerated.
8568 * config.make.in (localstatedir): New variable, substituted from
8569 libc_cv_localstatedir.
8570 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8571 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8572 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8573 * sysdeps/gnu/configure: Regenerated.
8575 2012-06-21 Jeff Law <law@redhat.com>
8578 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8579 free. Simplify list management for _LIBC case.
8581 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8585 Clear sign bit of 64-bit integer value before comparing against
8588 * sysdeps/mach/configure: Regenerated.
8590 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8593 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8595 2012-06-21 Jeff Law <law@redhat.com>
8598 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8599 uint16_t for elements in the "seen" array to avoid char overflows.
8600 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8601 * elf/dl-open.c (dl_open_worker): Likewise.
8603 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8605 * scripts/list-sources.sh: Scan PORTS for translations.
8606 * po/libc.pot: Regenerated.
8608 2012-06-21 Andreas Jaeger <aj@suse.de>
8611 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8613 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8614 * bits/byteswap-16.h (__bswap_16): Likewise.
8615 * bits/byteswap.h (__bswap_constant_16): Likewise.
8617 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8620 * sysdeps/i386/fpu_control.h: Removed.
8621 * sysdeps/x86_64/fpu_control.h: Moved to ...
8622 * sysdeps/x86/fpu_control.h: Here.
8624 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8625 (_FPU_SETCW): Likewise.
8627 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8630 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8631 * sysdeps/x86/fpu/bits/mathinline.h: This.
8632 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8636 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8637 functions if __x86_64__ is defined.
8639 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8641 * string/endian.h: Add !__ASSEMBLER__ condition for including
8642 conversion interfaces.
8644 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8648 of ABS(x) in calculating zero to negative powers other than odd
8650 * math/libm-test.inc (pow_test): Add more tests.
8652 2012-06-15 Andreas Jaeger <aj@suse.de>
8654 * manual/contrib.texi (Contributors): Update entry of Liubov
8655 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8658 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8660 * string/string.h: Add __wur to GNU version of strerror_r.
8662 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8665 * string/Makefile (tests): Add tst-strtok_r.
8666 * string/tst-strtok_r.c: New file.
8667 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8668 RAX_LP/RDX_LP on SAVE_PTR.
8670 2012-06-14 Roland McGrath <roland@hack.frob.com>
8672 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8674 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8676 * libm_test.inc (csqrt_test): Allow more spurious underflow
8678 (j0_test): Likewise.
8679 (j1_test): Likewise.
8680 (y0_test): Likewise.
8681 (y1_test): Likewise.
8683 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8685 * po/Makefile (libc.pot): Use UTF-8 charset.
8687 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8690 Suppress sign-conversion warning from FD_SET.
8691 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8692 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8693 not unsigned long int.
8694 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8696 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8700 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8701 __extern_always_inline instead of __extern_inline.
8702 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8703 (__signbit): Likewise.
8704 (__signbitl): Support C++ namespace.
8705 (lrintf): New inline function.
8707 (llrintf): Likewise.
8719 (nearbyint): Likewise.
8720 (nearbyintf): Likewise.
8722 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8725 non-default versions.
8727 2012-06-11 Roland McGrath <roland@hack.frob.com>
8730 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8732 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8734 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8735 (FE_UPWARD, FE_DOWNWARD): Don't define.
8736 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8741 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8742 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8744 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8746 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8749 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8751 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8754 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8755 * sysdeps/i386/fpu/Implies: New file.
8756 * sysdeps/x86_64/fpu/Implies: Likewise.
8757 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8758 * sysdeps/x86/fpu/bits/fenv.h: This.
8760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8763 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8766 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8767 character 0xffff that matches the last element of the
8770 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8778 values higher than 25.6283.
8780 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8783 subnormal exponent extraction and add some __builtin_expect.
8784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8785 Fix for subnormal mantissa calculation.
8787 2012-06-04 Mike Frysinger <vapier@gentoo.org>
8789 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8790 cpu2 is -1 and errno is not ENOSYS.
8792 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8795 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8796 * sysdeps/x86/bits/string.h: This.
8797 * sysdeps/x86_64/bits/string.h: Removed.
8799 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8800 if not compiling for x86-64, but compiling for >= i486.
8802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8803 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8806 New macro from Linux kernel 3.4.0.
8807 (FP_XSTATE_MAGIC2): Likewise.
8808 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8809 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8810 (struct _fpx_sw_bytes): New struct.
8811 (struct _xsave_hdr): Likewise.
8812 (struct _ymmh_state): Likewise.
8813 (struct _xstate): Likewise.
8815 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8816 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8818 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8820 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8822 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8824 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8825 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8826 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8827 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8829 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8832 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8833 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8834 (sysdep_headers): Include sys/platform/ppc.h.
8835 * sysdeps/powerpc/test-gettimebase.c: Test for
8836 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8837 * manual/Makefile (appendices): Include platform.texi.
8838 * manual/contrib.texi (Contributors): Update @node pointers.
8839 * manual/maint.texi (Maintenance): Likewise.
8840 (Platform): New node.
8841 * manual/platform.texi: New file. Document the new features.
8843 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8844 Jakub Jelinek <jakub@redhat.com>
8847 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8848 where __builtin_expect is unavailable.
8850 2012-06-03 David S. Miller <davem@davemloft.net>
8852 * stdlib/longlong.h: Updated from GCC.
8854 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8857 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8858 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8861 (GLIBC_2.16): Likewise.
8863 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8867 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8870 (default-abi): New variable.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8872 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8876 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8878 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8881 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8882 definition. Document in comment.
8884 2012-06-01 David S. Miller <davem@davemloft.net>
8886 * stdlib/longlong.h: Updated from GCC.
8888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8891 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8892 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8893 sys/debugreg.h sys/io.h here.
8894 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8895 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8897 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8898 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8900 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8902 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8905 Define only if __x86_64__ is defined.
8907 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8911 Use int64_t for variable i.
8912 * math/libm-test.inc (fmod_test): Add more tests.
8914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8915 z computation is not scheduled after fetestexcept.
8916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8917 Use math_force_eval instead of asm to ensure calculation scheduled
8918 before exception test.
8919 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8920 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8922 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8925 computation is not scheduled after fetestexcept.
8927 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8930 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8931 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8933 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8935 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8938 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8941 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8943 (__WCHAR_MIN): Support __WORDSIZE == 64.
8944 (__WCHAR_MAX): Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8951 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8961 Defined to 1 if __x86_64__ isn't defined.
8962 (_STAT_VER_LINUX_OLD): New.
8963 (st_atime): Remove duplicate.
8964 (st_mtime): Likewise.
8965 (st_ctime): Likewise.
8967 2012-05-31 David S. Miller <davem@davemloft.net>
8969 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8972 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8974 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8978 * elf/dl-reloc.c: Include <_itoa.h>.
8979 (_dl_reloc_bad_type): Remove use of INTUSE.
8980 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8981 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8982 * stdio-common/psiginfo.c (psiginfo): Likewise.
8983 * stdio-common/psignal.c (psignal): Likewise.
8984 * string/strsignal.c (strsignal): Likewise.
8985 * include/signal.h (_sys_siglist): Declare hidden proto.
8986 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8987 INTVARDEF with libc_hidden_data_def.
8988 * stdio-common/itoa-udigits.c: Likewise.
8989 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8990 (_itoa_lower_digits_internal): Remove declaration.
8991 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8992 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8993 (_sys_sigabbrev_internal): Remove aliases.
8994 (_sys_siglist): Define hidden alias.
8996 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9004 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9005 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9007 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9008 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9009 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9010 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9012 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9014 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9015 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9016 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9030 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9031 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9033 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9034 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9035 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9037 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9038 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9041 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9047 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9048 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9050 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9052 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9053 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9054 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9060 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9062 * math/math.h (M_El): Use two more decimal places.
9063 (M_LOG2El): Likewise.
9064 (M_LOG10El): Likewise.
9066 (M_LN10l): Likewise.
9068 (M_PI_2l): Likewise.
9069 (M_PI_4l): Likewise.
9070 (M_1_PIl): Likewise.
9071 (M_2_PIl): Likewise.
9072 (M_2_SQRTPIl): Likewise.
9073 (M_SQRT2l): Likewise.
9074 (M_SQRT1_2l): Likewise.
9076 2012-05-31 David S. Miller <davem@davemloft.net>
9078 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9079 values between float registers.
9080 * sysdeps/sparc/sparc64/memset.S: Likewise.
9081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9083 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9085 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9086 -D_FORTIFY_SOURCE=1.
9087 (CPPFLAGS-tst-longjmp_chk.c): Define.
9088 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9089 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9090 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9091 CFLAGS-tst-wchar-h.c.
9093 2012-05-31 Marek Polacek <polacek@redhat.com>
9096 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9097 __endmntent_internal): Remove declaration.
9098 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9099 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9100 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9102 2012-05-30 David S. Miller <davem@davemloft.net>
9104 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9105 (___Q_simulate_exceptions): Use real FP ops rather than writing
9107 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9110 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9114 * sysdeps/x86/bits/xtitypes.h: This.
9116 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9117 * sysdeps/x86/bits/wordsize.h: This.
9119 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9120 * sysdeps/x86/bits/huge_vall.h: This.
9122 * sysdeps/i386/bits/select.h: Removed.
9123 * sysdeps/x86_64/bits/select.h: Renamed to ...
9124 * sysdeps/x86/bits/select.h: This.
9126 * sysdeps/i386/bits/setjmp.h: Removed.
9127 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9128 * sysdeps/x86/bits/setjmp.h: This.
9130 * sysdeps/i386/bits/mathdef.h: Removed.
9131 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9132 * sysdeps/x86/bits/mathdef.h: This.
9134 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9137 * include/sys/socket.h (__connect_internal)
9138 (__libc_sa_len_internal): Remove declaration.
9139 (__connect, __libc_sa_len): Declare hidden_proto.
9140 (SA_LEN): Remove use of INTUSE.
9141 * socket/connect.c: Add libc_hidden_def.
9142 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9143 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9144 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9146 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9148 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9149 of adding _internal alias.
9151 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9154 * sysdeps/i386/bits/link.h: Removed.
9155 * sysdeps/i386/bits/linkmap.h: Likewise.
9156 * sysdeps/x86_64/bits/link.h: Renamed to ...
9157 * sysdeps/x86/bits/link.h: This.
9158 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9159 * sysdeps/x86/bits/linkmap.h: This.
9161 * sysdeps/i386/bits/endian.h: Removed.
9162 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9163 * sysdeps/x86/bits/endian.h: This.
9165 * sysdeps/i386/bits/byteswap.h: Removed.
9166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9167 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9168 * sysdeps/x86/bits/byteswap.h: This.
9169 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9170 * sysdeps/x86/bits/byteswap-16.h: This.
9171 * sysdeps/i386/Implies: Add x86.
9172 * sysdeps/x86_64/Implies: Likewise.
9174 2012-05-30 David S. Miller <davem@davemloft.net>
9176 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9177 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9179 (FP_TRAPPING_EXCEPTIONS): Define.
9180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9181 (FP_TRAPPING_EXCEPTIONS): Define.
9182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9183 subnormals only when inexact has been signalled or underflow
9184 exceptions are enabled.
9185 (_FP_PACK_CANONICAL): Likewise.
9187 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9191 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9193 2012-05-30 Richard Henderson <rth@twiddle.net>
9195 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9196 with #ifndef NOT_IN_libc.
9198 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9199 marked to avoid plt entry.
9201 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9204 * Makeconfig (default-abi): New macro.
9205 (abi-includes): Likewise.
9206 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9207 $(abi-$(default-abi)-lib-soname) for soname if defined.
9208 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9210 * Makefile (installed-stubs): Likewise.
9211 * include/stubs-biarch.h: Removed.
9212 * scripts/lib-names.awk: Only handle one library at a time.
9213 * scripts/soversions.awk: Remove WORDSIZE support.
9214 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9218 (syscall-list-default-condition): Likewise.
9219 (syscall-list-default-condition): Likewise.
9220 (syscall-list-includes): Likewise.
9221 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9222 syscall-list-* with abi-*. Handle undefined abi-variants.
9223 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9224 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9225 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9226 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9228 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9230 (syscall-list-32-options): Likewise.
9231 (syscall-list-32-condition): Likewise.
9232 (syscall-list-64-options): Likewise.
9233 (syscall-list-64-condition): Likewise.
9234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9236 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9239 (abi-64-ld-soname): New macro.
9240 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9241 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9244 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9245 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9247 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9249 * sysdeps/unix/sysv/linux/kernel-features.h
9250 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9251 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9252 include <kernel-features.h>.
9253 [!__NR_ftruncate64]: Remove conditional code.
9254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9255 [__NR_ftruncate64]: Make code unconditional.
9256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9257 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9258 include <kernel-features.h>.
9259 [!__NR_ftruncate64]: Remove conditional code.
9260 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9261 [__NR_ftruncate64]: Make code unconditional.
9262 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9264 include <kernel-features.h>.
9265 [!__NR_ftruncate64]: Remove conditional code.
9266 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9267 [__NR_ftruncate64]: Make code unconditional.
9268 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9270 include <kernel-features.h>.
9271 [!__NR_ftruncate64]: Remove conditional code.
9272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9273 [__NR_ftruncate64]: Make code unconditional.
9274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9276 * configure.in (libc_cv_fpie): Weaken to a compile test using
9278 * configure: Regenerated.
9280 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9295 2012-05-27 David S. Miller <davem@davemloft.net>
9297 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9299 (__Q_simulate_exceptions): Return void. Change to simulate
9300 exceptions by writing into the %fsr.
9301 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9302 (__Qp_handle_exceptions): Likewise.
9304 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9305 __Qp_handle_exceptions.
9306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9307 __Qp_handle_exceptions.
9308 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9309 as unused and give dummy FP_RND_NEAREST initializer.
9310 (FP_INHIBIT_RESULTS): Define.
9311 (___Q_simulate_exceptions): Update declaration.
9312 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9315 as unused and give dummy FP_RND_NEAREST initializer.
9316 (__Qp_handle_exceptions): Update declaration.
9317 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9320 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9322 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9323 the temporary FPU control word.
9324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9325 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9327 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9328 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9330 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9332 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9333 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9336 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9341 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9343 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9344 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9345 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9346 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9348 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9349 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9352 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9354 * po/h.po: Update from translation team.
9356 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9358 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9361 handling of denormals.
9362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9363 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9364 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9365 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9371 2012-05-26 Marek Polacek <polacek@redhat.com>
9374 * math/libm-test.inc (fma_test): Don't always expect underflow
9377 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9380 * elf/tst-execstack.c: Include stackinfo.h.
9381 (do_test): Adjust test case to ensure that pthread_getattr_np
9382 behaviour remains the same after marking stack executable.
9384 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9386 * sysdeps/unix/sysv/linux/kernel-features.h
9387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9388 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9394 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9395 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9397 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9399 * configure.in: Define the default includes to being none.
9400 * configure: Regenerated.
9402 2012-05-25 Roland McGrath <roland@hack.frob.com>
9404 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9405 * sysdeps/x86_64/setjmp.S: Likewise.
9406 * sysdeps/i386/bsd-setjmp.S: Likewise.
9407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9408 * sysdeps/i386/setjmp.S: Likewise.
9409 * sysdeps/i386/__longjmp.S: Likewise.
9410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9411 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9413 * include/stap-probe.h: New file.
9414 * configure.in: Handle --enable-systemtap.
9415 * configure: Regenerated.
9416 * config.h.in (USE_STAP_PROBE): New #undef.
9417 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9418 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9421 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9425 to 2.4.0 where earlier.
9426 * sysdeps/unix/sysv/linux/configure: Regenerated.
9427 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9428 <kernel-features.h>.
9429 [__ASSUME_32BITUIDS]: Make code unconditional.
9430 [!__ASSUME_32BITUIDS]: Remove conditional code.
9431 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9432 <kernel-features.h>.
9433 [__ASSUME_32BITUIDS]: Make code unconditional.
9434 [!__ASSUME_32BITUIDS]: Remove conditional code.
9435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9436 [__ASSUME_32BITUIDS]: Make code unconditional.
9437 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9438 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9439 <kernel-features.h>.
9440 [__ASSUME_32BITUIDS]: Make code unconditional.
9441 [!__ASSUME_32BITUIDS]: Remove conditional code.
9442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9443 <kernel-features.h>.
9444 [__ASSUME_32BITUIDS]: Make code unconditional.
9445 [!__ASSUME_32BITUIDS]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9447 <kernel-features.h>.
9448 [__ASSUME_32BITUIDS]: Make code unconditional.
9449 [!__ASSUME_32BITUIDS]: Remove conditional code.
9450 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
9459 <kernel-features.h>.
9460 [__ASSUME_32BITUIDS]: Make code unconditional.
9461 [!__ASSUME_32BITUIDS]: Remove conditional code.
9462 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9463 <kernel-features.h>.
9464 [__ASSUME_32BITUIDS]: Make code unconditional.
9465 [!__ASSUME_32BITUIDS]: Remove conditional code.
9466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9467 <kernel-features.h>.
9468 [__ASSUME_32BITUIDS]: Make code unconditional.
9469 [!__ASSUME_32BITUIDS]: Remove conditional code.
9470 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9471 <kernel-features.h>.
9472 [__ASSUME_32BITUIDS]: Make code unconditional.
9473 [!__ASSUME_32BITUIDS]: Remove conditional code.
9474 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9475 <kernel-features.h>.
9476 [__ASSUME_32BITUIDS]: Make code unconditional.
9477 [!__ASSUME_32BITUIDS]: Remove conditional code.
9478 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9479 <kernel-features.h>.
9480 [__NR_setresgid] (__setresgid): Do not declare.
9481 [__ASSUME_32BITUIDS]: Make code unconditional.
9482 [!__ASSUME_32BITUIDS]: Remove conditional code.
9483 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9484 <kernel-features.h>.
9485 [__NR_setresuid] (__setresuid): Do not declare.
9486 [__ASSUME_32BITUIDS]: Make code unconditional.
9487 [!__ASSUME_32BITUIDS]: Remove conditional code.
9488 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9489 <kernel-features.h>.
9490 [__ASSUME_32BITUIDS]: Make code unconditional.
9491 [!__ASSUME_32BITUIDS]: Remove conditional code.
9492 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9493 <kernel-features.h>.
9494 [__ASSUME_32BITUIDS]: Make code unconditional.
9495 [!__ASSUME_32BITUIDS]: Remove conditional code.
9496 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9497 <kernel-features.h>.
9498 [__ASSUME_32BITUIDS]: Make code unconditional.
9499 [!__ASSUME_32BITUIDS]: Remove conditional code.
9500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9501 <kernel-features.h>.
9502 [__ASSUME_32BITUIDS]: Make code unconditional.
9503 [!__ASSUME_32BITUIDS]: Remove conditional code.
9504 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9505 <kernel-features.h>.
9506 [__ASSUME_32BITUIDS]: Make code unconditional.
9507 [!__ASSUME_32BITUIDS]: Remove conditional code.
9508 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9509 <kernel-features.h>.
9510 [__ASSUME_32BITUIDS]: Make code unconditional.
9511 [!__ASSUME_32BITUIDS]: Remove conditional code.
9512 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9513 <kernel-features.h>.
9514 [__ASSUME_32BITUIDS]: Make code unconditional.
9515 [!__ASSUME_32BITUIDS]: Remove conditional code.
9516 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9517 <kernel-features.h>.
9518 [__ASSUME_32BITUIDS]: Make code unconditional.
9519 [!__ASSUME_32BITUIDS]: Remove conditional code.
9520 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9521 <kernel-features.h>.
9522 [__ASSUME_32BITUIDS]: Make code unconditional.
9523 [!__ASSUME_32BITUIDS]: Remove conditional code.
9524 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9525 <kernel-features.h>.
9526 [__ASSUME_32BITUIDS]: Make code unconditional.
9527 [!__ASSUME_32BITUIDS]: Remove conditional code.
9528 * sysdeps/unix/sysv/linux/kernel-features.h
9529 (__ASSUME_SETRESUID_SYSCALL): Remove.
9530 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9531 (__ASSUME_32BITUIDS): Likewise.
9532 (__ASSUME_LDT_WORKS): Likewise.
9533 (__ASSUME_O_DIRECTORY): Likewise.
9534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9535 architecture but not kernel version.
9536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9537 (__ASSUME_MMAP2_SYSCALL): Likewise.
9538 (__ASSUME_STAT64_SYSCALL): Likewise.
9539 (__ASSUME_IPC64): Likewise.
9540 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9541 <kernel-features.h>.
9542 [__ASSUME_32BITUIDS]: Make code unconditional.
9543 [!__ASSUME_32BITUIDS]: Remove conditional code.
9544 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9545 <kernel-features.h>.
9546 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9547 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9548 132096]: Remove conditional code.
9549 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9551 <kernel-features.h>.
9552 [__ASSUME_32BITUIDS]: Make code unconditional.
9553 [!__ASSUME_32BITUIDS]: Remove conditional code.
9554 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9555 <kernel-features.h>.
9556 [__ASSUME_32BITUIDS]: Make code unconditional.
9557 [!__ASSUME_32BITUIDS]: Remove conditional code.
9558 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9559 <kernel-features.h>.
9560 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9562 (__setresgid): Do not declare.
9563 [__ASSUME_32BITUIDS]: Make code unconditional.
9564 [!__ASSUME_32BITUIDS]: Remove conditional code.
9565 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9566 <kernel-features.h>.
9567 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9569 (__setresuid): Do not declare.
9570 [__ASSUME_32BITUIDS]: Make code unconditional.
9571 [!__ASSUME_32BITUIDS]: Remove conditional code.
9572 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9573 <kernel-features.h>.
9574 [__ASSUME_32BITUIDS]: Make code unconditional.
9575 [!__ASSUME_32BITUIDS]: Remove conditional code.
9576 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9577 <kernel-features.h>.
9578 [__ASSUME_32BITUIDS]: Make code unconditional.
9579 [!__ASSUME_32BITUIDS]: Remove conditional code.
9581 2012-05-25 Richard Henderson <rth@twiddle.net>
9583 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9584 dl_hwcap to ifunc resolver.
9585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9587 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9588 dl_hwcap to ifunc resolver.
9589 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9591 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9595 for |x| <= 2**-26, not 2**-57.
9596 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9599 2012-05-24 Jeff Law <law@redhat.com>
9601 * stdio-common/Makefile (tests): Add bug25.
9602 * stdio-common/bug25.c: New test.
9604 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9607 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9608 multiple of MALLOC_ALIGNMENT in size.
9609 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9611 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9613 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9615 (FILENAME_MAX): Use macro-int-constant.
9616 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9617 (_IOFBF): Use macro-int-constant.
9620 (SEEK_CUR): Likewise.
9621 (SEEK_END): Likewise.
9622 (SEEK_SET): Likewise.
9623 (TMP_MAX): Likewise.
9624 (EOF): Use macro-int-constant. Require < 0.
9625 (NULL): Use macro-constant. Require == 0.
9626 (stdin): Require type to be FILE *.
9629 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9631 (EXIT_SUCCESS): Likewise.
9632 (NULL): Use macro-constant. Require == 0.
9633 (RAND_MAX): Use macro-int-constant.
9634 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9635 [C99-based standards] (strtof): Require function.
9636 [C99-based standards] (strtold): Likewise.
9637 [C99-based standards] (strtoll): Likewise.
9638 [C99-based standards] (strtoull): Likewise.
9639 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9640 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9641 [ISO || ISO99 || ISO11] (math.h): Likewise.
9642 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9646 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9649 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9650 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9651 * intl/dgettext.c (DCGETTEXT): Likewise.
9652 * intl/gettext.c (DCGETTEXT): Likewise.
9653 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9654 * posix/regex_internal.h (gettext): Likewise.
9655 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9657 * include/argz.h (__argz_count_internal)
9658 (__argz_stringify_internal): Remove declaration.
9659 (__argz_count, __argz_stringify): Declare hidden proto.
9660 * intl/dcgettext.c: Remove use of INTDEF.
9661 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9662 * string/argz-stringify.c: Likewise.
9663 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9664 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9665 Declare hidden proto.
9666 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9667 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9668 Declare hidden proto.
9669 * include/stdio.h (__asprintf_internal): Don't declare.
9670 (__asprintf): Don't define as macro. Declare hidden proto.
9671 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9672 (__fsetlocking): Declare hidden proto.
9673 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9674 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9676 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9677 (_IO_setlinebuf): Remove use of INTUSE.
9678 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9679 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9680 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9682 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9683 (_IO_do_flush): Remove use of INTUSE.
9684 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9685 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9686 (_IO_adjust_column, _IO_least_wmarker)
9687 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9688 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9689 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9690 (_IO_default_doallocate, _IO_wdefault_doallocate)
9691 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9692 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9693 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9694 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9695 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9696 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9697 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9698 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9699 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9700 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9701 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9702 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9703 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9705 (_IO_flush_all_internal, _IO_adjust_column_internal)
9706 (_IO_default_uflow_internal, _IO_default_finish_internal)
9707 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9708 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9709 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9710 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9711 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9712 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9713 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9714 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9715 (_IO_file_close_internal, _IO_file_close_it_internal)
9716 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9717 (_IO_file_init_internal, _IO_file_attach_internal)
9718 (_IO_file_fopen_internal, _IO_file_read_internal)
9719 (_IO_file_sync_internal, _IO_file_seek_internal)
9720 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9721 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9722 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9723 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9724 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9725 (_IO_list_all_internal, _IO_link_in_internal)
9726 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9727 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9728 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9729 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9730 (_IO_do_write_internal, _IO_padn_internal)
9731 (_IO_getline_info_internal, _IO_getline_internal)
9732 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9733 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9734 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9735 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9736 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9737 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9738 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9739 with libc_hidden_ver, remove use of INTUSE.
9740 * libio/genops.c: Likewise.
9741 * libio/freopen.c: Likewise.
9742 * libio/freopen64.c: Likewise.
9743 * libio/iofclose.c: Likewise.
9744 * libio/iofdopen.c: Likewise.
9745 * libio/iofflush.c: Likewise.
9746 * libio/iofflush_u.c: Likewise.
9747 * libio/iofgets.c: Likewise.
9748 * libio/iofgets_u.c: Likewise.
9749 * libio/iofopen.c: Likewise.
9750 * libio/iofopncook.c: Likewise.
9751 * libio/iofread.c: Likewise.
9752 * libio/iofread_u.c: Likewise.
9753 * libio/ioftell.c: Likewise.
9754 * libio/iofwrite.c: Likewise.
9755 * libio/iogetline.c: Likewise.
9756 * libio/iogets.c: Likewise.
9757 * libio/iogetwline.c: Likewise.
9758 * libio/iopadn.c: Likewise.
9759 * libio/iopopen.c: Likewise.
9760 * libio/ioseekoff.c: Likewise.
9761 * libio/ioseekpos.c: Likewise.
9762 * libio/iosetbuffer.c: Likewise.
9763 * libio/iosetvbuf.c: Likewise.
9764 * libio/ioungetc.c: Likewise.
9765 * libio/ioungetwc.c: Likewise.
9766 * libio/iovdprintf.c: Likewise.
9767 * libio/iovsprintf.c: Likewise.
9768 * libio/iovsscanf.c: Likewise.
9769 * libio/memstream.c: Likewise.
9770 * libio/obprintf.c: Likewise.
9771 * libio/oldfileops.c: Likewise.
9772 * libio/oldiofclose.c: Likewise.
9773 * libio/oldiofdopen.c: Likewise.
9774 * libio/oldiofopen.c: Likewise.
9775 * libio/oldiopopen.c: Likewise.
9776 * libio/oldstdfiles.c: Likewise.
9777 * libio/putc.c: Likewise.
9778 * libio/setbuf.c: Likewise.
9779 * libio/setlinebuf.c: Likewise.
9780 * libio/stdfiles.c: Likewise.
9781 * libio/strops.c: Likewise.
9782 * libio/vasprintf.c: Likewise.
9783 * libio/vscanf.c: Likewise.
9784 * libio/vsnprintf.c: Likewise.
9785 * libio/vswprintf.c: Likewise.
9786 * libio/wfiledoalloc.c: Likewise.
9787 * libio/wfileops.c: Likewise.
9788 * libio/wgenops.c: Likewise.
9789 * libio/wmemstream.c: Likewise.
9790 * libio/wstrops.c: Likewise.
9791 * libio/__fpurge.c: Likewise.
9792 * libio/__fsetlocking.c: Likewise.
9793 * assert/assert.c: Likewise.
9794 * debug/fgets_chk.c: Likewise.
9795 * debug/fgets_u_chk.c: Likewise.
9796 * debug/fread_chk.c: Likewise.
9797 * debug/fread_u_chk.c: Likewise.
9798 * debug/gets_chk.c: Likewise.
9799 * debug/obprintf_chk.c: Likewise.
9800 * debug/vasprintf_chk.c: Likewise.
9801 * debug/vdprintf_chk.c: Likewise.
9802 * debug/vsnprintf_chk.c: Likewise.
9803 * debug/vsprintf_chk.c: Likewise.
9804 * malloc/mtrace.c: Likewise.
9805 * misc/error.c: Likewise.
9806 * misc/syslog.c: Likewise.
9807 * stdio-common/asprintf.c: Likewise.
9808 * stdio-common/fxprintf.c: Likewise.
9809 * stdio-common/getw.c: Likewise.
9810 * stdio-common/isoc99_fscanf.c: Likewise.
9811 * stdio-common/isoc99_scanf.c: Likewise.
9812 * stdio-common/isoc99_vfscanf.c: Likewise.
9813 * stdio-common/isoc99_vscanf.c: Likewise.
9814 * stdio-common/isoc99_vsscanf.c: Likewise.
9815 * stdio-common/printf-prs.c: Likewise.
9816 * stdio-common/printf_fp.c: Likewise.
9817 * stdio-common/printf_fphex.c: Likewise.
9818 * stdio-common/printf_size.c: Likewise.
9819 * stdio-common/putw.c: Likewise.
9820 * stdio-common/scanf.c: Likewise.
9821 * stdio-common/sprintf.c: Likewise.
9822 * stdio-common/tmpfile.c: Likewise.
9823 * stdio-common/vfprintf.c: Likewise.
9824 * stdio-common/vfscanf.c: Likewise.
9825 * stdlib/strfmon_l.c: Likewise.
9826 * sunrpc/openchild.c: Likewise.
9827 * sunrpc/xdr_stdio.c: Likewise.
9828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9829 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9831 2012-05-24 Roland McGrath <roland@hack.frob.com>
9833 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9835 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9836 in the third column, to generate for the shared library an IFUNC
9837 that uses _dl_vdso_vsym.
9838 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9839 * Makeconfig (object-suffixes-noshared): New variable.
9841 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9842 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9843 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9844 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9847 * include/sys/time.h (__gettimeofday): Remove macro.
9848 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9849 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9851 (__gettimeofday): Add libc_hidden_def.
9852 (gettimeofday): Add libc_hidden_weak.
9853 * sysdeps/mach/gettimeofday.c: Likewise.
9854 * sysdeps/posix/gettimeofday.c: Likewise.
9855 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9858 (__gettimeofday_internal): Remove strong_alias.
9859 (__gettimeofday): Add libc_hidden_def.
9860 (gettimeofday): Add libc_hidden_weak.
9861 * sysdeps/unix/syscalls.list (gettimeofday):
9862 Remove __gettimeofday_internal alias.
9864 2012-05-24 Daniel Jacobowitz <drow@false.org>
9865 H.J. Lu <hongjiu.lu@intel.com>
9868 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9869 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9870 (largebin_index_32_big): New.
9871 (largebin_index): Use it for 16-byte alignment.
9872 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9873 correction with front_misalign.
9875 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9903 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9904 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9906 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9910 * math/libm-test.inc (exp_test): Add test from bug 14036.
9911 (pow_test): Add test from bug 10846.
9913 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9915 (special_function): Do not include flags in test name.
9916 (parse_args): Likewise.
9917 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9923 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9925 * math/libm-test.inc ("Philosophy"): Update comment about
9927 (UNDERFLOW_EXCEPTION): New macro.
9928 (UNDERFLOW_EXCEPTION_OK): Likewise.
9929 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9930 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9931 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9932 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9933 (INVALID_EXCEPTION_OK): Update value.
9934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9935 (OVERFLOW_EXCEPTION_OK): Likewise.
9936 (IGNORE_ZERO_INF_SIGN): Likewise.
9937 (test_exceptions): Handle underflow exceptions.
9938 (acos_test): Update for underflow exception expectations.
9939 (cexp_test): Likewise.
9940 (clog_test): Likewise.
9941 (clog10_test): Likewise.
9942 (csqrt_test): Likewise.
9943 (ctan_test): Likewise.
9944 (ctanh_test): Likewise.
9945 (exp_test): Likewise.
9946 (exp10_test): Likewise.
9947 (exp2_test): Likewise.
9948 (expm1_test): Likewise.
9949 (fma_test): Likewise.
9950 (j0_test): Likewise.
9951 (jn_test): Likewise.
9952 (nexttoward_test): Likewise.
9953 (pow_test): Likewise.
9954 (scalbn_test): Likewise.
9955 (scalbln_test): Likewise.
9956 (tan_test): Likewise.
9957 (y1_test): Likewise.
9958 * sysdeps/i386/fpu/libm-test-ulps: Update.
9959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9961 2012-05-23 David S. Miller <davem@davemloft.net>
9963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9964 (__libc_sigaction): Remove unused local variables.
9966 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9968 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9970 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9972 mktime: avoid signed integer overflow
9973 * time/mktime.c (__mktime_internal): Do not mishandle the case
9974 where diff == INT_MIN.
9976 mktime: simplify computation of average
9977 * time/mktime.c (ranged_convert): Use new time_t_avg function
9978 instead of rolling our own (probably-slower) code.
9980 mktime: do not assume signed right shift propagates sign bit
9981 * time/mktime.c (isdst_differ): New static function.
9982 (__mktime_internal): No need to normalize tm_isdst now.
9983 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9986 mktime: merge another wrapv change from gnulib
9987 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9988 from some compilers.
9990 mktime: remove incorrect attempt at unusual arithmetics
9991 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9992 The code didn't really work on such machines anyway.
9993 (TYPE_MINIMUM): Assume two's complement.
9994 (twos_complement_arithmetic): Verify that long_int and time_t
9995 are two's complement (or unsigned, in the latter case).
9997 mktime: check signed shifts on long_int and time_t, too
9998 * time/mktime.c (SHR): Check that shifts work as desired
9999 on the types long_int and time_t too, as SHR is used on
10002 mktime: do not assume 'long' is wide enough
10003 * time/mktime.c (verify): Move decl up.
10004 (long_int): New type.
10005 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10006 to remove assumption in the code that 'long' is wide enough to
10007 store year values. This assumption is not true on x32 and on
10008 some non-glibc platforms.
10010 mktime: merge wrapv change from gnulib
10011 * time/mktime.c (WRAPV): New macro.
10012 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10013 (guess_time_tm, __mktime_internal): Do not assume that signed
10014 integer overflow wraps around; modern compilers generate code
10015 where this assumption is no longer valid.
10017 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10020 Replace "jmp L(pseudo_end)" with "ret".
10021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10024 2012-05-23 Andreas Jaeger <aj@suse.de>
10026 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10027 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10029 2012-05-23 Andreas Jaeger <aj@suse.de>
10030 Maximilian Attems <max@stro.at>
10032 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10035 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10038 code so that pseudo_end is just ret and the stack pointer is
10039 correct also for static library in error case.
10041 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10044 move to syscalls.list.
10045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10050 * manual/install.texi (Running make install): Do not mention Linux
10051 kernel version for which pt_chown is not needed.
10052 (Linux): Do not mention problems with nscd with 2.0 kernels.
10053 * INSTALL: Regenerated.
10055 2012-05-23 Andreas Jaeger <aj@suse.de>
10057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10058 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10060 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10062 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10064 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10070 * sysdeps/unix/sysv/linux/bits/in.h
10071 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10073 2012-05-22 Roland McGrath <roland@hack.frob.com>
10075 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10076 (PREPARE_VERSION): Just use assert instead, it will be elided
10077 under [NDEBUG] anyway.
10079 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10081 * sysdeps/unix/sysv/linux/Makefile: Include
10082 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10083 (sysdep_routines): Remove sysctl.
10084 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10085 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10086 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10088 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10090 2012-05-22 Andreas Jaeger <aj@suse.de>
10092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10093 that pseudo_end is just ret and the stack pointer is correct also
10094 for static library in error case.
10096 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10099 * nss/nsswitch.c (defconfig_entries): New variable.
10100 (__nss_database_lookup): Don't leak defconfig entries.
10101 (nss_parse_service_list): Don't leak on error paths.
10102 (free_database_entries): New function.
10103 (free_defconfig): New function.
10104 (free_mem): Move common code to free_database_entries.
10106 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10108 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10113 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10116 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10117 (INTERNAL_SYSCALL_TYPES): Likewise.
10118 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10119 (LOAD_REGS_TYPES_[1-6]): Likewise.
10120 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10121 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10123 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10126 copysignl for GLIBC_2_0.
10127 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10128 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10130 logbl for GLIBC_2_0.
10131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10132 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10134 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10139 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10142 * time/mktime.c: Update copyright years.
10144 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10146 mktime: merge comment-quoting-style change from gnulib
10147 * time/mktime.c: Quote 'like this' in comments.
10148 The GNU coding standards suggest that we no longer quote `like this',
10149 as "`" and "'" are typically rendered asymmetrically nowadays.
10150 The typical gnulib style is to quote 'like this' when quoting
10151 code, and "like this" when quoting English.
10153 * time/mktime.c (compile-command): Add "-I.".
10155 mktime: merge mktime-internal.h change from gnulib
10156 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10158 mktime: merge time_r change from gnulib
10159 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10161 mktime: merge DEBUG change from gnulib
10162 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10163 case system <time.h> has a #define.
10165 mktime: merge <sys/types.h> change from gnulib
10166 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10167 since <time.t> is now guaranteed to define time_t.
10169 mktime: merge HAVE_CONFIG_H change from gnulib
10170 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10172 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10177 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10179 (struct rusage): Use anonymous union to pad each field to
10182 2012-05-21 David S. Miller <davem@davemloft.net>
10184 * Makefules (o-iterator): Remove .s cases.
10185 (compile-command.s): Delete.
10186 (COMPILE.s): Delete.
10187 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10189 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10191 * configure.in (libc_cv_predef_stack_protector): Only consider
10192 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10193 * configure: Regenerated.
10195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10198 New macro. Use R*LP on int and pointer.
10199 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10200 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10201 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10202 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10204 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10205 [__WORDSIZE_TIME64_COMPAT32] instead of
10206 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10207 (struct utmp): Likewise.
10208 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10209 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10211 (__WORDSIZE_TIME64_COMPAT32): This.
10212 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10213 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10214 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10215 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10217 (__WORDSIZE_TIME64_COMPAT32): New macro.
10219 2012-05-21 Andreas Jaeger <aj@suse.de>
10221 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10222 only if [SHARED]. Add prototype for __wcschr_ia32.
10224 2012-05-21 Roland McGrath <roland@hack.frob.com>
10226 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10227 of %rbp unmolested in the jmp_buf while mangling the low bits.
10228 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10229 unmolested high bits of %rbp while demangling the low bits.
10230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10232 2012-05-21 Andreas Jaeger <aj@suse.de>
10234 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10235 * sunrpc/svc_simple.c: Use it for registerrpc.
10236 * sunrpc/xcrypt.c: Use it for passwd2des.
10238 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10240 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10242 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10243 Don't define if [__SYSCALL_WORDSIZE != 32].
10244 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10247 2012-05-21 Bruno Haible <bruno@clisp.org>
10248 Andreas Jaeger <aj@suse.de>
10250 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10251 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10252 inptr and inend for must_buffer_ch.
10253 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10254 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10255 * stdio-common/Makefile (tests): Remove bug15.
10256 (bug15-ENV): Remove macro.
10257 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10260 2012-05-19 Andreas Jaeger <aj@suse.de>
10261 Roland McGrath <roland@hack.frob.com>
10263 * manual/contrib.texi: Completely rewritten. It contains now an
10264 alphabetical list of contributors and their contributions.
10266 2012-05-21 Richard Henderson <rth@twiddle.net>
10268 * misc/getauxval.c (__getauxval): Use unsigned long int.
10269 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10270 (getauxval): Use unsigned long int.
10272 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10276 2012-05-21 Roland McGrath <roland@hack.frob.com>
10278 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10279 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10280 __alignof__ (long double).
10282 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10286 2012-05-20 Richard Henderson <rth@twiddle.net>
10288 * misc/getauxval.c: New file.
10289 * misc/sys/auxv.h: New file.
10290 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10291 (routines): Add getauxval.
10292 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10293 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10294 * elf/dl-sysdep.c (_dl_auxv): Remove.
10295 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10296 * elf/dl-support.c (_dl_auxv): New variable.
10297 (_dl_aux_init): Initialize it.
10298 * manual/startup.texi (Auxiliary Vector): New node.
10299 * sysdeps/generic/bits/hwcap.h: New file.
10300 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10301 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10302 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10303 * sysdeps/sparc/sysdep.h: ... here. Include it.
10304 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10317 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10321 2012-05-19 David S. Miller <davem@davemloft.net>
10323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10325 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10328 * math/s_ccosh.c: Include <float.h>
10329 (__ccosh): Avoid internal overflow calculating sinh and cosh
10330 values before multiplying by sin and cos values.
10331 * math/s_ccoshf.c: Likewise.
10332 * math/s_ccoshl.c: Likewise.
10333 * math/s_csin.c: Likewise.
10334 * math/s_csinf.c: Likewise.
10335 * math/s_csinl.c: Likewise.
10336 * math/s_csinh.c: Likewise.
10337 * math/s_csinhf.c: Likewise.
10338 * math/s_csinhl.c: Likewise.
10339 * math/libm-test.inc (ccos_test): Add more tests.
10340 (ccosh_test): Likewise.
10341 (csin_test): Likewise.
10342 (csinh_test): Likewise.
10343 * sysdeps/i386/fpu/libm-test-ulps: Update.
10344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10346 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10348 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10349 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10351 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10353 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10355 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10356 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10357 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10358 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10359 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10360 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10361 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10362 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10363 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10364 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10365 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10366 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10367 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10368 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10369 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10370 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10371 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10372 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10373 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10374 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10375 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10376 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10377 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10378 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10379 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10380 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10381 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10382 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10383 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10384 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10385 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10387 2012-05-18 Andreas Jaeger <aj@suse.de>
10389 * csu/.gitignore: Delete.
10391 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10393 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10394 (timex): Use __syscall_slong_t.
10396 2012-05-18 Andreas Jaeger <aj@suse.de>
10397 Carlos O'Donell <carlos_odonell@mentor.com>
10399 * manual/install.texi (Configuring and compiling): Update
10400 description about files modified in the source directory.
10401 * INSTALL: Regenerated.
10403 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10405 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10406 value. Use "or" to set return value to -1.
10407 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10408 negate return value.
10410 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10412 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10413 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10414 failure if the compiler has Graphite support disabled.
10415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10417 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10418 CFLAGS-memmove.c): Likewise.
10419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10422 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10424 * sysdeps/x86_64/x32/_itoa.h: New file.
10426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10427 getdents system call only if kernel and user dirents have the
10428 same d_ino and d_off.
10430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10431 LLONG_MAX != LONG_MAX.
10432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10433 (_fitoa_word): Likewise.
10435 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10438 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10442 include <bits/wordsize.h>. Check __x86_64__ instead of
10444 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10445 if __x86_64__ is defined. Use anonymous union on fpstate.
10447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10450 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10452 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10453 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10455 Refer to _rtld_local_ro instead of _rtld_global_ro.
10456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10458 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10460 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10462 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10463 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10464 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10466 * sysdeps/powerpc/powerpc32/dl-machine.c
10467 (__elf_machine_runtime_setup) [PROF]: Don't reference
10470 2012-05-18 Andreas Jaeger <aj@suse.de>
10472 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10473 function only available for GCCs before 3.4 since GCC 3.4
10474 introduced a builtin.
10476 (llrintf): Likewise.
10477 (llrint): Likewise.
10484 (nearbyint): Likewise.
10485 (nearbyintf): Likewise.
10489 (floorf): Likewise.
10491 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10493 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10494 on both fields and cast pointer to __syscall_ulong_t.
10496 * bits/types.h (__fsword_t): New type.
10497 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10498 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10500 (__FSWORD_T_TYPE): Likewise.
10501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10502 (__FSWORD_T_TYPE): Likewise.
10503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10504 (__FSWORD_T_TYPE): Likewise.
10505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10506 (__FSWORD_T_TYPE): Likewise.
10507 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10508 __SWORD_TYPE with __fsword_t.
10509 (statfs64): Likewise.
10511 2012-05-17 David S. Miller <davem@davemloft.net>
10513 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10515 2012-05-17 Andreas Jaeger <aj@suse.de>
10517 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10520 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10524 2012-05-17 Andreas Jaeger <aj@suse.de>
10526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10529 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10531 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10535 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10536 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10538 2012-05-17 Andreas Jaeger <aj@suse.de>
10539 Carlos O'Donell <carlos_odonell@mentor.com>
10542 * sysdeps/x86_64/multiarch/init-arch.h
10543 (bit_YMM_Usable): Rename to...
10544 (bit_AVX_Usable): ... this.
10545 (bit_FMA4_Usable): New macro.
10546 (bit_XMM_state): New macro.
10547 (bit_YMM_state): New macro.
10548 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10549 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10550 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10551 (CPUID_OSXSAVE): New macro.
10552 (CPUID_AVX): New macro.
10553 (CPUID_FMA4): New macro.
10554 (index_YMM_Usable): Rename to...
10555 (index_AVX_Usable): ... this.
10556 (HAS_AVX): Use HAS_ARCH_FEATURE.
10557 (HAS_FMA4): Likewise.
10558 (HAS_YMM_USABLE): Remove.
10559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10560 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10562 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10563 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10564 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10565 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10566 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10568 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10570 * math/libm-test.c: Support platforms without multiple rounding modes.
10571 * math/bug-nextafter.c: Support platforms without FP exceptions.
10572 * math/bug-nexttoward.c: Likewise.
10573 * math/test-fenv.c: Likewise.
10574 * math/test-misc.c: Likewise.
10575 * stdlib/bug-getcontext.c: Likewise.
10577 2012-05-17 Andreas Jaeger <aj@suse.de>
10579 * manual/examples/search.c (critter_cmp): Change signature to
10581 * manual/string.texi (Collation Functions): Likewise.
10583 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10585 * bits/types.h: Fold copyright years.
10586 * bits/typesizes.h: Likewise.
10587 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10591 * time/time.h: Likewise.
10593 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10596 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10597 in instead of returning them. Return void.
10598 (__libc_mallinfo): Accumulate over all arenas.
10599 (__malloc_stats): Adjust for change in int_mallinfo interface.
10601 2012-05-16 Roland McGrath <roland@hack.frob.com>
10604 * configure.in (NM): Add AC_CHECK_TOOL for it.
10605 (libc_extra_cflags): New substituted variable.
10606 Check for -fstack-protector being used implicitly.
10607 * configure: Regenerated.
10608 * config.make.in (config-extra-cflags): New variable,
10609 gets @libc_extra_cflags@.
10610 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10613 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10614 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10615 * configure: Regenerated.
10616 * config.make.in (CPPUNDEFS): New substituted variable.
10617 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10618 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10619 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10623 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10624 (mq_attr): Use __syscall_slong_t.
10626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10629 Check __x86_64__ instead of __WORDSIZE.
10630 (_STAT_VER_LINUX): Likewise.
10631 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10632 __syscall_ulong_t and __syscall_slong_t.
10633 (stat64): Likewise.
10635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10639 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10643 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10645 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10649 include <bits/wordsize.h>. Check __x86_64__ instead of
10651 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10653 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10656 include <bits/wordsize.h>. Check __x86_64__ instead of
10658 (user_regs_struct): Use "__extension__ unsigned long long"
10659 instead of "unsigned long" if __x86_64__ is defined.
10660 (user): Likewise. Pad after pointer field if __ILP32__ is
10663 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10665 * configure.in (makeinfo): Require version 4.5 or later. Allow
10667 * configure: Regenerated.
10668 * manual/install.texi (texinfo): Increase version requirement to
10670 * INSTALL: Regenerated.
10672 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10674 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10678 * sysdeps/x86_64/x32/ffs.c: New file.
10680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10682 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10683 defined. Use __syscall_ulong_t.
10684 (shminfo): Use __syscall_ulong_t.
10685 (shm_info): Likewise.
10687 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10690 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10692 (msgqnum_t): Use __syscall_ulong_t.
10693 (msglen_t): Likewise.
10694 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10697 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10702 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10703 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10705 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10709 include <bits/wordsize.h>. Check __x86_64__ instead of
10712 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10713 "unsigned long long int" if __x86_64__ is defined.
10714 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10718 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10722 (GET_PC): Cast to uintptr_t first.
10723 (GET_FRAME): Likewise.
10724 (GET_STACK): Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10728 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10729 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10731 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10732 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10734 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10736 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10744 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10745 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10756 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10758 * Makerules (+depfiles): Also collect depfiles from .oS in
10760 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10761 .oS, $(libnldbl-routines)).
10763 * Makerules (native-compile-mkdep-flags): Define.
10764 * sunrpc/Makefile (extra-objs): Add $(addprefix
10765 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10766 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10767 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10768 calling $(make-target-directory).
10770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10772 * bits/types.h (__snseconds_t): Removed.
10773 * time/time.h (struct timespec): Replace __snseconds_t with
10775 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10776 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10779 (__SNSECONDS_T_TYPE): Likewise.
10780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10781 (__SNSECONDS_T_TYPE): Likewise.
10782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10783 (__SNSECONDS_T_TYPE): Likewise.
10785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10787 * sysdeps/mach/hurd/bits/typesizes.h
10788 (__SYSCALL_SLONG_TYPE): New macro.
10789 (__SYSCALL_ULONG_TYPE): Likewise.
10791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10793 * bits/types.h (__syscall_slong_t): New type.
10794 (__syscall_ulong_t): Likewise.
10796 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10797 (__SYSCALL_ULONG_TYPE): Likewise.
10798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10799 (__SYSCALL_SLONG_TYPE): Likewise.
10800 (__SYSCALL_ULONG_TYPE): Likewise.
10801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10802 (__SYSCALL_SLONG_TYPE): Likewise.
10803 (__SYSCALL_ULONG_TYPE): Likewise.
10804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10805 (__SYSCALL_SLONG_TYPE): Likewise.
10806 (__SYSCALL_ULONG_TYPE): Likewise.
10808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10810 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10811 Add sigaltstack-offsets.sym.
10812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10813 <sigaltstack-offsets.h>.
10814 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10815 longjmp_msg pointer.
10816 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10817 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10819 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10821 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10823 * elf/stackguard-macros.h: Remove file.
10824 * sysdeps/generic/stackguard-macros.h: New file.
10825 * sysdeps/i386/stackguard-macros.h: Likewise.
10826 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10827 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10828 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10829 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10830 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10831 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10832 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10833 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10834 <elf/stackguard-macros.h>.
10837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10838 __aligned__ in attribute.
10839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10840 (gregset_t): Likewise.
10842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10844 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10845 * sysdeps/x86_64/64/Implies-after: Here. New file.
10846 * sysdeps/x86_64/x32/Implies-after: New file.
10848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10850 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10851 and access return value for _dl_profile_fixup. Use R10_LP to
10854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10860 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10861 * sysdeps/x86_64/x32/sysdep.h: New file.
10863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10865 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10866 * sysdeps/x86_64/setjmp.S: Likewise.
10868 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10870 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10872 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10874 remove unused global constant.
10876 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10878 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10879 include of <not-cancel.h>.
10881 2012-05-15 Roland McGrath <roland@hack.frob.com>
10883 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10885 2012-05-15 Jeff Law <law@redhat.com>
10886 Andreas Jaeger <aj@suse.de>
10889 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10891 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10892 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10893 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10894 code changing __hst_map_handle.map.
10896 2012-05-15 Roland McGrath <roland@hack.frob.com>
10898 * configure.in (sysnames): Look for Implies-before and Implies-after
10900 * configure: Regenerated.
10902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10905 8-byte data alignment with LP_SIZE alignment.
10907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10914 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10919 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10926 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10927 (stackinfo_sub_sp): Likewise.
10929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10946 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10950 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10951 into R11_LP and load __x86_64_shared_cache_size_half into
10954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10959 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10968 powerpc32/power7/fpu/s_logb.c via #include.
10969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10970 powerpc32/power7/fpu/s_logbf.c via #include.
10971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10972 powerpc32/power7/fpu/s_logbl.c via #include.
10974 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10976 * README.libm: Remove file.
10978 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10980 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10981 count for x32. Use R*_LP and omit operand-size suffix.
10983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10985 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10986 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10987 * sysdeps/x86_64/x32/shlib-versions: New file.
10989 2012-05-14 Roland McGrath <roland@hack.frob.com>
10991 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10992 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10993 Use _dl_fatal_printf instead.
10995 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10997 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10998 set if not set by the user. Do not allow for being unset.
10999 * sysdeps/unix/sysv/linux/configure: Regenerated.
11001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11003 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11004 the `q' suffix from lea and replace .quad with ASM_ADDR.
11006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11009 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11011 (PTR_DEMANGLE): Likewise.
11013 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11015 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11017 (ASM_ADDR): Likewise.
11018 (RAX_LP): Likewise.
11019 (RBP_LP): Likewise.
11020 (RBX_LP): Likewise.
11021 (RCX_LP): Likewise.
11022 (RDI_LP): Likewise.
11023 (RSI_LP): Likewise.
11024 (RSP_LP): Likewise.
11027 (R10_LP): Likewise.
11028 (R10_LP): Likewise.
11029 (R11_LP): Likewise.
11030 (R12_LP): Likewise.
11031 (R13_LP): Likewise.
11032 (R14_LP): Likewise.
11033 (R15_LP): Likewise.
11035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11037 * sysdeps/x86_64/x32/dl-machine.h: New file.
11039 2012-05-14 Andreas Jaeger <aj@suse.de>
11041 * manual/Makefile (subdir): Remove export of subdir.
11042 (all): Remove target.
11043 (.PHONY): Remove all from list.
11044 (mkinstalldirs): Remove.
11045 (.PHONY): Remove installdirs from list.
11046 ($(inst_infodir)/libc.info): Use make-target-directory.
11047 (installdirs): Remove.
11048 (subdir_%): Remove.
11049 (glibc-targets): Remove.
11052 ($(objpfx)stubs ../po/manual.pot): Remove.
11053 ($(objpfx)stamp%): Remove.
11054 (make-target-directory): Remove.
11055 (subdir_install): Remove.
11056 (routines): Remove.
11063 * manual/.gitignore: Remove, it's not needed anymore.
11064 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11066 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11068 (texis): Renamed to $(objpfx)texis.
11069 (texis-path): New, contains path to generated files.
11070 (chapters.%): Use texis-path for complete path, add extra argument
11072 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11073 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11074 (summary,texi, stamp-summary): Use complete path of
11075 files. Generate files in build dir.
11076 (dir-add.texi): Build in build dir.
11077 (libm-err.texi,stamp-libm-err): Likewise.
11078 (version.texi, stamp-version): Likewise.
11079 (.%c.texi): Likewise.
11080 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11081 (mostlyclean): Remove target.
11082 (realclean): Remove target.
11083 (generated): Add new variable with contents from mostlyclean and
11084 realclean, remove entries duplicated in common-mostlyclean, add
11085 stamp-libm-err and stamp-version.
11086 (generated-dirs): Add libc directory.
11087 ($(inst_infodir)/libc.info): Install files from build dir.
11089 * manual/install.texi (Configuring and compiling): Adjust since
11090 the info files are not part of the tar ball anymore.
11092 2012-05-14 Andreas Jaeger <aj@suse.de>
11094 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11097 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11101 to 2.2.0 where earlier.
11102 * sysdeps/unix/sysv/linux/configure: Regenerated.
11103 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11104 Remove conditional code.
11105 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11106 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11107 Remove conditional code.
11108 [!__NR_lchown]: Likewise.
11109 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11110 [__NR_lchown]: Likewise.
11111 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11112 comment referencing __ASSUME_LCHOWN_SYSCALL.
11113 * sysdeps/unix/sysv/linux/i386/sigaction.c
11114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11117 Remove conditional code.
11118 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11119 (__protocol_available): Remove #if 0 code.
11120 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11122 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11123 * sysdeps/unix/sysv/linux/kernel-features.h
11124 (__ASSUME_GETCWD_SYSCALL): Don't define.
11125 (__ASSUME_REALTIME_SIGNALS): Likewise.
11126 (__ASSUME_PREAD_SYSCALL): Likewise.
11127 (__ASSUME_PWRITE_SYSCALL): Likewise.
11128 (__ASSUME_POLL_SYSCALL): Likewise.
11129 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11130 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11132 (__ASSUME_SIOCGIFNAME): Don't define.
11133 (__ASSUME_MSG_NOSIGNAL): Likewise.
11134 (__ASSUME_SENDFILE): Define unconditionally.
11135 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11136 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11138 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11139 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11141 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11144 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11169 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11170 Remove conditional code.
11171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11172 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11173 Remove conditional code.
11174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11176 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11177 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11178 Remove conditional code.
11179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11180 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11181 Remove conditional code.
11182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11183 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11184 Remove conditional code.
11185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11186 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11187 Remove conditional code.
11188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11189 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11190 Remove conditional code.
11191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11192 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11195 * sysdeps/unix/sysv/linux/sigaction.c
11196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11198 * sysdeps/unix/sysv/linux/sigpending.c
11199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11201 * sysdeps/unix/sysv/linux/sigprocmask.c
11202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11204 * sysdeps/unix/sysv/linux/sigsuspend.c
11205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11208 (__libc_missing_rt_sigs): Remove.
11209 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11210 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11211 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11212 Remove conditional code.
11213 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11214 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11219 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11221 2012-05-14 Andreas Jaeger <aj@suse.de>
11223 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11224 it's not used in glibc.
11225 (__coshm1): Likewise.
11226 (__acosh1p): Likewise.
11229 * manual/string.texi (Copying and Concatenation): Add missing
11230 variable in concat example.
11231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11237 __builtin_clzl with __builtin_clzll.
11239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11242 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11245 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11247 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11248 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11249 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11252 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11254 * NEWS: Update ia64 info.
11256 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11258 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11261 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11263 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11264 * sysdeps/unix/syscalls.list (dup3): Likewise.
11265 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11266 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11268 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11270 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11271 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11275 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11277 (TLS_IE): Use mov/add instead of movq/addq to load thread
11279 (TLS_GD_PREFIX): New.
11282 2012-05-11 David S. Miller <davem@davemloft.net>
11284 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11285 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11286 (_FPU_SETCW): Likewise.
11288 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11290 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11291 is 32-byte aligned.
11293 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11296 * iconvdata/gb18030.c: Update tables.
11297 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11298 characters specially.
11299 (BODY for TO_LOOP): Add encoding of missing ranges.
11301 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11304 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11305 * sysdeps/mach/hurd/dup3.c: Likewise.
11306 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11307 * sysdeps/powerpc/memmove.c:: Likewise.
11309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11312 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11316 * elf/elf.h (R_X86_64_RELATIVE64): New.
11317 (R_X86_64_NUM): Updated.
11318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11319 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11320 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11321 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11322 tst-quad1pie tst-quad2pie
11323 (modules-names): Add tst-quadmod1 tst-quadmod2.
11324 ($(objpfx)tst-quad1): New dependency.
11325 ($(objpfx)tst-quad2): Likewise.
11326 ($(objpfx)tst-quad1pie): Likewise.
11327 ($(objpfx)tst-quad2pie): Likewise.
11328 * sysdeps/x86_64/tst-quad1.c: New file.
11329 * sysdeps/x86_64/tst-quad1pie.c: New file.
11330 * sysdeps/x86_64/tst-quad2.c: Likewise.
11331 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11332 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11333 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11334 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11335 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11339 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11340 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11341 * streams/stropts.h (t_scalar_t): Define type.
11343 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11344 (_PATH_PRESERVE): Set to "/var/lib".
11345 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11347 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11350 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11351 if __dir_mkfile succeeded.
11353 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11354 checking for _hurd_dtablesize. Unlock it right after having
11355 finished _hurd_dtable allocation.
11357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11359 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11360 * sysdeps/mach/hurd/configure: Regenerated.
11361 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11362 special-casing to...
11363 * sysdeps/gnu/configure.in: ... this new file.
11364 * sysdeps/unix/sysv/linux/configure: Regenerated.
11365 * sysdeps/gnu/configure: New generated file.
11367 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11368 for Linux: use nsec instead of usec, as well as:
11369 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11370 members of type struct timespec.
11371 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11373 (struct stat64): Likewise.
11374 (_STATBUF_ST_NSEC): New macro.
11375 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11378 __strtoul_internal rather than strtoul.
11380 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11382 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11387 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11388 which preserves existing values.
11389 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11391 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11393 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11394 TIMEOUT values. Return EINVAL for NFDS values either negative or
11395 greater than FD_SETSIZE.
11397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11399 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11400 allocated, call __vm_protect to finish enabling the existing space, and
11401 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11402 allocate the remainder.
11404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11406 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11407 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11411 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11412 sysdeps/mach/hurd/readlink.c.
11414 * posix/tst-sysconf.c (posix_options): Only use
11415 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11416 _POSIX_SYNCHRONIZED_IO when they are defined
11417 * sysdeps/mach/hurd/bits/posix_opt.h:
11418 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11419 (_XOPEN_REALTIME): Undefine macro.
11420 (_XOPEN_REALTIME_THREADS): Undefine macro.
11421 (_XOPEN_SHM): Undefine macro.
11422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11424 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11426 (_POSIX_ASYNC_IO): Undefine macro.
11427 (_POSIX_PRIORITIZED_IO): Undefine macro.
11428 (_POSIX_SPIN_LOCKS): Define macro to -1.
11430 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11431 SA_NODEFER, SA_RESETHAND.
11432 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11433 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11438 * elf/Makefile (pldd-modules): Define unconditionally.
11440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11442 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11446 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11447 Return ENOENT when name is empty.
11448 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11452 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11454 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11458 Fix mlock in all cases except non-readable pages.
11459 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11460 instead of VM_PROT_ALL as parameter to __vm_wire function.
11462 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11463 (__mkdir): When path is `/', just fail with EEXIST.
11464 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11468 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11469 <sys/uio.h> (for writev).
11470 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11471 and <sys/param.h> (for MIN).
11473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11475 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11476 REQUESTED_TIME. Properly set the remaining time and return EINTR
11479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11481 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11482 Depend on against $(link-rpcuserlibs).
11484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11486 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11487 (__libc_stack_end): Do not use attribute_relro.
11488 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11489 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11490 to libthread-provided value.
11491 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11497 * bits/libc-lock.h (__libc_once_get): New macro.
11498 * sysdeps/mach/bits/libc-lock.h: Likewise.
11499 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11501 instead of using implementation details.
11503 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11504 * libio/freopen.c: Likewise.
11505 * libio/freopen64.c: Likewise.
11506 * misc/syslog.c: Likewise.
11507 * nscd/connections.c: Likewise.
11508 * nscd/netgroupcache.c: Likewise.
11509 * sysdeps/posix/getcwd.c: Likewise.
11511 2012-05-10 Roland McGrath <roland@hack.frob.com>
11513 * math/w_ilogbf.c: Add #include <limits.h>.
11515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11518 path instead of returning without unlocking.
11520 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11521 immediate-write ioctls.
11522 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11524 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11526 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11527 __builtin_frame_address instead of making assumptions about the
11528 location of the return address relative to DATA. Force early load of
11529 the return address.
11530 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11531 __builtin_frame_address.
11534 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11535 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11536 implement dup3 and do some further code clean-ups.
11537 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11542 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11544 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11545 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11546 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11547 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11548 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11551 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11552 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11553 when handler == SIG_ERR, not when handler != SIG_ERR.
11555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11557 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11558 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11561 accept4 for GNU Hurd.
11562 * include/sys/socket.h (__libc_accept4): New prototype.
11563 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11564 to implement __libc_accept4.
11565 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11570 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11571 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11572 signal-defines.sym.
11574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11576 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11580 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11581 assertion on O_CLOEXEC flag.
11582 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11583 * hurd/intern-fd.c: Likewise.
11584 * hurd/port2fd.c: Likewise.
11586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11589 * bits/in.h (IPV6_PKTINFO): Define new macro.
11590 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11592 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11599 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11603 * math/libm-test.inc (logb_test) : Additional logb tests.
11605 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11606 Andreas Jaeger <aj@suse.de>
11608 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11609 * configure: Regenerated.
11610 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11611 * config.make.in (link-obsolete-rpc): New substituted variable.
11612 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11613 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11614 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11615 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11616 so that libc.a contains the symbols.
11617 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11618 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11619 * sunrpc/auth_none.c: Likewise.
11620 * sunrpc/auth_unix.c: Likewise.
11621 * sunrpc/authdes_prot.c: Likewise.
11622 * sunrpc/authuxprot.c: Likewise.
11623 * sunrpc/clnt_gen.c: Likewise.
11624 * sunrpc/clnt_perr.c: Likewise.
11625 * sunrpc/clnt_raw.c: Likewise.
11626 * sunrpc/clnt_simp.c: Likewise.
11627 * sunrpc/clnt_tcp.c: Likewise.
11628 * sunrpc/clnt_udp.c: Likewise.
11629 * sunrpc/clnt_unix.c: Likewise.
11630 * sunrpc/des_crypt.c: Likewise.
11631 * sunrpc/des_soft.c: Likewise.
11632 * sunrpc/get_myaddr.c: Likewise.
11633 * sunrpc/key_call.c: Likewise.
11634 * sunrpc/key_prot.c: Likewise.
11635 * sunrpc/netname.c: Likewise.
11636 * sunrpc/pm_getmaps.c: Likewise.
11637 * sunrpc/pm_getport.c: Likewise.
11638 * sunrpc/pmap_clnt.c: Likewise.
11639 * sunrpc/pmap_prot.c: Likewise.
11640 * sunrpc/pmap_prot2.c: Likewise.
11641 * sunrpc/pmap_rmt.c: Likewise.
11642 * sunrpc/publickey.c: Likewise.
11643 * sunrpc/rpc_cmsg.c: Likewise.
11644 * sunrpc/rpc_common.c: Likewise.
11645 * sunrpc/rpc_dtable.c: Likewise.
11646 * sunrpc/rpc_prot.c: Likewise.
11647 * sunrpc/rpc_thread.c: Likewise.
11648 * sunrpc/rtime.c: Likewise.
11649 * sunrpc/svc.c: Likewise.
11650 * sunrpc/svc_auth.c: Likewise.
11651 * sunrpc/svc_raw.c: Likewise.
11652 * sunrpc/svc_run.c: Likewise.
11653 * sunrpc/svc_tcp.c: Likewise.
11654 * sunrpc/svc_udp.c: Likewise.
11655 * sunrpc/svc_unix.c: Likewise.
11656 * sunrpc/svcauth_des.c: Likewise.
11657 * sunrpc/xcrypt.c: Likewise.
11658 * sunrpc/xdr.c: Likewise.
11659 * sunrpc/xdr_array.c: Likewise.
11660 * sunrpc/xdr_float.c: Likewise.
11661 * sunrpc/xdr_intXX_t.c: Likewise.
11662 * sunrpc/xdr_mem.c: Likewise.
11663 * sunrpc/xdr_rec.c: Likewise.
11664 * sunrpc/xdr_ref.c: Likewise.
11665 * sunrpc/xdr_sizeof.c: Likewise.
11666 * sunrpc/xdr_stdio.c: Likewise.
11668 2012-05-10 Roland McGrath <roland@hack.frob.com>
11670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11671 change. Update copyright years.
11673 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11675 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11677 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11678 Joseph Myers <joseph@codesourcery.com>
11679 Paul Pluzhnikov <ppluzhnikov@google.com>
11682 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11684 [cross-compiling] (extra-libs): Likewise.
11685 [cross-compiling] (extra-libs-others): Likewise.
11686 [cross-compiling] (librpcsvc-routines): Likewise.
11687 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11688 [cross-compiling] (omit-deps): Likewise.
11689 (sunrpc-CPPFLAGS): New variable.
11690 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11691 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11692 (cross-rpcgen-objs): New variable.
11693 (extra-objs): Append $(cross-rpcgen-objs).
11694 ($(cross-rpcgen-objs)): New rule.
11695 ($(objpfx)cross-rpcgen): Likewise.
11696 (rpcgen-cmd): Define to use $(built-program-file). Expand
11698 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11699 ($(objpfx)x%.stmp): Likewise.
11700 * sunrpc/proto.h [IS_IN_build] (_): Define.
11701 [IS_IN_build] (_libc_intl_domainname): Likewise.
11703 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11706 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11707 and R_X86_64_TPOFF64.
11709 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11711 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11712 sysdeps/unix/sysv/syscalls.list.
11715 * sysdeps/unix/sysv/syscalls.list: Remove file.
11717 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11720 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11721 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11722 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11723 (__LC_IDENTIFICATION): Make these macros useful in #if
11724 expressions, as required by C99.
11726 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11728 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11729 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11732 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11734 * stdlib/longlong.h: Updated from GCC.
11736 2012-05-09 Andreas Jaeger <aj@suse.de>
11738 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11739 default is first entry.
11740 (run_mode): Set type.
11741 (main): Remove informal message about syslog.
11742 (options): Fix typo.
11745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11748 (llrintf): Likewise.
11749 (llrint): Likewise.
11752 (nearbyint): Likewise.
11753 (nearbyintf): Likewise.
11755 2012-05-09 Andreas Jaeger <aj@suse.de>
11756 Pedro Alves <palves@redhat.com>
11758 * nscd/nscd.c (run_mode): Use enum.
11759 (main): Cleanup coding style issue.
11761 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
11762 Andreas Jaeger <aj@suse.de>
11764 * nscd/nscd.c (go_background): Replaced with...
11765 (run_mode): ... this.
11766 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11767 (options): Add -F --foreground.
11768 (main): Implement it.
11769 (parse_opt): Parse it.
11771 2012-05-09 Andreas Jaeger <aj@suse.de>
11774 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11775 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11776 -Wconversion warning.
11777 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11780 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11782 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11784 (LC_ALL): Use macro-int-constant.
11785 (LC_COLLATE): Likewise.
11786 (LC_CTYPE): Likewise.
11787 (LC_MESSAGES): Likewise.
11788 (LC_MONETARY): Likewise.
11789 (LC_NUMERIC): Likewise.
11790 (LC_TIME): Likewise.
11791 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11792 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11794 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11796 [C99-based standards] (float_t): Expect type.
11797 [C99-based standards] (double_t): Expect type.
11798 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11800 [C99-based standards] (HUGE_VALL): Likewise.
11801 [C99-based standards] (INFINITY): Likewise.
11802 [C99-based standards] (NAN): Likewise.
11803 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11804 [C99-based standards] (FP_NAN): Likewise.
11805 [C99-based standards] (FP_NORMAL): Likewise.
11806 [C99-based standards] (FP_SUBNORMAL): Likewise.
11807 [C99-based standards] (FP_ZERO): Likewise.
11808 [C99-based standards] (FP_FAST_FMA): Use
11809 optional-macro-int-constant. Specify type. Require == 1.
11810 [C99-based standards] (FP_FAST_FMAF): Likewise.
11811 [C99-based standards] (FP_FAST_FMAL): Likewise.
11812 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11813 [C99-based standards] (FP_ILOGBNAN): Likewise.
11814 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11816 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11817 [C99-based standards] (math_errhandling): Specify type.
11818 [ISO99 || ISO11] (signgam): Do not allow.
11819 [non-C99-based standards] (copysignf): Do not allow.
11820 [non-C99-based standards] (exp2f): Likewise.
11821 [non-C99-based standards] (log2f): Likewise.
11822 [non-C99-based standards] (modff): Allow.
11823 [non-C99-based standards] (erff): Do not allow.
11824 [non-C99-based standards] (erfcf): Likewise.
11825 [non-C99-based standards] (gammaf): Likewise.
11826 [non-C99-based standards] (hypotf): Likewise.
11827 [non-C99-based standards] (j0f): Likewise.
11828 [non-C99-based standards] (j1f): Likewise.
11829 [non-C99-based standards] (jnf): Likewise.
11830 [non-C99-based standards] (lgammaf): Likewise.
11831 [non-C99-based standards] (tgammaf): Likewise.
11832 [non-C99-based standards] (y0f): Likewise.
11833 [non-C99-based standards] (y1f): Likewise.
11834 [non-C99-based standards] (ynf): Likewise.
11835 [non-C99-based standards] (isnanf): Likewise.
11836 [non-C99-based standards] (acoshf): Likewise.
11837 [non-C99-based standards] (asinhf): Likewise.
11838 [non-C99-based standards] (atanhf): Likewise.
11839 [non-C99-based standards] (cbrtf): Likewise.
11840 [non-C99-based standards] (expm1f): Likewise.
11841 [non-C99-based standards] (ilogbf): Likewise.
11842 [non-C99-based standards] (log1pf): Likewise.
11843 [non-C99-based standards] (logbf): Likewise.
11844 [non-C99-based standards] (nextafterf): Likewise.
11845 [non-C99-based standards] (remainderf): Likewise.
11846 [non-C99-based standards] (rintf): Likewise.
11847 [non-C99-based standards] (scalbf): Likewise.
11848 [non-C99-based standards] (copysignl): Likewise.
11849 [non-C99-based standards] (exp2l): Likewise.
11850 [non-C99-based standards] (log2l): Likewise.
11851 [non-C99-based standards] (modfl): Allow.
11852 [non-C99-based standards] (erfl): Do not allow.
11853 [non-C99-based standards] (erfcl): Likewise.
11854 [non-C99-based standards] (gammal): Likewise.
11855 [non-C99-based standards] (hypotl): Likewise.
11856 [non-C99-based standards] (j0l): Likewise.
11857 [non-C99-based standards] (j1l): Likewise.
11858 [non-C99-based standards] (jnl): Likewise.
11859 [non-C99-based standards] (lgammal): Likewise.
11860 [non-C99-based standards] (tgammal): Likewise.
11861 [non-C99-based standards] (y0l): Likewise.
11862 [non-C99-based standards] (y1l): Likewise.
11863 [non-C99-based standards] (ynl): Likewise.
11864 [non-C99-based standards] (isnanl): Likewise.
11865 [non-C99-based standards] (acoshl): Likewise.
11866 [non-C99-based standards] (asinhl): Likewise.
11867 [non-C99-based standards] (atanhl): Likewise.
11868 [non-C99-based standards] (cbrtl): Likewise.
11869 [non-C99-based standards] (expm1l): Likewise.
11870 [non-C99-based standards] (ilogbl): Likewise.
11871 [non-C99-based standards] (log1pl): Likewise.
11872 [non-C99-based standards] (logbl): Likewise.
11873 [non-C99-based standards] (nextafterl): Likewise.
11874 [non-C99-based standards] (remainderl): Likewise.
11875 [non-C99-based standards] (rintl): Likewise.
11876 [non-C99-based standards] (scalbl): Likewise.
11877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11878 [non-C99-based standards] (FP_*): Do not allow.
11879 [C99-based standards] (FP_*): Change to
11880 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11881 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11883 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11884 (SIG_ERR): Likewise.
11885 [X/Open-based standards] (SIG_HOLD): Likewise.
11886 (SIG_IGN): Likewise.
11887 (SIGABRT): Use macro-int-constant. Specify type. Require
11889 (SIGFPE): Likewise.
11890 (SIGILL): Likewise.
11891 (SIGINT): Likewise.
11892 (SIGSEGV): Likewise.
11893 (SIGTER): Likewise.
11894 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11895 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11896 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11897 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11903 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11904 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11905 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11906 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11907 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11908 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11909 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11910 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11912 [X/Open-based standards] (SIGTRAP): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11916 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11917 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11920 2012-05-08 Ian Wienand <ianw@vmware.com>
11923 * time/tzset.c (__tzset_parse_tz): Update default rules for
11924 daylight time changes in the Energy Policy Act of 2005.
11926 2012-05-09 Andreas Jaeger <aj@suse.de>
11929 * elf/ldconfig.c (parse_conf): Change string to make clear that
11930 ldconfig only issued a warning if ld.so.conf does not exist.
11932 2012-05-08 David S. Miller <davem@davemloft.net>
11934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11935 movxtod instead of popping the value on the stack.
11937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11939 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11941 * config.h.in: Add HAVE_ARM_PCS_VFP.
11943 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
11946 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11947 checking but the checks are disabled for any reason.
11949 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11951 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11952 and ELF64_R_TYPE with ELFW(R_TYPE).
11954 2012-05-08 Joseph Myers <joseph@codesourcery.com>
11956 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11957 (ulimit): Likewise.
11959 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11960 (settimeofday): Likewise.
11962 2012-05-08 Mike Frysinger <vapier@gentoo.org>
11964 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11965 a struct th_u2 inside the union, and move tu_block/tu_code into
11966 a new th_u3 union of tu_block/tu_code inside of that. Move
11967 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11968 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11969 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11970 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11971 (th_stuff): Change to th_u1.tu_stuff.
11973 (th_msg): Change to th_u1.th_u2.tu_data.
11975 2012-05-07 David S. Miller <davem@davemloft.net>
11977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11980 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11981 (SETUP_PIC_REG): Use it.
11982 (SETUP_PIC_REG_LEAF): Use it.
11984 2012-05-07 Joseph Myers <joseph@codesourcery.com>
11988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11990 (EXPL_FINITE): Likewise.
11991 (FLDLOG): Likewise.
11992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11993 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11997 (EXPL_FINITE): Likewise.
11998 (FLDLOG): Likewise.
11999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12000 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12002 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12003 test of -max_value argument for long double.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12007 2012-05-06 David S. Miller <davem@davemloft.net>
12009 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12010 quad soft-float symbols whose references which are compiler
12012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12014 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12020 (EXPL_FINITE): Likewise.
12021 (FLDLOG): Likewise.
12024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12025 Adjust comments for base varying.
12026 (__expl_finite): Change alias to EXPL_FINITE.
12027 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12029 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12030 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12032 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12033 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12035 (EXPL_FINITE): Likewise.
12036 (FLDLOG): Likewise.
12039 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12040 Adjust comments for base varying.
12041 (__expl_finite): Change alias to EXPL_FINITE.
12042 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12047 * math/libm-test.inc (check_float_internal): Correct ulp
12048 calculation for subnormal expected results.
12050 2012-05-06 Andreas Jaeger <aj@suse.de>
12052 * Makeconfig (+math-flags): New, set to -frounding-math.
12053 (+cflags): Add +math-flags so that all of glibc gets compiled with
12056 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12058 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12060 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12066 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12067 (__ieee754_expl): Allow for and saturate large arguments.
12068 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12069 (u_threshold): Likewise.
12070 (__exp): Call __ieee754_exp before checking for overflow and
12072 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12073 (u_threshold): Likewise.
12074 (__expf): Call __ieee754_expf before checking for overflow and
12076 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12077 (u_threshold): Likewise.
12078 (__expl): Call __ieee754_expl before checking for overflow and
12080 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12081 (__ieee754_expl): Allow for and saturate large arguments.
12082 * math/libm-test.inc (exp_test): Add another test. Do not allow
12083 missing overflow exception on overflow.
12084 (expm1_test): Do not allow missing overflow exception on overflow.
12086 * sysdeps/i386/fpu/e_expl.c: Move to ...
12087 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12088 rather than using inline asm.
12089 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12090 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12091 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12093 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12096 (signal): Likewise.
12100 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12102 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12103 sysdeps/unix/common/syscalls.list.
12104 (fchmod): Likewise.
12105 (fchown): Likewise.
12106 (ftruncate): Likewise.
12107 (getrusage): Likewise.
12108 (gettimeofday): Likewise.
12109 (setpgid): Likewise.
12110 (setregid): Likewise.
12111 (setreuid): Likewise.
12112 (sigaction): Likewise.
12113 (truncate): Likewise.
12114 (vhangup): Likewise.
12115 * sysdeps/unix/common/syscalls.list: Remove file.
12116 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12117 * sysdeps/unix/sysv/linux/Implies: Likewise.
12119 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12121 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12123 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12127 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12130 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12136 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12139 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12142 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12145 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12149 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12153 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12156 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12164 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/unix/common/bits/dirent.h: Remove file.
12167 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12169 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12170 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12171 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12172 * sysdeps/unix/bsd/isatty.c: Likewise.
12173 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12174 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12175 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12177 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12181 long double comparison inaccuracies.
12182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12185 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12187 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12190 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12194 nonzero digits before rounding a hex value.
12195 * stdlib/tst-strtod.c (tests): Add another test.
12197 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12199 * sysdeps/s390/fpu/libm-test-ulps: Update.
12201 2012-05-03 Andreas Jaeger <aj@suse.de>
12203 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12204 does not get optimized out.
12205 (malloc_opt_barrier): New.
12207 2012-05-03 Andreas Jaeger <aj@suse.de>
12208 Roland McGrath <roland@hack.frob.com>
12210 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12211 intermediate file deletion.
12212 (generated): Add .symlist files.
12214 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12217 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12218 Redirect under this condition.
12219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12220 [__USE_GNU] (__dprintf_chk): Not under this condition.
12221 [__USE_GNU] (__vdprintf_chk): Likewise.
12222 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12223 under this condition.
12224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12225 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12226 [__USE_XOPEN2K8] (vdprintf): Likewise.
12227 [__USE_GNU] (__dprintf_chk): Not under this condition.
12228 [__USE_GNU] (__vdprintf_chk): Likewise.
12229 [__USE_GNU] (dprintf): Likewise.
12230 [__USE_GNU] (vdprintf): Likewise.
12232 2012-05-03 Roland McGrath <roland@hack.frob.com>
12234 * elf/Makefile (common-generated): Set this instead of generated for
12235 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12236 $(all-built-dso)-derived lists.
12238 2012-05-03 Andreas Jaeger <aj@suse.de>
12240 * sysdeps/i386/fpu/libm-test-ulps: Update.
12243 * FAQ.in: Likewise.
12244 * scripts/gen-FAQ.pl: Likewise.
12245 * manual/install.texi (Installation): Point to online location of
12247 * Makefile (files-for-dist): Remove FAQ.
12250 2012-05-02 Allan McRae <allan@archlinux.org>
12252 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12253 (LDFLAGS-reldepmod5.so): Likewise.
12254 (LDFLAGS-reldep6mod1.so): Likewise.
12255 (LDFLAGS-reldep6mod4.so): Likewise.
12256 (LDFLAGS-reldep8mod3.so): Likewise.
12257 (LDFLAGS-unload4mod1.so): Likewise.
12258 (LDFLAGS-unload4mod2.so): Likewise.
12259 (LDFLAGS-tst-initorder): Likewise.
12260 (LDFLAGS-tst-initordera2.so): Likewise.
12261 (LDFLAGS-tst-initordera3.so): Likewise.
12262 (LDFLAGS-tst-initordera4.so): Likewise.
12263 (LDFLAGS-tst-initorderb2.so): Likewise.
12264 (LDFLAGS-noload): Likewise.
12265 (LDFLAGS-next): Likewise.
12266 (LDFLAGS-order2mod1.so): Likewise.
12267 (LDFLAGS-order2mod2.so): Likewise.
12268 (LDFLAGS-tst-initorder2): Likewise.
12269 (LDFLAGS-tst-initorder2a.so): Likewise.
12270 (LDFLAGS-tst-initorder2b.so): Likewise.
12271 (LDFLAGS-tst-initorder2c.so): Likewise.
12272 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12274 2012-05-02 David S. Miller <davem@davemloft.net>
12276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12278 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12281 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12283 2012-05-02 Andreas Jaeger <aj@suse.de>
12285 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12286 since we manipulate rounding mode.
12287 (CPPFLAGS-test-idouble.c): Likewise.
12288 (CPPFLAGS-test-ifloat.c): Likewise.
12289 (CFLAGS-test-ldouble.c): Likewise.
12290 (CFLAGS-test-double.c): Likewise.
12291 (CFLAGS-test-float.c): Likewise.
12292 (CFLAGS-test-misc.c): Likewise.
12293 (CFLAGS-test-test-fenv.c): Likewise.
12295 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12300 comparisons to determine direction to adjust input.
12302 2012-05-01 Roland McGrath <roland@hack.frob.com>
12304 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12305 output to the target.
12307 * scripts/localplt.awk: New file.
12308 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12309 (check-localplt-CFLAGS): Variable removed.
12310 ($(all-built-dso:=.jmprel)): New static pattern rule.
12311 (generated): Add those targets.
12312 (localplt-built-dso): New variable.
12313 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12315 * elf/check-localplt.c: File removed.
12317 * scripts/check-execstack.awk: New file.
12318 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12319 (check-execstack-CFLAGS): Variable removed.
12320 ($(objpfx)check-execstack.h): Target removed.
12321 ($(objpfx)execstack-default): New target.
12322 (generated): Add that instead of check-execstack.h.
12323 ($(all-built-dso:=.phdr)): New static pattern rule.
12324 (generated): Add those targets.
12325 * elf/check-execstack.c: File removed.
12327 * scripts/check-textrel.awk: New file.
12328 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12329 (check-textrel-CFLAGS): Variable removed.
12330 (all-built-dso): Use := to define.o
12331 ($(all-built-dso:=.dyn)): New static pattern rule.
12332 (generated): Add those targets.
12333 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12334 * config.make.in (READELF): New substituted variable.
12335 * elf/check-textrel.c: File removed.
12337 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12339 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12341 * conform/data/ctype.h-data [C99-based standards] (isblank):
12343 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12344 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12346 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12347 Specify type. Require positive value.
12348 (EILSEQ): Likewise.
12349 (ERANGE): Likewise.
12350 [ISO || POSIX] (EILSEQ): Do not expect.
12351 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12352 Specify type. Require positive value.
12353 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12359 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12360 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12363 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12364 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12367 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12368 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12369 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12370 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12371 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12372 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12373 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12374 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12376 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12405 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12406 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12407 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12413 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12414 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12419 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12420 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12421 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12422 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12426 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12427 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12428 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12429 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12431 (FLT_ROUNDS): Expect as macro, not constant.
12432 (FLT_MANT_DIG): Use macro-int-constant.
12433 (DBL_MANT_DIG): Likewise.
12434 (LDBL_MANT_DIG): Likewise.
12435 (FLT_DIG): Likewise.
12436 (DBL_DIG): Likewise.
12437 (LDBL_DIG): Likewise.
12438 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12439 (DBL_MIN_EXP): Likewise.
12440 (LDBL_MIN_EXP): Likewise.
12441 (FLT_MAX_EXP): Use macro-int-constant.
12442 (DBL_MAX_EXP): Likewise.
12443 (LDBL_MAX_EXP): Likewise.
12444 (FLT_MAX_10_EXP): Likewise.
12445 (DBL_MAX_10_EXP): Likewise.
12446 (LDBL_MAX_10_EXP): Likewise.
12447 (FLT_MAX): Use macro-constant.
12448 (DBL_MAX): Likewise.
12449 (LDBL_MAX): Likewise.
12450 (FLT_EPSILON): Use macro-constant. Give upper bound.
12451 (DBL_EPSILON): Likewise.
12452 (LDBL_EPSILON): Likewise.
12453 (FLT_MIN): Likewise.
12454 (DBL_MIN): Likewise.
12455 (LDBL_MIN): Likewise.
12456 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12457 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12458 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12459 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12460 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12461 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12462 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12463 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12464 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12465 [ISO11] (FLT_TRUE_MIN): Likewise.
12466 [ISO11] (LDBL_TRUE_MIN): Likewise.
12467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12468 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12469 (SCHAR_MIN): Use macro-int-constant. Specify type.
12470 (SCHAR_MAX): Likewise.
12471 (UCHAR_MAX): Likewise.
12472 (CHAR_MIN): Likewise.
12473 (CHAR_MAX): Likewise.
12474 (MB_LEN_MAX): Use macro-int-constant.
12475 (SHRT_MIN): Use macro-int-constant. Specify type.
12476 (SHRT_MAX): Likewise.
12477 (USHRT_MAX): Likewise.
12478 (INT_MAX): Likewise.
12479 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12481 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12483 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12485 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12486 bound negative. Suffix upper bound with "L".
12487 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12489 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12491 [C99-based standards] (LLONG_MAX): Likewise.
12492 [C99-based standards] (ULLONG_MAX): Likewise.
12493 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12495 [ISO11] (max_align_t): Require type.
12496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12498 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12499 from $CFLAGS, without defining away __attribute__ calls.
12500 (checknamespace): Use $CFLAGS_namespace.
12502 * conform/conformtest.pl (@keywords): Only include C99 keywords
12503 for standards based on C99 or C11.
12505 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12507 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12510 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12511 usability of symbols in #if.
12513 * conform/conformtest.pl: If macro or constant types start
12514 "promoted:", expect the symbol to be of the following type
12515 promoted by the integer promotions.
12517 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12518 in one place. Also handle "macro-constant".
12520 * conform/conformtest.pl: Only accept expected macro values with
12521 "==". Parse all "macro" lines in one place.
12522 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12524 * conform/conformtest.pl: Handle braced types on "constant" lines
12525 instead of handling "typed-constant".
12526 * conform/data/signal.h-data: Use "constant" instead of
12529 * conform/conformtest.pl: Handle "optional-" at start of lines in
12530 one place rather than duplicating several cases. Handle each
12531 format of "macro" line with initial "optional-".
12533 * conform/conformtest.pl: Only accept expected constant or
12534 optional-constant values with "==". Parse all "constant" lines in
12535 one place. Parse all "optional-constant" lines in one place.
12536 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12537 * conform/data/fmtmsg.h-data: Likewise.
12538 * conform/data/netinet/in.h-data: Likewise.
12539 * conform/data/tar.h-data: Likewise.
12540 * conform/data/limits.h-data: Use "==" form on "constant" and
12541 "optional-constant" lines.
12543 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12544 Use -std=c99 for XOPEN2K.
12545 (@knownproblems): Remove.
12546 (newtoken): Don't check %isknown.
12548 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12549 Do not expect macro.
12550 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12551 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12552 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12553 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12554 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12555 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12556 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12557 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12558 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12559 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12560 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12561 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12562 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12563 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12564 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12565 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12566 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12567 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12568 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12569 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12570 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12572 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12573 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12574 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12575 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12576 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12577 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12578 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12579 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12580 [XPG3] (acosh): Likewise.
12581 [XPG3] (asinh): Likewise.
12582 [XPG3] (atanh): Likewise.
12583 [XPG3] (cbrt): Likewise.
12584 [XPG3] (expm1): Likewise.
12585 [XPG3] (ilogb): Likewise.
12586 [XPG3] (log1p): Likewise.
12587 [XPG3] (logb): Likewise.
12588 [XPG3] (nextafter): Likewise.
12589 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12590 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12591 [XPG3] (remainder): Likewise.
12592 [XPG3] (rint): Likewise.
12593 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12594 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12595 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12596 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12597 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12598 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12599 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12600 [UNIX98 || XOPEN2K] (scalb): Expect.
12601 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12602 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12603 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12604 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12605 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12606 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12607 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12608 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12609 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12610 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12611 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12612 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12613 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12614 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12615 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12616 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12617 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12618 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12619 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12620 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12621 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12622 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12623 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12624 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12625 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12626 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12627 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12628 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12629 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12630 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12631 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12632 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12633 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12634 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12635 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12636 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12637 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12638 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12639 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12640 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12641 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12642 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12643 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12644 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12645 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12646 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12647 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12648 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12649 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12650 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12651 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12652 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12653 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12654 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12655 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12656 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12657 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12658 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12659 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12660 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12661 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12662 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12663 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12664 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12665 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12666 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12667 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12668 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12669 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12670 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12671 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12672 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12673 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12674 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12675 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12676 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12677 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12678 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12679 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12681 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12682 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12683 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12684 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12685 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12686 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12687 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12688 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12690 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12691 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12692 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12693 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12694 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12695 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12696 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12697 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12698 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12699 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12700 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12701 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12702 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12703 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12704 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12705 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12706 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12707 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12708 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12709 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12710 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12711 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12712 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12713 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12714 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12715 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12716 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12717 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12718 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12719 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12720 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12721 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12722 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12723 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12724 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12725 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12726 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12727 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12728 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12729 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12730 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12731 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12732 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12733 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12734 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12735 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12736 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12737 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12739 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12740 _XOPEN_SOURCE_EXTENDED for XPG4.
12742 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12744 * Makeconfig (localtime): Remove variable.
12745 (inst_localtime-file): Likewise.
12747 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12768 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12772 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12773 comparisons to determine direction to adjust input.
12774 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12775 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12787 * math/libm-test.inc (nexttoward_test): Add more tests.
12789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12793 in version GLIBC_2.1, not GLIBC_2.0.
12794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12797 2012-04-30 Joseph Myers <joseph@codesourcery.com>
12800 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12802 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12803 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12804 * math/libm-test.inc (acos_test): Add more tests.
12805 (asin_test): Likewise.
12806 * sysdeps/i386/fpu/libm-test-ulps: Update.
12807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12812 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12813 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12814 * math/libm-test.inc (acos_test_tonearest): New function.
12815 (acos_test_towardzero): Likewise.
12816 (acos_test_downward): Likewise.
12817 (acos_test_upward): Likewise.
12818 (asin_test_tonearest): Likewise.
12819 (asin_test_towardzero): Likewise.
12820 (asin_test_downward): Likewise.
12821 (asin_test_upward): Likewise.
12822 (main): Call the new functions.
12823 * sysdeps/i386/fpu/libm-test-ulps: Update.
12824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12828 * math/e_exp10.c: Include <float.h>.
12829 (__ieee754_exp10): Handle underflow here rather than multiplying
12830 large negative argument by M_LN10.
12831 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12833 * math/e_exp10l.c: Include <float.h>.
12834 (__ieee754_exp10l): Handle underflow here rather than multiplying
12835 large negative argument by M_LN10l.
12836 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12837 spurious overflow exception on underflow.
12839 2012-04-29 Marek Polacek <polacek@redhat.com>
12841 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12842 (__fortify_function): New macro.
12843 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12844 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12845 __extern_always_inline.
12846 * libio/bits/stdio2.h: Likewise.
12847 * libio/bits/stdio.h: Likewise.
12848 * string/string.h: Likewise.
12849 * string/bits/string3.h: Likewise.
12850 * include/stdio.h: Likewise.
12851 * stdlib/bits/stdlib.h: Likewise.
12852 * stdlib/stdlib.h: Likewise.
12853 * rt/bits/mqueue2.h: Likewise.
12854 * rt/mqueue.h: Likewise.
12855 * posix/bits/unistd.h: Likewise.
12856 * posix/unistd.h: Likewise.
12857 * io/bits/poll2.h: Likewise.
12858 * io/bits/fcntl2.h: Likewise.
12859 * io/fcntl.h: Likewise.
12860 * io/sys/poll.h: Likewise.
12861 * misc/bits/syslog.h: Likewise.
12862 * misc/bits/syslog-ldbl.h: Likewise.
12863 * misc/sys/syslog.h: Likewise.
12864 * socket/bits/socket2.h: Likewise.
12865 * socket/sys/socket.h: Likewise.
12866 * debug/tst-chk1.c: Likewise.
12867 * wcsmbs/bits/wchar2.h: Likewise.
12868 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12869 * wcsmbs/wchar.h: Likewise.
12871 2012-04-29 Andreas Jaeger <aj@suse.de>
12873 * Makerules (tests): Remove enable-check-abi protection.
12874 (check-abi-warn): Remove.
12875 (check-abi-%): Remove check-abi-warn usage.
12877 * configure.in: Remove check-abi configure option.
12878 * configure: Regenerated.
12879 * config.make.in (enable-check-abi): Remove.
12881 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12884 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12885 double functions to double *_finite functions.
12888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12889 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12891 * stdio-common/Makefile (tests): Add tst-sprintf3.
12892 * stdio-common/tst-sprintf3.c: New file.
12894 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12895 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12897 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12899 * conform/conformtest.pl: Remove duplicate typed-constant
12902 2012-04-28 David S. Miller <davem@davemloft.net>
12904 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12905 (check-abi-%): Remove AWK script prerequisite and explicit
12907 (check-abi): Rewrite to just diff the symlist with the abilist.
12908 (config-tls, config-abi-config): Delete, no longer used.
12909 (update-abi-%): Remove AWK script and explicit abilist directory.
12910 (update-abi): Rewrite to simply compare and conditionally copy the
12911 symlist and the sysdep abilist file. Remove update-abi-config
12913 * abilist/ld.abilist: Remove.
12914 * abilist/libBrokenLocale.abilist: Remove.
12915 * abilist/libanl.abilist: Remove.
12916 * abilist/libcrypt.abilist: Remove.
12917 * abilist/libdl.abilist: Remove.
12918 * abilist/librt.abilist: Remove.
12919 * abilist/libthread_db.abilist: Remove.
12920 * abilist/libutil.abilist: Remove.
12921 * scripts/extract-abilist.awk: Remove.
12922 * scripts/merge-abilist.awk: Remove.
12923 * sysdeps/generic/libcidn.abilist: New file.
12924 * sysdeps/generic/libnss_compat.abilist: New file.
12925 * sysdeps/generic/libnss_db.abilist: New file.
12926 * sysdeps/generic/libnss_dns.abilist: New file.
12927 * sysdeps/generic/libnss_files.abilist: New file.
12928 * sysdeps/generic/libnss_hesiod.abilist: New file.
12929 * sysdeps/generic/libnss_nis.abilist: New file.
12930 * sysdeps/generic/libnss_nisplus.abilist: New file.
12931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12932 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12936 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12937 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12938 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12939 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12940 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12941 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12942 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12943 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12945 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12951 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12952 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12953 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12955 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12959 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12961 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13065 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13066 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13069 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13070 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13072 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13074 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13075 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13076 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13077 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13129 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13131 * conform/conformtest.pl: Fix typo in handling typed-constant from
13134 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13136 * README: Cut down references to pre-2.6 Linux kernels and
13137 Linuxthreads. Update lists of configurations in libc and ports
13138 and sort alphabetically. Say "or newer" with Linux kernel version
13141 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13143 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13146 * math/libm-test.inc (logb_test_downward): New test to expose
13147 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13150 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13153 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13155 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13156 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13158 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13160 * sysdeps/unix/i386/brk.S: Remove file.
13161 * sysdeps/unix/i386/dl-brk.S: Likewise.
13162 * sysdeps/unix/i386/pipe.S: Likewise.
13163 * sysdeps/unix/i386/sigreturn.S: Likewise.
13164 * sysdeps/unix/i386/syscall.S: Likewise.
13165 * sysdeps/unix/i386/vfork.S: Likewise.
13166 * sysdeps/unix/i386/wait.S: Likewise.
13168 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13169 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13171 * configure.in (arm*-none*): Do not allow without
13172 --enable-hacker-mode.
13173 (netbsd*): Remove case setting base_os.
13174 (386bsd*): Likewise.
13175 (freebsd*): Likewise.
13178 (sunos*): Likewise.
13179 (ultrix*): Likewise.
13180 (newsos*): Likewise.
13181 (dynix*): Likewise.
13187 (minix*): Likewise.
13188 (irix4*): Likewise.
13189 (irix6*): Likewise.
13190 (solaris[2-9]*): Likewise.
13192 * configure: Regenerated.
13194 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13198 overflow or cancellation in calculating denominator.
13199 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13201 down expression to avoid unexpected rounding in newer GCCs.
13202 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13204 2012-04-26 David S. Miller <davem@davemloft.net>
13206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13207 long-double compat symbols.
13208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13222 2012-04-25 David S. Miller <davem@davemloft.net>
13224 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13225 HWCAP_* values only after the memory barriers have been defined.
13226 (atomic_full_barrier): Define.
13227 (atomic_read_barrier): Define.
13228 (atomic_write_barrier): Define.
13230 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13232 * shlib-versions: Add libgcc_s version information.
13233 * sysdeps/generic/libgcc_s.h: Remove.
13234 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13236 * sysdeps/gnu/unwind-resume.c: Likewise.
13237 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13239 2012-04-25 David S. Miller <davem@davemloft.net>
13241 * sysdeps/unix/sparc/brk.S: Delete.
13242 * sysdeps/unix/sparc/dl-brk.S: Delete.
13243 * sysdeps/unix/sparc/pipe.S: Delete.
13244 * sysdeps/unix/sparc/sysdep.S: Delete.
13245 * sysdeps/unix/sparc/sysdep.h: Delete.
13246 * sysdeps/unix/sparc/vfork.S: Delete.
13247 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13248 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13250 ret_ERRVAL, r0, r1, MOVE): Define.
13251 (JUMPTARGET): Remove.
13252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13253 sysdeps/unix/sparc/sysdep.h
13254 (ENTRY, END): Remove.
13255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13257 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13259 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13260 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13263 * timezone/README: Update upstream location and email address for
13265 * timezone/zdump.c: Update from tzcode 2012b.
13266 * timezone/zic.c: Likewise.
13268 * configure.in (libc_cv_as_needed): Remove test.
13269 * configure: Regenerated.
13270 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13271 conditional definition.
13272 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13273 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13274 * config.make.in (have-as-needed): Remove variable.
13276 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13277 Paul Pluzhnikov <ppluzhnikov@google.com>
13279 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13282 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13284 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13285 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13286 * sysdeps/sh/strlen.S: Likewise.
13288 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/unix/fork.S: Remove file.
13291 * sysdeps/unix/i386/fork.S: Likewise.
13292 * sysdeps/unix/sparc/fork.S: Likewise.
13294 * sysdeps/unix/system.c: Remove file.
13295 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13297 * sysdeps/unix/getegid.S: Remove file.
13298 * sysdeps/unix/geteuid.S: Likewise.
13300 2012-04-24 Roland McGrath <roland@hack.frob.com>
13302 * scripts/check-localplt.awk: New file.
13303 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13305 * scripts/data/localplt-generic.data: Add a comment.
13307 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13308 NODE when __dir_mkfile failed.
13309 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13310 Reported by Ludovic Courtès <ludo@gnu.org>.
13312 2012-04-24 Andreas Jaeger <aj@suse.de>
13314 * Makerules (common-clean): Also remove gen-as-const-headers
13317 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13319 * Makerules (native-compile): Do not change working directory for
13320 build. Use $(OUTPUT_OPTION) in command.
13321 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13323 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13326 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13327 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13328 * math/libm-test.inc (floor_test): Add more tests.
13329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13331 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13333 * sysdeps/unix/getdents.c: Remove file.
13334 * sysdeps/unix/sysv/getdents.c: Likewise.
13335 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13337 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13338 sysdeps/unix/mman/syscalls.list.
13340 (mprotect): Likewise.
13342 (munmap): Likewise.
13343 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13344 * sysdeps/unix/mman/syscalls.list: Remove.
13345 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13347 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13348 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13349 * configure: Regenerated.
13350 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13351 $(libgcc_s_suffix).
13352 * config.make.in (libgcc_s_suffix): Remove variable.
13354 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13356 * sysdeps/unix/sysv/gethostname.c: Move to ...
13357 * sysdeps/posix/gethostname.c: ... here.
13359 * sysdeps/unix/execve.S: Remove file.
13361 * sysdeps/unix/_exit.S: Remove file.
13363 2012-04-23 Andreas Jaeger <aj@suse.de>
13366 * manual/Makefile: Remove make dist support, there's no
13367 need for a stand-alone documentation tar ball.
13368 (TEXI2DVI): Define always, it's not in Makeconfig.
13371 (edition): Removed.
13372 (glibc-doc-$(edition).tar): Removed
13376 (ETAGS): Remove, it's in Makeconfig.
13377 (move-if-change): Remove, it's in Makeconfig.
13379 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13382 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13383 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13384 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13385 (strtod_l, strtof_l, strtold_l): Remove __wur.
13386 It is not necessarily an error to ignore strtol's return value.
13387 One can reliably look at the stored endptr to decide whether
13388 the number had valid syntax.
13390 2012-04-21 Andreas Jaeger <aj@suse.de>
13393 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13395 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13397 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13398 * sysdeps/unix/sysv/Versions: Remove file.
13400 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13405 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13409 version from __vm86.
13411 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13413 * sysdeps/unix/common/lxstat.c: Remove file.
13414 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13416 * sysdeps/unix/sysv/Makefile: Remove file.
13418 * sysdeps/unix/sysv/direct.h: Remove file.
13420 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13421 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13422 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13423 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13424 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13425 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13426 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13428 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13430 * sysdeps/unix/xmknod.c: Remove file.
13431 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13433 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13435 * sysdeps/unix/sysv/i386/time.S: Remove file.
13437 * sysdeps/unix/fxstat.c: Remove file.
13438 * sysdeps/unix/xstat.c: Likewise.
13439 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13441 * sysdeps/unix/sysv/sigaction.c: Remove file.
13443 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13444 (sysdep_headers): Remove variable.
13445 [termio.h not in sysdep_headers] (generated): Likewise.
13446 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13447 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13448 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13449 * sysdeps/unix/sysv/tcflow.c: Likewise.
13450 * sysdeps/unix/sysv/tcflush.c: Likewise.
13451 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13452 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13453 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13454 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13455 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13457 * sysdeps/unix/siglist.c: Remove file.
13459 * sysdeps/unix/getppid.S: Remove file.
13461 * sysdeps/unix/mkdir.c: Remove file.
13462 * sysdeps/unix/rmdir.c: Likewise.
13464 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13466 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13469 errlist-compat value.
13471 2012-04-18 David S. Miller <davem@davemloft.net>
13473 * sysdeps/generic/memcopy.h (reg_char): Delete.
13474 * debug/strcat_chk.c: Use char, not reg_char.
13475 * debug/strcpy_chk.c: Likewise.
13476 * debug/strncat_chk.c: Likewise.
13477 * debug/strncpy_chk.c: Likewise.
13478 * string/memchr.c: Likewise.
13479 * string/memrchr.c: Likewise.
13480 * string/rawmemchr.c: Likewise.
13481 * string/strcat.c: Likewise.
13482 * string/strchr.c: Likewise.
13483 * string/strchrnul.c: Likewise.
13484 * string/strcmp.c: Likewise.
13485 * string/strcpy.c: Likewise.
13486 * string/strncat.c: Likewise.
13487 * string/strncmp.c: Likewise.
13488 * string/strncpy.c: Likewise.
13490 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13492 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13493 __builtin_memcopy is called when src and dest ranges are known to not
13496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13499 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13500 fwd_align_merge macro call.
13501 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13502 bwd_align_merge macro call.
13503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13505 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13508 bwd_align_merge macros.
13509 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13510 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13513 2012-04-18 David S. Miller <davem@davemloft.net>
13515 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13517 2012-04-18 Andreas Jaeger <aj@suse.de>
13520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13521 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13525 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13526 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13528 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13529 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13530 Adjust for changed ldbl-128 files.
13532 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13533 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13534 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13536 2012-04-17 David S. Miller <davem@davemloft.net>
13538 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13540 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13542 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13543 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13544 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13545 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13546 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13547 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13549 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13552 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13553 * math/libm-test.inc: Add ilogb errno and exception tests.
13554 * math/w_ilogb.c: New file: ilogb wrapper.
13555 * math/w_ilogbf.c: New file: ilogbf wrapper.
13556 * math/w_ilogbl.c: New file: ilogbl wrapper.
13557 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13558 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13559 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13560 exception being thrown with 0.0 as argument.
13561 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13562 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13563 exception being thrown with 0.0 as argument.
13564 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13565 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13566 exception being thrown with 0.0 as argument.
13567 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13568 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13569 exception being thrown with 0.0 as argument.
13570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13571 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13572 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13573 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13574 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13575 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13576 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13577 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13578 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13580 2012-04-17 Petr Baudis <pasky@ucw.cz>
13582 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13585 2012-04-16 Marek Polacek <polacek@redhat.com>
13587 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13589 2012-04-16 Marek Polacek <polacek@redhat.com>
13591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13592 operands of fdivp instruction.
13594 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13596 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13597 * elf/tst-auditmod3b.c: Likewise.
13598 * elf/tst-auditmod4b.c: Likewise.
13599 * elf/tst-auditmod5b.c: Likewise.
13600 * elf/tst-auditmod6b.c: Likewise.
13601 * elf/tst-auditmod6c.c: Likewise.
13602 * elf/tst-auditmod7b.c: Likewise.
13603 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13604 * sysdeps/x86_64/preconfigure.in: Likewise.
13605 * sysdeps/x86_64/preconfigure: Regenerated.
13607 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13609 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13612 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13615 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13617 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13620 * locale/iso-639.def: Fix gl language name. Spotted by
13623 2012-04-12 Roland McGrath <roland@hack.frob.com>
13626 * libio/libio.h (__io_write_fn): Update comment.
13628 2012-04-12 Petr Baudis <pasky@ucw.cz>
13631 * stdio.texi (Hook Functions): The user provided writer function
13632 is not allowed to return -1.
13634 2012-04-11 David S. Miller <davem@davemloft.net>
13636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13638 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13640 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13641 Add a leading slash to rtkaio.
13643 2012-04-11 Jim Meyering <meyering@redhat.com>
13646 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13647 It is not necessarily an error to ignore fwrite's return
13648 value. One can reliably use ferror to test for errors after
13651 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13653 * bits/types.h (__snseconds_t): New type.
13654 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13656 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13658 (__SNSECONDS_T_TYPE): Likewise.
13659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13660 (__SNSECONDS_T_TYPE): Likewise.
13661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13662 (__SNSECONDS_T_TYPE): Likewise.
13664 2012-04-10 Andreas Jaeger <aj@suse.de>
13667 * manual/time.texi (Processor Time): Return type of times is
13668 elapsed real time since an arbitrary point in the past.
13669 (CPU Time): Move CLK_TCK from here...
13670 (Processor Time): ...to here. Correct description.
13671 * manual/conf.texi (Constants for Sysconf): Correct description of
13674 2012-04-10 David S. Miller <davem@davemloft.net>
13677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13678 where the is a gap between DT_REL(A) and DT_JMPREL.
13680 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13682 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13686 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13688 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13689 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13690 (dl_main): Handle --inhibit-cache.
13691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13693 * elf/dl-load.c (_dl_map_object): Use it.
13694 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13696 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13699 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13700 (__ieee754_powl): Saturate large exponents rather than testing for
13701 overflow of y*log2(x).
13702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13703 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13707 * math/s_ctan.c: Include <float.h>.
13708 (__ctan): Avoid internal overflow or cancellation in calculating
13710 * math/s_ctanf.c: Likewise.
13711 * math/s_ctanl.c: Likewise.
13712 * math/s_ctanh.c: Likewise.
13713 * math/s_ctanhf.c: Likewise.
13714 * math/s_ctanhl.c: Likewise.
13715 * math/libm-test.inc (ctan_test): Add more tests.
13716 (ctanh_test): Likewise.
13717 * sysdeps/i386/fpu/libm-test-ulps: Update.
13718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13720 2012-04-09 Andreas Jaeger <aj@suse.de>
13723 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13724 is an optional BSD extension.
13727 * manual/stdio.texi (Opening Streams): Document additional fopen
13730 2012-04-09 Roland McGrath <roland@hack.frob.com>
13732 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13733 %eax without telling the compiler.
13735 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13738 * manual/install.texi: Use sourceware.org.
13740 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13743 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13744 (__ieee754_pow): Generate overflow and underflow using huge*huge
13745 and tiny*tiny rather than just returning constant infinity or zero
13746 for large exponents.
13747 * math/libm-test.inc (pow_test): Require overflow exceptions for
13748 applicable cases of large exponents.
13751 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13752 (__ieee754_pow): Use iterative multiplication algorithm only for
13753 integer exponents with absolute value below 1024. Check for odd
13754 integer exponents when using algorithm for real exponents.
13755 * math/libm-test.inc (pow_test): Add more tests.
13756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13758 2012-04-08 Joseph Myers <joseph@codesourcery.com>
13761 * math/libm-test.inc (exp_test): Do not allow overflow exception
13764 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13767 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13768 instead of __kernel_standard_f.
13770 2012-04-08 Mike Frysinger <vapier@gentoo.org>
13772 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13773 * sysdeps/x86_64/memset_chk.S: Likewise.
13775 2012-04-08 Andreas Jaeger <aj@suse.de>
13778 * manual/startup.texi (Environment Access): Describe return value
13779 for putenv and setenv.
13782 * manual/filesys.texi (Directory Entries): Add description for
13786 * manual/filesys.texi (Directory Entries): Clarify that it's file
13787 system not operating system in the description of DT_UNKNOWN.
13790 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13792 2012-04-08 Stephen Compall <s11@member.fsf.org>
13795 * manual/llio.texi (Opening and Closing Files): Add cross
13796 reference to explain mode argument.
13798 2012-04-07 Mike Frysinger <vapier@gentoo.org>
13800 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13801 * sysdeps/x86_64/memset_chk.S: Likewise.
13803 2012-04-07 David S. Miller <davem@davemloft.net>
13805 * elf/elf.h (R_SPARC_WDISP10): Define.
13806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13809 R_SPARC_SIZE64 and R_SPARC_H34.
13811 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13814 conditions and remove no longer applicable assertion.
13816 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13818 * bits/byteswap.h: Include <features.h>.
13819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13824 * bits/byteswap.h (__bswap_16): Removed.
13825 Include <bits/byteswap-16.h> to get __bswap_16.
13826 * sysdeps/i386/bits/byteswap.h: Likewise.
13827 * sysdeps/s390/bits/byteswap.h: Likewise.
13828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13829 * bits/byteswap-16.h: New file.
13830 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13831 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13832 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13833 * string/Makefile (headers): Add bits/byteswap-16.h.
13835 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13838 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13840 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13841 * nss/tst-nss-static.c: New.
13843 2012-04-06 Robert Millan <rmh@gnu.org>
13846 * manual/llio.texi (File Position Primitive): lseek
13847 refers to WHENCE when it really means OFFSET.
13849 2012-04-06 Andreas Jaeger <aj@suse.de>
13851 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13852 strncmp declarations.
13854 * abilist/libc.abilist: Add __poll and __ppoll.
13856 2012-04-05 David S. Miller <davem@davemloft.net>
13858 * scripts/check-local-headers.sh: Accept a host triplet in the
13859 path matched by the exclude regexp.
13861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13863 * sysdeps/powerpc/powerpc32/dl-machine.h
13864 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13865 * sysdeps/s390/s390-32/dl-machine.h
13866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13867 * sysdeps/sparc/sparc32/dl-machine.h
13868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13869 * sysdeps/sparc/sparc64/dl-machine.h
13870 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13872 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13874 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13875 undefined symbol errors.
13877 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13880 2012-04-05 Michael Matz <matz@suse.de>
13883 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13885 2012-04-05 Andreas Jaeger <aj@suse.de>
13888 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13891 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13894 which ROUND is no valid rounding mode.
13896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13898 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13900 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13905 an exception using FPU order intentionally.
13907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13909 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13910 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13911 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13912 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13914 2012-04-05 Simon Josefsson <simon@josefsson.org>
13917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13918 EINVAL when BUFLEN is too smal.
13920 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13923 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13924 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13926 2012-04-03 Andreas Jaeger <aj@suse.de>
13929 * manual/setjmp.texi (System V contexts): Fix sentence.
13932 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13933 New macro for this case.
13934 [!__GNUC__] (__bswap_64): New inline function for this case.
13935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13936 * bits/byteswap.h: Likewise.
13937 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13938 ull, guard with __GLIBC_HAVE_LONG_LONG.
13940 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13941 __GLIBC_HAVE_LONG_LONG.
13943 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13944 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13946 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13949 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13950 inptr and inend, rather than using last_ch.
13952 2012-04-02 David S. Miller <davem@davemloft.net>
13954 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13955 * stdio-common/printf-parse.h (read_int): Change return type to
13956 'int', return -1 on INT_MAX overflow.
13957 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13958 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13959 overflows INT_MAX. Check for overflow of in-format-string precision
13960 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13961 SIZE_MAX not INT_MAX for integer overflow test.
13962 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13963 skip the construct in the format string but do not record anything.
13964 * stdio-common/bug22.c: Adjust to test both width/prevision
13965 INT_MAX overflow as well as total length INT_MAX overflow. Check
13966 explicitly for proper errno values.
13968 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13970 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13972 * string/test-strcmp.c [! WIDE]: Likewise.
13973 * time/tst-mktime2.c: Likewise for INT_MAX.
13974 * string/test-string.h: #include <sys/param.h> for MIN.
13976 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13977 * sysdeps/i386/init-first.c (init): Likewise.
13978 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13979 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13980 * sysdeps/sh/init-first.c (init): Likewise.
13982 2012-04-01 Ulrich Drepper <drepper@gmail.com>
13984 * po/ru.po: Update from translation team.
13985 * po/vi.po: Likewise.
13987 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * resolv/nss_dns/dns-host.c: Merge copyright years.
13991 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13994 Optimize memcpy with prefetch if
13995 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13996 src, dst pointers have unequal 16 byte alignments.
13998 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14001 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14002 from a CNAME entry and return the minimum ttl for the query.
14003 (gaih_getanswer_slice): Likewise.
14005 2012-03-30 Jeff Law <law@redhat.com>
14007 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14009 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14010 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14012 * resolv/nss_dns/dns-host.c: Update copyright year.
14014 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14016 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14017 requests to save a system call. Fix check that all bytes are sent.
14019 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14020 comments for sendmmsg.
14022 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14026 with only 1 character between 0x0041 and 0x01b0.
14027 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14028 * wcsmbs/tst-mbsnrtowcs.c: New file.
14030 2012-03-29 David S. Miller <davem@davemloft.net>
14032 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14033 small copies by hand.
14035 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14038 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14039 _nss_compat_initgroups_dyn): Fall back to malloc/free
14040 for large group memberships.
14042 2012-03-28 David S. Miller <davem@davemloft.net>
14044 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14045 that branches into memcpy.
14046 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14049 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14052 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14053 implementation too.
14054 * sysdeps/sparc/mempcpy.S: New file.
14056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14057 the IFUNC routine in the libc case.
14058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14060 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14061 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14062 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14063 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14064 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14065 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14066 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14067 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14069 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14070 loop to 256 bytes instead of 64 bytes and fix test signedness.
14072 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14073 * sysdeps/sparc/sparc32/Makefile: rather than here...
14074 * sysdeps/sparc/sparc64/Makefile: and here.
14076 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14078 * malloc/mallocbug.c: Avoid warnings about unused variables.
14080 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14083 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14084 in the right place. Discard and retry query if response is
14085 larger than input buffer size.
14087 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14093 x for large integer exponent.
14094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14096 sign of result as needed afterwards.
14097 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14099 result for underflowing pow the same as for overflow.
14100 (__kernel_standard_l): Handle powl overflow and underflow here
14101 rather than calling __kernel_standard.
14102 * math/libm-test.inc (pow_test): Add more tests.
14117 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14118 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14119 (__kernel_standard_l): New function.
14120 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14122 * math/w_acosl.c (__acosl): Likewise.
14123 * math/w_asinl.c (__asinl): Likewise.
14124 * math/w_atan2l.c (__atan2l): Likewise.
14125 * math/w_atanhl.c (__atanhl): Likewise.
14126 * math/w_coshl.c (__coshl): Likewise.
14127 * math/w_exp10l.c (__exp10l): Likewise.
14128 * math/w_exp2l.c (__exp2l): Likewise.
14129 * math/w_fmodl.c (__fmodl): Likewise.
14130 * math/w_hypotl.c (__hypotl): Likewise.
14131 * math/w_j0l.c (__j0l, __y0l): Likewise.
14132 * math/w_j1l.c (__j1l, __y1l): Likewise.
14133 * math/w_jnl.c (__jnl, __ynl): Likewise.
14134 * math/w_lgammal.c (__lgammal): Likewise.
14135 * math/w_log10l.c (__log10l): Likewise.
14136 * math/w_log2l.c (__log2l): Likewise.
14137 * math/w_logl.c (__logl): Likewise.
14138 * math/w_powl.c (__powl): Likewise.
14139 * math/w_remainderl.c (__remainderl): Likewise.
14140 * math/w_scalbl.c (sysv_scalbl): Likewise.
14141 * math/w_sinhl.c (__sinhl): Likewise.
14142 * math/w_sqrtl.c (__sqrtl): Likewise.
14143 * math/w_tgammal.c (__tgammal): Likewise.
14144 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14145 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14146 * math/libm-test.inc (acos_test): Add more tests.
14147 (acosh_test): Likewise.
14148 (asin_test): Likewise.
14149 (atanh_test): Likewise.
14150 (exp_test): Likewise.
14151 (exp10_test): Likewise.
14152 (exp2_test): Likewise.
14153 (expm1_test): Likewise.
14154 (lgamma_test): Likewise.
14155 (log_test): Likewise.
14156 (log10_test): Likewise.
14157 (log1p_test): Likewise.
14158 (log2_test): Likewise.
14159 (pow_test): Do not allow some spurious overflow exceptions.
14160 (sqrt_test): Add more tests.
14161 (tgamma_test): Likewise.
14162 (y0_test): Likewise.
14163 (y1_test): Likewise.
14164 (yn_test): Likewise.
14166 2012-03-27 Anton Blanchard <anton@samba.org>
14168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14174 2012-03-27 David S. Miller <davem@davemloft.net>
14176 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14178 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14179 have-as-vis3 check.
14181 2012-03-27 Andreas Jaeger <aj@suse.de>
14183 * sysdeps/x86_64/elf/configure.in: Moved to ...
14184 * sysdeps/x86_64/configure.in: ... here.
14185 * sysdeps/x86_64/elf/start.S: Moved to ...
14186 * sysdeps/x86_64/start.S: ... here.
14187 * sysdeps/x86_64/elf/configure: Delete.
14189 * sysdeps/x86_64/configure.in: Merge contents from
14190 sysdeps/i386/configure.in (without i686 check).
14192 * sysdeps/i386/elf/Versions: Merge into ...
14193 * sysdeps/i386/Versions: ... this.
14194 * sysdeps/i386/elf/Versions: Delete file.
14195 * sysdeps/i386/elf/start.S: Moved to ...
14196 * sysdeps/i386/start.S: ...here.
14197 * sysdeps/i386/elf/configure.in: Merge into...
14198 * sysdeps/i386/configure.in: ...here.
14199 * sysdeps/i386/elf/configure.in: Delete file.
14200 * sysdeps/i386/elf/configure: Delete file.
14202 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14203 * debug/backtracesyms.c: ... here.
14204 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14205 * debug/backtracesymsfd.c: ... here.
14206 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14207 * sysdeps/generic/ifunc-sel.h: ... here.
14209 * sysdeps/unix/i386/start.c: Delete file.
14210 * sysdeps/unix/sparc/start.c: Delete file.
14211 * sysdeps/unix/start.c: Delete file.
14213 * sysdeps/sh/elf/configure.in: Moved to ...
14214 * sysdeps/sh/configure.in: ... here.
14215 * sysdeps/sh/elf/start.S: Moved to ...
14216 * sysdeps/sh/start.S: ... here.
14217 * sysdeps/sh/elf/configure: Delete file.
14219 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14220 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14221 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14222 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14223 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14224 * sysdeps/powerpc/powerpc64/start.S: here.
14225 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14226 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14227 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14228 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14229 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14231 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14232 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14233 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14234 * sysdeps/powerpc/powerpc32/start.S: ... here.
14235 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14236 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14237 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14239 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14240 * sysdeps/powerpc/ifunc-sel.h: ... here.
14241 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14242 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14244 * sysdeps/sparc/elf/configure.in: Moved to ...
14245 * sysdeps/sparc/configure.in: ... here.
14246 * sysdeps/sparc/elf/configure: Delete file.
14247 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14248 * sysdeps/sparc/sparc32/start.S: ... here.
14249 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14250 * sysdeps/sparc/sparc64/start.S: ... here.
14251 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14252 * sysdeps/sparc/sparc32/Makefile: ... this.
14253 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14254 * sysdeps/sparc/sparc64/Makefile: ... this.
14256 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14257 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14258 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14259 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14260 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14261 * sysdeps/s390/s390-32/setjmp.S: ... here.
14262 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14263 * sysdeps/s390/s390-32/configure.in: ... here.
14264 * sysdeps/s390/s390-32/elf/configure: Delete file.
14265 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14266 * sysdeps/s390/s390-32/start.S: ... here.
14268 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14269 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14270 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14271 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14272 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14273 * sysdeps/s390/s390-64/setjmp.S: ... here.
14274 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14275 * sysdeps/s390/s390-64/configure.in: ... here
14276 * sysdeps/s390/s390-64/elf/configure: Delete file.
14277 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14278 * sysdeps/s390/s390-64/start.S: ... here.
14279 * sysdeps/s390/s390-64/elf/configure: Delete.
14281 * configure.in: Remove support for elf directories in sysdeps.
14283 * configure: Regenerated.
14284 * sysdeps/i386/configure: Regenerated.
14285 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14286 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14287 * sysdeps/s390/s390-32/configure: Regenerated.
14288 * sysdeps/s390/s390-64/configure: Regenerated.
14289 * sysdeps/sh/configure: Regenerated.
14290 * sysdeps/sparc/configure: Regenerated.
14291 * sysdeps/x86_64/configure: Regenerated.
14293 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14298 denormal result into account.
14300 2012-03-25 Roland McGrath <roland@hack.frob.com>
14302 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14303 Reported by Allan McRae <allan@archlinux.org>.
14305 2012-03-23 Jeff Law <law@redhat.com>
14307 * nss/getnssent.c (__nss_getent): Fix typo.
14309 2012-03-23 David S. Miller <davem@davemloft.net>
14311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14313 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14315 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14316 to pad to uint64_t for each field.
14317 (dl_tls_index): Replace unsigned long with uint64_t.
14319 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14320 Paul Pluzhnikov <ppluzhnikov@google.com>
14323 * grp/Makefile (otherlibs): Don't set it.
14324 * inet/Makefile (otherlibs): Likewise.
14325 * login/Makefile (otherlibs): Likewise.
14326 * nscd/Makefile (otherlibs): Likewise.
14327 * posix/Makefile (otherlibs): Likewise.
14328 * pwd/Makefile (otherlibs): Likewise.
14329 * rt/Makefile (otherlibs): Likewise.
14330 * sunrpc/Makefile (otherlibs): Likewise.
14331 * nss/Makefile (otherlibs): Likewise.
14332 Add libnss_files to routines and static-only-routines.
14333 ($(objpfx)getent): Remove rule.
14334 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14335 static-only-routines.
14337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14340 * math/s_cexp.c: Include <float.h>.
14341 (__cexp): Handle exp result overflowing not necessarily
14342 overflowing both real and imaginary parts of result.
14343 * math/s_cexpf.c: Likewise.
14344 * math/s_cexpl.c: Likewise.
14345 * math/libm-test.inc (cexp_test): Add more tests.
14346 * sysdeps/i386/fpu/libm-test-ulps: Update.
14347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14351 * include/link.h (ELFW): New macro.
14352 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14353 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14357 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14362 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14364 (struct La_x32_retval): Likewise.
14366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14368 * sysdeps/x86_64/preconfigure.in: New file.
14369 * sysdeps/x86_64/preconfigure: New generated file.
14371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14374 * math/e_exp2l.c: Include <float.h>.
14375 (__ieee754_exp2l): Handle overflow and underflow cases
14376 separately. Only pass fractional part of argument to
14378 * math/libm-test.inc (exp2_test): Add more tests.
14380 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14381 negating x to take absolute value.
14382 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14387 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14388 computing low part if x was negated.
14389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14391 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14393 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14394 la_x32_gnu_pltexit.
14395 (pltexit): Cast int_retval to ptrdiff_t.
14396 * elf/tst-auditmod3b.c: Likewise.
14397 * elf/tst-auditmod4b.c: Likewise.
14398 * elf/tst-auditmod5b.c: Likewise.
14399 * elf/tst-auditmod6b.c: Likewise.
14400 * elf/tst-auditmod6c.c: Likewise.
14401 * elf/tst-auditmod7b.c: Likewise.
14403 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14404 and x32_gnu_pltexit.
14406 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14407 __ELF_NATIVE_CLASS.
14408 (La_x32_regs): New macro.
14409 (La_x32_retval): Likewise.
14410 (la_x32_gnu_pltenter): New function prototype.
14411 (la_x32_gnu_pltexit): Likewise.
14413 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14420 * configure.in (libc_cv_cc_nofma): Check for option to disable
14421 generation of FMA instructions.
14422 * configure: Regenerate.
14423 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14424 * sysdeps/ieee754/dbl-64/Makefile: New file.
14425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14426 Remove brandred-fma4.
14427 (CFLAGS-brandred-fma4.c): Remove.
14428 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14434 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14436 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14437 LLONG_MAX != LONG_MAX.
14438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14439 (_fitoa_word): Likewise.
14440 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14441 LLONG_MAX != LONG_MAX.
14442 * stdio-common/_itowa.h: Include <_itoa.h>.
14443 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14444 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14445 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14446 only if not defined.
14447 (_ITOA_WORD_TYPE): Likewise.
14448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14449 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14451 2012-03-21 David S. Miller <davem@davemloft.net>
14453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14455 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14457 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14458 of x86_64 when setting libc_cv_slibdir, libdir and
14460 * sysdeps/unix/sysv/linux/configure: Regenerated.
14462 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14464 * manual/lang.texi (Old Varargs): Remove section.
14465 (How Variadic): Update menu.
14466 (va_start): Do not mention varargs.h.
14468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14469 Joseph Myers <joseph@codesourcery.com>
14471 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14473 * configure: Regenerated.
14475 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14477 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14478 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14484 * Makefile (files-for-dist): Remove NOTES.
14485 (NOTES): Remove rule.
14486 * README: Don't refer to NOTES.
14487 * manual/creature.texi: Don't include macros.texi.
14488 * manual/intro.texi (creature.texi): Remove comment referring to
14491 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14492 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14493 * configure: Regenerated.
14494 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14495 LIBC_TRY_CC_OPTION.
14496 (libc_cv_as_i686): Likewise.
14497 (libc_cv_cc_avx): Likewise.
14498 (libc_cv_cc_sse2avx): Likewise.
14499 (libc_cv_cc_fma4): Likewise.
14500 (libc_cv_cc_novzeroupper): Likewise.
14501 * sysdeps/i386/configure: Regenerated.
14504 * sysdeps/i386/fpu/s_cexp.S: Remove.
14505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14507 * math/libm-test.inc (cexp_test): Add more tests.
14508 * sysdeps/i386/fpu/libm-test-ulps: Update.
14509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511 2012-03-21 Allan McRae <allan@archlinux.org>
14513 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14518 * math/w_exp2.c: Do not include <float.h>.
14519 (o_threshold, u_threshold): Remove.
14520 (__exp2): Calculate result before checking finiteness and calling
14522 * math/w_exp2f.c: Likewise.
14523 * math/w_exp2l.c: Likewise.
14524 * math/libm-test.inc (exp2_test): Require overflow exception for
14528 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14529 range of signed 64-bit integers before using fistpll. Remove
14530 checks for whether integers fit in mantissa bits.
14531 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14532 the range of signed 32-bit integers before using fistpl. Remove
14533 checks for whether integers fit in mantissa bits.
14534 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14535 (__ieee754_powl): Test for y outside the range of signed 64-bit
14536 integers before using fistpll. Reduce 64-bit values to 63-bit
14538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14539 divide-by-zero is raised for zero to large negative powers.
14540 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14541 (__ieee754_powl): Test for y outside the range of signed 64-bit
14542 integers before using fistpll. Reduce 64-bit values to 63-bit
14544 * math/libm-test.inc (pow_test): Add more tests.
14546 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14548 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14549 <stdio-common/_itoa.h>.
14550 * debug/segfault.c: Likewise.
14551 * elf/dl-cache.c: Likewise.
14552 * elf/dl-minimal.c: Likewise.
14553 * elf/dl-misc.c: Likewise.
14554 * elf/dl-sysdep.c: Likewise.
14555 * elf/dl-version.c: Likewise.
14556 * elf/rtld.c: Likewise.
14557 * hurd/hurdsock.c: Likewise.
14558 * hurd/lookup-retry.c: Likewise.
14559 * malloc/malloc.c: Likewise.
14560 * malloc/mtrace.c: Likewise.
14561 * nscd/nscd_getgr_r.c: Likewise.
14562 * nscd/nscd_getpw_r.c: Likewise.
14563 * nscd/nscd_getserv_r.c: Likewise.
14564 * posix/getopt_init.c: Likewise.
14565 * posix/wordexp.c: Likewise.
14566 * stdio-common/_itoa.c: Likewise.
14567 * stdio-common/printf_fphex.c: Likewise.
14568 * stdio-common/vfprintf.c: Likewise.
14569 * string/_strerror.c: Likewise.
14570 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14571 * sysdeps/i386/i686/hp-timing.h: Likewise.
14572 * sysdeps/mach/_strerror.c: Likewise.
14573 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14574 * sysdeps/mach/hurd/sethostid.c: Likewise.
14575 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14576 * sysdeps/mach/xpg-strerror.c: Likewise.
14577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14579 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14580 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14581 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14582 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14584 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14585 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14586 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14587 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14588 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14590 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14591 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14595 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14596 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14599 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14601 * stdio-common/_itoa.h: Moved to ...
14602 * sysdeps/generic/_itoa.h: Here.
14604 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14606 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14607 instead of "_itoa.h" and "_itowa.h".
14608 * stdio-common/vfprintf.: Likewise.
14610 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14614 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14615 (__signbit): Likwise.
14616 (llrintf): Likwise.
14619 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14621 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14624 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14626 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14627 OVERFLOW_EXCEPTION_OK.
14628 * math/libm-test.inc ("Philosophy"): Update comment about
14630 (OVERFLOW_EXCEPTION): Define.
14631 (OVERFLOW_EXCEPTION_OK): Likewise.
14632 (INVALID_EXCEPTION_OK): Renumber.
14633 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14634 (IGNORE_ZERO_INF_SIGN): Likewise.
14635 (test_exceptions): Handle FE_OVERFLOW.
14636 (exp10_test): Expect overflow exceptions.
14637 (exp2_test): Likewise.
14638 (expm1_test): Likewise.
14639 (nextafter_test): Likewise.
14640 (pow_test): Likewise.
14641 (scalbn_test): Likewise.
14642 (scalbln_test): Likewise.
14644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14646 * sysdeps/x86_64/bits/atomic.h
14647 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14649 (atomic_exchange_acq): Likewise.
14650 (__arch_exchange_and_add_body): Likewise.
14651 (__arch_add_body): Likewise.
14652 (atomic_add_negative): Likewise.
14653 (atomic_add_zero): Likewise.
14655 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14657 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14658 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14662 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14663 Check __x86_64__ instead of __WORDSIZE.
14665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14667 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14669 2012-03-19 David S. Miller <davem@davemloft.net>
14671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14673 * sysdeps/sparc/fpu/fenv_private.h: New file.
14674 * sysdeps/sparc/fpu/math_private.h: Use it.
14675 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14677 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14678 (libc_feholdexcept_setroundl): Remove.
14679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14681 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14682 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14686 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14687 int64_t instead of long int.
14688 (INSERT_WORDS64): Likwise.
14690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14692 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14693 _Unwind_GetCFA return to _Unwind_Ptr first.
14695 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14698 * math/s_clog.c: Include <float.h>.
14699 (__clog): Scale large or subnormal inputs.
14700 * math/s_clogf.c: Likewise.
14701 * math/s_clogl.c: Likewise.
14702 * math/s_clog10.c: Include <float.h>.
14703 (M_LOG10_2): Define.
14704 (__clog10): Scale large or subnormal inputs.
14705 * math/s_clog10f.c: Likewise.
14706 * math/s_clog10l.c: Likewise.
14707 * math/libm-test.inc (clog_test): Add more tests.
14708 (clog10_test): Likewise.
14709 * sysdeps/i386/fpu/libm-test-ulps: Update.
14710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14715 * math/libm-test.inc (atan2_test): Add another test.
14717 * Makerules (common-objdir-compile): Remove.
14718 * sysdeps/unix/Makefile (config-generated): Do not add
14719 $(unix-generated) to variable.
14720 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14721 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14723 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14725 [generic bits/local_lim.h] (before-compile): Do not append to
14727 [generic bits/local_lim.h] (common-generated): Likewise.
14728 [generic sys/param.h] (before-compile): Do not append to variable.
14729 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14730 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14731 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14732 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14734 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14735 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14736 [generic sys/param.h] ($(addprefix
14737 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14738 [generic sys/param.h] (common-generated): Do not append to
14740 [generic sys/param.h] (sysdep_headers): Likewise.
14741 [generic bits/errno.h] (before-compile): Do not append to
14743 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14745 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14746 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14747 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14748 [generic bits/errno.h] (common-generated): Do not append to
14750 [generic bits/ioctls.h] (before-compile): Do not append to
14752 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14754 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14755 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14758 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14759 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14760 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14761 [generic bits/ioctls.h] (common-generated): Do not append to
14763 [generic sys/syscall.h] (syscall.h): Remove variable.
14764 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14766 [generic sys/syscall.h] (before-compile): Do not append to
14768 [generic sys/syscall.h] (common-generated): Likewise.
14769 * sysdeps/unix/errnos-tmpl.c: Remove file.
14770 * sysdeps/unix/errnos.awk: Likewise.
14771 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14772 * sysdeps/unix/ioctls.awk: Likewise.
14773 * sysdeps/unix/mk-local_lim.c: Likewise.
14774 * sysdeps/unix/snarf-ioctls: Likewise.
14776 2012-03-19 Richard Henderson <rth@twiddle.net>
14778 * sysdeps/i386/fpu/fenv_private.h: New file.
14779 * sysdeps/i386/fpu/math_private.h: Use it.
14780 (math_opt_barrier, math_force_eval): Remove.
14781 (libc_feholdexcept_setround_53bit): Remove.
14782 (libc_feupdateenv_53bit): Remove.
14783 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14784 (math_opt_barrier, math_force_eval): Remove.
14785 (libc_feholdexcept): Remove.
14786 (libc_feholdexcept_setround): Remove.
14787 (libc_fetestexcept, libc_fesetenv): Remove.
14788 (libc_feupdateenv_test): Remove.
14789 (libc_feupdateenv, libc_feholdsetround): Remove.
14790 (libc_feresetround): Remove.
14792 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14793 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14795 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14796 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14797 (libc_feupdateenv_testl): New.
14798 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14799 (libc_feupdateenv_testf): New.
14800 (libc_feupdateenv): Use libc_feupdateenv_test.
14801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14804 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14805 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14806 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14807 (libc_feresetround_noex): New.
14808 (libc_feresetround_noexf): New.
14809 (libc_feresetround_noexl): New.
14810 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14811 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14812 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14818 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14820 SET_RESTORE_ROUND_NOEX.
14821 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14822 SET_RESTORE_ROUND_NOEXF.
14823 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14824 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14825 (libc_feholdsetroundf): New.
14826 (libc_feresetround, libc_feresetroundf): New.
14828 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14829 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14830 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14832 * sysdeps/generic/math_private.h: Include <fenv.h>.
14833 (default_libc_feholdexcept): New.
14834 (default_libc_feholdexcept_setround): New.
14835 (default_libc_fesetenv, default_libc_feupdateenv): New.
14836 (libc_feholdexcept): Only define if undefined.
14837 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14839 (libc_feholdexcept_setroundl): Likewise.
14840 (libc_feholdexcept_setround_53bit): Likewise.
14841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14844 (libc_feupdateenv_53bit): Likewise.
14845 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14846 (libc_feholdexcept): Convert from macro to inline function.
14847 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14848 (libc_fesetenv, libc_feupdateenv): Likewise.
14850 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14851 not previously defined.
14852 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14853 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14854 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14855 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14856 * sysdeps/ieee754/flt-32/math_private.h: New file.
14857 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14858 math_private.h below SET_FLOAT_WORD.
14859 (__isnan, __isinf_ns, __finite): Remove.
14860 (__isnanf, __isinf_nsf, __finitef): Remove.
14862 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14866 2012-03-17 David S. Miller <davem@davemloft.net>
14869 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14872 2012-03-16 David S. Miller <davem@davemloft.net>
14874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14880 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14881 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14882 sysdep_routines when subdir is sysvipc.
14883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14884 __getshmlba helper.
14886 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14890 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14896 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14897 (__lround): Renamed to ...
14898 (__llround): This. Replace long int with long long int.
14899 Define lround functions as aliases of llround functions.
14900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14904 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14905 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14906 adresses to uintptr_t. Replace "long int" and "unsigned long
14907 int" with "greg_t" on va_arg.
14909 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14911 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14912 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14914 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14915 Move e_machine check before EI_CLASS check. Handle x32
14916 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14917 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14918 SKIP_EM_IA_64 and include
14919 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14921 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14922 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14923 (add_system_dir): New macro.
14925 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14926 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14928 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14939 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14941 * math/w_j0f.c (j0f): Likewise.
14943 * math/w_j0l.c (__j0l): Likewise.
14945 * math/w_j1.c (j1): Likewise.
14947 * math/w_j1f.c (j1f): Likewise.
14949 * math/w_j1l.c (__j1l): Likewise.
14951 * math/w_jn.c (jn): Likewise.
14953 * math/w_jnf.c (jnf): Likewise.
14955 * math/w_jnl.c (__jnl): Likewise.
14957 * math/libm-test.inc (j0_test): Add more tests.
14958 (j1_test): Likewise.
14959 (jn_test): Likewise. Add trailing semicolon to existing test.
14960 (y0_test): Likewise.
14961 (y1_test): Likewise.
14962 * sysdeps/i386/fpu/libm-test-ulps: Update.
14963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14968 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14969 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14971 (__tanl): Set errno for infinite argument.
14972 * sysdeps/i386/fpu/mptan.c: Remove.
14973 * sysdeps/i386/fpu/s_tan.S: Likewise.
14974 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14975 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14976 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14977 * math/libm-test.inc (tan_test): Add more tests and enable more
14978 tests for double and long double.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14982 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14984 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14985 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14987 2012-03-16 Roland McGrath <roland@hack.frob.com>
14989 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14990 * configure.in: Use it for both main tree and add-ons.
14991 * configure: Regenerated.
14993 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14995 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14997 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15003 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15004 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15009 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15011 != 0 for prec == 2.
15012 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15013 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15014 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15015 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15016 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15017 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15018 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15019 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15020 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15021 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15022 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15023 * math/libm-test.inc (cos_test): Add more tests and enable more
15024 tests for long double.
15025 (sin_test): Likewise.
15026 (sincos_test): Likewise.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030 2012-03-16 David S. Miller <davem@davemloft.net>
15032 * sysdeps/sparc/fpu/math_private.h: New file.
15034 2012-03-15 David S. Miller <davem@davemloft.net>
15036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15050 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15051 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15053 * sysdeps/sparc/sparc-ifunc.h: New file.
15054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15099 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15101 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15105 2012-03-15 Andreas Jaeger <aj@suse.de>
15108 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15109 ieee754/flt-32 implementation for sin, cos and sincos.
15110 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15111 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15112 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15113 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15114 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15115 ieee754/flt-32 implementation for tan.
15117 * math/libm-test.inc (cos_test): Enable some large input tests for
15119 (sin_test): Likewise.
15120 (sincos_test): Likewise.
15121 (tan_test): Add tests for large input.
15123 * sysdeps/i386/fpu/libm-test-ulps: Update.
15125 2012-03-15 Andreas Jaeger <aj@suse.de>
15128 * math/libm-test.inc (cos_test): Add more test cases.
15129 (sin_test): Likewise.
15130 (sincos_test): Likewise.
15132 2012-03-15 Andreas Jaeger <aj@suse.de>
15135 * math/libm-test.inc (cos_test): Add a test case for large input
15137 (sin_test): Likewise.
15138 (sincos_test): Likewise.
15140 2012-03-15 Andreas Jaeger <aj@suse.de>,
15141 Joseph Myers <joseph@codesourcery.com>
15144 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15145 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15146 * sysdeps/i386/fpu/branred.c: Likewise.
15147 * sysdeps/i386/fpu/dosincos.c: Likewise.
15148 * sysdeps/i386/fpu/mpa.c: Likewise.
15149 * sysdeps/i386/fpu/s_cos.S: Likewise.
15150 * sysdeps/i386/fpu/s_sin.S: Likewise.
15151 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15152 * sysdeps/i386/fpu/sincos32.c: Likewise.
15154 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15156 (libc_feupdateenv_53bit): Define.
15157 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15159 (libc_feupdateenv_53bit): Define.
15161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15162 53 bit (without extend i386 double precision).
15164 * math/libm-test.inc (sincos_test): Add tests for large input.
15168 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15170 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15174 2012-03-15 David S. Miller <davem@davemloft.net>
15176 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15177 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15178 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15179 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15204 fmin/fmax sysdep routines.
15205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15207 2012-03-14 David S. Miller <davem@davemloft.net>
15209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15281 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15286 * sysdeps/sparc/configure.in: New file.
15287 * sysdeps/sparc/configure: Generate.
15288 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15289 * configure: Regenerate.
15290 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15291 * config.make.in (have-as-vis3): New.
15292 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15293 available use -Av9d instead of -Av9a.
15294 * sysdeps/sparc/sparc64/Makefile: Likewise.
15295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15310 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15311 fzeros/fnegs to load 0x80000000 into a float register instead of
15313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15315 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15319 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15320 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15321 ($(inst_includedir)/bits/syscall.h): Remove rule.
15322 ($(objpfx)bits/syscall.d): Include instead of
15323 $(objpfx)syscall-list.d.
15324 (generated): Change syscall-list.h and syscall-list.d to
15325 bits/syscall.h and bits/syscall.d.
15327 2012-03-14 Roland McGrath <roland@hack.frob.com>
15330 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15332 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15335 * math/s_csqrt.c: Include <float.h>.
15336 (__csqrt): Scale large or subnormal inputs.
15337 * math/s_csqrtf.c: Likewise.
15338 * math/s_csqrtl.c: Likewise.
15339 * math/libm-test.inc (csqrt_test): Add more tests.
15340 * sysdeps/i386/fpu/libm-test-ulps: Update.
15341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15344 * math/libm-test.inc (hypot_test): Add more tests.
15346 2012-03-13 David S. Miller <davem@davemloft.net>
15349 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15350 double-precision for the calculation instead of scaling.
15352 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15355 manipulate bits before adding and subtracting TWO52[sx].
15356 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15361 2012-03-13 David S. Miller <davem@davemloft.net>
15363 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15364 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15366 rtld-global-offsets.h
15367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15369 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15372 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15374 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15375 'err' in the ifdef scope in which it is actually used.
15377 * nss/nss_db/db-init.c: Include string.h
15379 2012-03-12 David S. Miller <davem@davemloft.net>
15381 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15382 masking out of the most significant byte of random value used.
15383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15384 Fix coding style in previous change.
15386 * sysdeps/unix/sysv/linux/kernel-features.h
15387 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15388 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15390 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15393 2012-03-11 David S. Miller <davem@davemloft.net>
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15396 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15398 for 'resultvar' otherwise things get truncated on 64-bit.
15400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15401 Fix masking out of the most significant byte of random value used.
15403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15405 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15409 2012-03-09 David S. Miller <davem@davemloft.net>
15411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15412 variables with appropriate CPP guards.
15413 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15414 frame pointer, not the stack pointer. Correct layout comments. Fix test
15415 on resulting framesize and the management of the outregs buffer for pltexit.
15416 Preserve floating point return values across _dl_call_pltexit call.
15417 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15418 framesize and the management of the outregs buffer for pltexit.
15419 Preserve floating point return values across _dl_call_pltexit
15421 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15422 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15423 (print_exit): Fix format string for return register value.
15425 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15427 * sunrpc/Makefile (others): Add rpcgen.
15428 ($(objpfx)rpcgen): Remove special build rule and dependency on
15430 * sunrpc/rpcgen.c: New file.
15432 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15435 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15436 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15437 * sysdeps/i386/crti.S: Likewise.
15438 * sysdeps/i386/crtn.S: Likewise.
15439 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15440 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15443 * sysdeps/sh/crti.S: Likewise.
15444 * sysdeps/sh/crtn.S: Likewise.
15445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15448 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15450 * locale/programs/locfile-kw.gperf: Likewise.
15451 * locale/programs/charmap-kw.h: Regenerated.
15452 * locale/programs/locfile-kw.h: Likewise.
15455 * intl/plural.y: Replace FSF snail mail address with URL.
15456 * intl/plural.c: Regenerated.
15458 2012-03-09 Richard Henderson <rth@twiddle.net>
15460 * include/math_private.h: Remove file.
15461 * math/math_private.h: Move file ...
15462 * sysdeps/generic/math_private.h: ... here.
15464 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15465 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15466 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15468 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15469 and <math_private.h>.
15470 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15471 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15472 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15473 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15474 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15491 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15492 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15502 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15520 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15550 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15551 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15558 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15559 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15561 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15563 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15564 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15574 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15575 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15576 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15577 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15578 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15579 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15580 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15581 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15582 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15584 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15586 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15587 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15589 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15593 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15594 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15595 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15597 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15598 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15599 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15600 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15601 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15602 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15603 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15604 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15605 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15606 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15607 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15608 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15609 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15611 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15612 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15613 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15614 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15618 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15619 * sysdeps/ieee754/k_standard.c: Likewise.
15620 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15631 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15632 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15633 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15634 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15636 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15637 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15640 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15641 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15651 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15652 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15653 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15654 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15657 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15658 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15659 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15747 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15752 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15780 * sysdeps/ieee754/s_lib_version.c: Likewise.
15781 * sysdeps/ieee754/s_matherr.c: Likewise.
15782 * sysdeps/ieee754/s_signgam.c: Likewise.
15783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15785 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15786 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15788 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15789 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15790 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15791 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15792 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15793 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15794 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15795 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15796 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15797 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15800 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15801 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15805 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15807 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15808 * sunrpc/rpc_main.c: Likewise.
15809 * sunrpc/rpc_svcout.c: Likewise.
15811 2012-03-09 David S. Miller <davem@davemloft.net>
15813 * include/math_private.h: New file.
15815 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15817 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15818 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15819 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15820 from <bits/socket_type.h>.
15821 (enum __socket_type): Don't define here.
15822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15824 bits/socket_type.h.
15827 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15828 checking __USE_GNU.
15830 * Makerules ($(inst_includedir)/%.h): New rule.
15831 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15832 (install-others): Remove variable setting.
15833 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15835 2012-03-08 Richard Henderson <rth@twiddle.net>
15837 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15838 from macro to inline function; merge with the
15839 !__LIBC_INTERNAL_MATH_INLINES version.
15840 (__ieee754_sqrtf): Likewise.
15842 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15843 to inline function.
15844 (__rintf, __floor, __floorf): Likewise.
15846 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15847 macro to inline function.
15848 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15851 not <math/math_private.h>.
15853 2012-03-08 David S. Miller <davem@davemloft.net>
15855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15857 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15859 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15861 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15863 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15864 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15866 2012-03-08 Ulrich Drepper <drepper@gmail.com>
15868 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15869 be defined individually, they must be defined as a block. Define
15870 S for printing a string instead of hidint the different by using a
15871 macro for adding the 'l'.
15872 * stdio-common/tst-fphex-wide.c: Adjust.
15874 2012-03-07 Marek Polacek <polacek@redhat.com>
15876 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15878 2012-03-08 Marek Polacek <polacek@redhat.com>
15881 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15882 * stdio-common/tst-fphex.c: Define a few macros to make the
15883 test reusable. Use them.
15884 * stdio-common/tst-fphex-wide.c: New file.
15886 2012-03-08 Joseph Myers <joseph@codesourcery.com>
15889 * manual/macros.texi (gnusystems): New macro.
15890 (nongnusystems): Likewise.
15891 (gnulinuxhurdsystems): Likewise.
15892 (gnuhurdsystems): Likewise..
15893 (gnulinuxsystems): Likewise.
15894 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15895 variants of the GNU system, not "GNU system".
15896 * manual/conf.texi: Likewise.
15897 * manual/errno.texi: Likewise. Update example of errno macro
15899 * manual/filesys.texi: Likewise.
15900 (getumask): Document as specific to GNU/Hurd.
15901 * manual/install.texi: Likewise. Reword some references to
15903 * manual/intro.texi: Likewise.
15904 * manual/io.texi: Likewise.
15905 (File Name Portability): Detail which constraints are inapplicable
15906 to all GNU systems and which are only inapplicable to GNU/Hurd.
15907 * manual/job.texi: Likewise.
15908 * manual/llio.texi: Likewise.
15909 (O_NOCTTY): Document as present on GNU/Linux.
15910 * manual/maint.texi: Likewise.
15911 * manual/memory.texi: Likewise.
15912 * manual/pattern.texi: Likewise.
15913 * manual/pipe.texi: Likewise.
15914 * manual/process.texi: Likewise.
15915 * manual/resource.texi: Likewise.
15916 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15918 * manual/setjmp.texi: Likewise.
15919 * manual/signal.texi: Likewise.
15920 * manual/startup.texi: Likewise.
15921 * manual/stdio.texi: Likewise.
15922 * manual/terminal.texi: Likewise.
15923 (ONLCR): Document as POSIX.
15924 (OXTABS): Document availability on GNU/Linux as XTABS.
15925 (ONOEOT): Document availability separately from other bits.
15926 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15927 * manual/time.texi: Likewise.
15928 * manual/users.texi: Likewise.
15929 * INSTALL: Regenerated.
15930 * sysdeps/gnu/errlist.c: Regenerated.
15932 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15933 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15934 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15936 * configure: Regenerated.
15938 2012-03-07 Joseph Myers <joseph@codesourcery.com>
15940 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15941 default includes instead of AC_HEADER_CHECK.
15942 * sysdeps/i386/configure: Regenerated.
15945 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15946 * math/s_cacoshf.c (__cacoshf): Likewise.
15947 * math/s_cacoshl.c (__cacoshl): Likewise.
15948 * math/s_casinh.c (__casinh): Set signs of result from argument.
15949 * math/s_casinhf.c (__casinhf): Likewise.
15950 * math/s_casinhl.c (__casinhl): Likewise.
15951 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15952 (casinh_test): Add more tests.
15953 * sysdeps/i386/fpu/libm-test-ulps: Update.
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15956 2012-03-07 Ulrich Drepper <drepper@gmail.com>
15958 * po/zh_TW.po: Update from translation team.
15960 * login/Makefile (distribute): Remove variable.
15961 * catgets/Makefile: Likewise.
15962 * mach/Makefile: Likewise.
15963 * malloc/Makefile: Likewise.
15964 * misc/Makefile: Likewise.
15965 * iconv/Makefile: Likewise.
15966 * nscd/Makefile: Likewise.
15967 * hurd/Makefile: Likewise.
15968 * manual/Makefile: Likewise.
15969 * locale/Makefile: Likewise.
15970 * intl/Makefile: Likewise.
15971 * conform/Makefile: Likewise.
15972 * nss/Makefile: Likewise.
15973 * time/Makefile: Likewise.
15974 * soft-fp/Makefile: Likewise.
15975 * dirent/Makefile: Likewise.
15976 * gmon/Makefile: Likewise.
15977 * po/Makefile: Likewise.
15978 * rt/Makefile: Likewise.
15979 * socket/Makefile: Likewise.
15980 * math/Makefile: Likewise.
15981 * signal/Makefile: Likewise.
15982 * debug/Makefile: Likewise.
15983 * elf/Makefile: Likewise.
15984 * timezone/Makefile: Likewise.
15985 * stdlib/Makefile: Likewise.
15986 * iconvdata/Makefile: Likewise.
15987 * sunrpc/Makefile: Likewise.
15988 * io/Makefile: Likewise.
15989 * argp/Makefile: Likewise.
15990 * inet/Makefile: Likewise.
15991 * hesiod/Makefile: Likewise.
15992 * grp/Makefile: Likewise.
15993 * csu/Makefile: Likewise.
15994 * wctype/Makefile: Likewise.
15995 * crypt/Makefile: Likewise.
15996 * libio/Makefile: Likewise.
15997 * string/Makefile: Likewise.
15998 * nis/Makefile: Likewise.
15999 * resolv/Makefile: Likewise.
16000 * stdio-common/Makefile: Likewise.
16001 * wcsmbs/Makefile: Likewise.
16002 * dlfcn/Makefile: Likewise.
16003 * posix/Makefile: Likewise.
16006 * timezone/Makefile: Don't install timezone files, just the programs
16009 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16011 * nss/databases.def: Add missing gshadow entry.
16013 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16015 2012-03-06 Marek Polacek <polacek@redhat.com>
16018 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16019 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16020 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16021 * stdio-common/tst-long-dbl-fphex.c: New file.
16023 2012-03-06 David S. Miller <davem@davemloft.net>
16025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16026 (set_obp_int): New function.
16027 (get_obp_int): New function.
16028 (__get_clockfreq_via_dev_openprom): Likewise.
16029 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16030 Avoid unused variable warnings on 'val' and use builtin_expect.
16031 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16033 (INLINE_CLONE_SYSCALL): Likewise.
16035 2012-03-05 David S. Miller <davem@davemloft.net>
16037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16039 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16044 only for |x| >= 40.
16045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16047 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16049 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16050 Replace gettimeofday with __vdso_gettimeofday.
16052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16053 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16054 __vdso_clock_gettime and __vdso_getcpu.
16056 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16057 time with __vdso_time.
16059 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16061 * manual/lang.texi (size_t): Note types to which size_t may be
16062 equivalent with the GNU C Library, but do not describe when
16063 differences between them are significant.
16065 2012-03-05 Andreas Jaeger <aj@suse.de>
16067 * sysdeps/i386/fpu/libm-test-ulps: Update.
16069 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16072 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16073 (__ieee754_pow): Save and restore rounding mode and use
16074 round-to-nearest for main computations.
16075 * math/libm-test.inc (pow_test_tonearest): New function.
16076 (pow_test_towardzero): Likewise.
16077 (pow_test_downward): Likewise.
16078 (pow_test_upward): Likewise.
16079 (main): Call the new functions.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16084 * math/libm-test.inc (cosh_test_tonearest): New function.
16085 (cosh_test_towardzero): Likewise.
16086 (cosh_test_downward): Likewise.
16087 (cosh_test_upward): Likewise.
16088 (sinh_test_tonearest): Likewise.
16089 (sinh_test_towardzero): Likewise.
16090 (sinh_test_downward): Likewise.
16091 (sinh_test_upward): Likewise.
16092 (main): Call the new functions.
16093 * sysdeps/i386/fpu/libm-test-ulps: Update.
16094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16096 2012-03-05 Tom de Vries <tom@codesourcery.com>
16098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16099 default stack guard is set in last bytes.
16100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16102 2012-03-05 Kees Cook <keescook@chromium.org>
16104 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16107 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16108 possibly allocate from heap instead of stack.
16109 * stdio-common/bug-vfprintf-nargs.c: New file.
16110 * stdio-common/Makefile (tests): Add nargs overflow test.
16112 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16116 2012-03-03 Marek Polacek <polacek@redhat.com>
16118 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16119 * math/math_private.h: Likewise.
16120 * stdlib/tst-strtod.c: Likewise.
16121 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16122 * sysdeps/x86_64/bits/atomic.h: Likewise.
16124 2012-03-02 David S. Miller <davem@davemloft.net>
16126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16130 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16131 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16132 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16133 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16135 2012-03-02 Roland McGrath <roland@hack.frob.com>
16138 * manual/examples/README: New file, says the example source files
16139 can be used under GPL>=2.
16140 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16141 line containing just "*/".
16142 * manual/examples/add.c: Add copyright header (GPL>=2).
16143 * manual/examples/argp-ex1.c: Likewise.
16144 * manual/examples/argp-ex2.c: Likewise.
16145 * manual/examples/argp-ex3.c: Likewise.
16146 * manual/examples/argp-ex4.c: Likewise.
16147 * manual/examples/atexit.c: Likewise.
16148 * manual/examples/db.c: Likewise.
16149 * manual/examples/dir.c: Likewise.
16150 * manual/examples/dir2.c: Likewise.
16151 * manual/examples/execinfo.c: Likewise.
16152 * manual/examples/filecli.c: Likewise.
16153 * manual/examples/filesrv.c: Likewise.
16154 * manual/examples/fmtmsgexpl.c: Likewise.
16155 * manual/examples/genpass.c: Likewise.
16156 * manual/examples/inetcli.c: Likewise.
16157 * manual/examples/inetsrv.c: Likewise.
16158 * manual/examples/isockad.c: Likewise.
16159 * manual/examples/longopt.c: Likewise.
16160 * manual/examples/memopen.c: Likewise.
16161 * manual/examples/memstrm.c: Likewise.
16162 * manual/examples/mkfsock.c: Likewise.
16163 * manual/examples/mkisock.c: Likewise.
16164 * manual/examples/mygetpass.c: Likewise.
16165 * manual/examples/pipe.c: Likewise.
16166 * manual/examples/popen.c: Likewise.
16167 * manual/examples/rprintf.c: Likewise.
16168 * manual/examples/search.c: Likewise.
16169 * manual/examples/select.c: Likewise.
16170 * manual/examples/setjmp.c: Likewise.
16171 * manual/examples/sigh1.c: Likewise.
16172 * manual/examples/sigusr.c: Likewise.
16173 * manual/examples/stpcpy.c: Likewise.
16174 * manual/examples/strdupa.c: Likewise.
16175 * manual/examples/strftim.c: Likewise.
16176 * manual/examples/strncat.c: Likewise.
16177 * manual/examples/subopt.c: Likewise.
16178 * manual/examples/swapcontext.c: Likewise.
16179 * manual/examples/termios.c: Likewise.
16180 * manual/examples/testopt.c: Likewise.
16181 * manual/examples/testpass.c: Likewise.
16182 * manual/examples/timeval_subtract.c: Likewise.
16185 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16187 * manual/timeval_subtract.c.texi: ... here, new file.
16189 2012-03-02 David S. Miller <davem@davemloft.net>
16191 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16193 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16196 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16197 (__sin): Save and restore rounding mode and use round-to-nearest
16198 for all computations.
16199 (__cos): Save and restore rounding mode and use round-to-nearest
16200 for all computations.
16201 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16203 (tan): Save and restore rounding mode and use round-to-nearest for
16205 * math/libm-test.inc (cos_test_tonearest): New function.
16206 (cos_test_towardzero): Likewise.
16207 (cos_test_downward): Likewise.
16208 (cos_test_upward): Likewise.
16209 (sin_test_tonearest): Likewise.
16210 (sin_test_towardzero): Likewise.
16211 (sin_test_downward): Likewise.
16212 (sin_test_upward): Likewise.
16213 (tan_test_tonearest): Likewise.
16214 (tan_test_towardzero): Likewise.
16215 (tan_test_downward): Likewise.
16216 (tan_test_upward): Likewise.
16217 (main): Call the new functions.
16218 * sysdeps/i386/fpu/libm-test-ulps: Update.
16219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16222 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16223 small n, then large n, before computing and testing k+n.
16224 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16229 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16230 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16237 * math/libm-test.inc (scalbn_test): Add more tests.
16238 (scalbln_test): Likewise.
16240 * manual/filesys.texi (mode_t): Describe constraints on size and
16241 signedness, not exact equivalence to a particular type.
16243 (ino64_t): Likewise.
16245 (nlink_t): Likewise.
16246 (blkcnt_t): Likewise.
16247 (blkcnt64_t): Likewise.
16248 * manual/llio.texi (off_t): Likewise.
16251 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16252 (__ieee754_exp): Save and restore rounding mode and use
16253 round-to-nearest for all computations.
16254 * math/libm-test.inc (exp_test_tonearest): New function.
16255 (exp_test_towardzero): Likewise.
16256 (exp_test_downward): Likewise.
16257 (exp_test_upward): Likewise.
16258 (main): Call the new functions.
16259 * sysdeps/i386/fpu/libm-test-ulps: Update.
16260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262 2012-03-01 Chris Demetriou <cgd@google.com>
16264 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16265 have predictable order.
16267 2012-03-01 David S. Miller <davem@davemloft.net>
16269 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16271 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16276 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16277 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16278 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16289 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16292 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16293 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16294 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16295 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16296 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16300 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16301 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16302 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16308 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16309 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16310 * sysdeps/sparc/elf/configure: Regenerated.
16312 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16314 * configure.in (AS, LD): Require binutils 2.20 or later.
16315 * configure: Regenerated.
16316 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16317 as required minimum version.
16318 * INSTALL: Regenerated.
16322 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16323 before squaring exponent.
16324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16325 bottom long double and 27 bits of top long double before squaring
16327 * math/libm-test.inc (erfc_test): Add more tests.
16328 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16332 2012-03-01 Kai Tietz <ktietz@redhat.com>
16334 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16335 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16336 containing bit-fields.
16337 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16338 * soft-fp/single.h (_FP_UNION_S): Likewise.
16339 * soft-fp/double.h (_FP_UNION_D): Likewise.
16341 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16344 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16345 not include ../strcmp.S.
16346 [USE_AS_STRNCASECMP_L]: Likewise.
16347 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16348 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16349 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16350 (__strncasecmp_l_ia32): Define as alias to
16351 __strncasecmp_l_nonascii.
16354 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16358 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361 2012-02-29 Jeff Law <law@redhat.com>
16363 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16364 out of bounds read.
16366 2012-02-29 Marek Polacek <polacek@redhat.com>
16369 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16370 * elf/Makefile: Add rules to run tst-unused-dep.out.
16372 2012-02-28 David S. Miller <davem@davemloft.net>
16374 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16375 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16378 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16379 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16381 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16383 * math/libm-test.inc (llround_test): Move one test from
16384 lround_test. Use TEST_f_L in moved test.
16385 (lround_test): Move misplaced test to llround_test. Add testcase
16388 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16390 * sysdeps/x86_64/fpu/e_expf.S: New file.
16391 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16393 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16396 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16397 of remain_len that may cause incomplete multi-byte character and
16399 * posix/bug-regex33.c: New file.
16400 * posix/Makefile (tests): Add bug-regex33.
16402 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16404 * manual/macros.texi: New file.
16405 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16406 * manual/libc.texinfo: Include macros.texi.
16407 * manual/creatute.texi: Likewise.
16408 * manual/install.texi: Likewise.
16409 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16410 @glibcadj{} in references to the GNU C Library.
16411 * manual/charset.texi: Likewise.
16412 * manual/conf.texi: Likewise.
16413 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16414 when not using those macros.
16415 * manual/creature.texi: Likewise.
16416 * manual/crypt.texi: Likewise.
16417 * manual/errno.texi: Likewise.
16418 * manual/filesys.texi: Likewise.
16419 * manual/header.texi: Likewise.
16420 * manual/install.texi: Likewise.
16421 * manual/intro.texi: Likewise.
16422 * manual/io.texi: Likewise.
16423 * manual/job.texi: Likewise.
16424 * manual/lang.texi: Likewise.
16425 * manual/libc.texiinfo: Likewise.
16426 * manual/llio.texi: Likewise.
16427 * manual/locale.texi: Likewise.
16428 * manual/maint.texi: Likewise.
16429 * manual/math.texi: Likewise.
16430 * manual/memory.texi: Likewise.
16431 * manual/message.texi: Likewise.
16432 * manual/nss.texi: Likewise.
16433 * manual/pattern.texi: Likewise.
16434 * manual/process.texi: Likewise.
16435 * manual/resource.texi: Likewise.
16436 * manual/search.texi: Likewise.
16437 * manual/setjmp.texi: Likewise.
16438 * manual/signal.texi: Likewise.
16439 * manual/socket.texi: Likewise.
16440 * manual/startup.texi: Likewise.
16441 * manual/stdio.texi: Likewise.
16442 * manual/string.texi: Likewise.
16443 * manual/sysinfo.texi: Likewise.
16444 * manual/syslog.texi: Likewise.
16445 * manual/terminal.texi: Likewise.
16446 * manual/time.texi: Likewise.
16447 * manual/users.texi: Likewise.
16448 * INSTALL: Regenerated.
16449 * NOTES: Regenerated.
16450 * sysdeps/gnu/errlist.c: Regenerated.
16452 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16454 * include/dirent.h: Include <dirstream.h> before
16457 2012-02-28 David S. Miller <davem@davemloft.net>
16459 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16460 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16461 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16464 2012-02-27 David S. Miller <davem@davemloft.net>
16466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16468 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16469 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16472 frame pointer instead of stack pointer relative arg slot.
16473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16474 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16475 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16477 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16480 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16482 2012-02-27 David S. Miller <davem@davemloft.net>
16484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16488 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16489 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16490 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16491 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16493 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16495 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16496 later. Allow versions 5-9.
16497 * configure: Regenerated.
16498 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16499 required minimum version and 4.6 as recommended version. Do not
16500 mention bugs in GCC 2.7 and 2.8.
16501 * INSTALL: Regenerated.
16503 2012-02-27 David S. Miller <davem@davemloft.net>
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16511 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16512 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16515 manipulate bits before adding and subtracting TWO112[sx].
16516 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16518 2012-02-27 Roland McGrath <roland@hack.frob.com>
16521 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16522 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16523 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16524 being in POSIX, because they are in 1003.1-2008.
16526 * rt/tst-aio.c: Include <fcntl.h>.
16527 * rt/tst-aio7.c: Likewise.
16528 * rt/tst-aio64.c: Likewise.
16530 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16532 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16534 * manual/install.texi (--with-headers): Describe headers as
16535 interface headers, not private headers.
16536 (Specific advice for GNU/Linux systems): Describe use of headers
16537 from "make headers_install", not private headers from older
16539 * INSTALL: Regenerated.
16540 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16542 * sysdeps/unix/sysv/linux/configure: Regenerated.
16544 * manual/llio.texi (fclean): Remove documentation.
16546 * manual/Makefile (libc-texi-generated): New variable. Include
16548 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16549 $(libc-texi-generated), not duplicated list of files.
16550 (version.texi, stamp-version): New rules.
16551 (realclean): Remove $(libc-texi-generated), not individual files
16552 from that list. Do not remove dir-add.texinfo.
16553 * manual/libc.texinfo: Comment out uses of edition numbers and
16554 references to printed manual. Remove last-updated dates.
16555 (EDITION): Comment out.
16557 (VERSION, UPDATED): Remove.
16558 (version.texi): Include.
16560 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16562 * sysdeps/posix/spawni.c: Include <signal.h>.
16563 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16564 * sysdeps/pthread/aio_fsync.c: Likewise.
16566 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16568 * conform/Makefile (tests): Run only when not cross-compiling and
16569 when fast-check is not defined.
16571 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16572 * conform/data/limits.h-data: Fixes for POSIX2008.
16573 * conform/run-conformtest.sh: Run all tests.
16574 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16576 * include/bits/dlfcn.h: Likewise.
16577 * include/langinfo.h: Likewise.
16578 * include/monetary.h: Likewise.
16579 * include/sys/poll.h: Likewise.
16581 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16583 * posix/spawn.h: Define __need_sigset_t.
16584 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16585 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16586 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16587 to get sigevent_t only.
16588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16589 only for __USE_GNU.
16590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16592 process_vm_writev only for __USE_GNU.
16593 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16595 * conform/Makefile: For now ignore errors from run-conformtest.
16596 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16597 POSIX to avoid namespace pollution. Don't prepend headers.
16598 * conform/data/aio.h-data: Fixes for POSIX testing.
16599 * conform/data/fcntl.h-data: Likewise.
16600 * conform/data/glob.h-data: Likewise.
16601 * conform/data/grp.h-data: Likewise.
16602 * conform/data/pthread.h-data: Likewise.
16603 * conform/data/pwd.h-data: Likewise.
16604 * conform/data/signal.h-data: Likewise.
16605 * conform/data/spawn.h-data: Likewise.
16606 * conform/data/stdio.h-data: Likewise.
16607 * conform/data/stdlib.h-data: Likewise.
16608 * conform/data/stropts.h-data: Likewise.
16609 * conform/data/sys/mman.h-data: Likewise.
16610 * conform/data/sys/stat.h-data: Likewise.
16611 * conform/data/sys/types.h-data: Likewise.
16612 * conform/data/sys/wait.h-data: Likewise.
16613 * conform/data/time.h-data: Likewise.
16614 * conform/data/unistd.h-data: Likewise.
16615 * conform/data/utime.h-data: Likewise.
16617 * io/sys/stat.h: fchmod was always in POSIX.
16618 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16619 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16620 * rt/aio.h: Define __need_timespec before including <time.h>.
16621 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16622 struct. Add forward declaration of pthread_attr_t and use it in
16624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16626 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16627 always remove CLK_TCK definition.
16629 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16631 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16633 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16635 * conform/run-conformtest.sh: New file.
16636 * conform/Makefile: Run run-conformtest for tests.
16637 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16640 * conform/data/uchar.h-data: New file.
16641 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16642 * conform/data/arpa/inet.h-data: Likewise.
16643 * conform/data/assert.h-data: Likewise.
16644 * conform/data/complex.h-data: Likewise.
16645 * conform/data/cpio.h-data: Likewise.
16646 * conform/data/ctype.h-data: Likewise.
16647 * conform/data/dirent.h-data: Likewise.
16648 * conform/data/dlfcn.h-data: Likewise.
16649 * conform/data/errno.h-data: Likewise.
16650 * conform/data/fcntl.h-data: Likewise.
16651 * conform/data/float.h-data: Likewise.
16652 * conform/data/fmtmsg.h-data: Likewise.
16653 * conform/data/fnmatch.h-data: Likewise.
16654 * conform/data/ftw.h-data: Likewise.
16655 * conform/data/glob.h-data: Likewise.
16656 * conform/data/grp.h-data: Likewise.
16657 * conform/data/iconv.h-data: Likewise.
16658 * conform/data/inttypes.h-data: Likewise.
16659 * conform/data/langinfo.h-data: Likewise.
16660 * conform/data/libgen.h-data: Likewise.
16661 * conform/data/limits.h-data: Likewise.
16662 * conform/data/locale.h-data: Likewise.
16663 * conform/data/math.h-data: Likewise.
16664 * conform/data/monetary.h-data: Likewise.
16665 * conform/data/mqueue.h-data: Likewise.
16666 * conform/data/ndbm.h-data: Likewise.
16667 * conform/data/net/if.h-data: Likewise.
16668 * conform/data/netdb.h-data: Likewise.
16669 * conform/data/netinet/in.h-data: Likewise.
16670 * conform/data/nl_types.h-data: Likewise.
16671 * conform/data/poll.h-data: Likewise.
16672 * conform/data/pthread.h-data: Likewise.
16673 * conform/data/pwd.h-data: Likewise.
16674 * conform/data/regex.h-data: Likewise.
16675 * conform/data/sched.h-data: Likewise.
16676 * conform/data/search.h-data: Likewise.
16677 * conform/data/semaphore.h-data: Likewise.
16678 * conform/data/setjmp.h-data: Likewise.
16679 * conform/data/signal.h-data: Likewise.
16680 * conform/data/spawn.h-data: Likewise.
16681 * conform/data/stdarg.h-data: Likewise.
16682 * conform/data/stdio.h-data: Likewise.
16683 * conform/data/stdlib.h-data: Likewise.
16684 * conform/data/string.h-data: Likewise.
16685 * conform/data/strings.h-data: Likewise.
16686 * conform/data/stropts.h-data: Likewise.
16687 * conform/data/sys/ipc.h-data: Likewise.
16688 * conform/data/sys/mman.h-data: Likewise.
16689 * conform/data/sys/msg.h-data: Likewise.
16690 * conform/data/sys/resource.h-data: Likewise.
16691 * conform/data/sys/select.h-data: Likewise.
16692 * conform/data/sys/sem.h-data: Likewise.
16693 * conform/data/sys/shm.h-data: Likewise.
16694 * conform/data/sys/socket.h-data: Likewise.
16695 * conform/data/sys/stat.h-data: Likewise.
16696 * conform/data/sys/statvfs.h-data: Likewise.
16697 * conform/data/sys/time.h-data: Likewise.
16698 * conform/data/sys/timeb.h-data: Likewise.
16699 * conform/data/sys/times.h-data: Likewise.
16700 * conform/data/sys/types.h-data: Likewise.
16701 * conform/data/sys/uio.h-data: Likewise.
16702 * conform/data/sys/un.h-data: Likewise.
16703 * conform/data/sys/utsname.h-data: Likewise.
16704 * conform/data/sys/wait.h-data: Likewise.
16705 * conform/data/syslog.h-data: Likewise.
16706 * conform/data/tar.h-data: Likewise.
16707 * conform/data/termios.h-data: Likewise.
16708 * conform/data/utime.h-data: Likewise.
16709 * conform/data/utmpx.h-data: Likewise.
16710 * conform/data/varargs.h-data: Likewise.
16711 * conform/data/wchar.h-data: Likewise.
16712 * conform/data/wctype.h-data: Likewise.
16713 * conform/data/wordexp.h-data: Likewise.
16715 * include/stropts.h: New file.
16716 * include/uchar.h: New file.
16717 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16718 * include/assert.h: Likewise.
16719 * include/ctype.h: Likewise.
16720 * include/dirent.h: Likewise.
16721 * include/dlfcn.h: Likewise.
16722 * include/fcntl.h: Likewise.
16723 * include/fnmatch.h: Likewise.
16724 * include/glob.h: Likewise.
16725 * include/grp.h: Likewise.
16726 * include/libio.h: Likewise.
16727 * include/locale.h: Likewise.
16728 * include/math.h: Likewise.
16729 * include/net/if.h: Likewise.
16730 * include/netdb.h: Likewise.
16731 * include/netinet/in.h: Likewise.
16732 * include/pthread.h: Likewise.
16733 * include/pwd.h: Likewise.
16734 * include/regex.h: Likewise.
16735 * include/sched.h: Likewise.
16736 * include/search.h: Likewise.
16737 * include/setjmp.h: Likewise.
16738 * include/signal.h: Likewise.
16739 * include/stdio.h: Likewise.
16740 * include/stdlib.h: Likewise.
16741 * include/string.h: Likewise.
16742 * include/sys/cdefs.h: Likewise.
16743 * include/sys/mman.h: Likewise.
16744 * include/sys/msg.h: Likewise.
16745 * include/sys/resource.h: Likewise.
16746 * include/sys/select.h: Likewise.
16747 * include/sys/socket.h: Likewise.
16748 * include/sys/stat.h: Likewise.
16749 * include/sys/statvfs.h: Likewise.
16750 * include/sys/time.h: Likewise.
16751 * include/sys/times.h: Likewise.
16752 * include/sys/uio.h: Likewise.
16753 * include/sys/utsname.h: Likewise.
16754 * include/sys/wait.h: Likewise.
16755 * include/termios.h: Likewise.
16756 * include/time.h: Likewise.
16757 * include/ulimit.h: Likewise.
16758 * include/unistd.h: Likewise.
16759 * include/utime.h: Likewise.
16760 * include/wchar.h: Likewise.
16761 * include/wctype.h: Likewise.
16762 * include/wordexp.h: Likewise.
16764 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16766 * time/time.h: TIME_UTC must be a macro.
16767 Make timespec_get available for ISO C11 only as well.
16769 2012-02-24 Ulrich Drepper <drepper@gmail.com>
16771 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16772 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16774 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16776 * configure.in: Use -o not -a in test for unsupported multi-arch.
16778 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16780 * manual/texinfo.tex: Update to version 2012-01-19.16.
16782 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16784 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16786 2012-02-24 Roland McGrath <roland@hack.frob.com>
16789 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16790 * manual/fdl-1.3.texi: New file.
16791 * manual/fdl-1.1.texi: File removed.
16794 * manual/libc.texinfo (FDL_VERSION): New @set.
16795 Use it for mention of FDL in cover text.
16796 (Documentation License): Use it in @include file name.
16798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16799 Roland McGrath <roland@hack.frob.com>
16802 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16803 not LONG_LONG_MAX and LONG_LONG_MIN.
16804 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16805 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16807 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16814 manipulate bits before adding and subtracting TWO23[sx].
16815 * math/libm-test.inc (nearbyint_test): Add more tests.
16817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16820 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16821 bits before adding and subtracting TWO23[sx].
16822 * math/libm-test.inc (rint_test): Add more tests.
16823 (rint_test_tonearest): Likewise.
16824 (rint_test_towardzero): Likewise.
16825 (rint_test_downward): Likewise.
16826 (rint_test_upward: Likewise.
16828 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16831 * include/stdc-predef.h: New file. Extracted from features.h.
16832 * include/features.h: Include stdc-predef.h.
16833 * Makefile (headers): Add stdc-predef.h.
16834 * CONFORMANCE (Compiler limitations): Update.
16836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16838 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16840 2012-02-21 David S. Miller <davem@davemloft.net>
16842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16843 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16845 2012-02-20 David S. Miller <davem@davemloft.net>
16847 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16848 using a normal save/restore sequence, rather than allocating a
16849 dummy stack frame just to store a frame pointer and restore.
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16852 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16854 * manual/install.texi: Fix stray word in line-wrapped comment.
16856 2012-02-20 David S. Miller <davem@davemloft.net>
16858 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16859 both binutils and gcc support GOTDATA.
16861 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16862 "rd %pc" in the PIC register setup sequences.
16864 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16865 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16866 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16867 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16868 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16873 (SYSCALL_ERROR_HANDLER): Likewise.
16874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16877 (SYSCALL_ERROR_HANDLER): Likewise.
16879 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16880 (HAVE_GCC_GOTDATA): New.
16881 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16882 relocation support in both binutils and gcc.
16883 * sysdeps/sparc/elf/configure: Regenerate.
16885 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16886 * sysdeps/sparc/sparc32/elf/configure: Delete.
16887 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16888 * sysdeps/sparc/sparc64/elf/configure: Delete.
16889 * sysdeps/sparc/elf/configure.in: New file.
16890 * sysdeps/sparc/elf/configure: Generate.
16892 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16893 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16895 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16896 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16898 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16900 * manual/install.texi: Do not mention specific glibc version
16902 * manual/libc.texinfo (VERSION, UPDATED): Update.
16903 (@copying): Use @copyright{} and range of years.
16905 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16908 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16909 [crti.S not in sysdirs] (generated): Do not append.
16910 [crti.S not in sysdirs] (omit-deps): Likewise.
16911 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16912 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16913 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16914 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16915 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16917 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16918 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16919 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16920 * csu/defs.awk: Remove file.
16921 * sysdeps/generic/initfini.c: Likewise.
16922 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16924 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16927 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16929 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16930 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16931 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16934 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16936 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16937 (__EPOLL_PACKED): Define to empty if not defined by
16939 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16943 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16946 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16947 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16948 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16950 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16954 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16956 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16959 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16963 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16968 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16970 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16971 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16973 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16975 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16978 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16980 * math/w_acos.c: Use non-signaling floating-point comparisons.
16981 * math/w_acosf.c: Likewise.
16982 * math/w_acosh.c: Likewise.
16983 * math/w_acoshf.c: Likewise.
16984 * math/w_acoshl.c: Likewise.
16985 * math/w_acosl.c: Likewise.
16986 * math/w_asin.c: Likewise.
16987 * math/w_asinf.c: Likewise.
16988 * math/w_asinl.c: Likewise.
16989 * math/w_atanh.c: Likewise.
16990 * math/w_atanhf.c: Likewise.
16991 * math/w_atanhl.c: Likewise.
16992 * math/w_exp2.c: Likewise.
16993 * math/w_exp2f.c: Likewise.
16994 * math/w_exp2l.c: Likewise.
16995 * math/w_j0.c: Likewise.
16996 * math/w_j0f.c: Likewise.
16997 * math/w_j0l.c: Likewise.
16998 * math/w_j1.c: Likewise.
16999 * math/w_j1f.c: Likewise.
17000 * math/w_j1l.c: Likewise.
17001 * math/w_jn.c: Likewise.
17002 * math/w_jnf.c: Likewise.
17003 * math/w_log.c: Likewise.
17004 * math/w_log10.c: Likewise.
17005 * math/w_log10f.c: Likewise.
17006 * math/w_log10l.c: Likewise.
17007 * math/w_log2.c: Likewise.
17008 * math/w_log2f.c: Likewise.
17009 * math/w_log2l.c: Likewise.
17010 * math/w_logf.c: Likewise.
17011 * math/w_logl.c: Likewise.
17012 * math/w_sqrt.c: Likewise.
17013 * math/w_sqrtf.c: Likewise.
17014 * math/w_sqrtl.c: Likewise.
17015 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17017 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17018 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17019 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17021 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17024 * manual/string.texi (strnlen): Use correct parameter name in
17025 equivalent expression.
17027 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17030 * manual/users.texi (seteuid): Consistently use neweuid for
17033 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17036 * manual/nss.texi (Services in the NSS configuration): Correct
17037 list of services in example configuration file.
17039 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17042 * manual/arith.texi: Remove statements about negative zero
17043 behaving identically to zero.
17045 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17048 * manual/install.texi: Do not document upgrading from libc5.
17050 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17053 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17055 2012-02-18 David S. Miller <davem@davemloft.net>
17057 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17058 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17059 %o7 across the call.
17060 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17063 SETUP_PIC_REG_LEAF.
17064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17065 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17066 * sysdeps/sparc/crtn.S: Likewise.
17068 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17070 * aout/Makefile: Remove.
17072 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17075 * manual/examples/argp-ex1.c (main): Format definition in GNU
17077 * manual/examples/argp-ex2.c (main): Likewise.
17078 * manual/examples/argp-ex3.c (main): Likewise.
17079 * manual/examples/argp-ex4.c (main): Likewise.
17080 * manual/examples/longopt.c (main): Use new-style prototype
17082 * manual/examples/strncat.c (main): Specify return type and use
17083 (void) for arguments.
17084 * manual/examples/subopt.c (main): Use char **argv argument.
17086 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17089 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17092 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17095 * manual/string.texi (strchr): Change when strchrnul is
17098 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17101 * manual/locale.texi (setlocale): Document LOCPATH.
17103 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17106 * manual/process.texi (execle): Move @dots{} before last argument.
17108 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17111 * manual/charset.texi (Generic Charset Conversion): Fix typo
17112 (LC_TYPE -> LC_CTYPE).
17114 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17117 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17118 (scalbnf): Likewise.
17119 (scalbnl): Likewise.
17120 (scalbln): Likewise.
17121 (scalblnf): Likewise.
17122 (scalblnl): Likewise.
17123 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17124 (vwarnx): Likewise.
17127 * manual/filesys.texi (telldir): Use braces around return type.
17128 * manual/llio.texi (mmap): Add space after comma.
17129 (mmap64): Likewise.
17130 * manual/math.texi (jn): Use @var{} on parameter names.
17136 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17138 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17140 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17141 (sched_get_priority_max): Likewise.
17142 * manual/signal.texi (sigvec): Add space after comma.
17143 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17145 (if_indextoname): Likewise.
17146 (if_freenameindex): Likewise.
17147 (sendto): Use ',' instead of '.' in prototype.
17148 * manual/startup.texi (syscall): Use @dots{} instead of literal
17150 * manual/stdio.texi (__fpending): Separate initial words of
17151 paragraph from @deftypefun line.
17152 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17154 (vsyslog): Use @var{} on parameter names.
17155 * manual/terminal.texi (stty): Use @var{} on parameter names.
17156 * manual/users.texi (getutmp): Use @var{} on parameter names.
17157 (getutmpx): Likewise.
17159 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17162 * manual/stdio.texi (fopen): Fix typos in description of
17165 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17168 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17169 get clock_id definition.
17171 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17174 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17175 (madvise): Cast every argument to void on its own.
17177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17180 * manual/startup.texi (Exit Status): Fix typo.
17182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17185 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17186 * manual/examples/argp-ex2.c: Likewise.
17187 * manual/examples/argp-ex3.c: Likewise.
17189 2012-02-16 Richard Henderson <rth@redhat.com>
17191 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17192 * sysdeps/s390/s390-32/initfini.c: Remove.
17193 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17194 * sysdeps/s390/s390-64/initfini.c: Remove.
17196 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17198 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17199 compiler output for sysdeps/generic/initfini.c.
17200 * sysdeps/sh/elf/initfini.c: Remove file.
17202 2012-02-16 David S. Miller <davem@davemloft.net>
17205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17207 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17208 * sysdeps/sparc/crti.S: New file.
17209 * sysdeps/sparc/crtn.S: New file.
17210 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17211 * sysdeps/sparc/sparc64/Makefile: Likewise.
17213 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17216 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17218 2012-02-15 Roland McGrath <roland@hack.frob.com>
17221 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17223 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17224 (write, read, close): Likewise.
17225 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17227 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17229 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17230 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17231 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17232 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17234 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17238 2012-02-14 Marek Polacek <polacek@redhat.com>
17240 * sysdeps/x86_64/crti.S: New file.
17241 * sysdeps/x86_64/crtn.S: New file.
17242 * sysdeps/x86_64/elf/initfini.c: Remove file.
17244 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17246 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17247 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17249 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17251 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17255 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17257 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17258 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17259 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17260 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17262 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17266 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17268 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17269 __feraiseexcept instead of feraiseexcept.
17271 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17272 nanosleep invocations.
17273 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17274 strings, and add error checking for a nanosleep invocations.
17276 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17278 Replace FSF snail mail address with URLs, as per GNU coding standards.
17279 Most of the snail mail addresses were wrong anyway, and omitting
17280 them makes the source code easier to maintain. Almost all of the
17281 changes are to license notices and to locale LC_IDENTIFICATION
17282 addresses, except for this one:
17283 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17284 not its snail mail address.
17286 2012-02-09 Richard Henderson <rth@twiddle.net>
17288 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17289 of kernel-features.h.
17291 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17293 2012-02-08 Marek Polacek <polacek@redhat.com>
17295 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17296 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17297 * sysdeps/gnu/_G_config.h: Likewise.
17298 * sysdeps/generic/_G_config.h: Likewise.
17300 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17302 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17306 * sysdeps/powerpc/powerpc32/crti.S: New file.
17307 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17308 * sysdeps/powerpc/powerpc64/crti.S: New file.
17309 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17311 * Makeconfig (have-initfini): Don't set.
17312 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17313 * configure.in (nopic_initfini): Don't substitute.
17314 * config.h.in (HAVE_INITFINI): Don't #undef.
17315 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17316 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17318 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17320 Support crti.S and crtn.S provided directly by architectures.
17321 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17322 [crti.S in sysdirs] (omit-deps): Likewise.
17323 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17324 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17325 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17326 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17327 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17328 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17329 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17330 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17331 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17332 compiler output for sysdeps/generic/initfini.c.
17333 * sysdeps/i386/elf/Makefile: Remove file.
17334 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17336 2012-02-07 Marek Polacek <polacek@redhat.com>
17338 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17339 * sysdeps/gnu/_G_config.h: Likewise.
17340 * sysdeps/mach/hurd/_G_config.h: Likewise.
17342 2012-02-07 Marek Polacek <polacek@redhat.com>
17344 * math/Makefile (tests): Add tst-CMPLX2.
17345 * math/tst-CMPLX2.c: New file.
17347 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17349 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17351 * math/libm-test.inc (jn_test): Add missing L suffix.
17353 2012-02-06 Marek Polacek <polacek@redhat.com>
17355 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17356 * sysdeps/i386/fpu/e_powf.S: Likewise.
17357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17358 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17359 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17360 * sysdeps/i386/fpu/e_pow.S: Likewise.
17361 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17362 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17363 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17364 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17365 * sysdeps/i386/fpu/e_log2.S: Likewise.
17366 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17367 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17368 * sysdeps/i386/fpu/e_powl.S: Likewise.
17369 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17370 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17371 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17372 * sysdeps/i386/fpu/e_logl.S: Likewise.
17373 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17374 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17375 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17376 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17377 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17378 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17379 * sysdeps/i386/fpu/e_log.S: Likewise.
17380 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17382 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17383 * sysdeps/i386/fpu/e_logf.S: Likewise.
17384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17386 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17387 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17388 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17389 * sysdeps/i386/fpu/e_log10.S: Likewise.
17390 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17391 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17392 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17393 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17395 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17396 * sysdeps/i386/asm-syntax.h: Likewise.
17397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17400 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17401 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17406 * sysdeps/powerpc/sysdep.h: Likewise.
17407 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17408 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17410 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17413 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17415 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17417 * sysdeps/i386/sysdep.h: Include <features.h>.
17418 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17421 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17423 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17425 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17428 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17430 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17431 (SETUP_PIC_REG): Use GET_PC_THUNK.
17432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17435 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17437 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17438 for non-PIC compilation.
17439 (SETUP_PIC_REG): Add .p2align directive.
17440 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17441 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17454 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17455 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17456 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17457 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17458 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17459 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17468 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17475 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17476 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17477 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17478 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17482 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17484 * math/tst-CMPLX.c: Include <stdio.h>.
17486 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17488 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17490 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17491 * sysdeps/sparc/bits/mathdef.h: Likewise.
17493 2012-01-31 Marek Polacek <polacek@redhat.com>
17495 * libio/libio.h: Don't define _PARAMS.
17496 * locale/programs/config.h: Don't define PARAMS.
17497 * stdlib/strtol_l.c: Likewise.
17498 (__strtol_l): Remove PARAMS from the prototype.
17500 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17502 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17503 names. Just use the correct names. Remove unnecessary wrapper
17505 * malloc/arena.c: Likewise.
17506 * malloc/hooks.c: Likewise.
17508 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17509 ARENA_TEST says not to. Simplify test for creation of a new arena.
17510 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17512 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17514 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17516 (update_get_addr): New function.
17517 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17518 GET_ADDR_MODULE parameter.
17520 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17522 * crypt/cert.c: Remove __STDC__ conditionals.
17523 * crypt/crypt-entry.c: Likewise.
17524 * crypt/crypt_util.c: Likewise.
17525 * libio/filedoalloc.c: Likewise.
17526 * libio/fileops.c: Likewise.
17527 * libio/genops.c: Likewise.
17528 * libio/iofclose.c: Likewise.
17529 * libio/iofdopen.c: Likewise.
17530 * libio/iofopen.c: Likewise.
17531 * libio/iofopen64.c: Likewise.
17532 * libio/iogetdelim.c: Likewise.
17533 * libio/iopopen.c: Likewise.
17534 * libio/obprintf.c: Likewise.
17535 * libio/oldfileops.c: Likewise.
17536 * libio/oldiofclose.c: Likewise.
17537 * libio/oldiofdopen.c: Likewise.
17538 * libio/oldiofopen.c: Likewise.
17539 * libio/oldiopopen.c: Likewise.
17540 * libio/wfiledoalloc.c: Likewise.
17541 * libio/wgenops.c: Likewise.
17542 * locale/programs/xmalloc.c: Likewise.
17543 * misc/syslog.c: Likewise.
17544 * stdio-common/xbug.c: Likewise.
17545 * string/memchr.c: Likewise.
17546 * string/memcmp.c: Likewise.
17547 * string/memrchr.c: Likewise.
17548 * string/rawmemchr.c: Likewise.
17549 * sysdeps/posix/getcwd.c: Likewise.
17550 * time/strftime_l.c: Likewise.
17552 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17554 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17555 * config.make.in (config-cflags-sse2avx): Define.
17556 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17559 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17561 * scripts/config.guess: Update from upstream config git repository.
17562 * scripts/config.sub: Likewise.
17564 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17566 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17568 (R_TILEPRO_*, R_TILEGX_*): New macros.
17570 * scripts/firstversions.awk: Fix bug in version range handling.
17572 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17574 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17576 * include/sys/epoll.h: New file.
17577 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17580 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17582 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17583 Avoid unnecessary __WORDSIZE == 64 test.
17584 (fmaxf): Use VEX format if possible.
17589 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17590 * math/math_private.h: Remove libc_fegetround* and
17592 * sysdeps/i386/configure.in: Check for -msse2avx.
17593 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17594 also if SSE2AVX is defined.
17595 Remove libc_fegetround* and libc_fesetround*.
17596 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17597 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17601 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17606 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17608 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17610 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17612 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17614 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17617 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17619 * Makeconfig (libm): Define.
17620 * elf/Makefile: Add rules to build and run tst-relsort1.
17621 * elf/tst-relsort1.c: New file.
17622 * elf/tst-relsort1mod1.c: New file.
17623 * elf/tst-relsort1mod2.c: New file.
17625 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17627 * math/s_ldexp.c: Remove __STDC__ conditionals.
17628 * math/s_ldexpf.c: Likewise.
17629 * math/s_ldexpl.c: Likewise.
17630 * math/s_nextafter.c: Likewise.
17631 * math/s_nexttowardf.c: Likewise.
17632 * math/s_significand.c: Likewise.
17633 * math/s_significandf.c: Likewise.
17634 * math/s_significandl.c: Likewise.
17635 * math/w_jnl.c: Likewise.
17636 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17637 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17638 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17639 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17640 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17655 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17656 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17658 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17660 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17661 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17662 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17663 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17664 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17672 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17673 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17674 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17675 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17676 * sysdeps/ieee754/k_standard.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17709 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17731 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17738 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17739 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17741 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17742 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17743 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17744 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17747 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17752 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17753 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17754 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17756 * sysdeps/ieee754/s_matherr.c: Likewise.
17757 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17758 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17762 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17764 * crypt/md5.h: Remove __STDC__ conditionals.
17765 * libio/libioP.h: Likewise.
17766 * locale/programs/config.h: Likewise.
17767 * sysdeps/generic/sysdep.h: Likewise.
17768 * sysdeps/i386/asm-syntax.h: Likewise.
17769 * sysdeps/s390/asm-syntax.h: Likewise.
17770 * sysdeps/unix/sysdep.h: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17774 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17776 * libio/libio.h: Remove __STDC__ conditionals.
17777 * malloc/obstack.h: Likewise.
17778 * math/complex.h: Likewise.
17779 * math/math.h: Likewise.
17780 * sysdeps/generic/_G_config.h: Likewise.
17781 * sysdeps/gnu/_G_config.h: Likewise.
17782 * sysdeps/mach/hurd/_G_config.h: Likewise.
17783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17784 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17785 * sysdeps/sparc/bits/mathdef.h: Likewise.
17787 2012-01-26 Ulrich Drepper <drepper@gmail.com>
17790 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17791 Clean up HAS_* macros.
17792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17793 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17803 2012-01-25 Joseph Myers <joseph@codesourcery.com>
17805 * elf/tst-unique3.cc (gets): Remove declaration.
17806 * elf/tst-unique3lib.cc (gets): Likewise.
17807 * elf/tst-unique3lib2.cc (gets): Likewise.
17808 * elf/tst-unique4.cc (gets): Likewise.
17810 2012-01-24 Ulrich Drepper <drepper@gmail.com>
17812 * include/stdio.h: Add C++ protection. Add gets declarations and
17814 * debug/tst-chk1.c: Don't declare gets here.
17815 * stdio-common/tst-gets.c: Likewise.
17817 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17819 * posix/glob: Remove directory.
17821 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17823 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17825 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17827 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17828 of the non-standard EPFNOSUPPORT.
17830 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17832 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17833 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17834 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17836 2012-01-21 Ulrich Drepper <drepper@gmail.com>
17838 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17840 2012-01-20 Ulrich Drepper <drepper@gmail.com>
17842 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17844 * nscd/grpcache.c (cache_addgr): Likewise.
17845 * nscd/hstcache.c (cache_addhst): Likewise.
17846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17847 * nscd/pwdcache.c (cache_addpw): Likewise.
17848 * nscd/servicescache.c (cache_addserv): Likewise.
17850 2012-01-16 Ulrich Drepper <drepper@gmail.com>
17852 * malloc/malloc.c: Various cleanups.
17853 * malloc/hooks.c: Likewise.
17855 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17856 * stdlib/bug-fmtmsg1.c: New file.
17858 * stdlib/fmtmsg.c (init): Add missing unlock.
17859 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17861 2012-01-12 Marek Polacek <polacek@redhat.com>
17863 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17866 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17868 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17869 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17870 macro to ensure uniqueness of label name.
17871 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17872 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17874 2012-01-11 Ulrich Drepper <drepper@gmail.com>
17876 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17879 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17883 2012-01-10 Ulrich Drepper <drepper@gmail.com>
17885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17887 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17888 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17891 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17893 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17894 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17898 * math/bits/math-finite.h: Add ldexp support.
17900 2012-01-10 Marek Polacek <polacek@redhat.com>
17902 * locale/programs/localedef.h (show_archive_content): Add noreturn
17905 2012-01-09 Ulrich Drepper <drepper@gmail.com>
17907 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17909 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17911 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17913 * io/Makefile (headers): Add bits/poll2.h.
17915 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17918 typo #include statement.
17920 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17922 * include/sys/cdefs.h: Define __attribute_alloc_size.
17923 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17924 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17925 * elf/pldd.c: Likewise.
17926 * iconv/iconv_charmap.c: Likewise.
17927 * iconv/iconvconfig.c: Likewise.
17928 * iconv/strtab.c: Likewise.
17929 * locale/programs/locale.c: Likewise.
17930 * locale/programs/localedef.h: Likewise.
17931 * locale/programs/simple-hash.c: Likewise.
17932 * nscd/nscd.h: Likewise.
17933 * nss/makedb.c: Likewise.
17934 * sysdeps/generic/ldconfig.h: Likewise.
17935 * locale/programs/localedef.c: Remove xmalloc prototype.
17936 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17938 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17940 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17945 * math/Makefile (tests): Add tst-CMPLX.
17946 * math/tst-CMPLX.c: New file.
17948 * math/complex.h (CMPLXL): Fix typo.
17950 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17951 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17953 * debug/tst-chk1.c: Add poll and ppoll tests.
17954 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17955 * include/sys/poll.h: Add hidden proto for ppoll.
17956 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17957 * sysdeps/mach/hurd/ppoll.c: Likewise.
17958 * io/ppoll.c: Likewise.
17959 * debug/poll_chk.c: New file.
17960 * debug/ppoll_chk.c: New file.
17961 * include/bits/poll2.h: New file.
17962 * io/bits/poll2.h: New file.
17965 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17967 * configure.in: static is always set to yes. Remove.
17968 * config.make.in: Don't set build-static.
17969 * Makeconfig: Remove use of build-static.
17970 * dlfcn/Makefile: Likewise.
17971 * elf/Makefile: Likewise.
17972 * math/Makefile: Likewise.
17973 * misc/Makefile: Likewise.
17974 * nptl/Makefile: Likewise.
17975 * sysdeps/mach/hurd/Makefile: Likewise.
17977 * configure.in: PWD_P is not used anymore.
17978 * config.make.in: Remove PWD_P entry.
17980 * configure.in: Remove last remnants of RANLIB.
17981 No need to check for signed size_t anymore.
17982 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17984 Remove __builtin_expect test because we require at least gcc 3.4.
17985 * aclocal.m4: Likewise.
17987 * wcsmbs/mbrtoc16.c: Implement using towc function.
17988 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17989 * wcsmbs/wcsmbsload.c: Likewise.
17990 * iconv/gconv_simple.c: Likewise.
17991 * iconv/gconv_int.h: Likewise.
17992 * iconv/gconv_builtin.h: Likewise.
17993 * iconv/iconv_prog.c: Remove CHAR16 handling.
17995 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17997 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17999 * configure.in: Remove --with-elf and --enable-bounded options.
18000 Dont set base_machine for ia64. More non-ELF conditions removed.
18001 Remove testing and setting of leading underscore information.
18002 * config.make.in (build-bounded): Set to no.
18003 * config.h.in: Remove NO_UNDERSCORES entry.
18004 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18006 * csu/start.c: Remove !NO_UNDERSCORE code.
18007 * locale/localeinfo.h: Likewise.
18008 * sysdeps/generic/machine-gmon.h: Likewise.
18009 * sysdeps/generic/sysdep.h: Likewise.
18010 * sysdeps/i386/sysdep.h: Likewise.
18011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18012 * sysdeps/mach/sysdep.h: Likewise.
18013 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18015 * sysdeps/sh/sysdep.h: Likewise.
18016 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18017 * sysdeps/unix/i386/sysdep.S: Likewise.
18018 * sysdeps/unix/sparc/start.c: Likewise.
18019 * sysdeps/unix/sparc/sysdep.S: Likewise.
18020 * sysdeps/unix/sparc/sysdep.h: Likewise.
18021 * sysdeps/unix/start.c: Likewise.
18022 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18023 * sysdeps/x86_64/sysdep.h: Likewise.
18025 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18028 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18030 * argp/argp-fmtstream.h: Use const instead __const.
18031 * argp/argp.h: Likewise.
18032 * assert/assert.h: Likewise.
18033 * bits/fenv.h: Likewise.
18034 * bits/sched.h: Likewise.
18035 * bits/sigset.h: Likewise.
18036 * bits/sigthread.h: Likewise.
18037 * catgets/nl_types.h: Likewise.
18038 * conform/data/pthread.h-data: Likewise.
18039 * crypt/crypt-private.h: Likewise.
18040 * crypt/crypt.h: Likewise.
18041 * crypt/crypt_util.c: Likewise.
18042 * ctype/ctype.h: Likewise.
18043 * debug/execinfo.h: Likewise.
18044 * debug/mbsnrtowcs_chk.c: Likewise.
18045 * debug/mbsrtowcs_chk.c: Likewise.
18046 * debug/wcsnrtombs_chk.c: Likewise.
18047 * debug/wcsrtombs_chk.c: Likewise.
18048 * debug/wcstombs_chk.c: Likewise.
18049 * dirent/dirent.h: Likewise.
18050 * dlfcn/dlfcn.h: Likewise.
18051 * elf/neededtest4.c: Likewise.
18052 * grp/grp.h: Likewise.
18053 * gshadow/gshadow.h: Likewise.
18054 * iconv/gconv.h: Likewise.
18055 * iconv/gconv_int.h: Likewise.
18056 * iconv/gconv_simple.c: Likewise.
18057 * iconv/iconv.h: Likewise.
18058 * iconv/loop.c: Likewise.
18059 * iconv/skeleton.c: Likewise.
18060 * include/aio.h: Likewise.
18061 * include/aliases.h: Likewise.
18062 * include/argz.h: Likewise.
18063 * include/arpa/inet.h: Likewise.
18064 * include/assert.h: Likewise.
18065 * include/dirent.h: Likewise.
18066 * include/dlfcn.h: Likewise.
18067 * include/execinfo.h: Likewise.
18068 * include/fcntl.h: Likewise.
18069 * include/fenv.h: Likewise.
18070 * include/glob.h: Likewise.
18071 * include/grp.h: Likewise.
18072 * include/libintl.h: Likewise.
18073 * include/mntent.h: Likewise.
18074 * include/netdb.h: Likewise.
18075 * include/pwd.h: Likewise.
18076 * include/rpc/netdb.h: Likewise.
18077 * include/sched.h: Likewise.
18078 * include/search.h: Likewise.
18079 * include/shadow.h: Likewise.
18080 * include/signal.h: Likewise.
18081 * include/stdio.h: Likewise.
18082 * include/stdlib.h: Likewise.
18083 * include/string.h: Likewise.
18084 * include/sys/socket.h: Likewise.
18085 * include/sys/stat.h: Likewise.
18086 * include/sys/statfs.h: Likewise.
18087 * include/sys/statvfs.h: Likewise.
18088 * include/sys/syslog.h: Likewise.
18089 * include/sys/time.h: Likewise.
18090 * include/sys/uio.h: Likewise.
18091 * include/time.h: Likewise.
18092 * include/unistd.h: Likewise.
18093 * include/utmp.h: Likewise.
18094 * include/wchar.h: Likewise.
18095 * include/wctype.h: Likewise.
18096 * inet/aliases.h: Likewise.
18097 * inet/arpa/inet.h: Likewise.
18098 * inet/netinet/ether.h: Likewise.
18099 * inet/netinet/in.h: Likewise.
18100 * intl/libintl.h: Likewise.
18101 * io/bits/fcntl2.h: Likewise.
18102 * io/fcntl.h: Likewise.
18103 * io/ftw.h: Likewise.
18104 * io/sys/poll.h: Likewise.
18105 * io/sys/stat.h: Likewise.
18106 * io/sys/statfs.h: Likewise.
18107 * io/sys/statvfs.h: Likewise.
18108 * io/utime.h: Likewise.
18109 * libio/bits/stdio.h: Likewise.
18110 * libio/bits/stdio2.h: Likewise.
18111 * libio/libio.h: Likewise.
18112 * libio/libioP.h: Likewise.
18113 * libio/stdio.h: Likewise.
18114 * locale/lc-ctype.c: Likewise.
18115 * locale/locale.h: Likewise.
18116 * login/utmp.h: Likewise.
18117 * malloc/arena.c: Likewise.
18118 * malloc/malloc.c: Likewise.
18119 * malloc/malloc.h: Likewise.
18120 * malloc/mcheck.c: Likewise.
18121 * malloc/mtrace.c: Likewise.
18122 * math/bits/mathcalls.h: Likewise.
18123 * math/fenv.h: Likewise.
18124 * math/math_private.h: Likewise.
18125 * misc/bits/error.h: Likewise.
18126 * misc/bits/syslog.h: Likewise.
18127 * misc/err.h: Likewise.
18128 * misc/error.h: Likewise.
18129 * misc/fstab.h: Likewise.
18130 * misc/mntent.h: Likewise.
18131 * misc/regexp.h: Likewise.
18132 * misc/search.h: Likewise.
18133 * misc/sgtty.h: Likewise.
18134 * misc/sys/mman.h: Likewise.
18135 * misc/sys/syslog.h: Likewise.
18136 * misc/sys/uio.h: Likewise.
18137 * misc/sys/xattr.h: Likewise.
18138 * misc/ttyent.h: Likewise.
18139 * nis/rpcsvc/ypclnt.h: Likewise.
18140 * nss/nss.h: Likewise.
18141 * posix/bits/unistd.h: Likewise.
18142 * posix/fnmatch.h: Likewise.
18143 * posix/glob.h: Likewise.
18144 * posix/sched.h: Likewise.
18145 * posix/spawn.h: Likewise.
18146 * posix/sys/wait.h: Likewise.
18147 * posix/unistd.h: Likewise.
18148 * posix/wordexp.h: Likewise.
18149 * pwd/pwd.h: Likewise.
18150 * resolv/netdb.h: Likewise.
18151 * resource/sys/resource.h: Likewise.
18152 * rt/aio.h: Likewise.
18153 * rt/bits/mqueue2.h: Likewise.
18154 * rt/mqueue.h: Likewise.
18155 * shadow/shadow.h: Likewise.
18156 * signal/signal.h: Likewise.
18157 * socket/send.c: Likewise.
18158 * socket/sendto.c: Likewise.
18159 * socket/sys/socket.h: Likewise.
18160 * stdio-common/printf.h: Likewise.
18161 * stdlib/bits/stdlib.h: Likewise.
18162 * stdlib/fmtmsg.h: Likewise.
18163 * stdlib/monetary.h: Likewise.
18164 * stdlib/stdlib.h: Likewise.
18165 * stdlib/ucontext.h: Likewise.
18166 * streams/stropts.h: Likewise.
18167 * string/argz.h: Likewise.
18168 * string/bits/string2.h: Likewise.
18169 * string/string.h: Likewise.
18170 * string/strings.h: Likewise.
18171 * sunrpc/rpc/auth.h: Likewise.
18172 * sunrpc/rpc/auth_des.h: Likewise.
18173 * sunrpc/rpc/clnt.h: Likewise.
18174 * sunrpc/rpc/netdb.h: Likewise.
18175 * sunrpc/rpc/pmap_clnt.h: Likewise.
18176 * sunrpc/rpc/xdr.h: Likewise.
18177 * sysdeps/generic/inttypes.h: Likewise.
18178 * sysdeps/generic/net/if.h: Likewise.
18179 * sysdeps/generic/sys/swap.h: Likewise.
18180 * sysdeps/gnu/net/if.h: Likewise.
18181 * sysdeps/gnu/utmpx.h: Likewise.
18182 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18183 * sysdeps/i386/i486/bits/string.h: Likewise.
18184 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18185 * sysdeps/s390/bits/string.h: Likewise.
18186 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18187 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18188 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18189 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18190 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18191 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18192 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18193 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18194 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18195 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18196 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18197 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18198 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18199 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18200 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18201 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18202 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18207 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18208 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18209 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18210 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18211 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18214 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18216 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18217 * sysvipc/sys/ipc.h: Likewise.
18218 * sysvipc/sys/msg.h: Likewise.
18219 * sysvipc/sys/sem.h: Likewise.
18220 * sysvipc/sys/shm.h: Likewise.
18221 * termios/termios.h: Likewise.
18222 * time/sys/time.h: Likewise.
18223 * time/time.h: Likewise.
18224 * wcsmbs/bits/wchar2.h: Likewise.
18225 * wcsmbs/uchar.h: Likewise.
18226 * wcsmbs/wchar.h: Likewise.
18227 * wctype/wctype.h: Likewise.
18230 * Makeconfig: Remove all but ELF support including AIX support.
18231 * Makerules: Likewise.
18232 * config.h.in: Likewise.
18233 * config.make.in: Likewise.
18234 * configure: Likewise.
18235 * configure.in: Likewise.
18236 * csu/Makefile: Likewise.
18237 * csu/version.c: Likewise.
18238 * debug/Makefile: Likewise.
18239 * dlfcn/Makefile: Likewise.
18240 * elf/Makefile: Likewise.
18241 * extra-lib.mk: Likewise.
18242 * iconv/Makefile: Likewise.
18243 * include/libc-symbols.h: Likewise.
18244 * include/shlib-compat.h: Likewise.
18245 * resolv/Makefile: Likewise.
18246 * resolv/res_libc.c: Likewise.
18247 * rt/Makefile: Likewise.
18248 * sysdeps/i386/asm-syntax.h: Likewise.
18249 * sysdeps/i386/sysdep.h: Likewise.
18250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18251 * sysdeps/mach/sysdep.h: Likewise.
18252 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18253 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18254 * sysdeps/s390/asm-syntax.h: Likewise.
18255 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18256 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18257 * sysdeps/sh/sysdep.h: Likewise.
18258 * sysdeps/unix/sparc/sysdep.h: Likewise.
18259 * sysdeps/wordsize-32/divdi3.c: Likewise.
18260 * sysdeps/x86_64/sysdep.h: Likewise.
18262 * argp/Versions: Remove _argp_unlock_xxx.
18265 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18266 * abilist/libBrokenLocale.abilist: Likewise.
18267 * abilist/libanl.abilist: Likewise.
18268 * abilist/libc.abilist: Likewise.
18269 * abilist/libcrypt.abilist: Likewise.
18270 * abilist/libdl.abilist: Likewise.
18271 * abilist/libm.abilist: Likewise.
18272 * abilist/libnsl.abilist: Likewise.
18273 * abilist/libpthread.abilist: Likewise.
18274 * abilist/libresolv.abilist: Likewise.
18275 * abilist/librt.abilist: Likewise.
18276 * abilist/libthread_db.abilist: Likewise.
18277 * abilist/libutil.abilist: Likewise.
18278 * abilist/libnss_db.abilist: New file.
18280 * scripts/abilist.awk: Add support for indirect functions.
18282 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18284 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18286 * shlib-versions: Remove entries for ports architectures.
18288 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18290 * elf/stackguard-macros.h: Remove support for IA-64.
18291 * elf/tst-auditmod1.c: Likewise.
18292 * sysdeps/generic/ldsodefs.h: Likewise.
18294 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18295 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18299 * configure.in: Remove --enable-omitfp support.
18301 * config.make.in: Likewise.
18302 * Makeconfig: Likewise.
18303 * manual/install.texi: Likewise.
18305 In case anyone cares, the IA-64 architecture could move to ports.
18306 * sysdeps/ia64/*: Removed.
18307 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18308 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18311 * configure.in: Remove entries for unsupported architectures.
18314 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18315 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18317 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18318 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18319 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18320 fall back to using wcrtomb.
18321 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18322 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18324 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18325 * wcsmbs/tst-c16c32-1.c: New file.
18327 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18330 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18332 * elf/tst-unique3.cc: Add explicit declaration of gets.
18333 * elf/tst-unique3lib.cc: Likewise.
18334 * elf/tst-unique3lib2.cc: Likewise.
18335 * elf/tst-unique4.cc: Likewise.
18337 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18339 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18342 * assert/assert.h (static_assert): Don't define for C++.
18343 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18344 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18346 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18348 * iconv/loop.c (single loop): Fix assertion in storing of
18351 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18353 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18355 * posix/getconf.c: Update copyright year.
18356 * nss/getent.c: Likewise.
18357 * nss/makedb.c: Likewise.
18358 * iconv/iconvconfig.c: Likewise.
18359 * iconv/iconv_prog.c: Likewise.
18360 * elf/ldconfig.c: Likewise.
18361 * elf/pldd.c: Likewise.
18362 * elf/sotruss.ksh: Likewise.
18363 * catgets/gencat.c: Likewise.
18364 * csu/version.c: Likewise.
18365 * elf/ldd.bash.in: Likewise.
18366 * elf/sprof.c (print_version): Likewise.
18367 * locale/programs/locale.c: Likewise.
18368 * locale/programs/localedef.c: Likewise.
18369 * login/programs/pt_chown.c: Likewise.
18370 * nscd/nscd.c (print_version): Likewise.
18371 * debug/xtrace.sh: Likewise.
18372 * malloc/memusage.sh: Likewise.
18373 * malloc/mtrace.pl: Likewise.
18374 * debug/catchsegv.sh: Likewise.
18376 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18378 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18381 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18384 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18385 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18387 * iconv/gconv_int.h: Likewise.
18388 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18389 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18390 from libc for GLIBC_2.16.
18391 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18392 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18393 * wcsmbs/uchar.h: Really define mbstate_t.
18394 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18395 * wcsmbs/c16rtomb.c: New file.
18396 * wcsmbs/mbrtoc16.c: New file.
18397 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18398 for C/POSIX locale.
18399 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18400 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18402 * wcsmbs/wchar.h: Add missing __restrict.
18404 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18407 * time/Makefile (routines): Add timespec_get.
18408 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18409 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18410 timespec for ISO C11.
18411 * time/timespec_get.c: New file.
18412 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18413 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18416 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18417 * stdlib/stdlib.h: Declare aligned_alloc.
18418 * Versions.def: Add GLIBC_2.16 for libc.
18419 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18422 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18425 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18429 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18432 * assert/assert.h (static_assert): Define.
18434 * version.h: Update for 2.16 development version.
18437 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18440 * version.h (RELEASE): Bump for 2.15 release.
18441 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18443 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18444 Patch by Marek Polacek <mpolacek@redhat.com>.
18446 * bits/byteswap.h: Protect long long constants with __extension__.
18447 * sysdeps/i386/bits/byteswap.h: Likewise.
18448 * sysdeps/ia64/bits/byteswap.h: Likewise.
18449 * sysdeps/s390/bits/byteswap.h: Likewise.
18450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18452 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18456 destination buffer.
18457 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18459 2011-12-23 Marek Polacek <polacek@redhat.com>
18461 * elf/dl-addr.c (determine_info): Add inline keyword.
18462 * elf/tst-auditmod4b.c (check_avx): Likewise.
18463 * elf/tst-auditmod6b.c (check_avx): Likewise.
18464 * elf/tst-auditmod6c.c (check_avx): Likewise.
18465 * elf/tst-auditmod7b.c (check_avx): Likewise.
18467 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18469 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18472 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18475 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18476 processing for last bytes.
18478 2011-08-06 Bruno Haible <bruno@clisp.org>
18481 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18482 U+0385, not to U+1FEE.
18485 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18486 entry for U+00A5 U+0301.
18488 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18491 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18492 buffer for the output is too small.
18494 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18498 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18499 SSE flags if possible.
18501 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18505 processing for last bytes.
18507 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18509 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18510 (syscall-list-default-options, syscall-list-default-condition)
18511 (syscall-list-includes): Define.
18512 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18513 list of ABIs and options and #if conditions for each ABI. Do not
18514 handle common syscalls between ABIs specially.
18515 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18517 (syscall-list-variants, syscall-list-32bit-options)
18518 (syscall-list-32bit-condition, syscall-list-64bit-options)
18519 (syscall-list-64bit-condition): Define.
18520 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18521 (syscall-list-variants, syscall-list-32bit-options)
18522 (syscall-list-32bit-condition, syscall-list-64bit-options)
18523 (syscall-list-64bit-condition): Define.
18524 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18526 (syscall-list-variants, syscall-list-32bit-options)
18527 (syscall-list-32bit-condition, syscall-list-64bit-options)
18528 (syscall-list-64bit-condition): Define.
18529 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18531 (syscall-list-variants, syscall-list-32bit-options)
18532 (syscall-list-32bit-condition, syscall-list-64bit-options)
18533 (syscall-list-64bit-condition): Define.
18535 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18537 * locale/iso-639.def: Add brx entry.
18540 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18541 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18543 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18544 __feraiseexcept_renamed.
18546 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18549 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18550 EPOLLET with unsigned values.
18551 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18554 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18555 to large cancellation.
18556 * math/s_cacoshf.c: Likewise.
18557 * math/s_cacoshl.c: Likewise.
18559 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18563 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18564 * math/s_cacoshf.c: Likewise.
18565 * math/s_cacoshl.c: Likewise.
18567 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18570 * iconv/gconv.h: Define __GCONV_SWAP.
18571 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18572 * iconvdata/utf-16.c: Likewise.
18573 * iconvdata/utf-32.c: Likewise.
18575 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18578 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18579 numerator after shifting it by one limb.
18581 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18583 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18584 under [__USE_EXTERN_INLINES].
18586 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18589 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18591 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18593 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18594 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18596 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18597 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18598 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18599 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18600 for strncasecmp/strncasecmp_l compilation.
18601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18602 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18604 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18607 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18610 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18613 * time/tzfile.c (__tzfile_read): Check values from file header.
18615 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18617 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18618 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18619 * powerpc/powerpc32/dl-start.S: Likewise.
18620 * powerpc/powerpc32/elf/start.S: Likewise.
18621 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18622 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18623 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18624 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18625 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18626 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18627 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18628 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18629 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18630 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18631 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18632 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18633 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18634 * powerpc/powerpc32/memset.S: Likewise.
18635 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18636 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18637 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18638 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18639 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18640 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18641 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18642 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18643 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18644 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18645 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18646 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18647 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18649 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18651 * math/libm-test.inc: Added more nearbyint tests.
18652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18657 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18659 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18662 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18664 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18665 Add wcscpy-ssse3 wcscpy-c.
18666 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18667 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18668 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18669 * sysdeps/x86_64/wcschr.S: New file.
18670 * sysdeps/x86_64/wcsrchr.S: New file.
18671 * string/test-strcmp.c: Remove checking of wcscmp function for
18673 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18674 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18675 wcsrchr-sse2 wcsrchr-c.
18676 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18677 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18678 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18679 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18680 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18681 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18682 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18683 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18684 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18685 * wcsmbc/wcschr.c (WCSCHR): New macro.
18687 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18689 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18690 * wcsmbs/test-wcsrchr.c: New file.
18691 * string/test-strrchr.c: Add wcsrchr support.
18693 * wcsmbs/test-wcscpy.c: New file.
18694 * string/test-strcpy.c: Add wcscpy support.
18697 2011-12-10 Ulrich Drepper <drepper@gmail.com>
18699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18702 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18705 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18707 2011-12-04 Ulrich Drepper <drepper@gmail.com>
18709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18710 Minor optimizations.
18712 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18713 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18714 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18716 2011-12-03 Ulrich Drepper <drepper@gmail.com>
18718 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18719 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18720 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18721 for gcc to avoid warnings.
18722 * inet/Makefile (tests): Add tst-checks.
18723 * inet/tst-checks.c: New file.
18725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18728 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18731 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18732 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18734 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18736 2011-12-02 Ulrich Drepper <drepper@gmail.com>
18738 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18741 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18743 2011-11-29 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18746 conditional on GCC version.
18747 (__arch_compare_and_exchange_val_8_acq)
18748 (__arch_compare_and_exchange_val_16_acq)
18749 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18750 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18751 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18753 2011-12-02 Joseph Myers <joseph@codesourcery.com>
18755 * sysdeps/sh/backtrace.c: New file.
18757 2011-12-02 Andreas Schwab <schwab@redhat.com>
18759 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18762 2011-12-01 Andreas Schwab <schwab@redhat.com>
18764 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18765 falling back to utime.
18767 2011-11-30 Andreas Schwab <schwab@redhat.com>
18769 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18770 expectations for float.
18772 2011-11-29 Andreas Schwab <schwab@redhat.com>
18774 * locale/weight.h (findidx): Add parameter len.
18775 * locale/weightwc.h (findidx): Likewise.
18776 * posix/fnmatch_loop.c (FCT): Adjust caller.
18777 * posix/regcomp.c (build_equiv_class): Likewise.
18778 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18779 * posix/regexec.c (check_node_accept_bytes): Likewise.
18780 * string/strcoll_l.c (STRCOLL): Likewise.
18781 * string/strxfrm_l.c (STRXFRM): Likewise.
18783 2011-11-17 Ulrich Drepper <drepper@gmail.com>
18785 * Makefile.in: Remove CVSOPT handling.
18786 * configure.in: Remove use of AC_REVISION.
18787 * iconvdata/Makefile (distribute): No need to filter out CVS.
18788 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18791 2011-11-16 Andreas Schwab <schwab@redhat.com>
18793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18794 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18795 [USE_AS_STRNCASECMP_L]: Likewise.
18796 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18797 NO_TLS_DIRECT_SEG_REFS.
18798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18799 Fix argument offsets for non-PIC.
18800 [USE_AS_STRNCASECMP_L]: Likewise.
18801 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18802 NO_TLS_DIRECT_SEG_REFS.
18804 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18806 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18808 * locale/loadlocale.c (_nl_load_locale): Likewise.
18810 2011-11-15 Andreas Schwab <schwab@redhat.com>
18812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18813 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18815 (SYSCALL_GETTIME): Set errno on error.
18817 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18818 count references to noai6ai_cached.
18820 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18822 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18824 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18825 FD_CLOEXEC for /proc/self/maps.
18827 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18828 FD_CLOEXEC for /proc/meminfo.
18830 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18833 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18834 FD_CLOEXEC for given file.
18836 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18838 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18839 FD_CLOEXEC for /etc/hosts.
18840 (_gethtent): Likewise.
18842 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18844 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18845 cancellation and set FD_CLOEXEC for /etc/netgroup.
18847 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18848 reading /etc/publickey.
18850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18851 allow cancellation when reading /etc/group.
18853 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18855 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18857 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18858 when using data file.
18860 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18862 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18863 (write_nis_obj): Use "c" and "e" in fopen.
18865 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18867 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18869 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18871 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18873 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18876 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18878 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18880 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18882 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18883 file parsing and set FD_CLOEXEC.
18885 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18887 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18889 2011-11-14 Andreas Schwab <schwab@redhat.com>
18891 * malloc/arena.c (arena_get2): Don't call reused_arena when
18892 _int_new_arena failed.
18894 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18896 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18897 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18900 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18902 to compile strcasecmp and strncasecmp.
18903 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18904 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18908 2011-11-13 Ulrich Drepper <drepper@gmail.com>
18910 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18911 locale-defines.sym to gen-as-const-headers.
18912 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18913 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18915 to compile strcasecmp and strncasecmp.
18916 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18917 strcasecmp_l and strncasecmp_l.
18918 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18919 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18920 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18921 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18922 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18923 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18924 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18925 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18926 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18927 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18928 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18930 2011-11-12 Ulrich Drepper <drepper@gmail.com>
18932 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18933 result of SYSDEP_GETTIME_CPU to retval.
18934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18935 parameter list to macro. Remove trailing semicolon. Adjust users.
18937 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18940 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18942 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18944 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18945 from unused variable.
18947 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18949 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18952 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18955 * sunrpc/rpc_prot.c (rejected): Fix case value.
18957 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18958 unsigned long long int to avoid warnings in shift.
18960 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18962 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18965 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18966 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18967 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18969 * nis/nis_table.c (nis_list): Use variable of correct type for
18970 result of __follow_path call.
18972 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18974 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18975 of math functions ceil, trunc, floor, round, and sqrt, when
18976 avaliable on the platform.
18977 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18979 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18980 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18981 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18983 2011-10-30 Marek Polacek <mpolacek@redhat.com>
18985 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18988 2011-11-11 Roland McGrath <roland@hack.frob.com>
18990 * include/unistd.h: Fix __readlink return type.
18991 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18993 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18995 * stdlib/ucontext.h: Undo last change for makecontext.
18997 2011-11-11 Andreas Schwab <schwab@redhat.com>
18999 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19001 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19002 * setjmp/setjmp.h: Mark functions as non-leaf.
19003 * setjmp/bits/setjmp2.h: Likewise.
19004 * stdlib/ucontext.h: Likewise.
19006 2011-11-10 Andreas Schwab <schwab@redhat.com>
19008 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19009 (reused_arena): Don't check arena limit.
19010 (arena_get2): Atomically check arena limit.
19012 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19014 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19015 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19020 2011-11-07 Andreas Schwab <schwab@redhat.com>
19022 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19023 handler when locking.
19025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19026 Fix size of allocated buffer.
19028 2011-11-04 Andreas Schwab <schwab@redhat.com>
19031 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19032 declarations for long double functions.
19033 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19035 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19037 2011-11-03 Andreas Schwab <schwab@redhat.com>
19039 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19042 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19045 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19049 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19051 * include/alloca.h (stackinfo_alloca_round): Define.
19052 (extend_alloca): Use it.
19053 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19054 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19057 * scripts/check-local-headers.sh: Ignore libaudit.h.
19059 * nscd/Makefile (extra-objs): Make recursively expanded.
19061 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19063 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19066 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19067 * posix/tst-rfc3484-2.c: Likewise.
19068 * posix/tst-rfc3484-3.c: Likewise.
19070 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19072 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19074 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19075 process_vm_writev from libc using GLIBC_2.15 version.
19077 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19079 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19081 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19084 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19087 * nss/getent.c (initgroups_keys): Show error message in case no group
19090 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19091 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19092 __bump_nl_timestamp.
19093 * nscd/connections (nscd_init): When host database is served open
19094 netlink socket and request notification about configuration changes.
19095 (main_loop_poll): Track netlink file descriptor and bump timestamp
19096 in case data becomes available.
19097 (main_loop_epoll): Likewise.
19098 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19099 (database_pers_head): Add extra_data fileds.
19100 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19102 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19105 in6ai data, call __free_in6ai.
19106 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19107 Add -DHAVE_NETLINK.
19108 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19109 interface information. Reuse previous data if netlink timestamp
19111 (__bump_nl_timestamp): New function.
19112 (__free_in6ai): New function.
19114 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19116 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19117 close_not_cancel_no_status here.
19118 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19120 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19123 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19126 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19127 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19128 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19130 2011-07-03 Andreas Jaeger <aj@suse.de>
19133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19134 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19135 * math/libm-test.inc (sin_test): Add test case.
19137 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19140 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19141 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19143 * elf/chroot_canon.c (chroot_canon): Cleanups.
19145 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19148 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19149 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19151 * string/test-strchr.c: Make usable for strchrnul testing.
19152 * string/test-strchrnul.c: New file.
19153 * string/Makefile (strop-tests): Add strchrnul.
19155 * po/it.po: Update from translation team.
19156 * po/es.po: Likewise.
19158 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19161 the three constants needed as parameters. Drop the others.
19162 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19163 __m128i_strloadu_tolower.
19164 Create and initialize variable zero and use it in all the places
19165 where _mm_setzero_si128 was used.
19167 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19168 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19169 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19170 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19172 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19175 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19177 __mpranred, __mptan.
19178 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19179 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19180 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19181 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19182 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19183 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19186 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19188 2011-10-28 Andreas Schwab <schwab@redhat.com>
19190 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19191 redefine if SHARED.
19192 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19195 wide char related routines to wcsmbs subdir.
19197 2011-10-27 Andreas Schwab <schwab@redhat.com>
19200 * misc/sys/cdefs.h (__THROWNL): Define.
19201 * posix/unistd.h: Use __THREADNL instead of __THREAD
19202 for memory synchronization functions.
19204 2011-10-26 Roland McGrath <roland@hack.frob.com>
19207 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19209 * manual/stdio.texi (Obstack Streams): Node removed.
19211 2011-10-26 Andreas Schwab <schwab@redhat.com>
19213 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19217 * math/math_private.h (math_force_eval): Allow non-addressable
19219 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19221 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19224 file is not needed.
19226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19228 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19229 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19233 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19235 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19236 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19237 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19238 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19240 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19241 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19243 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19244 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19245 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19246 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19251 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19252 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19253 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19255 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19256 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19259 place. Use VEX encoding when compiling for AVX.
19261 2011-10-25 Andreas Schwab <schwab@redhat.com>
19263 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19264 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19266 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19268 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19270 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19271 useless if() expression.
19272 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19273 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19282 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19284 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19285 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19286 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19288 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19290 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19292 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19294 2011-10-25 Andreas Schwab <schwab@redhat.com>
19296 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19298 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19300 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19302 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19303 .text section. Avoid duplicate constants.
19304 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19316 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19319 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19321 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19328 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19329 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19330 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19331 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19333 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19335 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19336 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19337 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19338 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19339 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19340 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19342 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19343 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19344 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19346 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19347 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19348 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19350 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19352 * sysdeps/x86_64/dla.h: Move to ...
19353 * sysdeps/x86_64/fpu/dla.h: ...here.
19354 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19355 situations. Use __builtin_fma only for gcc 4.6 and up.
19357 * config.make.in: Add have-mfma4 entry.
19358 * configure.in: Substitute libc_cv_cc_fma4.
19359 * math/Makefile (dbl-only-routines): Add sincostab.
19360 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19361 Use __sincostab not sincos.
19362 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19369 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19370 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19371 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19372 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19374 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19375 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19377 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19378 define aliases when function name is a macro.
19379 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19380 sysdeps/ieee754/dbl-64/sincos.tbl.
19381 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19382 fma4-enabled routines.
19383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19384 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19385 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19386 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19387 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19388 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19390 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19391 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19392 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19393 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19394 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19395 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19396 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19397 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19398 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19399 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19400 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19401 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19403 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19404 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19410 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19411 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19412 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19414 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19425 2011-10-24 Andreas Schwab <schwab@redhat.com>
19427 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19429 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19433 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19437 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19438 Remove unused variable magic_bits.
19439 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19441 * string/strnlen.c: Define and use STRNLEN macro.
19442 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19443 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19445 * wcsmbs/wcslen.c: Define and use WCSLEN.
19446 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19447 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19448 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19449 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19450 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19451 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19452 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19454 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19457 strnlen-sse2-no-bsf.
19458 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19460 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19461 Add strnlen support.
19462 (USE_AS_STRNLEN): New macro.
19463 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19465 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19466 * sysdeps/x86_64/wcslen.S: New file.
19468 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19471 XMM-moves are used for copying on small sizes.
19473 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19475 * wcsmbs/Makefile (strop-tests): Add wcschr.
19476 * wcsmbs/test-wcschr.c: New file.
19477 * string/test-strchr.c: Update.
19478 Add wcschr support.
19481 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19483 * wcsmbs/Makefile (strop-tests): Add wcslen.
19484 * wcsmbs/test-wcslen.c: New file.
19485 * string/test-strlen.c: Update.
19486 Add wcslen support.
19489 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19491 * po/it.po: Update from translation team.
19493 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19495 * sysdeps/x86_64/wcscmp.S: Update.
19496 Fix wrong comparison semantics.
19497 wcscmp shall use signed comparison not unsigned.
19498 Don't use substraction to avoid overflow bug.
19499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19500 * wcsmbc/wcscmp.c: Likewise.
19501 * string/test-strcmp.c: Likewise.
19502 Add new tests to check cases with negative values.
19504 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19506 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19507 * sysdeps/x86_64/dla.h: ...here. New file.
19508 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19518 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19521 __ynl_finite aliases.
19523 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19527 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19529 [DLA_FMA] (EMULV): Use DLA_FMA.
19530 [DLA_FMA] (MUL12): Use EMULV.
19531 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19532 that are not needed.
19533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/e_pow.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-22 Andreas Schwab <schwab@linux-m68k.org>
19543 * math/s_nan.c: Undef __nan.
19544 * math/s_nanf.c: Undef __nanf.
19545 * math/s_nanl.c: Undef __nanl.
19546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19549 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19551 * math/s_catan.c: Add branch predictions.
19552 * math/s_catanf.c: Likewise.
19553 * math/s_catanh.c: Likewise.
19554 * math/s_catanhf.c: Likewise.
19555 * math/s_catanhl.c: Likewise.
19556 * math/s_catanl.c: Likewise.
19557 * math/s_cexp.c: Likewise.
19558 * math/s_cexpf.c: Likewise.
19559 * math/s_cexpl.c: Likewise.
19560 * math/s_clog.c: Likewise.
19561 * math/s_clog10.c: Likewise.
19562 * math/s_clog10f.c: Likewise.
19563 * math/s_clog10l.c: Likewise.
19564 * math/s_clogf.c: Likewise.
19565 * math/s_clogl.c: Likewise.
19566 * math/s_csqrt.c: Likewise.
19567 * math/s_csqrtf.c: Likewise.
19568 * math/s_csqrtl.c: Likewise.
19569 * math/s_ctanf.c: Likewise.
19570 * math/s_ctanh.c: Likewise.
19571 * math/s_ctanhf.c: Likewise.
19572 * math/s_ctanhl.c: Likewise.
19573 * math/s_ctanl.c: Likewise.
19575 * math/math_private.h: Define __nan, __nanf, __nanl.
19576 * math/s_cacosh.c: Include <math_private.h>.
19577 * math/s_cacoshl.c: Likewise.
19578 * math/s_casinh.c: Likewise.
19579 * math/s_casinhf.c: Likewise.
19580 * math/s_casinhl.c: Likewise.
19581 * math/s_ccos.c: Rely entire on ccosh.
19582 * math/s_ccosf.c: Rely entire on ccoshf.
19583 * math/s_ccosl.c: Rely entirely on ccoshl.
19584 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19585 Remove tests for FE_INVALID.
19586 * math/s_ccoshf.c: Likewise.
19587 * math/s_ccoshl.c: Likewise.
19588 * math/s_csin.c: Likewise.
19589 * math/s_csinf.c: Likewise.
19590 * math/s_csinh.c Likewise.
19591 * math/s_csinhf.c: Likewise.
19592 * math/s_csinhl.c: Likewise.
19593 * math/s_csinl.c: Likewise.
19594 * math/s_ctan.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19596 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19599 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19602 compilation problems.
19604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19607 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19609 * sysdeps/i386/configure.in: Test for -mfma4 option.
19610 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19611 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19612 COMMON_CPUID_INDEX_80000001.
19613 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19614 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19615 use it if FMA3 is not supported.
19616 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19618 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19619 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19621 2011-10-20 Andreas Schwab <schwab@redhat.com>
19624 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19625 it would create a cycle with a link time dependency.
19627 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19629 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19631 * string/Makefile (strop-tests): Add rawmemchr.
19632 * string/test-rawmemchr.c: New file.
19634 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19636 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19637 when compiling str{,n}casecmp and when AVX is available. Hook up
19638 new optimized code in initializers.
19640 2011-10-19 Andreas Schwab <schwab@redhat.com>
19642 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19643 __feraiseexcept instead of feraiseexcept.
19645 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19647 * math/math_private.h: Define defaults for libc_fetestexcept and
19649 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19650 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19651 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19654 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19655 libc_fetestexcept and libc_feupdateenv.
19657 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19658 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19659 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19660 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19661 libc_feholdexcept_setround.
19663 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19664 Add s_nearbyint-c and s_nearbyintf-c.
19665 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19666 nearbyintf inlines.
19667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19668 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19669 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19670 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19672 * math/math_private.h: Define defaults for libc_fegetround,
19673 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19674 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19675 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19677 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19678 standard functions.
19679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19680 Remove comments and hacks for old compiler versions.
19681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19682 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19683 libc_feholdexceptl.
19685 2011-10-18 Andreas Schwab <schwab@redhat.com>
19687 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19688 (__feraiseexcept_renamed): Add __NTH.
19689 (feraiseexcept): Add __NTH. Rename local variables to fix
19690 namespace violations.
19692 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19694 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19698 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19699 recently added interfaces.
19700 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19702 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19703 about macro parameter expansion.
19705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19706 __NO_MATH_INLINES is defined. Cleanups.
19708 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19709 and __floorf is target has SSE4.1.
19710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19711 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19712 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19715 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19717 (floorf): Likewise.
19719 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19721 2011-10-17 Andreas Schwab <schwab@redhat.com>
19723 * misc/sys/cdefs.h: Fix last change.
19725 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19728 2011-10-16 Ulrich Drepper <drepper@gmail.com>
19730 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19732 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19741 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19742 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19743 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19744 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19745 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19746 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19747 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19748 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19749 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19750 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19751 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19752 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19753 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19755 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19756 ceil, ceilf, floor, floorf.
19758 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19759 Perform IRELATIVE relocations last.
19761 * elf/do-rel.h: Add another parameter nrelative, replacing the
19762 local variable with the same name. Change name of the function
19763 to end in Rel or Rela (uppercase).
19764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19765 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19766 elf_dynamic_do_##reloc function.
19768 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19770 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19771 is sufficient, at least on modern CPUs.
19773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19775 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19776 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19778 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19780 * math/bits/math-finite.h: Add entries for exp.
19781 * math/e_expl.c: Add __*_finite alias.
19782 * sysdeps/i386/fpu/e_exp.S: Likewise.
19783 * sysdeps/i386/fpu/e_expf.S: Likewise.
19784 * sysdeps/i386/fpu/e_expl.c: Likewise.
19785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19786 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19789 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19793 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19794 is sufficient, at least on modern CPUs.
19796 * ctype/ctype-info.c (__ctype_init): Define.
19797 * include/ctype.h (__ctype_init): Declare.
19798 (__ctype_b_loc): The variable is always initialized.
19799 (__ctype_toupper_loc): Likewise.
19800 (__ctype_tolower_loc): Likewise.
19801 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19802 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19804 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19806 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19808 * configure.in: Also look in $cxxmachine/include for C++ system
19811 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19813 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19814 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19815 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19816 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19818 (USE_AS_WMEMCMP): New macro.
19820 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19821 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19822 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19823 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19825 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19826 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19827 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19828 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19829 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19831 (USE_AS_WMEMCMP): New macro.
19832 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19833 * sysdeps/string/test-memcmp.c: Update.
19834 Fix simple_wmemcmp.
19836 * wcsmbs/wmemcmp.c: Update.
19837 (WMEMCMP): New macro.
19840 2011-10-12 Andreas Jaeger <aj@suse.de>
19843 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19845 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19847 * libio/iofwide.c (do_length): Avoid warning.
19849 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19851 2011-10-14 Ulrich Drepper <drepper@gmail.com>
19853 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19855 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19856 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19857 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19858 * sysdeps/i386/i686/fpu/e_log.S: New file.
19859 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19860 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19862 * ctype/ctype.h: Add support for inlined isXXX functions when
19863 compiling C++ code.
19865 2011-10-14 Andreas Schwab <schwab@redhat.com>
19867 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19869 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19871 2011-10-13 Roland McGrath <roland@hack.frob.com>
19874 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19876 2011-10-13 Andreas Schwab <schwab@redhat.com>
19878 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19879 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19882 * sysdeps/x86_64/memrchr.S: Check for zero size.
19884 * string/stratcliff.c: Add memrchr tests.
19886 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19889 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19890 rawmemchr-sse2 rawmemchr-sse2-bsf.
19891 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19892 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19893 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19894 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19895 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19896 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19897 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19898 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19899 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19900 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19901 * string/memrchr.c (MEMRCHR): New macro.
19903 2011-10-12 Ulrich Drepper <drepper@gmail.com>
19905 Add integration with gcc's -ffinite-math-only and optimize wrapper
19907 * Versions.def: Define GLIBC_2.15 version for libm.
19908 * math/Makefile (headers): Add bits/math-finite.h.
19909 * math/bits/math-finite.h: New file.
19910 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19911 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19912 * math/e_acoshl.c: Add __*_finite alias.
19913 * math/e_acosl.c: Likewise.
19914 * math/e_asinl.c: Likewise.
19915 * math/e_atan2l.c: Likewise.
19916 * math/e_atanhl.c: Likewise.
19917 * math/e_coshl.c: Likewise.
19918 * math/e_exp10.c: Likewise.
19919 * math/e_exp10f.c: Likewise.
19920 * math/e_exp10l.c: Likewise.
19921 * math/e_exp2l.c: Likewise.
19922 * math/e_fmodl.c: Likewise.
19923 * math/e_gammal_r.c: Likewise.
19924 * math/e_hypotl.c: Likewise.
19925 * math/e_j0l.c: Likewise.
19926 * math/e_j1l.c: Likewise.
19927 * math/e_jnl.c: Likewise.
19928 * math/e_lgammal_r.c: Likewise.
19929 * math/e_log10l.c: Likewise.
19930 * math/e_log2l.c: Likewise.
19931 * math/e_logl.c: Likewise.
19932 * math/e_powl.c: Likewise.
19933 * math/e_sinhl.c: Likewise.
19934 * math/e_sqrtl.c: Likewise.
19935 * math/e_scalb.c: Completely rewritten and optimized.
19936 * math/e_scalbf.c: Likewise.
19937 * math/e_scalbl.c: Likewise.
19938 * math/w_acos.c: Likewise.
19939 * math/w_acosf.c: Likewise.
19940 * math/w_acosl.c: Likewise.
19941 * math/w_acosh.c: Likewise.
19942 * math/w_acoshf.c: Likewise.
19943 * math/w_acoshl.c: Likewise.
19944 * math/w_asin.c: Likewise.
19945 * math/w_asinf.c: Likewise.
19946 * math/w_asinl.c: Likewise.
19947 * math/w_atan2.c: Likewise.
19948 * math/w_atan2f.c: Likewise.
19949 * math/w_atan2l.c: Likewise.
19950 * math/w_atanh.c: Likewise.
19951 * math/w_atanhf.c: Likewise.
19952 * math/w_atanhl.c: Likewise.
19953 * math/w_exp10.c: Likewise.
19954 * math/w_exp10f.c: Likewise.
19955 * math/w_exp10l.c: Likewise.
19956 * math/w_fmod.c: Likewise.
19957 * math/w_fmodf.c: Likewise.
19958 * math/w_fmodl.c: Likewise.
19959 * math/w_j0.c: Likewise.
19960 * math/w_j0f.c: Likewise.
19961 * math/w_j0l.c: Likewise.
19962 * math/w_j1.c: Likewise.
19963 * math/w_j1f.c: Likewise.
19964 * math/w_j1l.c: Likewise.
19965 * math/w_jn.c: Likewise.
19966 * math/w_jnf.c: Likewise.
19967 * math/w_log.c: Likewise.
19968 * math/w_logf.c: Likewise.
19969 * math/w_logl.c: Likewise.
19970 * math/w_log10.c: Likewise.
19971 * math/w_log10f.c: Likewise.
19972 * math/w_log10l.c: Likewise.
19973 * math/w_log2.c: Likewise.
19974 * math/w_log2f.c: Likewise.
19975 * math/w_log2l.c: Likewise.
19976 * math/w_pow.c: Likewise.
19977 * math/w_powf.c: Likewise.
19978 * math/w_powl.c: Likewise.
19979 * math/w_remainder.c: Likewise.
19980 * math/w_remainderf.c: Likewise.
19981 * math/w_remainderl.c: Likewise.
19982 * math/w_scalb.c: Likewise.
19983 * math/w_scalbf.c: Likewise.
19984 * math/w_scalbl.c: Likewise.
19985 * math/w_sqrt.c: Likewise.
19986 * math/w_sqrtf.c: Likewise.
19987 * math/w_sqrtl.c: Likewise.
19988 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19989 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19991 * math/math_private.h: Declare __kernel_standard_f.
19992 * math/w_cosh.c: Remove cruft and optimize a bit.
19993 * math/w_coshf.c: Likewise.
19994 * math/w_coshl.c: Likewise.
19995 * math/w_exp2.c: Likewise.
19996 * math/w_exp2f.c: Likewise.
19997 * math/w_exp2l.c: Likewise.
19998 * math/w_hypot.c: Likewise.
19999 * math/w_hypotf.c: Likewise.
20000 * math/w_hypotl.c: Likewise.
20001 * math/w_lgamma.c: Likewise.
20002 * math/w_lgamma_r.c: Likewise.
20003 * math/w_lgammaf.c: Likewise.
20004 * math/w_lgammaf_r.c: Likewise.
20005 * math/w_lgammal.c: Likewise.
20006 * math/w_lgammal_r.c: Likewise.
20007 * math/w_sinh.c: Likewise.
20008 * math/w_sinhf.c: Likewise.
20009 * math/w_sinhl.c: Likewise.
20010 * math/w_tgamma.c: Likewise.
20011 * math/w_tgammaf.c: Likewise.
20012 * math/w_tgammal.c: Likewise.
20013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20015 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20016 Minor optimizations. Pretty printing. Remove cruft.
20017 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20021 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20022 * sysdeps/i386/fpu/e_asin.S: Likewise.
20023 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20024 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20025 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20026 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20029 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20030 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20031 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20032 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20033 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20034 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20035 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20036 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20037 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20038 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20039 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20040 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20041 * sysdeps/i386/fpu/e_log.S: Likewise.
20042 * sysdeps/i386/fpu/e_log10.S: Likewise.
20043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20044 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20045 * sysdeps/i386/fpu/e_log2.S: Likewise.
20046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20048 * sysdeps/i386/fpu/e_logf.S: Likewise.
20049 * sysdeps/i386/fpu/e_logl.S: Likewise.
20050 * sysdeps/i386/fpu/e_pow.S: Likewise.
20051 * sysdeps/i386/fpu/e_powf.S: Likewise.
20052 * sysdeps/i386/fpu/e_powl.S: Likewise.
20053 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20054 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20055 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20056 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20057 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20059 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20060 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20061 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20065 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20066 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20067 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20068 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20079 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20083 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20084 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20085 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20086 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20088 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20089 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20090 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20091 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20092 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20093 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20094 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20095 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20096 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20097 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20098 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20099 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20100 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20101 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20102 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20104 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20108 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20109 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20112 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20115 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20117 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20118 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20119 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20120 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20121 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20122 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20130 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20148 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20153 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20154 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20155 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20156 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20157 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20158 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20159 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20160 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20161 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20162 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20163 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20164 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20165 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20166 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20167 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20169 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20170 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20172 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20173 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20174 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20175 (__isnanf): Likewise.
20176 (__isinf_ns): Likewise.
20177 (__isinf_nsf): Likewise.
20178 (__finite): Likewise.
20179 (__finitef): Likewise.
20180 (__ieee754_sqrt): Define as macro.
20181 (__ieee754_sqrtf): Define as macro.
20182 (__ieee754_sqrtl): Define as macro.
20183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20185 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20186 __FINITE_MATH_ONLY__ consistent.
20187 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20189 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20191 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20194 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20196 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20198 * po/ja.po: Update from translation team.
20200 2011-10-08 Roland McGrath <roland@hack.frob.com>
20202 * locale/programs/locarchive.c (prepare_address_space): New function.
20203 (create_archive, enlarge_archive, open_archive): Use it.
20205 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20206 inside [SHARED], where it is used.
20208 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20210 * nss/getent.c (netgroup_keys): Remove unused variable.
20211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20213 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20215 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20216 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20218 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20219 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20220 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20221 * math/Makefile (libm-calls): Add s_isinf_ns.
20222 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20223 * math/multc3.c: Likewise.
20224 * math/s_casin.c: Likewise.
20225 * math/s_casinf.c: Likewise.
20226 * math/s_casinl.c: Likewise.
20227 * math/s_ccos.c: Likewise.
20228 * math/s_ccosf.c: Likewise.
20229 * math/s_ccosl.c: Likewise.
20230 * math/s_ctan.c: Likewise.
20231 * math/s_ctanf.c: Likewise.
20232 * math/s_ctanh.c: Likewise.
20233 * math/s_ctanhf.c: Likewise.
20234 * math/s_ctanhl.c: Likewise.
20235 * math/s_ctanl.c: Likewise.
20236 * math/w_fmod.c: Likewise.
20237 * math/w_fmodf.c: Likewise.
20238 * math/w_fmodl.c: Likewise.
20239 * math/w_remainder.c: Likewise.
20240 * math/w_remainderf.c: Likewise.
20241 * math/w_remainderl.c: Likewise.
20242 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20243 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20246 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20247 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20248 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20249 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20251 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20253 * stdio-common/printf_fphex.c: Likewise.
20254 * stdio-common/printf_size.c: Likewise.
20256 * math/e_exp10.c: Include math_private.h using <...> not "...".
20257 * math/e_exp10f.c: Likewise.
20258 * math/e_exp10l.c: Likewise.
20259 * math/e_exp2l.c: Likewise.
20260 * math/e_j0l.c: Likewise.
20261 * math/e_j1l.c: Likewise.
20262 * math/e_jnl.c: Likewise.
20263 * math/e_lgammal_r.c: Likewise.
20264 * math/e_rem_pio2l.c: Likewise.
20265 * math/e_scalb.c: Likewise.
20266 * math/e_scalbf.c: Likewise.
20267 * math/e_scalbl.c: Likewise.
20268 * math/k_cosl.c: Likewise.
20269 * math/k_sinl.c: Likewise.
20270 * math/k_tanl.c: Likewise.
20271 * math/s_cacoshf.c: Likewise.
20272 * math/s_catan.c: Likewise.
20273 * math/s_catanf.c: Likewise.
20274 * math/s_catanh.c: Likewise.
20275 * math/s_catanhf.c: Likewise.
20276 * math/s_catanhl.c: Likewise.
20277 * math/s_catanl.c: Likewise.
20278 * math/s_ccosh.c: Likewise.
20279 * math/s_ccoshf.c: Likewise.
20280 * math/s_ccoshl.c: Likewise.
20281 * math/s_cexp.c: Likewise.
20282 * math/s_cexpf.c: Likewise.
20283 * math/s_cexpl.c: Likewise.
20284 * math/s_clog.c: Likewise.
20285 * math/s_clog10.c: Likewise.
20286 * math/s_clog10f.c: Likewise.
20287 * math/s_clog10l.c: Likewise.
20288 * math/s_clogf.c: Likewise.
20289 * math/s_clogl.c: Likewise.
20290 * math/s_csin.c: Likewise.
20291 * math/s_csinf.c: Likewise.
20292 * math/s_csinh.c: Likewise.
20293 * math/s_csinhf.c: Likewise.
20294 * math/s_csinhl.c: Likewise.
20295 * math/s_csinl.c: Likewise.
20296 * math/s_csqrt.c: Likewise.
20297 * math/s_csqrtf.c: Likewise.
20298 * math/s_csqrtl.c: Likewise.
20299 * math/s_ctan.c: Likewise.
20300 * math/s_ctanf.c: Likewise.
20301 * math/s_ctanh.c: Likewise.
20302 * math/s_ctanhf.c: Likewise.
20303 * math/s_ctanhl.c: Likewise.
20304 * math/s_ctanl.c: Likewise.
20305 * math/s_ldexp.c: Likewise.
20306 * math/s_ldexpf.c: Likewise.
20307 * math/s_ldexpl.c: Likewise.
20308 * math/s_significand.c: Likewise.
20309 * math/s_significandf.c: Likewise.
20310 * math/s_significandl.c: Likewise.
20311 * math/w_acos.c: Likewise.
20312 * math/w_acosf.c: Likewise.
20313 * math/w_acosh.c: Likewise.
20314 * math/w_acoshf.c: Likewise.
20315 * math/w_acoshl.c: Likewise.
20316 * math/w_acosl.c: Likewise.
20317 * math/w_asin.c: Likewise.
20318 * math/w_asinf.c: Likewise.
20319 * math/w_asinl.c: Likewise.
20320 * math/w_atan2.c: Likewise.
20321 * math/w_atan2f.c: Likewise.
20322 * math/w_atan2l.c: Likewise.
20323 * math/w_atanh.c: Likewise.
20324 * math/w_atanhf.c: Likewise.
20325 * math/w_atanhl.c: Likewise.
20326 * math/w_cosh.c: Likewise.
20327 * math/w_coshf.c: Likewise.
20328 * math/w_coshl.c: Likewise.
20329 * math/w_dremf.c: Likewise.
20330 * math/w_exp10.c: Likewise.
20331 * math/w_exp10f.c: Likewise.
20332 * math/w_exp10l.c: Likewise.
20333 * math/w_exp2.c: Likewise.
20334 * math/w_exp2f.c: Likewise.
20335 * math/w_fmod.c: Likewise.
20336 * math/w_fmodf.c: Likewise.
20337 * math/w_fmodl.c: Likewise.
20338 * math/w_hypot.c: Likewise.
20339 * math/w_hypotf.c: Likewise.
20340 * math/w_hypotl.c: Likewise.
20341 * math/w_j0.c: Likewise.
20342 * math/w_j0f.c: Likewise.
20343 * math/w_j0l.c: Likewise.
20344 * math/w_j1.c: Likewise.
20345 * math/w_j1f.c: Likewise.
20346 * math/w_j1l.c: Likewise.
20347 * math/w_jn.c: Likewise.
20348 * math/w_jnf.c: Likewise.
20349 * math/w_jnl.c: Likewise.
20350 * math/w_lgamma.c: Likewise.
20351 * math/w_lgamma_r.c: Likewise.
20352 * math/w_lgammaf.c: Likewise.
20353 * math/w_lgammaf_r.c: Likewise.
20354 * math/w_lgammal.c: Likewise.
20355 * math/w_lgammal_r.c: Likewise.
20356 * math/w_log.c: Likewise.
20357 * math/w_log10.c: Likewise.
20358 * math/w_log10f.c: Likewise.
20359 * math/w_log10l.c: Likewise.
20360 * math/w_log2.c: Likewise.
20361 * math/w_log2f.c: Likewise.
20362 * math/w_log2l.c: Likewise.
20363 * math/w_logf.c: Likewise.
20364 * math/w_logl.c: Likewise.
20365 * math/w_pow.c: Likewise.
20366 * math/w_powf.c: Likewise.
20367 * math/w_powl.c: Likewise.
20368 * math/w_remainder.c: Likewise.
20369 * math/w_remainderf.c: Likewise.
20370 * math/w_remainderl.c: Likewise.
20371 * math/w_scalb.c: Likewise.
20372 * math/w_scalbf.c: Likewise.
20373 * math/w_scalbl.c: Likewise.
20374 * math/w_sinh.c: Likewise.
20375 * math/w_sinhf.c: Likewise.
20376 * math/w_sinhl.c: Likewise.
20377 * math/w_sqrt.c: Likewise.
20378 * math/w_sqrtf.c: Likewise.
20379 * math/w_sqrtl.c: Likewise.
20380 * math/w_tgamma.c: Likewise.
20381 * math/w_tgammaf.c: Likewise.
20382 * math/w_tgammal.c: Likewise.
20384 * po/ja.po: Update from translation team.
20386 2011-09-29 Andreas Jaeger <aj@suse.de>
20389 * sunrpc/netname.c (netname2host): Fix logic.
20393 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20395 * math/w_remainder.c (__remainder): Likewise.
20396 * math/w_remainderf.c (__remainderf): Likewise.
20397 * math/libm-test.inc (remainder_test): Add test cases.
20399 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20401 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20404 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20406 * string/test-memcmp.c: Avoid unncessary #defines.
20407 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20409 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20411 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20412 Use new sse2 version for core i3 - i7 as it's faster
20413 than sse42 version.
20414 (bit_Prefer_PMINUB_for_stringop): New.
20415 * sysdeps/x86_64/rawmemchr.S: Update.
20416 Replace with faster SSE2 version.
20417 * sysdeps/x86_64/memrchr.S: New file.
20418 * sysdeps/x86_64/memchr.S: Update.
20419 Replace with faster SSE2 version.
20421 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20423 * elf/dl-load.c (lose): Add cast to avoid warning.
20425 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20427 * po/ca.po: Update from translation team.
20429 * inet/getnetgrent_r.c: Hook up nscd.
20430 * nscd/Makefile (routines): Add nscd_netgroup.
20431 (nscd-modules): Add netgroupcache.
20432 (CFLAGS-netgroupcache.c): Define.
20433 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20434 (cache_search): Add const to second parameter.
20435 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20437 (dbs): Add netgrdb entry.
20438 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20439 (verify_persistent_db): Handle netgrdb.
20440 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20441 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20443 (netgroup_response_header): Define.
20444 (innetgroup_response_header): Define.
20445 (datahead): Add netgroup_response_header and innetgroup_response_header
20447 * nscd/nscd.conf: Add entries for netgroup cache.
20448 * nscd/nscd.h (dbtype): Add netgrdb.
20449 (_PATH_NSCD_NETGROUP_DB): Define.
20450 (netgroup_iov_disabled): Declare.
20451 (xmalloc, xcalloc, xrealloc): Move declarations here.
20452 (cache_search): Adjust prototype.
20453 Add netgroup-related prototypes.
20454 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20455 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20456 (__nscd_innetgr): Declare.
20457 * nscd/selinux.c (perms): Use access_vector_t as element type and
20458 add netgroup-related initializers.
20459 * nscd/netgroupcache.c: New file.
20460 * nscd/nscd_netgroup.c: New file.
20461 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20462 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20463 For four parameters use innetgr.
20464 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20465 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20466 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20467 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20469 * nscd/connections.c (register_traced_file): Don't register file
20470 for disabled databases.
20472 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20474 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20476 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20477 from tree and freeing node.
20479 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20481 * nss/nsswitch.c (__nss_database_lookup): Handle
20482 nss_parse_service_list out of memory case.
20484 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20486 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20487 out of memory case.
20489 2011-10-04 Andreas Schwab <schwab@redhat.com>
20491 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20492 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20494 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20495 elf_machine_rela, elf_machine_lazy_rel.
20496 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20497 (ELF_DYNAMIC_DO_REL): Likewise.
20498 (ELF_DYNAMIC_DO_RELA): Likewise.
20499 (ELF_DYNAMIC_RELOCATE): Likewise.
20500 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20501 to ELF_DYNAMIC_DO_REL.
20502 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20503 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20504 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20507 skip_ifunc, don't call ifunc function if non-zero.
20508 (elf_machine_rela): Likewise.
20509 (elf_machine_lazy_rel): Likewise.
20510 (elf_machine_lazy_rela): Likewise.
20511 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20512 (elf_machine_lazy_rel): Likewise.
20513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20515 (elf_machine_lazy_rel): Likewise.
20516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20518 (elf_machine_lazy_rel): Likewise.
20519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20520 (elf_machine_lazy_rel): Likewise.
20521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20522 (elf_machine_lazy_rel): Likewise.
20523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20524 (elf_machine_lazy_rel): Likewise.
20525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20526 (elf_machine_lazy_rel): Likewise.
20527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20528 (elf_machine_lazy_rel): Likewise.
20529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20530 (elf_machine_lazy_rel): Likewise.
20532 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20534 * nss/nss_files/files-init.c (_nss_files_init): Use static
20535 initialization for all the *_traced_file variables.
20537 2011-09-28 Andreas Schwab <schwab@redhat.com>
20539 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20541 2011-09-27 Roland McGrath <roland@hack.frob.com>
20544 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20546 2011-09-27 Andreas Schwab <schwab@redhat.com>
20548 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20549 Reread the line before reparsing it.
20551 2011-09-26 Andreas Schwab <schwab@redhat.com>
20553 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20555 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20556 Maxim Kuvyrkov <maxim@codesourcery.com>
20557 Joseph Myers <joseph@codesourcery.com>
20559 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20560 if needed for __stack_chk_guard.
20562 2011-09-19 Roland McGrath <roland@hack.frob.com>
20564 * sysdeps/posix/spawni.c (script_execute): Always define it.
20565 It will be optimized away if unused.
20566 (maybe_script_execute): New function.
20567 (__spawni): Call it.
20569 * Makerules: Don't include tls.make.
20570 (config-tls): Always set to thread.
20571 * tls.make.c: File removed.
20573 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20575 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20576 * config.make.in (CPPFLAGS-config): New substituted variable.
20578 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20583 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20584 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20586 2011-09-15 Roland McGrath <roland@hack.frob.com>
20588 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20589 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20591 (CALL_FAIL): Likewise.
20592 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20593 (CALL_FAIL): Macro removed.
20594 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20596 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20598 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20599 for __FINITE_MATH_ONLY__ == 1.
20601 2011-09-15 Andreas Schwab <schwab@redhat.com>
20603 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20604 __ieee754_sqrt instead of sqrt.
20605 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20606 __ieee754_sqrtf instead of sqrtf.
20607 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20608 __floorf instead of floorf.
20609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20610 __floorf, __truncf instead of floorf, truncf.
20612 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20614 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20616 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20617 __extern_always_inline.
20618 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20621 2011-09-14 Andreas Schwab <schwab@redhat.com>
20623 * elf/rtld.c (dl_main): Also relocate in dependency order when
20624 doing symbol dependency testing.
20626 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20629 Always define `refsym'.
20631 2011-09-13 Andreas Schwab <schwab@redhat.com>
20633 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20634 (__FD_ELT): Renamed from __FDELT.
20635 * misc/bits/select2.h (__FD_ELT): Likewise.
20636 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20637 __FD_MASK instead of __FDELT, __FDMASK.
20638 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20640 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20643 * elf/Makefile (gen-ldd): Fix pattern.
20645 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20646 (init_tls): Likewise.
20648 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20652 2011-09-12 Andreas Schwab <schwab@redhat.com>
20654 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20655 `struct cmsghdr *' instead of `void *'.
20656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20659 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20661 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20663 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20664 ldd_rewrite_script.
20666 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20668 * configure.in: Remove --with-tls option.
20669 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20670 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20671 out in case it is missing.
20672 * sysdeps/ia64/elf/configure.in: Likewise.
20673 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20674 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20675 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20676 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20677 * sysdeps/sh/elf/configure.in: Likewise.
20678 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20679 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20680 * sysdeps/x86_64/elf/configure.in: Likewise.
20681 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20682 * sysdeps/mach/hurd/tls.h: Likewise.
20685 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20688 * configure.in: Fix use of AC_INIT.
20690 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20692 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20694 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20696 * malloc/hooks.c: Likewise.
20699 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20700 variables statically.
20701 (narenas): Initialize.
20702 (list_lock): Initialize.
20703 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20704 initializtion of main_arena and list_lock. Small cleanups.
20705 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20706 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20707 Add initializers to main_arena and mp_.
20708 (malloc_state): Remove pagesize member. Change all users to use
20711 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20712 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20713 is always initialized.
20715 * malloc/malloc.c: Removed unused configurations and dead code.
20716 * malloc/arena.c: Likewise.
20717 * malloc/hooks.c: Likewise.
20718 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20720 * include/tls.h: Removed. USE___THREAD must always be defined.
20721 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20722 * elf/dl-libc.c: Likewise.
20723 * elf/dl-tsd.c: Likewise.
20724 * include/errno.h: Likewise.
20725 * include/netdb.h: Likewise.
20726 * include/resolv.h: Likewise.
20727 * inet/herrno-loc.c: Likewise.
20728 * inet/herrno.c: Likewise.
20729 * malloc/arena.c: Likewise.
20730 * malloc/hooks.c: Likewise.
20731 * malloc/malloc.c: Likewise.
20732 * resolv/res-state.c: Likewise.
20733 * resolv/res_libc.c: Likewise.
20734 * sysdeps/i386/dl-machine.h: Likewise.
20735 * sysdeps/ia64/dl-machine.h: Likewise.
20736 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20737 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20738 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20739 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20740 * sysdeps/sh/dl-machine.h: Likewise.
20741 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20742 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20743 * sysdeps/unix/i386/sysdep.S: Likewise.
20744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20745 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20755 * sysdeps/x86_64/dl-machine.h: Likewise.
20756 * tls.make.c: Likewise.
20758 * configure.in: Remove --with-__thread option. Make tests for
20759 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20760 tls_model attribute fail if no support is available. Remove
20762 * Makeconfig: Adjust for dropped configure option. All features are
20764 * Makerules: Likewise.
20765 * Versions.def: Likewise.
20766 * argp/argp-fmtstream.c: Likewise.
20767 * argp/argp-fmtstream.h: Likewise.
20768 * argp/argp-help.c: Likewise.
20769 * assert/assert.c: Likewise.
20770 * config.h.in: Likewise.
20771 * config.make.in: Likewise.
20772 * configure: Likewise.
20773 * configure.in: Likewise.
20774 * csu/Versions: Likewise.
20775 * csu/init.c: Likewise.
20776 * elf/tst-audit2.c: Likewise.
20777 * elf/tst-tls10.c: Likewise.
20778 * elf/tst-tls10.h: Likewise.
20779 * elf/tst-tls11.c: Likewise.
20780 * elf/tst-tls12.c: Likewise.
20781 * elf/tst-tls14.c: Likewise.
20782 * elf/tst-tlsmod11.c: Likewise.
20783 * elf/tst-tlsmod12.c: Likewise.
20784 * elf/tst-tlsmod13.c: Likewise.
20785 * elf/tst-tlsmod13a.c: Likewise.
20786 * elf/tst-tlsmod14a.c: Likewise.
20787 * elf/tst-tlsmod15b.c: Likewise.
20788 * elf/tst-tlsmod16a.c: Likewise.
20789 * elf/tst-tlsmod16b.c: Likewise.
20790 * elf/tst-tlsmod7.c: Likewise.
20791 * elf/tst-tlsmod8.c: Likewise.
20792 * elf/tst-tlsmod9.c: Likewise.
20793 * gmon/gmon.c: Likewise.
20794 * grp/fgetgrent_r.c: Likewise.
20795 * grp/putgrent.c: Likewise.
20796 * hurd/fopenport.c: Likewise.
20797 * include/libc-symbols.h: Likewise.
20798 * include/tls.h: Likewise.
20799 * intl/gettextP.h: Likewise.
20800 * intl/loadinfo.h: Likewise.
20801 * locale/global-locale.c: Likewise.
20802 * locale/localeinfo.h: Likewise.
20803 * mach/devstream.c: Likewise.
20804 * malloc/arena.c: Likewise.
20805 * malloc/set-freeres.c: Likewise.
20806 * misc/err.c: Likewise.
20807 * misc/getttyent.c: Likewise.
20808 * misc/mntent_r.c: Likewise.
20809 * posix/getopt.c: Likewise.
20810 * posix/wordexp.c: Likewise.
20811 * pwd/fgetpwent_r.c: Likewise.
20812 * resolv/Versions: Likewise.
20813 * resolv/res_hconf.c: Likewise.
20814 * shadow/fgetspent_r.c: Likewise.
20815 * shadow/putspent.c: Likewise.
20816 * stdio-common/printf_fphex.c: Likewise.
20817 * stdio-common/tmpfile.c: Likewise.
20818 * stdlib/abort.c: Likewise.
20819 * stdlib/fmtmsg.c: Likewise.
20820 * sunrpc/auth_unix.c: Likewise.
20821 * sunrpc/clnt_perr.c: Likewise.
20822 * sunrpc/clnt_tcp.c: Likewise.
20823 * sunrpc/clnt_udp.c: Likewise.
20824 * sunrpc/clnt_unix.c: Likewise.
20825 * sunrpc/openchild.c: Likewise.
20826 * sunrpc/svc_simple.c: Likewise.
20827 * sunrpc/svc_tcp.c: Likewise.
20828 * sunrpc/svc_udp.c: Likewise.
20829 * sunrpc/svc_unix.c: Likewise.
20830 * sunrpc/xdr.c: Likewise.
20831 * sunrpc/xdr_array.c: Likewise.
20832 * sunrpc/xdr_rec.c: Likewise.
20833 * sunrpc/xdr_ref.c: Likewise.
20834 * sunrpc/xdr_stdio.c: Likewise.
20836 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20838 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20840 2011-07-03 Andreas Jaeger <aj@suse.de>
20842 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20843 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20844 regenerate with gen-libm-tests.pl.
20846 2010-05-12 Petr Baudis <pasky@suse.cz>
20849 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20850 around j0() zero points by switching to j1().
20851 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20852 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20856 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20858 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20860 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20863 Patch in part by Pavel Roskin <proski@gnu.org>.
20866 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20868 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20869 Free memory block if necessary.
20872 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20873 be NULL. Don't lock in this case.
20875 2011-09-09 Roland McGrath <roland@hack.frob.com>
20877 * elf/elf.h (ELFOSABI_GNU): New macro.
20878 (ELFOSABI_LINUX): Define to that.
20880 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20882 * string/strncat.c (strncat): Undef the symbol in case it has been
20883 defined in bits/string.h.
20885 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20887 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20889 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20892 2011-08-17 Andreas Jaeger <aj@suse.de>
20894 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20896 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20897 Ian Lance Taylor <iant@google.com>
20899 * math/libm-test.inc (lround_test): New testcase.
20900 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20902 2011-09-08 Ulrich Drepper <drepper@gmail.com>
20904 * Makefile: Remove support for automatic cvs check-ins.
20905 * Makerules: Likewise.
20906 * config.make.in: Likewise.
20907 * configure.in: Likewise.
20908 * intl/Makefile: Likewise.
20909 * locale/Makefile: Likewise.
20910 * po/Makefile: Likewise.
20911 * posix/Makefile: Likewise.
20912 * sysdeps/gnu/Makefile: Likewise.
20913 * sysdeps/mach/hurd/Makefile: Likewise.
20914 * sysdeps/sparc/sparc32/Makefile: Likewise.
20917 * posix/Makefile (bug-regex32-ENV): Define.
20918 Patch by John Stanley <jpsinthemix@verizon.net>.
20920 * misc/Makefile (headers): Add bits/select2.h.
20921 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20922 * misc/bits/select2.h: New file.
20923 * include/bits/select2.h: New file.
20924 * debug/Makefile (routines): Add fdelt_chk.
20925 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20926 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20928 * debug/fdelt_chk.c: New file.
20930 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20931 * wcsmbs/test-wmemcmp.c: Likewise.
20932 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20933 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20935 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20937 * string/Makefile (strop-tests): Add memcmp.
20938 * string/test-wmemcmp.c: New file.
20939 * string/test-memcmp.c: Add wmemcmp support.
20941 2011-09-08 Roland McGrath <roland@hack.frob.com>
20944 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20947 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20948 garbage value in a __mach_port_mod_refs call in the cases of the
20949 task-self and thread-self ports.
20951 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20953 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20955 2011-09-08 Andreas Schwab <schwab@redhat.com>
20957 * elf/dl-load.c (lose): Check for non-null L.
20959 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20961 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20963 * elf/dl-libc.c (dlerror_run): Pass back error code from
20967 * elf/dl-load.c (lose): Free l_origin if it is valid.
20969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20975 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20976 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20978 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20981 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20982 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20983 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20984 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20985 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20986 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20987 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20988 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20989 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20991 2011-08-15 Alan Modra <amodra@gmail.com>
20994 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20995 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20996 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20997 ppc_mcount to static-only-routines.
20998 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21000 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21001 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21003 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21006 for finite and infinity parameters.
21008 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21011 and add nop instructions for throughput optimization.
21012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21014 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21017 aligned copy for power7 with vector-scalar instructions.
21018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21020 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21025 2011-09-07 Andreas Schwab <schwab@redhat.com>
21028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21031 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21034 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21035 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21036 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21039 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21042 Forgot to demangle the pointer.
21044 * sysdeps/i386/sysdep.h: Define atom_text_section.
21045 * sysdeps/x86_64/sysdep.h: Likewise.
21046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21047 section with atom_text_section.
21048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21049 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21052 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21056 already be defined. Change to take two parameters and don't assign
21057 result to variable. Adjust all users.
21058 Define INTERNAL_GETTIME if not already defined.
21059 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21062 HAVE_CLOCK_GETTIME_VSYSCALL.
21063 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21066 gettimeofday vsyscall, just use time.
21068 2011-09-06 Andreas Schwab <schwab@redhat.com>
21070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21073 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21075 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21079 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21081 syscall if possible.
21083 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21085 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21086 e_ident. Don't pass to find_mapsXX.
21087 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21089 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21092 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21093 * sysdeps/x86_64/multiarch/strchr.S: Update.
21094 Check bit_slow_BSF bit.
21095 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21096 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21097 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21099 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21102 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21104 (tryshell): Define.
21105 (__spawni): Change last parameter to be flag. Test
21106 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21107 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21108 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21109 * posix/spawni.c: Likewise.
21110 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21111 * posix/spawnp.c: Likewise. Change normal version to use
21112 SPAWN_XFLAGS_USE_PATH.
21113 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21114 SPAWN_XFLAGS_TRY_SHELL.
21117 * posix/glob.h: Remove gcc 1.x support.
21120 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21122 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21125 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21127 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21128 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21129 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21131 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21134 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21136 * sysdeps/x86_64/wcscmp.S: New file.
21138 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21139 wcscmp-c wcscmp-sse2
21140 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21141 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21142 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21143 * wcsmbs/wcscmp.c: Allow renaming.
21145 2011-09-05 David S. Miller <davem@davemloft.net>
21147 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21148 stack slot, rather than the struct return pointer slot.
21149 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21150 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21154 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21156 * po/ja.po: Update from translation team.
21159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21160 kernel in 64-bit binaries.
21162 2011-09-01 David S. Miller <davem@davemloft.net>
21164 * elf/elf.h (HWCAP_SPARC_*): Move to..
21165 * sysdeps/sparc/sysdep.h: this new file and add new values.
21166 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21167 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21168 _DL_HWCAP_COUNT to 24.
21169 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21171 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21172 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21173 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21175 instead of magic constants.
21176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21178 2011-08-31 David S. Miller <davem@davemloft.net>
21180 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21182 Reimplement to do errno handling inline.
21183 (SYSCALL_ERROR_HANDLER): New macro.
21184 (__SYSCALL_STRING): Do not do errno handling in asm.
21185 (__CLONE_SYSCALL_STRING): Delete.
21186 (__INTERNAL_SYSCALL_STRING): Delete.
21187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21188 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21189 (PSEUDO): Reimplement to do errno handling inline.
21190 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21191 (SYSCALL_ERROR_HANDLER): New macro.
21192 (__SYSCALL_STRING): Do not do errno handling in asm.
21193 (__CLONE_SYSCALL_STRING): Delete.
21194 (__INTERNAL_SYSCALL_STRING): Delete.
21195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21196 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21198 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21199 (inline_syscall*): Add 'err' argument.
21200 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21201 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21202 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21203 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21205 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21206 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21208 2011-08-30 Andreas Schwab <schwab@redhat.com>
21210 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21212 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21214 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21217 2011-08-24 David S. Miller <davem@davemloft.net>
21219 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21221 2011-08-24 Andreas Schwab <schwab@redhat.com>
21223 * elf/Makefile: Add rules to build and run unload8 test.
21224 * elf/unload8.c: New file.
21225 * elf/unload8mod1.c: New file.
21226 * elf/unload8mod1x.c: New file.
21227 * elf/unload8mod2.c: New file.
21228 * elf/unload8mod3.c: New file.
21230 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21233 2011-08-23 David S. Miller <davem@davemloft.net>
21235 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21236 subtract stack bias.
21237 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21238 %sp not %fp in calculations.
21239 (_JMPBUF_UNWINDS_ADJ): Likewise.
21241 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21242 (aio_suspend): Call it to force an exception region around the
21243 AIO_MISC_WAIT() invocation.
21245 2011-08-23 Andreas Schwab <schwab@redhat.com>
21247 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21250 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21252 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21254 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21255 and <dl-machine.h>.
21256 (Elf64_FuncDesc): Remove.
21258 2011-08-22 David S. Miller <davem@davemloft.net>
21260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21261 sigaltstack check, add missing cfi directives.
21262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21263 missing cfi directives, and sigaltstack handling.
21265 2011-08-16 Andreas Schwab <schwab@redhat.com>
21268 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21269 object is seen twice.
21270 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21272 * elf/Makefile (distribute): Add tst-initorder2.c.
21273 (tests): Add tst-initorder2.
21274 (modules-names): Add tst-initorder2a tst-initorder2b
21275 tst-initorder2c tst-initorder2d. Add rules to build them.
21276 ($(objpfx)tst-initorder2.out): New rule.
21277 * elf/tst-initorder2.c: New file.
21278 * elf/tst-initorder2.exp: New file.
21280 2011-08-22 Andreas Schwab <schwab@redhat.com>
21282 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21284 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21285 dependencies back to end of function.
21287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21288 $(elfobjdir)/ld.so.
21290 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21293 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21295 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21296 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21297 of __vdso_gettimeofday.
21298 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21299 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21301 (_libc_vdso_platform_setup): Remove initialization of
21302 __vdso_gettimeofday and __vdso_time.
21304 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21306 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21307 and fgetc_unlocked.
21308 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21311 * elf/dl-open.c (add_to_global): Report additions to the global scope
21312 for LD_DEBUG=scopes.
21313 (dl_open_worker): Also print scope of newly loaded dependencies.
21314 (_dl_show_scope): Indicate if there is no scope.
21317 * stdio-common/Makefile (tests): Add bug24.
21318 * stdio-common/bug24.c: New file.
21320 2011-08-19 Andreas Jaeger <aj@suse.de>
21323 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21324 non-existant file when using close-on-exec mode.
21326 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21329 the very first instruction.
21331 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21332 the CFI state in the end.
21333 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21334 inclusion of dl-trampoline.h.
21335 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21337 2011-08-19 Andreas Schwab <schwab@redhat.com>
21339 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21340 expectations for long double.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21343 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21345 2011-08-14 David S. Miller <davem@davemloft.net>
21347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21348 artificual limit depends upon the system page size.
21350 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21352 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21353 * resolv/Makefile: Define CFLAGS-libresolv.
21355 2011-08-17 Andreas Schwab <schwab@redhat.com>
21357 * nss/makedb.c (compute_tables): Make variables used in nested
21360 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21362 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21363 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21364 if buffer was too small.
21366 * elf/pldd.c (main): Attach to all threads in the process.
21367 Rewrite /proc handling to use *at functions.
21369 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21371 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21372 specifies first scope to show.
21373 (dl_open_worker): Update callers. Move printing scope of new
21374 object to before the relocation.
21375 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21376 * sysdeps/generic/ldsodefs.h: Update declaration.
21378 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21379 string for the scope number.
21381 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21383 * nscd/servicescache.c (cache_addserv): Make sure written is always
21386 2011-08-14 Roland McGrath <roland@hack.frob.com>
21388 * sysdeps/i386/i486/bits/atomic.h
21389 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21390 statement expression, so as to suppress "set but not used" warning.
21391 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21393 * string/strncat.c (STRNCAT): Use prototype definition.
21395 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21396 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21398 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21399 (localedef-modules): Add localedef.
21400 (locale-modules): Add locale.
21402 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21403 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21404 to avoid a warning.
21406 2011-08-14 David S. Miller <davem@davemloft.net>
21408 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21409 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21411 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21413 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21414 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21415 * elf/rtld.c (dl_main): Set l_name of vDSO.
21416 Call _dl_show_scope when DL_DEBUG_SCOPES.
21417 (process_dl_debug): Recognize scopes flag and also set it for all.
21418 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21419 Declare _dl_show_scope.
21421 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21422 (do_dlopen): Pass caller_dlopen to dl_open.
21423 (__libc_dlopen_mode): Initialize caller_dlopen.
21425 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21426 of libc. Make tolower call locale-independent. Optimize a bit by
21427 using isdigit instead of isalnum.
21428 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21430 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21432 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21433 was a dependency or dynamically loaded.
21435 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21437 * intl/l10nflist.c: Allow architecture-specific pop function.
21438 * sysdeps/x86_64/l10nflist.c: New file.
21440 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21443 2011-08-10 Andreas Schwab <schwab@redhat.com>
21445 * include/dirent.h: Add libc_hidden_proto for scandirat and
21446 scandirat64. Don't declare __scandirat64.
21447 * dirent/scandirat.c: Add libc_hidden_def.
21448 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21449 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21451 2011-08-10 David S. Miller <davem@davemloft.net>
21453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21459 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21461 * Versions.def [libc]: Add GLIBC_2.15.
21462 * dirent/Makefile (routines): Add scandirat and scandirat64.
21463 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21465 * dirent/dirent.h: Declare scandirat and scandirat64.
21466 * dirent/scandirat.c: New file.
21467 * dirent/scandirat64.c: New file.
21468 * sysdeps/wordsize-64/scandirat.c: New file.
21469 * sysdeps/wordsize-64/scandirat64.c: New file.
21470 * dirent/opendir.c: Define opendirat.
21471 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21473 * dirent/scandir64.c: Adjust for scandir.c change.
21474 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21475 __scandirat64, and __scandir_cancel_handler.
21476 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21477 additional parameter and use openat instead of open (outside of ld.so).
21478 Add new __opendir as wrapper around __opendirat.
21479 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21480 here without requiring old scandirat implementation.
21482 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21484 * dirent/scandir.c (cancel_handler): Renamed to
21485 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21486 defined. Adjust users.
21487 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21488 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21490 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21492 * string/test-string.h (IMPL): Use __STRING to expand name and then
21495 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21498 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21500 * string/Makefile: Update.
21501 (strop-tests): Append strncat.
21502 * string/test-wcscmp.c: New file.
21503 New comprehensive test for wcscmp.
21504 * string/test-strcmp.c: Update.
21505 (WIDE): New define.
21507 2011-07-22 Andreas Schwab <schwab@redhat.com>
21509 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21512 2011-07-26 Andreas Schwab <schwab@redhat.com>
21514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21515 encoding to ACE if AI_IDN.
21517 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21520 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21522 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21525 Fix overflow bug in strncat.
21526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21528 * string/test-strncat.c: Update.
21529 Add new tests for checking overflow bugs.
21531 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21534 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21535 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21536 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21538 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21539 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21540 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21541 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21544 (USE_AS_STRCAT): Define.
21545 Add strcat and strncat support.
21546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21548 2011-07-25 Andreas Schwab <schwab@redhat.com>
21550 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21551 __n bigger than INT_MAX+1.
21552 (__strncmp_g): Likewise.
21554 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21556 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21557 * libio/stido.h: Likewise.
21559 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21564 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21567 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21571 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21576 (_dl_x86_64_save_sse): Likewise.
21578 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21582 (_dl_x86_64_save_sse): Likewise.
21584 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21586 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21588 2011-07-21 Andreas Schwab <schwab@redhat.com>
21590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21592 (_dl_x86_64_save_sse): Use correct AVX check.
21594 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21597 bug in strncpy/strncat.
21598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21600 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21602 * string/tester.c (test_strcat): Add tests for different alignments
21603 of source and destination.
21604 (test_strncat): Likewise.
21606 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21609 * posix/glob.c (glob): Check passed in values before using them in
21610 expressions to avoid some overflows.
21611 (glob_in_dir): Likewise.
21614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21615 check for AVX enablement so that we don't crash with old kernels and
21617 * elf/tst-audit4.c: Add same checks here.
21618 * elf/tst-audit6.c: Likewise.
21620 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21622 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21624 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21626 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21628 * po/cs.po: Update from translation team.
21629 * po/bg.po: Likewise.
21631 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21633 * misc/sys/cdefs.h: Add support for const attribute.
21634 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21635 to gnu_dev_{major,minor,makedev} functions.
21637 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21639 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21641 2011-07-20 Andreas Schwab <schwab@redhat.com>
21643 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21646 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21649 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21650 register in order to avoid conflicts with the soft frame pointer
21651 being held in r11 when necessary.
21652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21653 (INTERNAL_VSYSCALL_NCS): Likewise.
21655 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21657 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21658 * elf/dl-fini.c (_dl_fini): Adjust caller.
21659 * elf/dl-close.c (_dl_close_worker): Likewise.
21660 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21662 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21664 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21665 "aux_cache->nlibs < 0".
21667 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21668 in the reload-count case.
21670 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21673 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21674 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21675 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21676 * sysdeps/x86_64/multiarch/strcat.S: New file.
21677 * sysdeps/x86_64/multiarch/strncat.S: New file.
21678 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21680 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21681 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21683 (USE_AS_STRCAT): Define.
21684 Add strcat and strncat support.
21685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21687 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21688 * string/strncat.c: Update.
21689 (USE_AS_STRNCAT): Define.
21690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21691 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21693 * sysdeps/x86_64/multiarch/init-arch.h
21694 (bit_Prefer_PMINUB_for_stringop): New.
21695 (index_Prefer_PMINUB_for_stringop): Likewise.
21696 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21697 bit_Prefer_PMINUB_for_stringop.
21699 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21701 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21703 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21704 of casting of buffer.
21705 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21706 buffer32 and buffer64.
21707 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21708 writes instead of casting of buffer.
21709 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21711 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21714 2011-07-19 Andreas Schwab <schwab@redhat.com>
21716 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21718 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21720 * nscd/nscd.c (termination_handler): Don't do anything for a database
21721 if it has not yet been initialized.
21723 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21725 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21727 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21729 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21731 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21733 * po/nl.po: Update from translation team.
21734 * po/sv.po: Likewise.
21736 2011-07-16 Roland McGrath <roland@hack.frob.com>
21738 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21739 now disallowed by GCC.
21741 * configure.in (use-default-link): Default to yes if a test -shared
21742 link meets our qualifications.
21743 * configure: Regenerated.
21745 * config.make.in (output-format): New variable.
21746 * configure.in: Check for ld --print-output-format support.
21747 * configure: Regenerated.
21748 * Makerules ($(common-objpfx)format.lds)
21749 [$(output-format) != unknown]: Just use $(output-format),
21750 instead of the linker-script munging.
21752 2011-07-14 Roland McGrath <roland@hack.frob.com>
21754 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21755 of $(common-objpfx)shlib.lds.
21756 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21758 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21759 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21761 * configure.in (-z relro check): Adjust test code to add a large
21762 writable data section after it.
21763 * configure: Regenerated.
21765 2011-07-11 Roland McGrath <roland@hack.frob.com>
21767 * configure.in (-z relro check): Fix test code to make the variable
21769 * configure: Regenerated.
21771 2011-07-11 Ulrich Drepper <drepper@gmail.com>
21773 * nscd/nscd.h (struct traced_file): Define.
21774 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21775 elements. Add traced_files.
21776 (inotify_fd): Declare.
21777 (register_traced_file): Declare.
21778 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21779 (inotify_fd): Export.
21780 (resolv_conf_descr): Remove.
21781 (nscd_init): Move inotify descriptor creation to main.
21782 Don't register files for notification here.
21783 (register_traced_file): New function.
21784 (invalidate_cache): Don't use reset_res to determine whether to call
21785 res_init, go through the list of registered files.
21786 (main_loop_poll): The inotify descriptors are now stored in the
21787 structures for the traced files.
21788 (main_loop_epoll): Likewise
21789 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21790 to __nss_disable_nscd.
21791 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21792 for a database anymore. Check the records for all the registered
21794 * nss/Makefile (libnss_files-routines): Add files-init.
21795 (libnss_db-routines): Add db-init.
21796 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21797 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21798 * nss/nss_db/db-init.c: New file.
21799 * nss/nss_files/files-init.c: New file.
21800 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21801 __nss_lookup_function.
21802 (__nss_lookup_function): Call nss_load_library.
21803 (nss_load_all_libraries): New function.
21804 (__nss_disable_nscd): Take parameter with callback function for files
21805 to register. Set is_nscd. Load all the DSOs for the NSS modules
21806 used for the cached services.
21807 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21808 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21809 options for features to all the files in nscd.
21811 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21813 2011-07-10 Roland McGrath <roland@hack.frob.com>
21815 * csu/elf-init.c (__libc_csu_init): Comment typo.
21817 2011-07-09 Ulrich Drepper <drepper@gmail.com>
21819 * po/pl.po: Update from translation team.
21820 * po/ja.po: Likewise.
21821 * po/ru.po: Likewise.
21822 * po/ko.po: Likewise.
21823 * po/fr.po: Likewise.
21825 2011-07-09 Roland McGrath <roland@hack.frob.com>
21827 * configure.in (.ctors/.dtors header and trailer check):
21828 Use an empirical test on a built program.
21829 * configure: Regenerated.
21831 * configure.in (-z relro check): Use an empirical test on a built DSO.
21832 Detect, but do not require, on ia64.
21833 * configure: Regenerated.
21835 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21836 Update tests that use readelf to use $READELF instead.
21837 * configure: Regenerated.
21839 2011-07-08 Ulrich Drepper <drepper@gmail.com>
21841 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21842 if the result is not used.
21844 2011-07-05 Andreas Jaeger <aj@suse.de>
21847 * stdlib/tst-strtod.c: Add testcase.
21849 2011-07-07 Ulrich Drepper <drepper@gmail.com>
21851 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21852 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21853 The latter has a higher limit. Take additional parameter to pass to
21855 (__pathconf): Pass file to __statfs_link_max.
21856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21858 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21862 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21866 (__statfs_filesize_max): Likewise.
21867 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21869 2011-07-05 Andreas Jaeger <aj@suse.de>
21871 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21873 2011-07-06 Marek Polacek <mpolacek@redhat.com>
21875 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21877 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21880 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21882 * Makefile (strop-tests): Add strncat.
21883 * string/test-strncat.c: New file.
21885 2011-06-30 Marek Polacek <mpolacek@redhat.com>
21887 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21889 2011-06-21 Andreas Jaeger <aj@suse.de>
21891 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21892 Copy rule from iconvdata/Makefile.
21894 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21897 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21898 but no long options are defined, just return 'W'.
21900 2011-06-22 Marek Polacek <mpolacek@redhat.com>
21903 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21905 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21907 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21909 (innetgr): Likewise.
21911 2011-07-05 Roland McGrath <roland@hack.frob.com>
21913 * config.make.in (install_root): Default to $(DESTDIR).
21915 2011-07-05 Ulrich Drepper <drepper@gmail.com>
21917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21919 2011-07-02 Roland McGrath <roland@hack.frob.com>
21921 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21923 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21924 containing directory rather than embedding absolute directory names.
21926 * scripts/check-local-headers.sh: Rewritten using awk.
21927 Match by word, not by line. Print error messages for matches.
21928 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21930 * Makerules [shlib-lds-flags empty]:
21931 ($(common-objpfx)libc_pic.opts): New target.
21932 ($(common-objpfx)libc_pic.os.clean): New target.
21933 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21935 * config.make.in (OBJCOPY): New variable.
21936 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21937 * configure: Regenerated.
21939 * config.make.in (use-default-link): New variable.
21940 * configure.in (use_default_link): Grok --with-default-link to set it.
21941 * configure: Regenerated.
21942 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21943 (shlib-lds, shlib-lds-flags): Define to empty.
21945 * Makerules (shlib-lds): New variable.
21946 (shlib-lds-flags): New variable.
21947 (build-shlib, build-moduile, build-module-asneeded): Use it.
21948 ($(common-objpfx)libc.so): Use $(shlib-lds).
21949 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21950 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21952 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21953 DT_FLAGS/DT_FLAGS_1 with zero flags.
21955 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21956 linker script munging.
21958 2011-07-02 Ulrich Drepper <drepper@gmail.com>
21960 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21962 * crypt/sha512.c (sha512_process_block): Perform total addition using
21963 128-bit if possible.
21964 (__sha512_finish_ctx): Likewise.
21965 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21967 * crypt/sha256.c (SWAP64): Define.
21968 (sha256_process_block): Perform total addition using 64-bit if
21970 (__sha256_finish_ctx): Likewise.
21972 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21974 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21976 * nscd/hstcache.c (cache_addhst): Likewise.
21977 * nscd/grpcache.c (cache_addgr): Likewise.
21978 * nscd/aicache.c (addhstaiX): Likewise
21979 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21981 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
21983 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21985 * nscd/hstcache.c (cache_addhst): Likewise.
21986 * nscd/grpcache.c (cache_addgr): Likewise.
21987 * nscd/aicache.c (addhstaiX): Likewise
21989 2011-07-01 Andreas Schwab <schwab@redhat.com>
21991 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21992 domain only when needed.
21994 2011-06-30 Andreas Schwab <schwab@redhat.com>
21996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21997 is always restored.
21999 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22001 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22002 are re-adding the entry.
22003 * nscd/servicescache.c (cache_addserv): Likewise.
22005 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22007 * sysdeps/generic/dl-irel.h: fix protection against multiple
22009 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22011 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22014 * malloc/memusage.sh: Fix quoting in message.
22015 * debug/xtrace.sh: Likewise.
22017 * configure.in: Remove support for --experimental-malloc option, make
22019 * config.make.in: Likewise.
22020 * malloc/Makefile: Likewise.
22022 2011-06-27 Andreas Schwab <schwab@redhat.com>
22024 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22025 two-byte characters.
22027 2011-06-27 Roland McGrath <roland@hack.frob.com>
22029 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22030 AC_CACHE_CHECK invocation.
22031 * configure: Regenerated.
22033 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22035 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22038 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22039 bit from old_res_options.
22041 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22043 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22044 value type for setfct.
22046 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22049 __gettimeofday instead of gettimeofday.
22051 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22053 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22055 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22062 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22065 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22066 strcpy-sse2-unaligned strncpy-sse2-unaligned
22067 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22068 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22069 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22070 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22071 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22074 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22075 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22076 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22077 (STRCPY): Support SSE2 and SSSE3 versions.
22079 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22082 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22083 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22084 kernels which artificially limit size of requests.
22086 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22089 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22090 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22091 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22092 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22093 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22094 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22095 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22098 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22099 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22100 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22101 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22102 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22104 Enable unaligned load optimization for Intel Core i3, i5 and i7
22106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22108 (index_Fast_Unaligned_Load): Define.
22109 (HAS_FAST_UNALIGNED_LOAD): Define.
22111 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22113 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22115 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22118 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22119 until it is clear that the information is realy needed.
22120 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22122 2011-06-22 Andreas Schwab <schwab@redhat.com>
22124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22126 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22129 /sys/devices/system/cpu/online if it is usable.
22131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22132 reading the information from the /proc filesystem to once a second.
22134 2011-06-21 Andreas Jaeger <aj@suse.de>
22136 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22137 NULL after inclusion of kernel headers.
22139 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22141 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22142 calls to internal_setent.
22145 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22146 addresses using gethostbyname4_r ignore IPv4 addresses.
22148 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22149 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22151 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22153 2011-06-20 David S. Miller <davem@davemloft.net>
22155 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22157 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22159 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22160 (elf_irel): Use it.
22161 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22162 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22163 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22164 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22165 * sysdeps/x86_64/dl-irel.h: Likewise.
22167 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22168 * elf/dl-sym.c: Likewise.
22170 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22172 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22173 need to dereference resplen2.
22175 2011-06-14 Andreas Schwab <schwab@redhat.com>
22177 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22179 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22181 * Makeconfig: Define vardbdir and inst_vardbdir.
22182 * nss/Makefile: Add rules to install db-Makefile.
22184 * nss/nss_db/db-XXX.c: Cleanup.
22186 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22187 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22189 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22190 * nss/makedb.c: Implement -g option to specify that value strings
22191 are generated and should not be added to table iterated over for
22193 * nss/nss_db/db-initgroups.c: New file.
22195 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22198 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22199 (internal_getgrouplist): Adjust to name change.
22200 Update use_initgroups_entry if this is not the first call.
22201 * nss/databases.def: Add initgroups entry.
22203 * nss/makedb.c (compute_tables): Check result of multiple hash table
22204 sizes to minimize maximum chain length.
22206 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22208 * Versions.def: Add entry for libnss_db.
22209 * shlib-versions: Likewise.
22210 * nss/Makefile: Add rules to build libnss_db.
22211 * nss/Versions: Add libnss_db information. Organize libnss_files
22213 * nss/db-Makefile: Add gshadow support. Change rules for the new
22214 makedb progra. Some minor improvements to generate smaller files.
22215 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22217 * nss/makedb.c: ...here.
22218 Improve database format to be smaller and require less memory at
22220 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22222 * nss/nss_db/db-netgrp.c: Likewise.
22223 * nss/nss_db/db-open.c: Likewise.
22224 * nss/nss_files/flies-XXX.x: Adjust comments.
22225 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22226 * nss/nss_files/files-grp.c: Likewise.
22227 * nss/nss_files/files-hosts.c: Likewise.
22228 * nss/nss_files/files-network.c: Likewise.
22229 * nss/nss_files/files-proto.c: Likewise.
22230 * nss/nss_files/files-pwd.c: Likewise.
22231 * nss/nss_files/files-rpc.c: Likewise.
22232 * nss/nss_files/files-service.c: Likewise.
22233 * nss/nss_files/files-sgrp.c: Likewise.
22234 * nss/nss_files/files-spwd.c: Likewise.
22235 * nss/nss_db/db-alias.c: Removed.
22236 * nss/nss_db/dummy-db.h: Removed.
22238 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22240 * nss/makedb.c: Rewritten to not use database library.
22241 * nss/Makefile: Update to build new makedb program.
22243 2011-06-14 Andreas Jaeger <aj@suse.de>
22245 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22246 memset declaration.
22248 2011-06-10 Andreas Schwab <schwab@redhat.com>
22250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22253 2011-06-10 Roland McGrath <roland@hack.frob.com>
22255 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22256 * elf/Makefile ($(objpfx)ld.so): Likewise.
22258 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22259 Don't list ld.so twice in dependencies.
22261 * posix/bug-regex31.c: Include <stdlib.h>.
22263 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22265 * nis/nss_compat/compat-spwd.c
22266 (getspent_next_nss_netgr): Remove unused variable.
22267 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22269 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22270 nonmembers" output to use the right array.
22272 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22274 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22276 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22277 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22278 * catgets/gencat.c (read_input_file): Likewise.
22279 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22281 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22282 variable definition inside #if's controlling its use.
22284 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22286 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22288 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22290 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22293 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22295 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22296 * configure: Regenerated.
22298 * Makerules: Revert last change.
22299 * elf/Makefile: Likewise.
22301 2011-06-09 Roland McGrath <roland@hack.frob.com>
22303 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22304 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22305 (reloc-link): Likewise.
22307 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22309 * elf/Makefile: Add rules to build pldd.
22310 * elf/pldd.c: New file.
22311 * elf/pldd-xx.c: New file.
22313 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22315 * version.h: Update for 2.15 development version.
22317 2011-06-07 David S. Miller <davem@davemloft.net>
22319 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22322 elf_machine_lazy_rel): Likewise.
22323 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22325 elf_machine_lazy_rel): Likewise.
22326 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22327 dl_hwcap via passed in argument.
22328 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22331 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22333 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22335 2011-06-06 Roland McGrath <roland@hack.frob.com>
22338 * manual/fdl-1.1.texi: New file, verbatim from:
22339 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22340 * manual/lgpl-2.1.texi: New file, verbatim from:
22341 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22342 * manual/Makefile (licenses): New variable, list those new file names.
22344 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22346 * manual/fdl.texi: File removed.
22347 * manual/lesser.texi: File removed.
22348 * manual/libc.texinfo (Copying, Documentation License):
22349 Use new @include file names, put @appendix directive before @include.
22351 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22354 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22355 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22356 (mq_open): Add __NTH.
22358 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22361 Assume Intel Core i3/i5/i7 processor if AVX is available.
22363 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22368 2011-05-31 Andreas Schwab <schwab@redhat.com>
22370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22371 memory. Use alloca_account. Fix memory leak when retrying.
22373 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22375 * version.h (RELEASE): Bump for 2.14 release.
22376 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22378 * config.make.in (RANLIB): Remove entry.
22380 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22382 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22383 (libc.pot): Work around missing support for .ksh extension in xgettext.
22386 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22387 if both request failed.
22388 (send_dg): In case of server errors clear resplen or *resplen2.
22391 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22392 when there are multiple maps.
22393 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22394 (_dl_fini): Remove test here.
22396 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22398 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22401 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22402 bit from old_res_options.
22403 (gaih_inet): Likewise.
22406 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22409 * resolv/res_init.c (res_setoptions): Make the code more compact.
22412 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22416 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22418 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22421 * malloc/malloc.h: Declare malloc hook variables as volatile.
22423 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22427 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22428 raise in the comment.
22429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22431 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22433 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22436 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22437 grow the buffers more if it already has to be sufficient.
22438 (build_wcs_upper_buffer): Likewise.
22439 * posix/regexec.c (check_matching): Likewise.
22440 (clean_state_log_if_needed): Likewise.
22441 (extend_buffers): Don't enlarge buffers beyond size of the input
22443 Patches mostly by Emil Wojak <emil@wojak.eu>.
22444 * posix/bug-regex32.c: New file.
22445 * posix/Makefile (tests): Add bug-regex32.
22447 * locale/findlocale.c (_nl_find_locale): Return right away if
22448 _nl_explode_name failed.
22449 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22453 * debug/xtrace.sh: Unify messages.
22454 * malloc/memusage.sh: Likewise.
22457 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22458 time symbol from vDSO. Substitute with vsyscall if not available.
22459 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22463 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22464 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22465 Add sendmmsg and internal_sendmmsg.
22466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22467 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22470 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22471 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22474 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22477 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22478 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22484 * iconvdata/Makefile (tests): Add bug-iconv9.
22485 * iconvdata/bug-iconv9.c: New file.
22487 2011-05-27 Andreas Schwab <schwab@redhat.com>
22490 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22492 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22495 (struct user_regs_struct): Change intcs field back to cs.
22497 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22499 * po/ja.po: Update from translation team.
22501 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22504 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22507 2011-05-20 Andreas Schwab <schwab@redhat.com>
22509 * stdlib/longlong.h: Update from GCC.
22511 2011-05-23 Andreas Schwab <schwab@redhat.com>
22513 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22515 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22516 Add parameter name.
22517 (__sysconf): Pass it down.
22519 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22522 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22525 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22526 add in in __libc_use_alloca calls. Adjust callers.
22527 (glob): Use malloc in some situations.
22529 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22530 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22533 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22535 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22536 and CLOCK_BOOTTIME_ALARM.
22539 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22542 * string/_strerror.c (__strerror_r): Print negative errors as signed
22546 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22547 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22548 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22550 * configure.in: Fix typo in redirection and correct removal of test
22551 files in two cases.
22554 * locale/setlocale.c (new_composite_name): Fix test to check for
22555 identical name of all categories.
22558 * libio/filedoalloc.c (local_isatty): New function.
22559 (_IO_file_doallocate): Use local_isatty.
22560 * stdio-common/perror.c (perror): In case a new stream is used
22561 forward the stream error.
22562 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22565 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22570 * include/alloca.h (extend_alloca_account): Define.
22573 * posix/regex.h: Fix comments with documentation of user-accessible
22574 fields after compilation and describe correct free'ing of pattern
22575 after re_compile_pattern.
22576 Patch by Reuben Thomas <rrt@sc3d.org>.
22578 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22580 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22581 and -mno-altivec to prevent the compiler from using Altivec and/or
22582 VSX instructions when the corresponding registers are not available.
22584 2011-05-19 Andreas Schwab <schwab@redhat.com>
22586 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22588 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22590 * libio/freopen.c (freopen): Use __dup2, not dup2.
22591 * libio/freopen64.c (freopen64): Likewise.
22593 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22596 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22597 * math/Makefile (tests): Add test-powl.
22598 (CFLAGS-test-powl.c): Define.
22599 * math/test-powl.c: New file.
22601 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22603 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22605 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22608 * iconvdata/gb18030.c: Update to GB18020-2005.
22610 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22612 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22613 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22614 Patch by Aharon Robbins <arnold@skeeve.com>.
22617 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22621 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22622 through underflows.
22625 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22626 point to strings before performing equality test for error_one_per_line
22630 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22634 (struct user_fpregs_struct): Avoid __uint*_t types.
22637 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22638 symbol info. Use it instead of calling _dl_addr locally.
22639 (lock_and_info): New function.
22640 (tr_freehook): Call lock_and_info and pass symbol info as additional
22641 parameter to tr_where.
22642 (tr_mallochook): Likewise.
22643 (tr_reallochook): Likewise.
22644 (tr_memalignhook): Likewise.
22646 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22647 used and couldn't be at all thread-safe.
22649 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22651 * libio/freopen.c (freopen): Don't close old file descriptor
22652 before the new one is opened. Instead dup the new file descriptor
22653 to the old one after the new stream is created.
22654 * libio/freopen64.c (freopen64): Likewise.
22655 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22656 * libio/fileops.c (_IO_new_file_close_it): Handle new
22657 _IO_FLAGS2_NOCLOSE flag.
22658 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22659 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22660 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22661 _IO_FLAGS2_NOCLOSE flag.
22662 * include/unistd.h: Add hidden_proto for dup3.
22663 Define __have_dup3.
22664 * io/dup3.c: Define hidden symbol.
22665 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22668 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22669 when an incomplete long option is used.
22670 * posix/tst-getopt_long1.c: New file.
22671 * posix/Makefile (tests): Add tst-getopt_long1.
22674 * scripts/config.guess: Update from autoconf-2.68.
22675 * scripts/config.sub: Likewise.
22678 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22680 (has_cpuclock): ...this. New function.
22681 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22682 macro here based on has_cpuclock code.
22685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22686 First byte (not low byte) is now always NUL.
22687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22690 Use non-cancelable interfaces.
22693 * locale/iso-639.def: Add entry for Sorani.
22696 * include/stdlib.h: Move include protection to the right place.
22697 Define abort_msg_s. Declare __abort_msg with it.
22698 * stdlib/abort.c (__abort_msg): Adjust type.
22699 * assert/assert.c (__assert_fail_base): New function. Majority
22700 of code from __assert_fail. Allocate memory for __abort_msg with
22702 (__assert_fail): Now call __assert_fail_base.
22703 * assert/assert-perr.c: Remove bulk of implementation. Use
22704 __assert_fail_base.
22705 * include/assert.hL Declare __assert_fail_base.
22706 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22708 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22710 2011-05-14 Ulrich Drepper <drepper@gmail.com>
22714 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22715 until all modules are registered in the DTV.
22716 * elf/Makefile: Add rules to build and run tst-tls19.
22717 * elf/tst-tls19.c: New file.
22718 * elf/tst-tls19mod1.c: New file.
22719 * elf/tst-tls19mod2.c: New file.
22720 * elf/tst-tls19mod3.c: New file.
22721 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22724 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22728 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22729 two-byte sequence errors.
22730 * iconvdata/Makefile (tests): Add bug-iconv8.
22731 * iconvdata/bug-iconv8.c: New file.
22734 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22737 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22740 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22741 (dummy_getcfa): New function.
22742 (init): Get _Unwind_GetCFA address, use dummy if not found.
22743 (backtrace_helper): In recursion check, also check whether CFA changes.
22744 (__backtrace): Completely initialize arg.
22746 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22747 storing incomplete byte sequence in state object. Avoid testing for
22748 guaranteed too small input if we know there is enough data available.
22750 2011-05-11 Andreas Schwab <schwab@redhat.com>
22752 * Makeconfig (+link-pie): Indent.
22753 * Rules (binaries-pie): Define if $(have-fpie) and
22755 (binaries-shared): Also filter out $(binaries-pie).
22756 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22757 * nscd/Makefile (others-pie): Add nscd.
22758 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22759 ($(objpfx)nscd): Remove command override.
22760 * login/Makefile (others-pie): Add pt_chown.
22761 ($(objpfx)pt_chown): Remove command override.
22762 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22763 remove command overrides.
22765 2011-05-13 Ulrich Drepper <drepper@gmail.com>
22767 * libio/tst_putwc.c: Fix error messages.
22770 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22771 currently writing and seek to current position when not.
22772 * libio/Makefile (tests): Add bug-fclose1.
22773 * libio/bug-fclose1.c: New file.
22775 2011-05-12 Ulrich Drepper <drepper@gmail.com>
22778 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22779 don't set DF_1_NODELETE here.
22780 (do_lookup_x): When entering new entry test for copy relocation
22781 and if necessary set DF_1_NODELETE flag.
22782 * elf/tst-unique4.cc: New file.
22783 * elf/tst-unique4.h: New file.
22784 * elf/tst-unique4lib.cc: New file.
22785 * elf/Makefile: Add rules to build and run tst-unique4.
22786 Patch by Piotr Bury <pbury@goahead.com>.
22788 2011-05-11 Ulrich Drepper <drepper@gmail.com>
22791 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22794 * misc/mntent_r.c (addmntent): Flush the stream after the output
22797 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22798 (is_trusted_path_normalize): Skip initial colon. Append slash
22799 to empty buffer. Duplicate is_trusted_path code but allow
22800 constructed patch to be prefix.
22801 (is_dst): Allow $ORIGIN followed by /.
22802 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22803 Correct testing of result of is_trusted_path_normalize
22804 (decompose_rpath): Fix warning.
22806 2011-05-10 Ulrich Drepper <drepper@gmail.com>
22809 * grp/initgroups.c (internal_getgrouplist): When we found the service
22810 list through the initgroups entry in nsswitch.conf do not always
22811 continue on a successful lookup. Don't always use the
22812 __nss_group_database value if it is set.
22813 * nss/nsswitch.conf (initgroups): Change action for successful db
22814 lookup to continue for compatibility.
22816 2011-05-09 Ulrich Drepper <drepper@gmail.com>
22819 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22821 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22823 * iconvdata/tst-tables.sh: Likewise.
22824 * iconvdata/cp770.c: New file.
22825 * iconvdata/cp771.c: New file.
22826 * iconvdata/cp772.c: New file.
22827 * iconvdata/cp773.c: New file.
22828 * iconvdata/cp774.c: New file.
22829 * iconvdata/testdata/CP770: New file.
22830 * iconvdata/testdata/CP770..UTF8: New file.
22831 * iconvdata/testdata/CP771: New file.
22832 * iconvdata/testdata/CP771..UTF8: New file.
22833 * iconvdata/testdata/CP772: New file.
22834 * iconvdata/testdata/CP772..UTF8: New file.
22835 * iconvdata/testdata/CP773: New file.
22836 * iconvdata/testdata/CP773..UTF8: New file.
22837 * iconvdata/testdata/CP774: New file.
22838 * iconvdata/testdata/CP774..UTF8: New file.
22840 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22842 * iconvdata/gen-8bit-gap.sh: Likewise.
22843 * iconvdata/gen-8bit.sh: Likewise.
22845 * locale/iso-639.def: Add ary entry.
22848 * locale/C-translit.h.in: Add U20A1 transliteration.
22851 * locale/iso-639.def: Add wae entry.
22852 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22855 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22859 * locale/C-translit.h.in: Add entry for U20B9.
22860 Patch by pravin.d.s@gmail.com.
22862 2011-05-08 Ulrich Drepper <drepper@gmail.com>
22865 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22866 ENAMETOOLONG use generic getcwd.
22867 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22868 in rtld. Use *stat64.
22869 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22870 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22871 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22872 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22873 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22874 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22875 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22876 __fstatat64 macros.
22877 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22878 * dirent/rewinddir.c: Add libc_hidden_def.
22879 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22880 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22882 * include/dirent.h (__alloc_dir): Add flags parameter.
22883 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22884 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22886 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22887 from fdopendir if O_CLOEXEC is already set.
22889 2011-03-15 Alan Modra <amodra@gmail.com>
22891 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22892 l_tls_firstbyte_offset non-zero. Save padding offset in
22893 l_tls_firstbyte_offset for later use.
22894 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22895 freeing static tls block.
22897 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22899 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22900 where #ifdef was intended. The intent is to prevent ARG_MAX from
22901 being defined by the kernel headers.
22903 2011-05-07 Ulrich Drepper <drepper@gmail.com>
22906 * resolv/resolv.h: Define RES_NOTLDQUERY.
22907 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22908 no-tld-query and set RES_NOTLDQUERY.
22909 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22910 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22911 modern BIND to search name as TLD unless forbidden.
22913 2011-05-07 Petr Baudis <pasky@suse.cz>
22914 Ulrich Drepper <drepper@gmail.com>
22917 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22918 (is_trusted_path): ...to here.
22919 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22920 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22921 using is_trusted_path_normalize() in setuid scripts.
22923 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22925 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22926 __BEGIN/__END_DECLS.
22928 2011-05-06 Ulrich Drepper <drepper@gmail.com>
22930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22931 NSS_STATUS_NOTFOUND if no record was found.
22933 2011-05-05 Andreas Schwab <schwab@redhat.com>
22935 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22936 (headers-not-in-tirpc): Remove rpc/netdb.h
22937 * resolv/netdb.h: Revert last change.
22939 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22941 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22942 circular dependency between libgcc.a and libc.a.
22944 2011-05-05 Andreas Schwab <schwab@redhat.com>
22946 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22947 * nis/Makefile: Don't install rpcsvc/*.
22948 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22949 instead of <rpc/types.h>.
22950 (MAXHOSTNAMELEN): Define.
22952 2011-05-03 Andreas Schwab <schwab@redhat.com>
22954 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22956 2011-04-28 Maciej Babinski <mbabinski@google.com>
22959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22960 gethostbyname4_r when IPv6 results are possible.
22962 2011-05-02 Ulrich Drepper <drepper@gmail.com>
22965 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22966 _PC_PIPE_BUF handling.
22968 2011-04-30 Bruno Haible <bruno@clisp.org>
22971 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22972 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22974 * inet/getnameinfo.c (getnameinfo): Likewise.
22976 2011-04-29 Ulrich Drepper <drepper@gmail.com>
22978 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22979 to groups setting in database lookup.
22980 * nss/nsswitch.conf: Add initgroups entry.
22982 2011-04-22 Ulrich Drepper <drepper@gmail.com>
22985 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22987 Patch by Eric Blake <eblake@redhat.com>.
22989 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22991 * sunrpc/Makefile (need-export-routines): Add svc_run.
22992 (routines): Remove svc_run.
22993 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22994 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22995 * sunrpc/svc_run.c (svc_run): Likewise.
22996 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22998 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23001 problem in reallocation in last patch.
23003 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23005 * sunrpc/Makefile: Move inclusion of Rules.
23007 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23009 * nss/nss_files/files-initgroups.c: New file.
23010 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23011 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23012 _nss_files_initgroups_dyn.
23014 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23016 * elf/elf.h (R_ARM_IRELATIVE): Define.
23018 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23020 * po/ru.po: Update from translation team.
23022 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23024 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23027 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23031 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23032 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23036 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23044 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23047 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23049 * stdlib/bug-getcontext.c: New file.
23050 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23052 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23054 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23055 instructions into .machine "z9-109".
23056 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23057 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23059 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23061 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23062 between environment variables and auxiliary vector.
23064 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23066 * Makefile: Add rules to build linkobj/libc.so.
23067 * include/libc-symbols.h: Define libc_hidden_nolink.
23068 * include/rpc/auth.h: Mark functions which are to be hidden.
23069 * include/rpc/auth_des.h: Likewise.
23070 * include/rpc/auth_unix.h: Likewise.
23071 * include/rpc/clnt.h: Likewise.
23072 * include/rpc/des_crypt.h: Likewise.
23073 * include/rpc/key_prot.h: Likewise.
23074 * include/rpc/pmap_clnt.h: Likewise.
23075 * include/rpc/pmap_prot.h: Likewise.
23076 * include/rpc/pmap_rmt.h: Likewise.
23077 * include/rpc/rpc_msg.h: Likewise.
23078 * include/rpc/svc.h: Likewise.
23079 * include/rpc/svc_auth.h: Likewise.
23080 * include/rpc/xdr.h: Likewise.
23081 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23082 * nss/Makefile: Likewise.
23083 * sunrpc/Makefile: Don't install headers. Build library with normal
23084 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23085 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23086 for the compat linking library. Remove use of INTDEF/INTUSE.
23087 * sunrpc/auth_none.c: Likewise.
23088 * sunrpc/auth_unix.c: Likewise.
23089 * sunrpc/authdes_prot.c: Likewise.
23090 * sunrpc/authuxprot.c: Likewise.
23091 * sunrpc/clnt_gen.c: Likewise.
23092 * sunrpc/clnt_perr.c: Likewise.
23093 * sunrpc/clnt_raw.c: Likewise.
23094 * sunrpc/clnt_simp.c: Likewise.
23095 * sunrpc/clnt_tcp.c: Likewise.
23096 * sunrpc/clnt_udp.c: Likewise.
23097 * sunrpc/clnt_unix.c: Likewise.
23098 * sunrpc/des_crypt.c: Likewise.
23099 * sunrpc/des_soft.c: Likewise.
23100 * sunrpc/get_myaddr.c: Likewise.
23101 * sunrpc/key_call.c: Likewise.
23102 * sunrpc/key_prot.c: Likewise.
23103 * sunrpc/netname.c: Likewise.
23104 * sunrpc/pm_getmaps.c: Likewise.
23105 * sunrpc/pm_getport.c: Likewise.
23106 * sunrpc/pmap_clnt.c: Likewise.
23107 * sunrpc/pmap_prot.c: Likewise.
23108 * sunrpc/pmap_prot2.c: Likewise.
23109 * sunrpc/pmap_rmt.c: Likewise.
23110 * sunrpc/publickey.c: Likewise.
23111 * sunrpc/rpc_cmsg.c: Likewise.
23112 * sunrpc/rpc_common.c: Likewise.
23113 * sunrpc/rpc_dtable.c: Likewise.
23114 * sunrpc/rpc_prot.c: Likewise.
23115 * sunrpc/rpc_thread.c: Likewise.
23116 * sunrpc/rtime.c: Likewise.
23117 * sunrpc/svc.c: Likewise.
23118 * sunrpc/svc_auth.c: Likewise.
23119 * sunrpc/svc_authux.c: Likewise.
23120 * sunrpc/svc_raw.c: Likewise.
23121 * sunrpc/svc_run.c: Likewise.
23122 * sunrpc/svc_simple.c: Likewise.
23123 * sunrpc/svc_tcp.c: Likewise.
23124 * sunrpc/svc_udp.c: Likewise.
23125 * sunrpc/svc_unix.c: Likewise.
23126 * sunrpc/svcauth_des.c: Likewise.
23127 * sunrpc/xcrypt.c: Likewise.
23128 * sunrpc/xdr.c: Likewise.
23129 * sunrpc/xdr_array.c: Likewise.
23130 * sunrpc/xdr_float.c: Likewise.
23131 * sunrpc/xdr_intXX_t.c: Likewise.
23132 * sunrpc/xdr_mem.c: Likewise.
23133 * sunrpc/xdr_rec.c: Likewise.
23134 * sunrpc/xdr_ref.c: Likewise.
23135 * sunrpc/xdr_sizeof.c: Likewise.
23136 * sunrpc/xdr_stdio.c: Likewise.
23138 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23141 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23142 * sysdeps/ia64/dl-tls.h: Likewise.
23143 * sysdeps/powerpc/dl-tls.h: Likewise.
23144 * sysdeps/s390/dl-tls.h: Likewise.
23145 * sysdeps/sh/dl-tls.h: Likewise.
23146 * sysdeps/sparc/dl-tls.h: Likewise.
23147 * sysdeps/x86_64/dl-tls.h: Likewise.
23148 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23150 2011-03-14 Andreas Schwab <schwab@redhat.com>
23152 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23153 rpath element also skip the following colon.
23154 (expand_dynamic_string_token): Add is_path parameter and pass
23155 down to DL_DST_REQUIRED and _dl_dst_substitute.
23156 (decompose_rpath): Call expand_dynamic_string_token with
23157 non-zero is_path. Ignore empty rpaths.
23158 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23161 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23166 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23169 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23170 Patch by Filipe David Manana <fdmanana@apache.org>.
23172 2011-04-07 Andreas Schwab <schwab@redhat.com>
23174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23175 Maintain aligned stack.
23176 (CHECK_RSP): Remove unused macro.
23178 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23180 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23183 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23185 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23187 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23189 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23192 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23193 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23194 * sysdeps/x86_64/memmove.c: New file.
23195 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23196 (memcpy): Renamed to ...
23197 (__new_memcpy): This.
23198 (memcpy): Provide GLIBC_2_14 memcpy.
23199 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23200 (memcpy): Provide GLIBC_2_2_5 memcpy.
23202 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23205 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23207 2011-03-30 Andreas Schwab <schwab@redhat.com>
23209 * misc/syncfs.c: New file.
23210 * misc/Makefile (routines): Add syncfs.
23211 * posix/unistd.h: Declare syncfs.
23212 * sysdeps/unix/syscalls.list: Add syncfs.
23214 2011-04-01 Andreas Schwab <schwab@redhat.com>
23216 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23223 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23226 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23230 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23236 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23237 sync_file_range.c with -fexceptions.
23238 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23239 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23240 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23241 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23242 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23243 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23245 sync_file_range as cancellation point
23246 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23247 now a wrapper around __call_sync_file_range with cancellation handling.
23248 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23249 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23250 function name to __call_sync_file_range.
23251 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23252 Add call_sync_file_range.
23254 2011-04-01 Andreas Schwab <schwab@redhat.com>
23256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23261 * iconv/iconv.h: Fix typo in comment.
23262 * io/fcntl.h: Likewise.
23263 * libio/stdio.h: Likewise.
23264 * posix/spawn.h: Likewise.
23265 * posix/unistd.h: Likewise.
23266 * stdlib/stdlib.h: Likewise.
23267 * time/time.h: Likewise.
23268 * wcsmbs/wchar.h: Likewise.
23270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23271 open_by_handle): Add.
23272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23273 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23274 Augment a few comments.
23275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23280 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23283 * io/fcntl.h (AT_EMPTY_PATH): Define.
23285 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23287 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23288 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23289 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23291 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23292 * Versions.def: Add GLIBC_2.14.
23293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23296 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23300 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23302 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23305 * string/test-strncmp.c (do_page_test): New function.
23306 (check2): Likewise.
23307 (test_main): Call check2.
23308 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23310 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23314 Handle cache information in CPU leaf 4.
23315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23317 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23320 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23321 character representation.
23322 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23324 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23326 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23327 END(__isnan) to END(__isnanf) to match function entry point/label
23328 EALIGN(__isnanf,...).
23330 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23332 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23334 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23337 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23338 copy from the symbol referenced in the relocation to initialize the
23340 Patch by Piotr Bury <pbury@goahead.com>.
23341 * elf/Makefile: Add rules to build and tst-unique3.
23342 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23343 * elf/tst-unique3.cc: New file.
23344 * elf/tst-unique3.h: New file.
23345 * elf/tst-unique3lib.cc: New file.
23346 * elf/tst-unique3lib2.cc: New file.
23348 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23350 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23352 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23353 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23356 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23358 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23359 to-be-loaded object along a path to loader is ld.so.
23361 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23362 Ulrich Drepper <drepper@gmail.com>
23364 * sysdeps/x86_64/memset.S: After aligning destination, code
23365 branches to different locations depending on the value of
23366 misalignment, when multiarch is enabled. Fix this.
23368 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23370 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23371 Set _x86_64_preferred_memory_instruction for AMD processsors.
23372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23373 Set bit_Prefer_SSE_for_memop for AMD processors.
23375 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23377 * libio/fmemopen.c (fmemopen): Optimize a bit.
23379 2011-03-03 Andreas Schwab <schwab@redhat.com>
23381 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23383 2011-03-03 Roland McGrath <roland@redhat.com>
23385 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23387 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23389 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23390 __bzero_ultra1 instead of __memset_ultra1.
23392 2011-02-23 Andreas Schwab <schwab@redhat.com>
23393 Ulrich Drepper <drepper@gmail.com>
23396 * include/link.h (struct link_map): Add l_orig_initfini.
23397 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23398 returning unsuccessfully.
23399 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23400 close of a file loaded at startup, restore the original l_initfini
23402 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23403 list, store the pointer.
23404 * elf/Makefile ($(objpfx)noload-mem): New rule.
23405 (noload-ENV): Define.
23406 (tests): Add $(objpfx)noload-mem.
23407 * elf/noload.c: Include <memcheck.h>.
23408 (main): Call mtrace. Close all opened handles.
23410 2011-02-17 Andreas Schwab <schwab@redhat.com>
23413 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23414 dependencies are missing.
23416 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23418 Fix __if_freereq crash: Unlike the generic version which uses free,
23420 * sysdeps/mach/hurd/ifreq.h: New file.
23422 2011-01-27 Petr Baudis <pasky@suse.cz>
23423 Ulrich Drepper <drepper@gmail.com>
23426 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23427 to extend_alloca().
23428 * stdio-common/bug23.c: New file.
23429 * stdio-common/Makefile (tests): Add bug23.
23431 2010-09-28 Andreas Schwab <schwab@redhat.com>
23432 Ulrich Drepper <drepper@gmail.com>
23435 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23436 before performing relro protection. At old place add assertion
23437 to make sure nothing changed.
23439 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23440 Glauber de Oliveira Costa <glommer@gmail.com>
23442 * elf/elf.h: Add new ARM TLS relocs.
23444 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23447 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23449 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23451 * sysdeps/wordsize-64/tst-writev.c: New file.
23453 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23455 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23456 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23457 insns in _dl_start to prevent a TOC reference before relocs are
23460 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23463 * Makeconfig: Remove RANLIB definition.
23464 * Makerules: Don't use RANLIB.
23465 * aclocal.m4: Remove ranlib test.
23466 * configure.in: No need to check for ranlib.
23467 * elf/rtld-Rules: Don't use RANLIB.
23469 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23471 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23473 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23474 inclusion protection macro.
23476 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23477 SIGRTMIN and SIGRTMAX and print information in that case only when
23478 SIGRTMIN is defined.
23480 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23482 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23483 arginfo fn returning -1.
23485 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23486 and thousands string is zero terminated.
23488 2011-02-03 Andreas Schwab <schwab@redhat.com>
23490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23491 sysdeps/unix/sysv/linux/bits/socket.h.
23493 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23495 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23496 (__CPU_COUNT): Remove old macros.
23497 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23498 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23499 (__CPU_ALLOC, __CPU_FREE): Add macros.
23500 (__sched_cpualloc, __sched_cpufree): Add declarations.
23502 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23504 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23505 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23506 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23507 (readdhstai): Return value of addhstaiX call.
23508 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23509 (addgrbyX): Return value returned by cache_addgr.
23510 (readdgrbyname): Return value returned by addgrbyX.
23511 (readdgrbygid): Likewise.
23512 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23513 (addpwbyX): Return value returned by cache_addpw.
23514 (readdpwbyname): Return value returned by addhstbyX.
23515 (readdpwbyuid): Likewise.
23516 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23517 (addservbyX): Return value returned by cache_addserv.
23518 (readdservbyname): Return value returned by addservbyX:
23519 (readdservbyport): Likewise.
23520 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23521 (addhstbyX): Return value returned by cache_addhst.
23522 (readdhstbyname): Return value returned by addhstbyX.
23523 (readdhstbyaddr): Likewise.
23524 (readdhstbynamev6): Likewise.
23525 (readdhstbyaddrv6): Likewise.
23526 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23527 (readdinitgroups): Return value returned by addinitgroupsX.
23528 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23529 (prune_cache): Keep track of timeout value of re-added entries.
23530 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23531 * nscd/nscd.h: Adjust prototypes of readd* functions.
23533 2011-02-04 Roland McGrath <roland@redhat.com>
23535 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23536 (nis_stats): Likewise.
23537 * nis/nis_modify.c (nis_modify): Likewise.
23538 * nis/nis_remove.c (nis_remove): Likewise.
23539 * nis/nis_add.c (nis_add): Likewise.
23541 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23543 * posix/fnmatch_loop.c: Add some consts.
23545 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23547 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23550 * config.make.in (config-cflags-novzeroupper): Define.
23551 * configure.in: Substitute libc_cv_cc_novzeroupper.
23552 * elf/Makefile (AVX-CFLAGS): Define.
23553 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23554 (CFLAGS-tst-auditmod4a.c): Likewise.
23555 (CFLAGS-tst-auditmod4b.c): Likewise.
23556 (CFLAGS-tst-auditmod6b.c): Likewise.
23557 (CFLAGS-tst-auditmod6c.c): Likewise.
23558 (CFLAGS-tst-auditmod7b.c): Likewise.
23559 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23561 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23563 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23564 function to the callback.
23565 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23567 2011-02-02 Andreas Schwab <schwab@redhat.com>
23569 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23572 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23575 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23577 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23579 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23582 * elf/Makefile: Add rules to build and run new test.
23583 * elf/tst-initorder.c: New file.
23584 * elf/tst-initorder.exp: New file.
23585 * elf/tst-initordera1.c: New file.
23586 * elf/tst-initordera2.c: New file.
23587 * elf/tst-initordera3.c: New file.
23588 * elf/tst-initordera4.c: New file.
23589 * elf/tst-initorderb1.c: New file.
23590 * elf/tst-initorderb2.c: New file.
23591 * elf/tst-order-a1.c: New file.
23592 * elf/tst-order-a2.c: New file.
23593 * elf/tst-order-a3.c: New file.
23594 * elf/tst-order-a4.c: New file.
23595 * elf/tst-order-b1.c: New file.
23596 * elf/tst-order-b2.c: New file.
23597 * elf/tst-order-main.c: New file.
23598 New test case by George Gensure <werkt0@gmail.com>.
23600 2010-10-01 Andreas Schwab <schwab@redhat.com>
23602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23603 decoding ACE if AI_CANONIDN.
23605 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23607 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23609 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23611 * version.h (RELEASE): Bump for 2.13 release.
23612 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23614 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23618 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23625 * posix/getconf.c: Update copyright year.
23626 * catgets/gencat.c: Likewise.
23627 * csu/version.c: Likewise.
23628 * debug/catchsegv.sh: Likewise.
23629 * debug/xtrace.sh: Likewise.
23630 * elf/ldconfig.c: Likewise.
23631 * elf/ldd.bash.in: Likewise.
23632 * elf/sprof.c (print_version): Likewise.
23633 * iconv/iconv_prog.c: Likewise.
23634 * iconv/iconvconfig.c: Likewise.
23635 * locale/programs/locale.c: Likewise.
23636 * locale/programs/localedef.c: Likewise.
23637 * malloc/memusage.sh: Likewise.
23638 * malloc/mtrace.pl: Likewise.
23639 * nscd/nscd.c (print_version): Likewise.
23640 * nss/getent.c: Likewise.
23642 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23643 PF_CAIF, and PF_ALG.
23644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23646 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23648 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23649 (modules-names): Use them.
23650 (ifunc-test-modules, ifunc-pie-tests): Define.
23651 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23652 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23653 (test-extras): Likewise.
23654 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23655 $(compile-command.c).
23656 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23657 (all-built-dso): Define.
23658 (check-textrel.out, check-execstack.out): Depend on it.
23660 * configure.in: Don't override --enable-multi-arch.
23662 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23665 * nscd/hstcache.c (tryagain): Define.
23666 (cache_addhst): Return tryagain not notfound for temporary errors.
23667 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23670 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23674 to make the syscall.
23675 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23678 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23679 and fall back to matching as normal character if the string ends before
23680 the matching ']' is found. This is what POSIX requires.
23681 * posix/testfnm.c: Adjust test result.
23682 * posix/globtest.sh: Adjust test result. Add new test.
23683 * posix/tst-fnmatch.input: Likewise.
23684 * posix/tst-fnmatch2.c: Add new test.
23686 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23688 * elf/Makefile (check-execstack): Revert last change. Depend on
23690 (check-execstack.h): New target.
23691 (generated): Add check-execstack.h.
23692 * elf/check-execstack.c: Include "check-execstack.h".
23693 (main): Revert last change.
23694 (handle_file): Return zero if GNU_STACK is absent and
23695 DEFAULT_STACK_PERMS doesn't include PF_X.
23697 2011-01-13 Ulrich Drepper <drepper@gmail.com>
23699 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23700 in child fails because the descriptor is already closed.
23701 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23702 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23703 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23706 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23710 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23711 temporary buffer used to handle multi lookups locally.
23712 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23714 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23716 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23719 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23721 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23722 alignment for SSE2.
23724 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23727 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23728 characters. When rounding increased number of integer digits recompute
23730 * stdio-common/tst-grouping.c: New file.
23731 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23733 2011-01-09 Ulrich Drepper <drepper@gmail.com>
23735 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23736 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23738 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23740 * bits/select.h: Likewise.
23742 2011-01-08 Ulrich Drepper <drepper@gmail.com>
23744 * po/ja.po: Update from translation team.
23746 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
23749 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23750 implementation just like for lxstat, fxstatat, et al.
23752 2010-12-27 Jim Meyering <meyering@redhat.com>
23755 * posix/regexec.c (build_trtable): Return failure indication upon
23756 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23758 2010-12-25 Ulrich Drepper <drepper@gmail.com>
23761 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23762 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23763 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23767 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23770 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23771 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23773 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23775 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23776 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23777 script has SORT_BY_INIT_PRIORITY.
23778 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23779 NO_CTORS_DTORS_SECTIONS is defined.
23780 * elf/soinit.c: Likewise.
23781 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23782 NO_CTORS_DTORS_SECTIONS is defined.
23783 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23784 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23785 * sysdeps/sh/init-first.c: Likewise.
23786 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23788 2010-12-24 Ulrich Drepper <drepper@gmail.com>
23790 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23791 always use the slow path.
23793 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23795 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23796 similar rule which adds the sysdep directories to the header search in
23797 order to pick up the correct platform stackinfo.h.
23798 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23799 perform test if it is, otherwise return successfully without testing.
23800 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23801 DEFAULT_STACK_PERMS define in stackinfo.h.
23802 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23803 defined in stackinfo.h.
23804 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23805 DEFAULT_STACK_PERMS defined in stackinfo.h.
23806 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23807 * sysdeps/ia64/stackinfo.h: Likewise.
23808 * sysdeps/s390/stackinfo.h: Likewise.
23809 * sysdeps/sh/stackinfo.h: Likewise.
23810 * sysdeps/sparc/stackinfo.h: Likewise.
23811 * sysdeps/x86_64/stackinfo.h: Likewise.
23812 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23813 PF_X for powerpc64. Retain PF_X for powerpc32.
23815 2010-12-19 Ulrich Drepper <drepper@gmail.com>
23817 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23819 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23820 GETDENTS_64BIT_ALIGNED.
23822 2010-12-14 Ulrich Drepper <dreper@gmail.com>
23824 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23826 2010-12-10 Andreas Schwab <schwab@redhat.com>
23828 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23831 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23832 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23834 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23835 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23837 2010-12-09 Ulrich Drepper <drepper@gmail.com>
23840 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23843 2010-12-09 Jakub Jelinek <jakub@redhat.com>
23845 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23847 2010-12-03 Ulrich Drepper <drepper@gmail.com>
23849 * po/it.po: Update from translation team.
23851 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23856 2010-11-30 Ulrich Drepper <drepper@gmail.com>
23858 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23860 2010-11-24 Andreas Schwab <schwab@redhat.com>
23862 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23864 (gaih_getanswer_slice): Likewise.
23866 2010-10-20 Jakub Jelinek <jakub@redhat.com>
23868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23870 2010-05-31 Petr Baudis <pasky@suse.cz>
23873 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23874 silently even in the chroot mode.
23876 2010-11-22 Ulrich Drepper <drepper@gmail.com>
23878 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23879 last patch a bit. Pretty printing
23881 2010-05-31 Petr Baudis <pasky@suse.cz>
23884 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23885 initialization of skip_initgroups_dyn.
23887 2010-11-19 Ulrich Drepper <drepper@gmail.com>
23889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23892 2010-11-16 Ulrich Drepper <drepper@gmail.com>
23894 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23896 2010-11-11 Andreas Schwab <schwab@redhat.com>
23898 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23899 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23900 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23901 ($(objpfx)tst-fnmatch-mem): New rule.
23902 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23903 * posix/tst-fnmatch.c (main): Call mtrace.
23905 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23908 Support Intel processor model 6 and model 0x2c.
23910 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
23912 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23915 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23918 * string/test-strncasecmp.c (check_result): New function.
23919 (do_one_test): Use it.
23920 (check1): New function.
23921 (test_main): Use it.
23922 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23923 Support strcasecmp and strncasecmp.
23925 2010-11-08 Ulrich Drepper <drepper@gmail.com>
23928 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23931 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23933 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23937 * sysdeps/x86_64/multiarch/bzero.S: New file.
23938 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23939 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23940 * sysdeps/x86_64/multiarch/memset.S: New file.
23941 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23943 Set bit_Prefer_SSE_for_memop for Intel processors.
23944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23946 (index_Prefer_SSE_for_memop): Define.
23947 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23949 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
23951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23954 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23958 (__x86_64_raw_data_cache_size_half): Likewise.
23959 (__x86_64_raw_shared_cache_size): Likewise.
23960 (__x86_64_raw_shared_cache_size_half): Likewise.
23962 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23963 (__x86_64_raw_data_cache_size_half): Likewise.
23964 (__x86_64_raw_shared_cache_size): Likewise.
23965 (__x86_64_raw_shared_cache_size_half): Likewise.
23966 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23967 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23968 and __x86_64_raw_shared_cache_size_half. Round
23969 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23970 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23971 to multiple of 256 bytes.
23973 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23977 of inacessible symlinks. Verify result of symlink before returning it.
23978 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23979 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23981 2010-10-28 Erich Ritz <erichritz@gmail.com>
23983 * math/math.h (isinf): Fix typo in comment.
23985 2010-11-01 Ulrich Drepper <drepper@gmail.com>
23987 * po/da.po: Update from translation team.
23989 2010-10-26 Ulrich Drepper <drepper@gmail.com>
23991 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23992 is added to the list.
23994 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23995 Ulrich Drepper <drepper@gmail.com>
23997 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23998 the global list here. Move code to...
23999 (_dl_add_to_namespace_list): ...here. New function.
24000 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24001 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24002 * elf/dl-load.c (lose): Don't remove the element from the list.
24003 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24004 (_dl_map_object): Likewise.
24006 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24009 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24010 into all bytes of SSE register.
24011 Patch by Richard Li <richardpku@gmail.com>.
24013 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24016 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24019 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24021 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24022 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24029 2010-10-22 Andreas Schwab <schwab@redhat.com>
24031 * include/dlfcn.h (__RTLD_SECURE): Define.
24032 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24033 mode & __RTLD_SECURE instead.
24034 (open_path): Rename preloaded parameter to secure.
24035 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24036 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24037 * elf/dl-deps.c (openaux): Likewise.
24038 * elf/rtld.c (struct map_args): Remove is_preloaded.
24039 (map_doit): Don't use it.
24040 (dl_main): Likewise.
24041 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24042 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24044 2010-09-09 Andreas Schwab <schwab@redhat.com>
24046 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24047 (sysd-rules-targets): Remove duplicates.
24048 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24049 rtld-%.$o dependency.
24051 2010-10-18 Andreas Schwab <schwab@redhat.com>
24053 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24054 _dl_map_object do it.
24056 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24058 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24059 fast fma builtins, define the macros in the C99 standard.
24060 (FP_FAST_FMAF): Likewise.
24061 (FP_FAST_FMAL): Likewise.
24062 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24064 * bits/mathdef.h: Update copyright year.
24065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24067 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24069 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24070 builtins, define the macros in the C99 standard.
24071 (FP_FAST_FMAF): Likewise.
24072 (FP_FAST_FMAL): Likewise.
24073 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24075 (FP_FAST_FMAF): Likewise.
24077 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24080 * math/libm-test.inc (fma_test): Some new testcases.
24081 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24083 y and infinite z. Do multiplication by C already in long double.
24084 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24086 y and infinite z. Do bitwise or of inexact bit into u.d.
24087 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24088 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24089 * sysdeps/i386/fpu/s_fma.S: Removed.
24090 * sysdeps/i386/fpu/s_fmal.S: Removed.
24092 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24095 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24097 computation is not scheduled after fetestexcept. Fix value
24098 of minimum denormal long double.
24100 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24103 * math/libm-test.inc (fma_test): Add some more tests.
24104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24107 2010-10-15 Andreas Schwab <schwab@redhat.com>
24109 * scripts/data/localplt-s390-linux-gnu.data: New file.
24110 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24112 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24115 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24116 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24118 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24120 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24122 if one of x and y is very large and the other is subnormal.
24123 * sysdeps/s390/fpu/s_fmaf.c: New file.
24124 * sysdeps/s390/fpu/s_fma.c: New file.
24125 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24126 * sysdeps/powerpc/fpu/s_fma.S: New file.
24127 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24128 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24129 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24131 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24134 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24136 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24137 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24138 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24139 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24140 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24141 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24144 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24147 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24148 * posix/bug-regex31.input: Add test case.
24150 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24152 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24153 * posix/bug-regex31.input: New file.
24156 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24157 (parse_sub_exp): Fix last change, use postorder.
24159 * posix/bug-regex31.c: New file.
24160 * posix/Makefile: Add rules to build and run bug-regex31.
24162 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24165 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24168 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24169 to have entries in sys_siglist.
24172 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24175 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24178 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24179 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24180 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24181 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24182 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24183 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24184 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24185 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24186 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24187 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24188 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24189 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24190 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24191 * math/ftestexcept.c (fetestexcept): Likewise.
24192 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24193 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24194 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24195 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24196 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24197 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24198 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24200 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24203 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24206 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24208 * string/bug-strstr1.c: New file.
24209 * string/Makefile: Add rules to build and run bug-strstr1.
24211 2010-10-05 Eric Blake <eblake@redhat.com>
24214 * string/str-two-way.h (two_way_long_needle): Always clear memory
24215 when skipping input due to the shift table.
24217 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24220 * malloc/mcheck.c: Handle large requests.
24223 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24224 for strncmp and strncasecmp.
24225 * string/stratcliff.c: Add tests for strcmp and strncmp.
24226 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24228 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24230 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24233 2010-09-30 Andreas Jaeger <aj@suse.de>
24235 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24236 (CGROUP_SUPER_MAGIC): Define.
24237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24238 Handle btrfs and cgroup file systems.
24239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24242 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24244 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24245 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24247 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24250 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24251 trying to locate the ELF header.
24253 2010-09-27 Andreas Schwab <schwab@redhat.com>
24256 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24257 Mask out sign-bit copies when constructing f_fsid.
24259 2010-09-24 Petr Baudis <pasky@suse.cz>
24261 * debug/stack_chk_fail_local.c: Add missing licence exception.
24262 * debug/warning-nop.c: Likewise.
24264 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24267 implementing getdents64 using getdents syscall, set d_type if
24268 __ASSUME_GETDENTS32_D_TYPE.
24270 2010-09-16 Andreas Schwab <schwab@redhat.com>
24272 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24273 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24275 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24278 * posix/unistd.h: Undo change of feature selection for ftruncate from
24281 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24283 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24286 2010-09-20 Andreas Schwab <schwab@redhat.com>
24288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24292 2010-09-14 Andreas Schwab <schwab@redhat.com>
24294 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24295 variables after CHECK_SP call.
24296 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24298 2010-09-13 Andreas Schwab <schwab@redhat.com>
24299 Ulrich Drepper <drepper@redhat.com>
24301 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24302 re-relocationg ld.so.
24303 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24304 _dl_init_paths call.
24305 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24308 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24310 * resolv/res_init.c (__res_vinit): Count the default server we added.
24312 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24313 Ulrich Drepper <drepper@redhat.com>
24316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24317 (____longjmp_chk): Use %ebx for saving value across system call.
24320 2010-09-06 Andreas Schwab <schwab@redhat.com>
24322 * manual/Makefile: Don't mix pattern rules with normal rules.
24324 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24326 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24328 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24329 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24330 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24331 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24335 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24338 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24339 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24341 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24343 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24344 * sysdeps/x86_64/addmul_1.S: Likewise.
24345 * sysdeps/x86_64/lshift.S: Likewise.
24346 * sysdeps/x86_64/mul_1.S: Likewise.
24347 * sysdeps/x86_64/rshift.S: Likewise.
24348 * sysdeps/x86_64/sub_n.S: Likewise.
24349 * sysdeps/x86_64/submul_1.S: Likewise.
24351 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24353 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24354 Define __sched_param instead of SCHED_* and sched_param when
24355 <bits/sched.h> is included with __need_schedparam defined.
24356 * bits/sched.h [__need_schedparam]
24357 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24358 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24359 (__defined_schedparam): Define to 1.
24360 (__sched_param): New structure, identical to sched_param.
24361 (__need_schedparam): Undefine.
24363 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24366 (epoll_create1): Declare.
24368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24370 2010-08-31 Andreas Schwab <schwab@redhat.com>
24373 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24374 shifting retval into place.
24376 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24378 * nis/rpcsvc/nis.h: Update copyright notice.
24379 * nis/rpcsvc/nis.x: Likewise.
24380 * nis/rpcsvc/nis_callback.h: Likewise.
24381 * nis/rpcsvc/nis_callback.x: Likewise.
24382 * nis/rpcsvc/nis_object.x: Likewise.
24383 * nis/rpcsvc/nis_tags.h: Likewise.
24384 * nis/rpcsvc/yp.h: Likewise.
24385 * nis/rpcsvc/yp.x: Likewise.
24386 * nis/rpcsvc/ypupd.h: Likewise.
24387 * nis/yp_xdr.c: Likewise.
24388 * nis/ypupdate_xdr.c: Likewise.
24390 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24391 mainly the body of pmap_getport. Add parameters to specify timeouts.
24392 (pmap_getport): Use __libc_rpc_getport.
24393 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24394 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24395 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24397 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24402 2010-08-27 Roland McGrath <roland@redhat.com>
24404 * sysdeps/i386/i686/multiarch/Makefile
24405 (CFLAGS-varshift.c): New variable.
24407 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24409 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24410 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24414 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24416 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24418 * sysdeps/x86_64/strlen.S: Unroll the loop.
24419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24420 strlen-sse2 strlen-sse2-bsf.
24421 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24422 __strlen_no_bsf if bit_Slow_BSF is set.
24423 (__strlen_sse42): Removed.
24424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24425 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24427 2010-08-25 Roland McGrath <roland@redhat.com>
24429 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24430 * sysdeps/x86_64/multiarch/varshift.c: New file.
24431 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24432 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24433 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24436 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24439 strlen-sse2 strlen-sse2-bsf.
24440 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24441 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24442 (__strlen_sse2): Removed.
24443 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24446 bit_Slow_BSF for Atom.
24447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24448 (index_Slow_BSF): Define.
24449 (HAS_SLOW_BSF): Define.
24451 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24454 * resolv/res_init.c (__res_vinit): When no server address at all
24455 is given default to loopback.
24457 2010-08-24 Roland McGrath <roland@redhat.com>
24459 * configure.in: Remove config-name.h generation.
24460 * configure: Regenerated.
24461 * config-name.in: File removed.
24462 * scripts/config-uname.sh: New file.
24463 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24464 ($(objdir)config-name.h): New target.
24466 * sunrpc/rpc_parse.h: Avoid nested comment.
24468 2010-08-24 Richard Henderson <rth@redhat.com>
24469 Ulrich Drepper <drepper@redhat.com>
24470 H.J. Lu <hongjiu.lu@intel.com>
24472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24474 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24475 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24476 _mm_alignr_epi8 with _mm_loadu_si128.
24477 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24478 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24479 (__m128i_shift_right): Removed.
24480 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24481 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24482 * sysdeps/x86_64/multiarch/varshift.h: New file.
24483 * sysdeps/x86_64/multiarch/varshift.S: New file.
24485 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24487 * configure.in: Move assembler checks to before sysdep dir checking.
24489 2010-08-20 Petr Baudis <pasky@suse.cz>
24491 * LICENSES: Sync the sunrpc license.
24493 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24495 * sunrpc/auth_des.c: Update copyright notice once again.
24496 * sunrpc/auth_none.c: Likewise.
24497 * sunrpc/auth_unix.c: Likewise.
24498 * sunrpc/authdes_prot.c: Likewise.
24499 * sunrpc/authuxprot.c: Likewise.
24500 * sunrpc/bindrsvprt.c: Likewise.
24501 * sunrpc/clnt_gen.c: Likewise.
24502 * sunrpc/clnt_perr.c: Likewise.
24503 * sunrpc/clnt_raw.c: Likewise.
24504 * sunrpc/clnt_simp.c: Likewise.
24505 * sunrpc/clnt_tcp.c: Likewise.
24506 * sunrpc/clnt_udp.c: Likewise.
24507 * sunrpc/clnt_unix.c: Likewise.
24508 * sunrpc/des_crypt.c: Likewise.
24509 * sunrpc/des_soft.c: Likewise.
24510 * sunrpc/get_myaddr.c: Likewise.
24511 * sunrpc/getrpcport.c: Likewise.
24512 * sunrpc/key_call.c: Likewise.
24513 * sunrpc/key_prot.c: Likewise.
24514 * sunrpc/openchild.c: Likewise.
24515 * sunrpc/pm_getmaps.c: Likewise.
24516 * sunrpc/pm_getport.c: Likewise.
24517 * sunrpc/pmap_clnt.c: Likewise.
24518 * sunrpc/pmap_prot.c: Likewise.
24519 * sunrpc/pmap_prot2.c: Likewise.
24520 * sunrpc/pmap_rmt.c: Likewise.
24521 * sunrpc/rpc/auth.h: Likewise.
24522 * sunrpc/rpc/auth_unix.h: Likewise.
24523 * sunrpc/rpc/clnt.h: Likewise.
24524 * sunrpc/rpc/des_crypt.h: Likewise.
24525 * sunrpc/rpc/key_prot.h: Likewise.
24526 * sunrpc/rpc/netdb.h: Likewise.
24527 * sunrpc/rpc/pmap_clnt.h: Likewise.
24528 * sunrpc/rpc/pmap_prot.h: Likewise.
24529 * sunrpc/rpc/pmap_rmt.h: Likewise.
24530 * sunrpc/rpc/rpc.h: Likewise.
24531 * sunrpc/rpc/rpc_des.h: Likewise.
24532 * sunrpc/rpc/rpc_msg.h: Likewise.
24533 * sunrpc/rpc/svc.h: Likewise.
24534 * sunrpc/rpc/svc_auth.h: Likewise.
24535 * sunrpc/rpc/types.h: Likewise.
24536 * sunrpc/rpc/xdr.h: Likewise.
24537 * sunrpc/rpc_clntout.c: Likewise.
24538 * sunrpc/rpc_cmsg.c: Likewise.
24539 * sunrpc/rpc_common.c: Likewise.
24540 * sunrpc/rpc_cout.c: Likewise.
24541 * sunrpc/rpc_dtable.c: Likewise.
24542 * sunrpc/rpc_hout.c: Likewise.
24543 * sunrpc/rpc_main.c: Likewise.
24544 * sunrpc/rpc_parse.c: Likewise.
24545 * sunrpc/rpc_parse.h: Likewise.
24546 * sunrpc/rpc_prot.c: Likewise.
24547 * sunrpc/rpc_sample.c: Likewise.
24548 * sunrpc/rpc_scan.c: Likewise.
24549 * sunrpc/rpc_scan.h: Likewise.
24550 * sunrpc/rpc_svcout.c: Likewise.
24551 * sunrpc/rpc_tblout.c: Likewise.
24552 * sunrpc/rpc_util.c: Likewise.
24553 * sunrpc/rpc_util.h: Likewise.
24554 * sunrpc/rpcinfo.c: Likewise.
24555 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24556 * sunrpc/rpcsvc/key_prot.x: Likewise.
24557 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24558 * sunrpc/rpcsvc/mount.x: Likewise.
24559 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24560 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24561 * sunrpc/rpcsvc/rex.x: Likewise.
24562 * sunrpc/rpcsvc/rstat.x: Likewise.
24563 * sunrpc/rpcsvc/rusers.x: Likewise.
24564 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24565 * sunrpc/rpcsvc/spray.x: Likewise.
24566 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24567 * sunrpc/rtime.c: Likewise.
24568 * sunrpc/svc.c: Likewise.
24569 * sunrpc/svc_auth.c: Likewise.
24570 * sunrpc/svc_authux.c: Likewise.
24571 * sunrpc/svc_raw.c: Likewise.
24572 * sunrpc/svc_run.c: Likewise.
24573 * sunrpc/svc_simple.c: Likewise.
24574 * sunrpc/svc_tcp.c: Likewise.
24575 * sunrpc/svc_udp.c: Likewise.
24576 * sunrpc/svc_unix.c: Likewise.
24577 * sunrpc/svcauth_des.c: Likewise.
24578 * sunrpc/xcrypt.c: Likewise.
24579 * sunrpc/xdr.c: Likewise.
24580 * sunrpc/xdr_array.c: Likewise.
24581 * sunrpc/xdr_float.c: Likewise.
24582 * sunrpc/xdr_mem.c: Likewise.
24583 * sunrpc/xdr_rec.c: Likewise.
24584 * sunrpc/xdr_ref.c: Likewise.
24585 * sunrpc/xdr_sizeof.c: Likewise.
24586 * sunrpc/xdr_stdio.c: Likewise.
24588 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24591 2010-08-19 Andreas Schwab <schwab@redhat.com>
24593 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24595 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24597 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24599 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24600 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24601 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24602 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24603 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24604 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24606 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24607 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24608 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24609 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24610 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24612 2010-07-26 Anton Blanchard <anton@samba.org>
24614 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24615 * malloc/arena.c (heap_trim): Likewise.
24617 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24619 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24622 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24624 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24626 * sysdeps/i386/elf/Makefile: New file.
24628 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24630 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24631 from fanotify_init.
24632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24635 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24637 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24639 * sysdeps/multiarch/strcmp.S: Likewise.
24641 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24643 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24644 strncase_l-nonascii.
24645 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24646 Add strncase_l-ssse3.
24647 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24648 * sysdeps/x86_64/strcmp.S: Likewise.
24649 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24650 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24651 * sysdeps/x86_64/strncase.S: New file.
24652 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24653 * sysdeps/x86_64/strncase_l.S: New file.
24654 * string/Makefile (strop-tests): Add strncasecmp.
24655 * string/test-strncasecmp.c: New file.
24657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24660 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24661 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24663 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24665 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24667 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24669 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24673 2010-05-01 Alan Modra <amodra@gmail.com>
24675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24676 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24677 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24678 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24679 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24680 tidying. Don't tail-call __sigjmp_save for static lib.
24681 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24683 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24684 (CALL_MCOUNT): Add eh info, and nop after bl.
24685 (TAIL_CALL_SYSCALL_ERROR): New macro.
24686 (PSEUDO_RET): Use it.
24687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24688 Correct save location of integer regs and cr.
24689 (_dl_profile_resolve): Correct cr save location. Delete nops
24690 after bl when SHARED. Reduce cfi size a little by better
24691 placement of cfi directives.
24692 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24693 make a stack frame. Instead use parm save area as a temp.
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24695 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24697 Don't make a stack frame for parent, use parm save area.
24698 Increase child stack frame to 112 bytes. Don't save unused reg,
24699 and adjust reg usage. Set up cfi on error recovery and
24700 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24702 (__makecontext): Add dummy nop after jump to exit.
24703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24704 Use correct parm save area and cr save, reduce stack frame.
24705 Correct cfi for possible PSEUDO_RET frame setup.
24706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24707 Branch to local label emitted by PSEUDO_RET rather than
24710 2010-08-12 Andreas Schwab <schwab@redhat.com>
24713 * locale/programs/locale.c (print_assignment): New function.
24714 (show_locale_vars): Use it.
24716 2010-08-11 Ulrich Drepper <drepper@redhat.com>
24718 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24720 (struct statfs64): Likewise.
24721 (_STATFS_F_FLAGS): Define.
24722 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24724 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24725 (ST_VALID): Define locally.
24726 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24727 __statvfs_getflags, use the provided value.
24728 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24729 __ASSUME_STATFS_F_FLAGS.
24731 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24733 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24734 Add sys/fanotify.h.
24735 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24736 fanotify_mask for GLIBC_2.13.
24737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24738 fanotify_init and fanotify_mark.
24739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24740 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24742 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24744 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24745 prlimit64 for GLIBC_2.13.
24746 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24752 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24753 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24756 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24759 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24760 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24762 * nss/Makefile: Add rules to build and run tst-nss-test1.
24763 * shlib-versions: Add entry for libnss_test1.
24764 * nss/nss_test1.c: New file.
24765 * nss/tst-nss-test1.c: New file.
24767 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24768 (__nss_configure_lookup): Set appropriate entry in
24769 __nss_configure_lookup to true.
24770 * nss/nsswitch.h: Define enum with indeces of databases in
24771 databases and __nss_database_custom arrays. Declare
24772 __nss_database_custom.
24773 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24774 to avoid using nscd when custom rules are installed.
24775 * nss/getXXbyYY_r.c: Likewise.
24776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24778 * nss/nss_files/files-parse.c: Whitespace fixes.
24780 2010-08-09 Ulrich Drepper <drepper@redhat.com>
24783 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24784 * posix/fnmatch_loop.c: Likewise.
24786 2010-07-17 Andi Kleen <ak@linux.intel.com>
24788 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24789 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24790 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24791 * Versions.def [GLIBC_2.13]: Add.
24793 2010-08-06 Ulrich Drepper <drepper@redhat.com>
24795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24796 Also fail if tpwd after pwuid call is NULL.
24798 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24800 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24801 when converting to ms.
24803 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24805 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24806 EOPNOTSUPP errors with ENOTTY.
24807 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24808 EOPNOTSUPP errors with ENOTTY.
24810 2010-07-31 Ulrich Drepper <drepper@redhat.com>
24812 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24813 Add strcasecmp_l-ssse3.
24814 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24816 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24817 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24818 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24820 2010-07-30 Ulrich Drepper <drepper@redhat.com>
24822 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24824 * string/Makefile (strop-tests): Add strcasecmp.
24825 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24826 strcasecmp_l-nonascii.
24827 (gen-as-const-headers): Add locale-defines.sym.
24828 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24829 * sysdeps/x86_64/strcasecmp.S: New file.
24830 * sysdeps/x86_64/strcasecmp_l.S: New file.
24831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24832 * sysdeps/x86_64/locale-defines.sym: New file.
24833 * string/test-strcasecmp.c: New file.
24835 * string/test-strcasestr.c: Test both ends of the range of characters.
24836 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24838 2010-07-29 Roland McGrath <roland@redhat.com>
24841 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24843 2010-07-27 Ulrich Drepper <drepper@redhat.com>
24845 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24848 2010-07-27 Andreas Schwab <schwab@redhat.com>
24850 * manual/memory.texi (Malloc Tunable Parameters): Document
24853 2010-07-26 Roland McGrath <roland@redhat.com>
24856 * configure.in (-fgnu89-inline check): Set and substitute
24857 gnu89_inline, not libc_cv_gnu89_inline.
24858 * configure: Regenerated.
24859 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24861 2010-07-26 Ulrich Drepper <drepper@redhat.com>
24863 * string/test-strnlen.c: New file.
24864 * string/Makefile (strop-tests): Add strnlen.
24865 * string/tester.c (test_strnlen): Add a few more test cases.
24866 * string/tst-strlen.c: Better error reporting.
24868 * sysdeps/x86_64/strnlen.S: New file.
24870 2010-07-24 Ulrich Drepper <drepper@redhat.com>
24872 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24873 lower-latency instructions.
24875 2010-07-23 Ulrich Drepper <drepper@redhat.com>
24877 * string/test-strcasestr.c: New file.
24878 * string/test-strstr.c: New file.
24879 * string/Makefile (strop-tests): Add strstr and strcasestr.
24880 * string/str-two-way.h: Don't undefine MAX.
24881 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24883 2010-07-21 Andreas Schwab <schwab@redhat.com>
24885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24886 strcasestr-nonascii.
24887 (CFLAGS-strcasestr-nonascii.c): Define.
24888 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24890 Remove unused attribute.
24892 2010-07-20 Roland McGrath <roland@redhat.com>
24894 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24895 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24896 ld.so.cache was broken. With it, there is no way to disable dsocaps
24897 like LD_HWCAP_MASK can disable hwcaps.
24899 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24901 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24903 2010-07-16 Ulrich Drepper <drepper@redhat.com>
24905 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24906 call in strcasestr.
24907 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24908 __strcasestr_sse42_nonascii.
24909 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24910 strcasestr-nonascii.c.
24911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24913 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
24915 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24916 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24918 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24920 2010-07-09 Ulrich Drepper <drepper@redhat.com>
24922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24925 2010-07-06 Andreas Schwab <schwab@redhat.com>
24928 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24931 2010-07-06 Ulrich Drepper <drepper@redhat.com>
24933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24934 _PC_PIPE_BUF using F_GETPIPE_SZ.
24936 2010-07-05 Roland McGrath <roland@redhat.com>
24938 * manual/arith.texi (Rounding Functions): Fix rint description
24939 implicit in round description.
24941 2010-07-02 Ulrich Drepper <drepper@redhat.com>
24943 * elf/Makefile: Fix linking for a few tests to make recent linker
24946 2010-06-30 Andreas Schwab <schwab@redhat.com>
24948 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24949 $(common-objpfx)libc_nonshared.a.
24951 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
24953 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24954 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24955 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24957 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24960 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24975 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24976 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24977 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24978 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24979 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24980 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24981 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24982 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24983 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24984 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24985 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24986 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25002 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25004 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25005 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25006 * string/memmove.c (memmove): Renamed to ...
25007 (MEMMOVE): ...this. Default to memmove.
25008 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25009 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25012 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25013 mempcpy-ssse3-back memmove-ssse3-back.
25014 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25017 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25018 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25019 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25020 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25021 * sysdeps/x86_64/multiarch/memmove.c: New file.
25022 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25023 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25024 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25025 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25029 (index_Fast_Copy_Backward): Define.
25030 (HAS_ARCH_FEATURE): Define.
25031 (HAS_FAST_REP_STRING): Define.
25032 (HAS_FAST_COPY_BACKWARD): Define.
25034 2010-06-21 Andreas Schwab <schwab@redhat.com>
25036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25037 Restore proper fallback handling.
25039 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25042 * posix/group_member.c (__group_member): Correct checking loop.
25044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25045 OOM in getpwuid_r correctly. Return error number when the caller
25046 should return, otherwise -1.
25047 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25048 call returning > 0 value.
25049 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25051 2010-06-07 Andreas Schwab <schwab@redhat.com>
25053 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25054 libc_nonshared.a from targets in modules-names.
25056 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25058 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25061 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25064 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25068 2010-06-02 Andreas Schwab <schwab@redhat.com>
25070 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25072 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25083 2010-06-14 Roland McGrath <roland@redhat.com>
25085 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25087 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25089 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25090 __REDIRECT followed by __THROW.
25091 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25092 * posix/getopt.h (getopt): Likewise.
25094 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25096 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25097 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25098 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25100 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25101 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25103 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25107 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25111 Properly check family and model.
25113 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25115 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25117 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25119 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25121 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25123 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25126 2010-05-19 Andreas Schwab <schwab@redhat.com>
25128 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25131 2010-05-21 Andreas Schwab <schwab@redhat.com>
25133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25134 and internal_recvmmsg.
25135 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25136 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25138 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25140 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25141 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25142 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25144 2010-05-20 Andreas Schwab <schwab@redhat.com>
25146 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25148 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25150 POWER7 optimizations.
25151 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25152 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25154 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25156 * version.h: Update for 2.13 development version.
25158 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25160 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25161 exceptions. Return 0.
25163 2010-05-07 Roland McGrath <roland@redhat.com>
25165 * elf/ldconfig.c (main): Add a const.
25167 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25169 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25170 (args_options): Add no-idn option.
25171 (ahosts_keys_int): Add idn_flags to ai_flags.
25172 (parse_option): Handle 'i' option to clear idn_flags.
25174 * malloc/malloc.c (_int_free): Possible race in the most recently
25175 added check. Only act on the data if no current modification
25178 See ChangeLog.17 for earlier changes.