Remove dead variable in generic strcpy.
[glibc.git] / ChangeLog
blob83d439b7bf6dd86b8a66d635ce8093f8e5425548
1 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3         * string/strcpy.c: Removed unused variable.
5         * Makeconfig (+sysdep-includes): Define with := rather than =.
6         Use an existing include/ subdir of each sysdeps dir before it.
8 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
10         * nscd/connection.c (register_traced_file): Comment function.
11         [HAVE_INOTIFY] (union __inev): Define.
12         [HAVE_INOTIFY] (inotify_check_files): New function.
13         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15         clear_db_cache.
16         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21         loaded if not already and that a failure is permanent.
23 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25         [BZ #15006]
26         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #13550]
32         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33         (CHECK_1_NULL_OK): Likewise.
34         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35         (__fxstat): Do not use CHECK_1.
36         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37         <bp-checks.h>.
38         (___fxstat64): Do not use CHECK_1.
39         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40         <bp-checks.h>.
41         (__fxstatat): Do not use CHECK_1.
42         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43         <bp-checks.h>.
44         (__fxstatat64): Do not use CHECK_1.
45         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46         <bp-checks.h>.
47         (__fxstat): Do not use CHECK_1.
48         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49         <bp-checks.h>.
50         (__fxstatat): Do not use CHECK_1.
51         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52         <bp-checks.h>.
53         (__getresgid): Do not use CHECK_1.
54         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55         <bp-checks.h>.
56         (__getresuid): Do not use CHECK_1.
57         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58         <bp-checks.h>.
59         (__lxstat): Do not use CHECK_1.
60         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61         <bp-checks.h>.
62         (__old_msgctl): Do not use CHECK_1.
63         (__new_msgctl): Likewise.
64         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65         <bp-checks.h>.
66         (__new_setrlimit): Do not use CHECK_1.
67         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68         <bp-checks.h>.
69         (__old_shmctl): Do not use CHECK_1.
70         (__new_shmctl): Likewise.
71         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
72         <bp-checks.h>.
73         (__xstat): Do not use CHECK_1.
74         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
75         (__lxstat): Do not use CHECK_1.
76         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
77         <bp-checks.h>.
78         (___lxstat64): Do not use CHECK_1.
79         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
80         (__old_msgctl): Do not use CHECK_1.
81         (__new_msgctl): Likewise.
82         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
83         <bp-checks.h>.
84         (__gettimeofday): Do not use CHECK_1.
85         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
86         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
87         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
88         <bp-checks.h>.
89         (__gettimeofday): Do not use CHECK_1.
90         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
91         (__old_shmctl): Do not use CHECK_1_NULL_OK.
92         (__new_shmctl): Do not use CHECK_1.
93         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
94         <bp-checks.h>.
95         (do_sigtimedwait): Do not use CHECK_1.
96         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
97         <bp-checks.h>.
98         (do_sigwaitinfo): Do not use CHECK_1.
99         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
100         <bp-checks.h>.
101         (msgctl): Do not use CHECK_1.
102         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
103         <bp-checks.h>.
104         (shmctl): Do not use CHECK_1.
105         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
106         (ustat): Do not use CHECK_1.
107         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
108         <bp-checks.h>.
109         (__fxstat): Do not use CHECK_1.
110         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
111         <bp-checks.h>.
112         (__fxstatat): Do not use CHECK_1.
113         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
114         <bp-checks.h>.
115         (__lxstat): Do not use CHECK_1.
116         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
117         <bp-checks.h>.
118         (__xstat): Do not use CHECK_1.
119         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
120         (__xstat): Do not use CHECK_1.
121         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
122         (___xstat64): Do not use CHECK_1.
124         [BZ #13550]
125         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
126         definitions.
127         (CHECK_BOUNDS_HIGH): Likewise.
128         * string/strcpy.c: Do not include <bp-checks.h>.
129         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
131 2013-02-07  Roland McGrath  <roland@hack.frob.com>
133         * nscd/nscd-client.h (__nscd_drop_map_ref):
134         Add __attribute__ ((unused)).
135         * nis/nss-nisplus.h (niserr2nss): Likewise.
137         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
138         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
140         * csu/libc-tls.c (init_static_tls, init_slotinfo):
141         Remove inline keyword.
142         * include/rounding-mode.h (round_away): Likewise.
143         * libio/wfileops.c (adjust_wide_data): Likewise.
144         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
145         (__m128i_strloadu_tolower): Likewise.
146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
147         (__m128i_strloadu_tolower): Likewise.
148         * time/mktime.c (ydhms_diff): Likewise.
149         * locale/elem-hash.h (elem_hash): Likewise.
150         * locale/setlocale.c (setdata): Likewise.
151         * posix/regex_internal.h (re_string_char_size_at): Likewise.
152         (re_string_wchar_at): Likewise.
153         (bitset_not, bitset_merge, bitset_mask): Likewise.
154         [!(__GNUC__ > 3)] (inline): Remove macro.
155         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
156         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
157         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
158         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
159         * string/memcmp.c (memcmp_bytes): Likewise.
160         * locale/programs/locarchive.c (compute_hashval): Likewise.
161         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
162         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
163         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
164         * nss/getent.c (print_rpc, print_protocols): Likewise.
165         (print_passwd, print_group, print_aliases): Likewise.
166         * nis/nss-nisplus.h (niserr2nss): Likewise.
167         * nscd/connections.c (restart_p): Likewise.
168         Change return type to bool.
170 2013-02-05  Roland McGrath  <roland@hack.frob.com>
172         * Makeconfig (all-Depend-files): Add existing
173         $(sorted-subdirs:=/Depend) files.
174         (all-subdirs): Remove nss.
175         * sysdeps/unix/inet/Subdirs: Add it here instead.
176         * hesiod/Depend: New file.
178         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
179         instead of calling alloca.
181         * io/lseek.c (__lseek): Rename to __libc_lseek.
182         Define __lseek as an alias.
184         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
186 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
188         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
189         else clause and remove check for non-standard endianness.
191 2013-02-04  David S. Miller  <davem@davemloft.net>
193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
195 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
197         [BZ #13550]
198         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
199         (__ubp_memchr): Remove prototype.
200         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
201         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
202         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
203         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
204         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
205         Remove alias.
206         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
207         (__ubp_memchr): Likewise.
208         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
209         (__ubp_memchr): Likewise.
210         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
211         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
212         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
213         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
214         CHECK_STRING.
215         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
216         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
217         (__getcwd): Do not use CHECK_STRING.
218         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
219         <bp-checks.h>.
220         (__real_chown): Do not use CHECK_STRING.
221         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
222         <bp-checks.h>.
223         (fchownat): Do not use CHECK_STRING.
224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
225         CHECK_STRING.
226         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
227         <bp-checks.h>.
228         (__lchown): Do not use CHECK_STRING.
229         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
230         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
231         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
232         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
234         include <bp-checks.h>.
235         (truncate64): Do not use CHECK_STRING.
236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
237         <bp-checks.h>.
238         (__real_chown): Do not use CHECK_STRING.
239         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
240         <bp-checks.h>.
241         (__lchown): Do not use CHECK_STRING.
242         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
243         <bp-checks.h>.
244         (__chown): Do not use CHECK_STRING.
245         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
246         <bp-checks.h>.
247         (truncate64): Do not use CHECK_STRING.
248         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
249         Likewise.
250         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
251         (__xmknod): Do not use CHECK_STRING.
252         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
253         <bp-checks.h>.
254         (__xmknodat): Do not use CHECK_STRING.
255         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
256         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
258 2013-02-04  Andreas Schwab  <schwab@suse.de>
260         [BZ #14142]
261         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
262         * include/netdb.h: Likewise for h_errno.
263         * elf/tst-stackguard1.c: Include <tls.h>.
265 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
267         * elf/link.h (struct link_map): Extend the l_addr comment.
268         * include/link.h (struct link_map): Likewise.
270 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
272         [BZ #13550]
273         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
274         (BOUNDED_1): Remove macro.
275         * debug/backtrace.c: Don't include <bp-checks.h>.
276         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
277         (__backtrace): Likewise.
278         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
279         <bp-checks.h>.
280         (__backtrace): Don't use BOUNDED_1.
281         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
282         <bp-checks.h>.
283         (__backtrace): Don't use BOUNDED_1.
284         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
285         (__backtrace): Don't use BOUNDED_1.
286         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
287         (shmat): Don't use BOUNDED_N.
289 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
291         [BZ #13550]
292         * sysdeps/generic/bp-start.h: Remove file.
293         * csu/libc-start.c: Don't include <bp-start.h>.
294         (LIBC_START_MAIN): Set up __environ directly instead of using
295         INIT_ARGV_and_ENVIRON.
296         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
297         <bp-start.h>.
299         [BZ #13550]
300         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
301         definitions.
302         (CHECK_FCNTL): Likewise.
303         (CHECK_N_PAGES): Likewise.
305         [BZ #13550]
306         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
307         definitions.
308         (CHECK_SIGSET_NULL_OK): Likewise.
309         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
310         <bp-checks.h>.
311         (sigpending): Don't use CHECK_SIGSET.
312         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
313         <bp-checks.h>.
314         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
315         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
316         <bp-checks.h>.
317         (do_sigsuspend): Don't use CHECK_SIGSET.
318         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
319         use CHECK_SIGSET.
320         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
321         (do_sigwait): Don't use CHECK_SIGSET.
322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
323         use CHECK_SIGSET.
324         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
325         include <bp-checks.h>.
326         (sigpending): Don't use CHECK_SIGSET.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
328         include <bp-checks.h>.
329         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
330         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
331         <bp-checks.h>.
332         (sigpending): Don't use CHECK_SIGSET.
333         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
334         <bp-checks.h>.
335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
337         [BZ #13550]
338         * sysdeps/generic/bp-semctl.h: Remove file.
339         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
340         <bp-checks.h> and <bp-semctl.h>.
341         (__old_semctl): Don't use CHECK_SEMCTL.
342         (__new_semctl): Likewise.
343         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
344         and <bp-semctl.h>.
345         (__old_semctl): Don't use CHECK_SEMCTL.
346         (__new_semctl): Likewise.
347         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
348         <bp-checks.h> and <bp-semctl.h>.
349         (__old_semctl): Don't use CHECK_SEMCTL.
350         (__new_semctl): Likewise.
351         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
352         <bp-checks.h> and <bp-semctl.h>.
353         (semctl): Don't use CHECK_SEMCTL.
355         [BZ #13550]
356         * Makerules (elide-bp-thunks): Remove variable.
357         (elide-routines.oS): Don't use $(elide-bp-thunks).
358         (elide-routines.os): Likewise.
359         (elide-routines.o): Likewise.
360         (elide-routines.op): Likewise.
361         (elide-routines.og): Likewise.
362         (objects): Don't use $(bp-thunks).
363         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
364         include.
365         (common-generated): Do not add s-proto-bp.d.
366         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
367         (int): Likewise.
368         (typ): Likewise.
369         Do not generate makefile rules for bounded-pointer thunks.
370         * sysdeps/generic/bp-thunks.h: Remove file.
371         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
372         * sysdeps/unix/s-proto-bp.S: Likewise.
374         [BZ #15062]
375         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
376         parts of result separately when argument is not close to line from
377         -i to i and one part of argument is small.
378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
380         * math/libm-test.inc (cacos_test): Add more tests.
381         (casin_test): Likewise.
382         (casinh_test): Likewise.
383         * sysdeps/i386/fpu/libm-test-ulps: Update.
384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386 2013-01-31  David S. Miller  <davem@davemloft.net>
388         * po/de.po: Update from translation team.
390 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
392         * time/tzfile.c: Include stdint.h for SIZE_MAX.
394 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
396         * configure.in (_AC_PROG_CC_C89): New definition.
397         * configure: Regenerate.
399         * configure.in (AC_PROG_CPP): New definition.
400         * configure: Regenerate.
402 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
404         * debug/tst-backtrace.h: New file.
405         * debug/tst-backtrace2.c: Include tst-backtrace.h.
406         (ret): Remove variable.
407         (x): Likewise.
408         (FAIL): Remove macro.
409         (NO_INLINE): Likewise.
410         (fn1): Use match function instead of strstr.
411         * debug/tst-backtrace3.c: Include tst-backtrace.h.
412         (ret): Remove variable.
413         (x): Likewise.
414         (FAIL): Remove macro.
415         (NO_INLINE): Likewise.
416         (fn): Use match function instead of strstr.
417         * debug/tst-backtrace4.c: Include tst-backtrace.h.
418         (ret): Remove variable.
419         (x): Likewise.
420         (FAIL): Remove macro.
421         (NO_INLINE): Likewise.
422         (handle_signal): Use match function instead of strstr.
423         * debug/tst-backtrace5.c: Include tst-backtrace.h.
424         (ret): Remove variable.
425         (x): Likewise.
426         (FAIL): Remove macro.
427         (NO_INLINE): Likewise.
428         (handle_signal): Use match function instead of strstr.
430 2013-01-23  Roland McGrath  <roland@hack.frob.com>
432         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
434 2013-01-23  David S. Miller  <davem@davemloft.net>
436         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
437         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
438         argument of CAS if possible.
439         * sysdeps/sparc/sparc64/bits/atomic.h
440         (__arch_compare_and_exchange_val_32_acq): Likewise.
441         (__arch_compare_and_exchange_val_64_acq): Likewise.
443 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
445         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
446         * sysdeps/posix/ulimit.c: ... this.
447         Include <limits.h>.
448         * sysdeps/unix/bsd/ulimit.c: Remove file.
450 2013-01-23  Adam Conrad  <adconrad@0c3.net>
452         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
453         (LDFLAGS-tst-array5): Likewise.
455 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #15036]
458         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
459         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
460         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
461         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
463 2013-01-21  David S. Miller  <davem@davemloft.net>
465         * sysdeps/sparc/backtrace.c: New file.
466         * sysdeps/sparc/sparc32/backtrace.h: New file.
467         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
468         * sysdeps/sparc/sparc64/backtrace.h: New file.
469         * sysdeps/sparc/sparc64/backtrace.c: Delete.
470         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
471         -funwind-tables.
473 2013-01-21  Andreas Schwab  <schwab@suse.de>
475         [BZ #15020]
476         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
477         closed its stdout.
479 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
482         "mpa2.h".
483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
485 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
486             Mark Mitchell  <mark@codesourcery.com>
487             Tom de Vries  <tom@codesourcery.com>
488             Paul Pluzhnikov  <ppluzhnikov@google.com>
490         * debug/tst-backtrace2.c: New file.
491         * debug/tst-backtrace3.c: Likewise.
492         * debug/tst-backtrace4.c: Likewise.
493         * debug/tst-backtrace5.c: Likewise.
494         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
495         (CFLAGS-tst-backtrace3.c): Likewise.
496         (CFLAGS-tst-backtrace4.c): Likewise.
497         (CFLAGS-tst-backtrace5.c): Likewise.
498         (LDFLAGS-tst-backtrace2): Likewise.
499         (LDFLAGS-tst-backtrace3): Likewise.
500         (LDFLAGS-tst-backtrace4): Likewise.
501         (LDFLAGS-tst-backtrace5): Likewise.
502         (tests): Add new tests tst-backtrace2, tst-backtrace3,
503         tst-backtrace4 and tst-backtrace5.
505 2013-01-18  Anton Blanchard  <anton@samba.org>
506             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
509         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
510         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
511         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
513         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
514         "+r" and remove output regs list as redundant.  Add explicit inline
515         asm to specify register of return val to work around compiler codegen
516         bug.  Remove (int) cast on return value.  Add return type parameter to
517         use in macro so that this macro does not truncate return value for
518         64-bit values.
519         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
520         pass to INTERNAL_VSYSCALL_NCS.
521         (INLINE_VSYSCALL): Add 'long int' as return type to
522         INTERNAL_VSYSCALL_NCS macro invocation.
523         (INTERNAL_VSYSCALL): Add 'long int' as return type to
524         INTERNAL_VSYSCALL_NCS macro invocation.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
527 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
529         [BZ #14496]
530         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
531         Fix application of SIMD FP exception mask.
533         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
534         mp_no from a power of two.
535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
536         __mpexp_twomm1.  Use __pow_mp.
538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
539         multiplication.
541 2013-01-17  David S. Miller  <davem@davemloft.net>
543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
545 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #15023]
548         * include/complex.h: Condition contents on [!_COMPLEX_H].
549         (__kernel_casinhf): New prototype.
550         (__kernel_casinh): Likewise.
551         (__kernel_casinhl): Likewise.
552         * math/Makefile (libm_calls): Add k_casinh.
553         * math/k_casinh.c: New file.
554         * math/k_casinhf.c: Likewise.
555         * math/k_casinhl.c: Likewise.
556         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
557         finite nonzero arguments.
558         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
559         finite nonzero arguments.
560         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
561         finite nonzero arguments.
562         * math/s_casinh.c: Do not include <float.h>.
563         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
564         * math/s_casinhf.c: Do not include <float.h>.
565         (__casinhf): Move code for finite nonzero arguments to
566         k_casinhf.c.
567         * math/s_casinhl.c: Do not include <float.h>.
568         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
569         redefine.
570         (__casinhl): Move code for finite nonzero arguments to
571         k_casinhl.c.
572         * math/libm-test.inc (cacos_test): Add more tests.
573         * sysdeps/i386/fpu/libm-test-ulps: Update.
574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
576 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
578         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
579         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
580         [!HAVE_MREMAP]: Remove [defined linux] case.
581         * malloc/arena.c: Do not include <malloc-sysdep.h>.
583 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
585         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
587 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
589         * elf/elf.h (R_386_SIZE32): New relocation.
590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
591         R_386_SIZE32.
592         (elf_machine_rela): Likewise.
593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
594         R_X86_64_SIZE64 and R_X86_64_SIZE32.
596 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
598         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
599         (FP_FAST_FMA): Do not define.
600         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
601         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
602         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
603         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
604         !_SOFT_FLOAT]: Likewise.
605         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
606         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
607         value.
608         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
609         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
610         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
611         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
612         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
613         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
614         file.
616 2013-01-16  Andreas Schwab  <schwab@suse.de>
618         [BZ #14327]
619         * include/stdlib.h (__mktemp): Add declaration.
620         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
621         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
623 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
625         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
626         definitions.
627         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
628         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
629         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
630         definitions here.
631         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
632         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
633         definitions.
634         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
635         and ONE.
636         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
637         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
638         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
639         definitions.
640         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
641         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
642         definitions.
643         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
645         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
647 2013-01-15  David S. Miller  <davem@davemloft.net>
649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
650         trunc{,f} to libm-sysdep_routes.
651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
653         file.
654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
656         file.
657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
658         file.
659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
662         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
664         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
665         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
666         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
669         nearbyint{,f} to libm-sysdep_routes.
670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
672         New file.
673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
674         file.
675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
676         New file.
677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
678         file.
679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
681         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
682         file.
683         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
684         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
685         file.
686         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
687         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
688         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
691         libc_feholdexcept and libc_fesetenv.
693 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
695         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
697 2013-01-14  David S. Miller  <davem@davemloft.net>
699         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
700         (SPARC_ASM_VIS2_IFUNC): Likewise.
701         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
703         use of 'siam' instruction.
704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
705         Likewise.
706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
707         Likewise.
708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
709         Likewise.
710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
715         file.
716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
717         file.
718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
719         file.
720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
721         file.
722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
727         new VIS2 routines.
728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
731         Likewise.
732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
737         routines to libm-sysdep_routines.
738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
741         fdim/fdimf to libm-sysdep_routines.
742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
743         file.
744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
746         file.
747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
750         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
751         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
752         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
753         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
755 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
758         to optimize copies.
760         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
765         local variable MPTWO.
766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
767         Likewise.
769 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
771         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
772         GLOB_NOESCAPE.
774 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
776         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
778 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
780         * manual/pattern.texi (glob_t): Document gl_flags.
781         (glob64_t): Likewise.
783 2013-01-11  David S. Miller  <davem@davemloft.net>
785         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
786         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
787         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
788         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
789         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
790         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
791         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
792         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
793         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
794         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
795         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
796         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
797         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
799         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
800         sparc V9 rather than using V8 code.
801         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
802         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
804         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
805         Move to...
806         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
807         Here.
809 2013-01-11  Roland McGrath  <roland@hack.frob.com>
811         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
812         not in the main loop.
813         * configure: Regenerated.
815 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
817         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
818         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
819         to just #else.
820         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
821         [!__GLIBC_HAVE_LONG_LONG] case.
822         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
823         condition to just #else.
824         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
825         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
826         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
827         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
828         unconditional.
829         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
830         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
831         #elif condition to just #else.
832         * sysdeps/unix/sysv/linux/sys/sysmacros.h
833         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
834         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
835         #elif condition to just #else.
837 2013-01-11  Steve Ellcey  <sellcey@mips.com>
839         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
840         (EF_MIPS_ARCH_64): Fix value.
841         (EF_MIPS_ARCH_32R2): New.
842         (EF_MIPS_ARCH_64R2): New.
844 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
846         * Makeconfig (+link-pie-before-libc): New.
847         (+link-pie-after-libc): Likewise.
848         (+link-pie-tests): Likewise.
849         (+link-pie): Rewritten.
850         (link-before-libc): Remove $(config-LDFLAGS).
851         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
852         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
853         (config-LDFLAGS): Renamed to ...
854         (rtld-LDFLAGS): This.
855         (rtld-tests-LDFLAGS): New macro.
856         (link-libc-rpath-link): Likewise.
857         (link-libc-tests-rpath-link): Likewise.
858         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
859         (link-libc): Prepand $(link-libc-rpath-link).
860         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
861         (test-program-prefix): New macro.
862         (test-via-rtld-prefix): Likewise.
863         (test-program-cmd): Likewise.
864         (host-test-program-cmd): Likewise.
865         * Makefile ($(common-objpfx)testrun.sh): Replace
866         $(run-program-prefix) with $(test-program-prefix).
867         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
868         $(rtld-LDFLAGS).
869         ($(common-objpfx)shlib.lds): Likewise.
870         (build-module-helper): Likewise.
871         ($(common-objpfx)format.lds): Likewise.
872         * Rules (binaries-pie-tests): New.
873         (binaries-pie-notests): Likewise.
874         (binaries-pie): Rewritten.
875         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
876         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
877         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
878         (make-test-out): Replace $(host-built-program-cmd) with
879         $(host-test-program-cmd).
880         * config.make.in (build-hardcoded-path-in-tests): New variable.
881         * configure.in (--enable-hardcoded-path-in-tests): New configure
882         option.
883         (hardcoded_path_in_tests): New AC_SUBST.
884         * configure: Regenerated.
885         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
886         $(built-program-cmd) with $(test-program-cmd).
887         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
888         (test_program_cmd): This.
889         * elf/Makefile ($(objpfx)order.out): Run test with
890         $(test-program-prefix).
891         ($(objpfx)order2.out): Likewise.
892         ($(objpfx)tst-initorder.out): Likewise.
893         ($(objpfx)tst-initorder2.out): Likewise.
894         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
895         $(test-program-cmd).
896         ($(objpfx)tst-array1-static.out): Likewise.
897         ($(objpfx)tst-array2.out): Likewise.
898         ($(objpfx)tst-array3.out): Likewise.
899         ($(objpfx)tst-array4.out): Likewise.
900         ($(objpfx)tst-array5.out): Likewise.
901         ($(objpfx)tst-array5-static.out): Likewise.
902         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
903         $(test-program-cmd).
904         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
905         $(run-program-prefix) with $(test-program-prefix).
906         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
907         (test_program_prefix): This.
908         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
909         $(run-program-prefix) with $(test-program-prefix).
910         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
911         (test_program_prefix): This.
912         * iconvdata/tst-tables.sh: Likewise.
913         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
914         $(run-program-prefix) with $(test-program-prefix).
915         ($(objpfx)tst-translit.out): Likewise.
916         ($(objpfx)tst-gettext2.out): Likewise.
917         ($(objpfx)tst-gettext4.out): Likewise.
918         ($(objpfx)tst-gettext6.out): Likewise.
919         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
920         (test_program_prefix): This.
921         * intl/tst-gettext2.sh: Likewise.
922         * intl/tst-gettext4.sh  Likewise.
923         * intl/tst-gettext6.sh: Likewise.
924         * intl/tst-translit.sh: Likewise.
925         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
926         with $(test-program-cmd).
927         * libio/Makefile ($(objpfx)test-freopen.out): Replace
928         $(run-program-prefix) with $(test-program-prefix).
929         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
930         (test_program_prefix): This.
931         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
932         $(run-program-prefix) with $(test-program-prefix).
933         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
934         (test_program_prefix): This.
935         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
936         * posix/Makefile ($(objpfx)globtest.out): Replace
937         $(run-via-rtld-prefix) and $(test-wrapper) with
938         $(test-program-prefix) and $(test-via-rtld-prefix).
939         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
940         $(test-program-prefix).
941         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
942         $(host-test-program-cmd).
943         (tst-spawn-ARGS): Likewise.
944         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
945         $(test-program-prefix).
946         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
947         (test_via_rtld_prefix): This.
948         (test_wrapper): Renamed to ...
949         (test_program_prefix): This.
950         (run_program_prefix): Replaced by test_program_prefix.
951         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
952         (test_program_prefix): This.
953         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
954         with $(host-test-program-cmd).
955         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
956         $(run-program-prefix) with $(test-program-prefix).
957         ($(objpfx)tst-printf.out): Likewise.
958         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
959         $(test-program-cmd).
960         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
961         (test_program_prefix): This.
962         * stdio-common/tst-unbputc.sh: Likewise.
963         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
964         $(run-program-prefix) with $(test-program-prefix).
965         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
966         (test_program_prefix): This.
967         * string/Makefile ($(objpfx)tst-svc.out):  Replace
968         $(built-program-cmd) with $(test-program-cmd).
970 2013-01-11  Andreas Jaeger  <aj@suse.de>
972         [BZ #15003]
973         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
974         value. Sync with Linux 3.7.
976 2013-01-10  David S. Miller  <davem@davemloft.net>
978         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
979         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
980         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
982 2013-01-10  Roland McGrath  <roland@hack.frob.com>
984         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
985         never set.
986         * configure: Regenerated.
988 2013-01-10  David S. Miller  <davem@davemloft.net>
990         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
991         sparc V9 rather than using V8 code.
992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
995 2013-01-10  Roland McGrath  <roland@hack.frob.com>
997         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
998         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
999         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1000         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1001         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1002         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1003         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1004         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1005         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1006         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1007         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1008         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1009         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1010         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1011         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1012         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1013         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1014         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1015         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1016         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1017         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1018         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1019         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1020         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1021         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1022         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1023         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1025 2013-01-10  David S. Miller  <davem@davemloft.net>
1027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1029 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1031         * posix/Makefile (tests-static): New variable.
1032         (tests): Add $(tests-static).
1033         (tst-exec-static-ARGS): New variable.
1034         (tst-spawn-static-ARGS): Likewise.
1035         * posix/tst-exec-static.c: New file.
1036         * posix/tst-spawn-static.c: Likewise.
1037         * posix/tst-exec.c: Support run directly.
1038         * posix/tst-spawn.c: Likewise.
1040 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
1042         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1043         long.
1044         * math/bits/mathcalls.h (llrint): Likewise.
1045         (llround): Likewise.
1046         * stdlib/stdlib.h (struct drand48_data): Likewise.
1047         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1048         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1049         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1050         Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1052         Likewise.
1053         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1054         (elf_greg_t): Likewise.
1055         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1056         (__jmp_buf): Likewise.
1057         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1058         definitions.
1059         (llrint): Likewise, for all definitions.
1060         (llrintl): Likewise.
1062         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1063         Remove [__GNUC__] condition.
1064         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1065         condition to just [__USE_ISOC99].
1066         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1068 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1070         [BZ #14200]
1071         * sysdeps/unix/sysv/linux/x86/bits/environments.h
1072         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1073         defined.
1074         (_POSIX_V6_ILP32_OFF32): Likewise.
1075         (_XBS5_ILP32_OFF32): Likewise.
1076         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1077         (__ILP32_OFFBIG_LDFLAGS): Likewise.
1079 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1081         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1084         doubles __mpexp_twomm1.  Adjust usage.
1085         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1086         Remove.
1088 2013-01-10  Andreas Schwab  <schwab@suse.de>
1090         [BZ #14964]
1091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1092         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1094 2013-01-09  David S. Miller  <davem@davemloft.net>
1096         [BZ #15003]
1097         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1098         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1099         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1100         TCP_FASTOPEN): Define.
1101         (tcp_repair_opt): New structure.
1102         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1103         enum values.
1104         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1105         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1106         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1107         (tcp_cookie_transactions): New structure.
1109 2013-01-09  Anton Blanchard  <anton@samba.org>
1111         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1112         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1114         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1116 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
1118         * include/features.h (__USE_ANSI): Remove.
1120 2013-01-09  Roland McGrath  <roland@hack.frob.com>
1122         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1124         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1126 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1128         * sysdeps/s390/fpu/libm-test-ulps: Update.
1130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1132         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1133         (__acr): Likewise.
1134         (__cpy): Likewise.
1135         (norm): Likewise.
1136         (denorm): Likewise.
1137         (__mp_dbl): Likewise.
1138         (__dbl_mp): Likewise.
1139         (add_magnitudes): Likewise.
1140         (sub_magnitudes): Likewise.
1141         (__add): Likewise.
1142         (__sub): Likewise.
1143         (__mul): Likewise.
1144         (__inv): Likewise.
1145         (__dvd): Likewise.
1146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1147         (__acr): Likewise.
1148         (__cpy): Likewise.
1149         (norm): Likewise.
1150         (denorm): Likewise.
1151         (__mp_dbl): Likewise.
1152         (__dbl_mp): Likewise.
1153         (add_magnitudes): Likewise.
1154         (sub_magnitudes): Likewise.
1155         (__add): Likewise.
1156         (__sub): Likewise.
1157         (__mul): Likewise.
1158         (__inv): Likewise.
1159         (__dvd): Likewise.
1160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1161         (__acr): Likewise.
1162         (__cpy): Likewise.
1163         (norm): Likewise.
1164         (denorm): Likewise.
1165         (__mp_dbl): Likewise.
1166         (__dbl_mp): Likewise.
1167         (add_magnitudes): Likewise.
1168         (sub_magnitudes): Likewise.
1169         (__add): Likewise.
1170         (__sub): Likewise.
1171         (__mul): Likewise.
1172         (__inv): Likewise.
1173         (__dvd): Likewise.
1175 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
1177         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1178         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1179         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1180         2 && __USE_EXTERN_INLINES]: Likewise.
1182 2013-01-08  Andreas Jaeger  <aj@suse.de>
1184         [BZ# 14985]
1185         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1186         Remove.
1187         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1188         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1190 2013-01-07  Anton Blanchard  <anton@samba.org>
1192         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1193         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1194         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1195         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1196         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1197         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1198         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1199         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1201         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1202         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1203         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1204         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1205         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1206         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1207         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1208         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1209         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1211         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1212         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1213         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1215         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1216         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1217         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1218         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1219         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1222         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1224         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1225         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1226         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1228         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1230         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1232         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1233         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1234         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1236 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
1238         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1239         (__MALLOC_PMT): Likewise.
1240         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1241         [__GNUC__], only on [_LIBC].
1242         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1243         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1244         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1245         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1246         forward declaration.
1247         (realloc_hook_ini): Likewise.
1248         (memalign_hook_ini): Likewise.
1249         (__libc_memalign): Do not use __MALLOC_PMT in variable
1250         declaration.
1251         (__libc_valloc): Likewise.
1252         (__libc_pvalloc): Likewise.
1253         (__libc_calloc): Likewise.
1254         (__posix_memalign): Likewise.
1256         [BZ #14996]
1257         * math/s_casinh.c: Include <float.h>.
1258         (__casinh): Do not do computation with squaring and square root
1259         for large arguments.
1260         * math/s_casinhf.c: Include <float.h>.
1261         (__casinhf): Do not do computation with squaring and square root
1262         for large arguments.
1263         * math/s_casinhl.c: Include <float.h>.
1264         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1265         (__casinhl): Do not do computation with squaring and square root
1266         for large arguments.
1267         * math/libm-test.inc (casin_test): Add more tests.
1268         (casinh_test): Likewise.
1269         * sysdeps/i386/fpu/libm-test-ulps: Update.
1270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1272 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1274         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1275         (__x86_64_raw_data_cache_size): Likewise.
1276         (__x86_64_data_cache_size_half): Likewise.
1277         (__x86_64_raw_data_cache_size_half): Likewise.
1278         (__x86_64_shared_cache_size): Likewise.
1279         (__x86_64_raw_shared_cache_size): Likewise.
1280         (__x86_64_shared_cache_size_half): Likewise.
1281         (__x86_64_raw_shared_cache_size_half): Likewise.
1282         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1283         to ...
1284         (__x86_data_cache_size): This.
1285         (__x86_64_raw_data_cache_size): Renamed to ...
1286         (__x86_raw_data_cache_size): This.
1287         (__x86_64_data_cache_size_half): Renamed to ...
1288         (__x86_data_cache_size_half): This.
1289         (__x86_64_raw_data_cache_size_half): Renamed to ...
1290         (__x86_raw_data_cache_size_half): This.
1291         (__x86_64_shared_cache_size): Renamed to ...
1292         (__x86_shared_cache_size): This.
1293         (__x86_64_raw_shared_cache_size): Renamed to ...
1294         (__x86_raw_shared_cache_size): This.
1295         (__x86_64_shared_cache_size_half): Renamed to ...
1296         (__x86_shared_cache_size_half): This.
1297         (__x86_64_raw_shared_cache_size_half): Renamed to ...
1298         (__x86_raw_shared_cache_size_half): This.
1299         * sysdeps/x86_64/memcpy.S: Updated.
1300         * sysdeps/x86_64/memset.S: Likewise.
1301         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1305 2013-01-04  David S. Miller  <davem@davemloft.net>
1307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1309 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1311         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1312         1 to avoid redefinition warning.
1313         (__USE_GNU): Don't define.
1314         (init_signaling_nan): Protoize.
1316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1318 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1320         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1322         (__cpymn): Likewise.
1323         (norm): Remove commented code.
1324         (denorm): Likewise.
1325         (__mp_dbl): Likewise.
1326         (__inv): Likewise.
1327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1328         (__cpymn): Likewise.
1329         (norm): Remove commented code.
1330         (denorm): Likewise.
1331         (__mp_dbl): Likewise.
1332         (__inv): Likewise.
1334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1335         mp_no value for 1.0 and 2.0.
1336         (norm): Use RADIXI instead of radixi.d.
1337         (denorm): Likewise.
1338         (__mul): Use 0.0 instead of zero.d.
1339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1340         mp_no value for 1.0 and 2.0.
1341         (norm): Use RADIXI instead of radixi.d.
1342         (denorm): Likewise.
1343         (__mul): Use 0.0 instead of zero.d.
1345 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
1347         [BZ #14994]
1348         * math/s_casinh.c (__casinh): Reduce finite argument to first
1349         quadrant then set signs of results at the end.
1350         * math/s_casinhf.c (__casinhf): Likewise.
1351         * math/s_casinhl.c (__casinhl): Likewise.
1352         * math/libm-test.inc (casin_test): Add more tests.
1353         (casinh_test): Likewise.
1354         * sysdeps/i386/fpu/libm-test-ulps: Update.
1355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1357 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1359         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1361         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1363         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1364         declarations.
1365         (denorm): Likewise.
1366         (__mp_dbl): Likewise.
1367         (__inv): Likewise.
1369         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1370         and adjust the header comment.
1372         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1373         variable name from declaration.
1375 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1378         Initialize COMMON_CPUID_INDEX_7 element.
1379         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1380         (CPUID_RTM): Likewise.
1381         (HAS_RTM): Likewise.
1382         (COMMON_CPUID_INDEX_7): New enum.
1384 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
1386         [BZ #14981]
1387         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1388         size is zero, record memory as freed.
1390 2013-01-03  Andreas Jaeger  <aj@suse.de>
1392         * po/ia.po: Add new Interlingua translation.
1394 2012-01-03  Allan McRae  <allan@archlinux.org>
1396         * locale/programs/localedef.c: Fix description of '--posix' flag.
1398 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
1400         * NEWS: Update dates in second copyright notice.
1401         * README: Update copyright dates in example.
1402         * manual/libc.texinfo: Update copyright dates.
1403         * scripts/test-installation.pl: Update copyright date in --version
1404         output.
1406         * hurd/ctty-input.c: Fix copyright notice formatting.
1407         * hurd/ctty-output.c: Likewise.
1408         * hurd/dtable.c: Likewise.
1409         * hurd/hurd-raise.c: Likewise.
1410         * hurd/hurdprio.c: Likewise.
1411         * hurd/msgportdemux.c: Likewise.
1412         * misc/sys/file.h: Likewise.
1413         * misc/sys/ioctl.h: Likewise.
1414         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1415         * sysdeps/mach/hurd/chdir.c: Likewise.
1416         * sysdeps/mach/hurd/fchdir.c: Likewise.
1417         * sysdeps/mach/hurd/rename.c: Likewise.
1418         * sysdeps/mach/hurd/rmdir.c: Likewise.
1419         * sysdeps/mach/hurd/seekdir.c: Likewise.
1420         * sysdeps/mach/hurd/setsid.c: Likewise.
1421         * sysdeps/posix/wait3.c: Likewise.
1423         * All files with FSF copyright notices: Update copyright dates
1424         using scripts/update-copyrights.
1425         * intl/plural.c: Regenerated.
1426         * locale/programs/charmap-kw.h: Likewise.
1427         * locale/programs/locfile-kw.h: Likewise.
1429 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1431         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1432         four values.
1434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1435         calculation loop and add branch prediction.
1437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1438         check access beyond bounds of m1np.
1440         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1441         MPTWO.
1442         (__inv): Remove local variable MPTWO to use the global
1443         constant.
1444         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1446         variable MPTWO.
1447         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1448         MP3HALFS static const.
1450 2013-01-01  David S. Miller  <davem@davemloft.net>
1452         * po/ca.po: Update from translation team.
1454 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
1456         * scripts/update-copyrights: New file.
1457         * Makeconfig: Reformat copyright notice.
1458         * ctype/ctype.h: Likewise.
1459         * debug/swprintf_chk.c: Likewise.
1460         * elf/dl-cache.c: Likewise.
1461         * elf/dl-debug.c: Likewise.
1462         * elf/dl-object.c: Likewise.
1463         * grp/initgroups.c: Likewise.
1464         * hurd/Makefile: Likewise.
1465         * hurd/hurd/signal.h: Likewise.
1466         * hurd/hurdfault.c: Likewise.
1467         * hurd/hurdioctl.c: Likewise.
1468         * hurd/hurdlookup.c: Likewise.
1469         * hurd/intr-msg.c: Likewise.
1470         * iconv/gconv_open.c: Likewise.
1471         * libio/swprintf.c: Likewise.
1472         * locale/lc-ctype.c: Likewise.
1473         * locale/nl_langinfo.c: Likewise.
1474         * mach/Machrules: Likewise.
1475         * mach/Makefile: Likewise.
1476         * malloc/obstack.h: Likewise.
1477         * manual/Makefile: Likewise.
1478         * manual/tsort.awk: Likewise.
1479         * misc/bits/stab.def: Likewise.
1480         * nis/nis_print_group_entry.c: Likewise.
1481         * nis/nis_table.c: Likewise.
1482         * nis/nss_compat/compat-pwd.c: Likewise.
1483         * nis/nss_compat/compat-spwd.c: Likewise.
1484         * po/Makefile: Likewise.
1485         * posix/fnmatch.c: Likewise.
1486         * posix/regex.h: Likewise.
1487         * resolv/Makefile: Likewise.
1488         * resolv/nss_dns/dns-network.c: Likewise.
1489         * resolv/res_hconf.c: Likewise.
1490         * scripts/gen-sorted.awk: Likewise.
1491         * soft-fp/soft-fp.h: Likewise.
1492         * stdio-common/printf.h: Likewise.
1493         * stdlib/monetary.h: Likewise.
1494         * stdlib/random.c: Likewise.
1495         * stdlib/random_r.c: Likewise.
1496         * sysdeps/generic/Makefile: Likewise.
1497         * sysdeps/gnu/Makefile: Likewise.
1498         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1500         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1502         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1504         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1505         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1508         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1509         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1510         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1511         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1512         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1513         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1514         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1515         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1516         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1518         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1519         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1520         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1521         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1522         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1523         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1524         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1525         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1526         * sysdeps/mach/hurd/errnos.awk: Likewise.
1527         * sysdeps/mach/hurd/fork.c: Likewise.
1528         * sysdeps/mach/hurd/getcwd.c: Likewise.
1529         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1530         * sysdeps/mach/hurd/mmap.c: Likewise.
1531         * sysdeps/mach/hurd/utimes.c: Likewise.
1532         * sysdeps/mach/hurd/xmknod.c: Likewise.
1533         * sysdeps/posix/profil.c: Likewise.
1534         * sysdeps/posix/readdir_r.c: Likewise.
1535         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1536         * sysdeps/powerpc/bits/setjmp.h: Likewise.
1537         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1538         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1540         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1541         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1542         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1544         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1545         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1546         * sysdeps/pthread/lio_listio.c: Likewise.
1547         * sysdeps/sparc/dl-procinfo.h: Likewise.
1548         * sysdeps/unix/i386/sysdep.S: Likewise.
1549         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1550         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1551         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1552         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1554         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1555         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1556         * sysdeps/unix/sysv/linux/speed.c: Likewise.
1557         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1558         * sysdeps/wordsize-32/divdi3.c: Likewise.
1559         * time/sys/time.h: Likewise.
1560         * wcsmbs/Makefile: Likewise.
1562 2013-01-01  David S. Miller  <davem@davemloft.net>
1564         * po/fr.po: Update from translation team.
1566         * catgets/gencat.c: Update copyright year.
1567         * csu/version.c: Likewise.
1568         * debug/catchsegv.sh: Likewise.
1569         * debug/pcprofiledump.c: Likewise.
1570         * debug/xtrace.sh: Likewise.
1571         * elf/ldconfig.c: Likewise.
1572         * elf/ldd.bash.in: Likewise.
1573         * elf/pldd.c: Likewise.
1574         * elf/sotruss.ksh: Likewise.
1575         * elf/sprof.c: Likewise.
1576         * iconv/iconv_prog.c: Likewise.
1577         * iconv/iconvconfig.c: Likewise.
1578         * locale/programs/locale.c: Likewise.
1579         * locale/programs/localedef.c: Likewise.
1580         * login/programs/pt_chown.c: Likewise.
1581         * malloc/memusage.sh: Likewise.
1582         * malloc/memusagestat.c: Likewise.
1583         * malloc/mtrace.pl: Likewise.
1584         * nscd/nscd.c: Likewise.
1585         * nss/getent.c: Likewise.
1586         * nss/makedb.c: Likewise.
1587         * posix/getconf.c: Likewise.
1589 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1591         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1592         numbers.
1594 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
1596         * math/bits/mathcalls.h (modf): Use __nonnull.
1598 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1600         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1601         (split): Use macro CN instead of the bare value.
1602         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1603         could be used.
1604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1605         instead of the bare value.
1606         (power1): Likewise.
1608 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1610         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1611         __ATAN_TWOM.
1612         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1614         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1615         their values.
1616         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1617         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1618         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1619         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1621 2012-12-28  Andreas Jaeger  <aj@suse.de>
1623         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
1624         values are from Linux 3.7.
1626         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1627         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
1629 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1631         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1632         TRUE case.
1634         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1635         (norm): Likewise.
1636         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1637         variables with preprocessor constants.
1638         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1639         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1640         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1642 2012-12-27  Bruno Haible  <bruno@clisp.org>
1644         [BZ #14317]
1645         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1646         only if needed.
1648 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1651         and use variable directly.
1652         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1654         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1655         MPONE.
1656         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1658         variable MPONE.
1659         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1661         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1662         include directive.  Remove local variable MPONE.
1663         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1664         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1665         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1667 2012-12-25  David S. Miller  <davem@davemloft.net>
1669         * version.h (RELEASE): Set to "development".
1670         (VERSION): Set to "2.17.90".
1671         * NEWS: Add 2.18 section.
1673 2012-12-21  David S. Miller  <davem@davemloft.net>
1675         * po/hr.po: Update from translation team.
1677 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1679         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1681 2012-12-19  Steve Ellcey  <sellcey@mips.com>
1683         * NEWS:  Mention new memcpy for MIPS.
1685 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1687         * manual/contrib.texi (Contributors): Spelling correction.
1689 2012-12-15  David S. Miller  <davem@davemloft.net>
1691         * po/ru.po: Update from translation team.
1693 2012-12-13  David S. Miller  <davem@davemloft.net>
1695         * NEWS: Mention IFUNC testsuite enhancements.
1697         * po/pl.po: Update from translation team.
1698         * po/bg.po: Likewise.
1700         * manual/contrib.texi (Contributors): Update entries for Hongjiu
1701         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
1703 2012-12-11  David S. Miller  <davem@davemloft.net>
1705         * po/sv.po: Update from translation team.
1707         * po/vi.po: Update from translation team.
1709         * po/cs.po: Update from translation team.
1711         * po/de.po: Update from translation team.
1712         * po/eo.po: Likewise.
1713         * po/nl.po: Likewise.
1715 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717         [BZ #14246]
1718         * manual/argp.texi (Argp Helper Functions): Move node to follow
1719         Argp Parsing State.
1721         [BZ #14872]
1722         * manual/conf.texi (Limits on File System Capacity): Mention if
1723         terminating null is included in the max size.
1725 2012-12-10  Andreas Jaeger  <aj@suse.de>
1727         * po/cs.po: Update from translation team.
1729 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1731         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1732         void pointer and cast to uintptr_t.
1733         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1734         path.
1735         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1736         * sysdeps/s390/s390-64/memset.S: Likewise.
1738 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
1740         [BZ #14833]
1741         * menual/message.texi (Message Translation): Fix typos.
1742         (Helper programs for gettext): Likewise.
1744 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
1746         [BZ #14898]
1747         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1748         Change to -1.
1750 2012-12-07  David S. Miller  <davem@davemloft.net>
1752         * po/libc.pot: Update.
1754 2012-12-07  Richard Henderson  <rth@redhat.com>
1756         [BZ #10114]
1757         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1758         normal/normal case to before the switch.
1759         (_FP_DIV): Likewise.
1761 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
1762             Mike Frysinger  <vapier@gentoo.org>
1764         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1765         check for __NR_fadvise64_64.
1767 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
1769         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1770         0, not just to plain "0" as a statement.
1771         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1772         with cw.
1774 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
1776         * NEWS: Use sourceware.org in Bugzilla URL.
1778 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1781         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1783         * stdio-common/tst-put-error.c (do_test): Add newline to the
1784         padded test to ensure flush.
1786 2012-12-05  Jeff Law  <law@redhat.com>
1788         * sunrpc/etc.rpc (fedfs_admin): Add entry.
1790 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
1792         * README: Don't refer to ports add-on as distributed separately.
1793         Mention AArch64 in list of systems supported in the ports add-on.
1795         * LICENSES: Add more non-FSF copyright and license notices.
1797         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1798         ((unused)).
1800         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1802         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1803         10000 as width of padded output.
1805 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1807         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1810         variable LX with __attribute__ ((unused)).
1811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1812         Likewise.
1813         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1815         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1816         with __attribute__ ((unused)).
1818 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
1820         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1822 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
1824         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1825         (CFLAGS-nldbl-acos.c): New variable.
1826         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1827         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1828         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1829         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1830         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1831         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1832         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1833         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1834         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1835         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1836         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1837         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1838         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1839         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1840         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1841         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1842         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1843         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1844         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1845         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1846         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1847         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1848         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1849         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1850         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1851         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1852         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1853         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1854         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1855         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1856         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1857         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1858         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1859         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1860         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1861         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1862         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1863         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1864         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1865         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1866         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1867         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1868         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1869         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1870         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1871         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1872         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1873         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1874         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1875         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1876         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1877         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1878         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1879         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1880         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1881         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1882         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1883         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1884         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1885         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1886         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1887         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1888         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1889         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1890         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1891         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1892         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1893         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1894         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1895         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1896         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1897         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1898         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1899         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1900         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1901         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1902         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1903         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1904         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1905         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1906         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1907         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1908         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1909         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1910         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1911         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1912         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1913         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1914         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1915         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1916         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1917         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1918         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1919         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1920         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1921         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1922         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1925         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1927         [BZ #14914]
1928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1929         whole low double instead of just low 47 bits when splitting values
1930         into two parts.
1932 2012-12-03  Allan McRae  <allan@archlinux.org>
1934         * manual/stdio.texi (Predefined Printf Handlers): Remove
1935         @hsep and @vsep usage.
1937 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
1939         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1940         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1942 2012-12-03  Jeff Law  <law@redhat.com>
1944         * time/sys/time.h (settimeofday): Do not mark TV argument
1945         as __nonnull.
1947 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
1949         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1950         when currently writing and seek to current position when not.
1951         * libio/Makefile (tests): Remove bug-fclose1.
1952         * libio/bug-fclose1.c: Delete.
1954 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
1956         * manual/arith.texi (feenableexcept): Fix typo.
1957         (fedisableexcept): Likewise.
1959 2012-11-30  Roland McGrath  <roland@hack.frob.com>
1961         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1962         second, differently-typed declaration, rather than a cast.
1964 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1967         * include/rpc/svc.h: ... here.
1969 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
1971         [BZ #13013]
1972         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1973         depending n and resplen2 to catch cases where answer
1974         equals answerp2.
1976 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
1978         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1979         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1981 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
1983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1985 2012-11-29  Roland McGrath  <roland@hack.frob.com>
1987         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1989 2012-11-28  Jeff Law  <law@redhat.com>
1991         [BZ #13761]
1992         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1993         dataset_temporary.  Track alloca usage into alloca_used.
1994         If dataset is large allocate and release it via malloc/free.
1996 2012-06-04  Florian Weimer  <fweimer@redhat.com>
1998         [BZ #14197]
1999         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2001 2012-11-28  David S. Miller  <davem@davemloft.net>
2003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2005 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
2007         [BZ #14803]
2008         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2009         of pi/2 rounded to nearest to 64 bits.
2010         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2011         nearest to 64 bits.
2012         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2013         bits.
2015 2012-11-28  Jeff Law <law@redhat.com>
2016             Martin Osvald <mosvald@redhat.com>
2018         [BZ #14889]
2019         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2020         * sunrpc/svc.c: Include time.h.
2021         (__svc_accept_failed): New function.
2022         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2023         any reason other than EINTR, call __svc_accept_failed.
2024         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2025         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2027 2012-11-28  Andreas Schwab  <schwab@suse.de>
2029         * scripts/abilist.awk: Also handle indirect functions in .opd
2030         section.
2032 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #13881]
2035         * sysdeps/x86/fpu/powl_helper.c: New file.
2036         * sysdeps/x86/fpu/Makefile: Likewise.
2037         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2038         (p3): New object.
2039         (__ieee754_powl): Use __powl_helper for finite arguments except
2040         integer exponents below 8.
2041         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2042         (p3): New object.
2043         (__ieee754_powl): Use __powl_helper for finite arguments except
2044         integer exponents below 8.
2045         * math/libm-test.inc (pow_test): Add more tests and enable some
2046         previously disabled tests.
2047         * sysdeps/i386/fpu/libm-test-ulps: Update.
2048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2050 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2051             Carlos O'Donell  <carlos_odonell@mentor.com>
2053         * nss/makedb.c (is_prime): Assert that input is odd and greater
2054         than 4.  Note that fact in a comment too.
2055         (next_prime): Add 4 to input.
2057 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2059         [BZ #11741]
2060         * libio/Makefile (tests): Add test case tst-fwrite-error.
2061         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2062         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2063         * libio/tst-fwrite-error.c: New test case.
2065 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
2067         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2068         before casting to void *.
2069         * include/libc-internal.h (__pointer_type): New macro.
2070         (__integer_if_pointer_type_sub): Likewise.
2071         (__integer_if_pointer_type): Likewise.
2072         (cast_to_integer): Likewise.
2073         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2074         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2075         before casting to atomic64_t.
2076         (atomic_exchange_acq): Likewise.
2077         (__arch_exchange_and_add_body): Likewise.
2078         (__arch_add_body): Likewise.
2079         (atomic_add_negative): Likewise.
2080         (atomic_add_zero): Likewise.
2082 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
2084         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2085         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2086         (add_fdes): Likewise.
2087         (linear_search_fdes): Likewise.
2088         (binary_search_unencoded_fdes): Likewise.
2090 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
2092         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2094 2012-11-24  Adam Conrad  <adconrad@0c3.net>
2096         * configure.in: Autodetect C++ header directories.
2097         * configure: Regenerated.
2099 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
2101         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2103 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
2105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2107 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
2109         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2110         LDBL_MANT_DIG == 106]: Disable some tests.
2111         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2112         Likewise.
2113         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2114         Likewise.
2116         [BZ #14871]
2117         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2118         input for small inputs.  Return +/- pi/2 for large inputs.
2119         * math/libm-test.inc (atan_test): Add more tests.
2121         * sysdeps/generic/unwind-dw2-fde-glibc.c
2122         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2123         __attribute__ ((unused)).
2125         [BZ #14645]
2126         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2127         x * y if x and y are nonzero and z is zero.
2129         [BZ #14811]
2130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2131         nonzero exponents with absolute value below 0x1p-117 to +/-
2132         0x1p-117.
2134         [BZ #14869]
2135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2136         up arguments below 2**-450, not just those below 2**-500.
2137         * math/libm-test.inc (hypot_test): Add another test.
2139         [BZ #14868]
2140         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2141         Return a+b for ratio over 2**120, not 2**60.
2142         * math/libm-test.inc (hypot_test): Add another test.
2144         * math/libm-test.inc (clog_test): Use
2145         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2146         (clog10_test): Likewise.
2148         [BZ #6778]
2149         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2151 2012-11-22  Andreas Schwab  <schwab@suse.de>
2153         * sysdeps/i386/fpu/libm-test-ulps: Update.
2155 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
2157         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2158         printf output with newline.
2160 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
2162         [BZ #14865]
2163         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2164         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2165         -z nodlopen, -z initfirst and -z execstack support.
2166         * configure: Regenerated.
2168         * elf/elf.h (DF_1_NODIRECT): New macro.
2169         (DF_1_IGNMULDEF): Likewise.
2170         (DF_1_NOKSYMS): Likewise.
2171         (DF_1_NOHDR): Likewise.
2172         (DF_1_EDITED): Likewise.
2173         (DF_1_NORELOC): Likewise.
2174         (DF_1_SYMINTPOSE): Likewise.
2175         (DF_1_GLOBAUDIT): Likewise.
2176         (DF_1_SINGLETON): Likewise.
2177         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2178         DT_1_SUPPORTED_MASK bits.
2179         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2181 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
2183         * sysdeps/unix/make-syscalls.sh: Document prefixes.
2185 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
2187         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2188         macro.
2190         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2191         (sendmmsg): Move declarations...
2192         * socket/sys/socket.h: ... here.
2193         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2194         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2195         include it from...
2196         * socket/recvmmsg.c: ... this new file.
2197         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2198         (sendmmsg): Rename to __sendmmsg, create weak alias and make
2199         definition of __sendmmsg hidden.
2200         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2201         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2202         Move ENOSYS stub into and include it from...
2203         * socket/sendmmsg.c: ... this new file.
2204         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2205         (sysdep_routines): Move recvmmsg and sendmmsg...
2206         * socket/Makefile (routines): ... here.
2207         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2208         (GLIBC_PRIVATE): Add __sendmmsg.
2209         * include/sys/socket.h (__sendmmsg): Add declarations.
2210         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2211         sendmmsg.
2213 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
2215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2216         variable I1 with __attribute__ ((unused)).
2217         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2219 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
2221         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2222         DUMMY variables with __attribute__ ((unused)).
2224         * bits/byteswap.h: Include <bits/types.h>.
2225         (__bswap_64): Use __uint64_t instead of unsigned long long int.
2227 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
2229         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2230         string_t.  Do not manually set errno.
2231         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2232         length with __strnlen.  Make sure to both set errno and return it on
2233         failure.
2235 2012-11-19  David S. Miller  <davem@davemloft.net>
2237         With help from Joseph Myers.
2238         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2239         very large arguments properly.
2240         * math/libm-test.inc (atan_test): New tests.
2241         (atan2_test): New tests.
2242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2245 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
2247         [BZ #14856]
2248         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2249         Define to 3.
2251         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2252         [POSIX] (EADDRNOTAVAIL): Likewise.
2253         [POSIX] (EAFNOSUPPORT): Likewise.
2254         [POSIX] (EALREADY): Likewise.
2255         [POSIX] (ECONNABORTED): Likewise.
2256         [POSIX] (ECONNREFUSED): Likewise.
2257         [POSIX] (ECONNRESET): Likewise.
2258         [POSIX] (EDESTADDRREQ): Likewise.
2259         [POSIX] (EDQUOT): Likewise.
2260         [POSIX] (EHOSTUNREACH): Likewise.
2261         [POSIX] (EIDRM): Likewise.
2262         [POSIX] (EISCONN): Likewise.
2263         [POSIX] (ELOOP): Likewise.
2264         [POSIX] (EMULTIHOP): Likewise.
2265         [POSIX] (ENETDOWN): Likewise.
2266         [POSIX] (ENETUNREACH): Likewise.
2267         [POSIX] (ENOBUFS): Likewise.
2268         [POSIX] (ENODATA): Likewise.
2269         [POSIX] (ENOLINK): Likewise.
2270         [POSIX] (ENOMSG): Likewise.
2271         [POSIX] (ENOPROTOOPT): Likewise.
2272         [POSIX] (ENOSR): Likewise.
2273         [POSIX] (ENOSTR): Likewise.
2274         [POSIX] (ENOTCONN): Likewise.
2275         [POSIX] (ENOTSOCK): Likewise.
2276         [POSIX] (EOPNOTSUPP): Likewise.
2277         [POSIX] (EOVERFLOW): Likewise.
2278         [POSIX] (EPROTO): Likewise.
2279         [POSIX] (EPROTONOSUPPORT): Likewise.
2280         [POSIX] (EPROTOTYPE): Likewise.
2281         [POSIX] (ESTALE): Likewise.
2282         [POSIX] (ETIME): Likewise.
2283         [POSIX] (ETXTBSY): Likewise.
2284         [POSIX] (EWOULDBLOCK): Likewise.
2285         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2286         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2287         [POSIX] (SEEK_CUR): Likewise.
2288         [POSIX] (SEEK_END): Likewise.
2289         [POSIX || UNIX98] (mode_t): Do not require.
2290         [POSIX] (off_t): Likewise.
2291         [POSIX] (pid_t): Likewise.
2292         [POSIX] (sys/stat.h): Do not allow header.
2293         [POSIX] (unistd.h): Likewise.
2294         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2295         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2296         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2297         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2298         require.
2299         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2300         sigevent): Specify elements.
2301         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2302         entry.
2303         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2304         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2306         * conform/data/cpio.h-data [POSIX]: Disable whole file.
2307         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2308         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2309         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2310         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2311         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2312         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2313         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2314         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2315         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2316         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2317         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2318         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2319         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2320         Likewise.
2321         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2322         Likewise.
2323         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2324         Likewise.
2325         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2326         Likewise.
2327         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2328         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2329         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2330         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2331         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2332         Specify lower bound on value.
2333         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2334         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2335         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2336         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2337         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2338         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2339         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2340         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2341         value.
2342         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2343         as optional.
2344         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2345         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2346         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2347         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2348         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2349         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2350         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2351         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2352         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2353         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2354         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2355         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2356         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2357         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2358         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2359         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2360         entry.
2361         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2362         optional.
2363         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2364         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2365         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2366         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2367         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2368         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2369         Likewise.
2370         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2371         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2372         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2373         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2374         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
2375         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2376         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2377         as optional.
2378         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2379         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2380         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2381         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2382         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2383         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2384         specify as optional.
2385         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2386         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2387         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2388         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2389         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2390         [XPG3] (NL_LANGMAX): Likewise.
2391         [POSIX || XPG3] (NL_MSGMAX): Likewise.
2392         [POSIX || XPG3] (NL_NMAX): Likewise.
2393         [POSIX || XPG3] (NL_SETMAX): Likewise.
2394         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2395         [XPG3] (NZERO): Likewise.
2396         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2397         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2398         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2399         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2400         (REG_ERANGE): Expect.
2401         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2402         optional-constant.
2403         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2404         Use (void) in prototype.
2405         [POSIX] (*_t): Allow.
2406         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2407         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2408         (WRDE_BADVAL): Expect.
2410         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2411         expect.
2412         [XPG3 || XPG4] (O_RSYNC): Likewise.
2413         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2414         Likewise.
2415         [XPG3 || XPG4] (pthread_sigmask): Likewise.
2416         [XPG3 || XPG4] (sigqueue): Likewise.
2417         [XPG3 || XPG4] (sigtimedwait): Likewise.
2418         [XPG3 || XPG4] (sigwaitinfo): Likewise.
2419         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2420         [XPG3 || XPG4] (vsnprintf): Likewise.
2421         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2422         Likewise.
2423         [XPG3 || XPG4] (blksize_t): Likewise.
2424         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2425         Likewise.
2426         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2427         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2428         [XPG3 || XPG4] (struct itimerspec): Likewise.
2429         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2430         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2431         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2432         [XPG3 || XPG4] (clockid_t): Likewise.
2433         [XPG3 || XPG4] (timer_t): Likewise.
2434         [XPG3 || XPG4] (clock_getres): Likewise.
2435         [XPG3 || XPG4] (clock_gettime): Likewise.
2436         [XPG3 || XPG4] (clock_settime): Likewise.
2437         [XPG3 || XPG4] (nanosleep): Likewise.
2438         [XPG3 || XPG4] (timer_create): Likewise.
2439         [XPG3 || XPG4] (timer_delete): Likewise.
2440         [XPG3 || XPG4] (timer_gettime): Likewise.
2441         [XPG3 || XPG4] (timer_getoverrun): Likewise.
2442         [XPG3 || XPG4] (timer_settime): Likewise.
2443         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2444         [XPG3 || XPG4] (getlogin_r): Likewise.
2445         [XPG3 || XPG4] (pread): Likewise.
2446         [XPG3 || XPG4] (pthread_atfork): Likewise.
2447         [XPG3 || XPG4] (pwrite): Likewise.
2449         [BZ #14835]
2450         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2451         <bits/siginfo.h>.
2453 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
2455         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2456         finalizing MALLSTREAM.
2458         * sysdeps/mach/hurd/syncfs.c: New file.
2460 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2462         [BZ #14719]
2463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2464         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2465         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2466         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2467         (_nss_dns_gethostbyname4_r): Likewise.
2468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2469         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2471 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
2473         [BZ #13763]
2474         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2476 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
2478         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2479         * elf/cache.c (print_entry): Print ",AArch64" for
2480         FLAG_AARCH64_LIB64
2482         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2483         * elf/cache.c (print_entry): Print ",hard-float" for
2484         FLAG_ARM_LIBHF.
2486 2012-11-18  David S. Miller  <davem@davemloft.net>
2488         With help from Joseph Myers.
2489         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2490         cutoff to 2**-13.
2491         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2492         cutoff to 2**-25.
2493         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2494         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2495         small.
2496         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2497         * math/libm-test.inc (y0_test): New tests.
2498         (y1_test): New tests.
2499         * sysdeps/i386/fpu/libm-test-ulps: Update.
2500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2503 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
2505         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2506         64-bit targets.
2507         * configure: Regenerated.
2509 2012-11-17  David S. Miller  <davem@davemloft.net>
2511         [BZ #14811]
2512         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2513         nonzero exponents with absolute value below 0x1p-128 to +/-
2514         0x1p-128.
2516 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
2518         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2520         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2522         * posix/getconf-speclist.c: New file.
2523         * posix/posix-envs.def: Likewise.
2524         * posix/confstr.c (START_ENV_GROUP): New macro.
2525         (END_ENV_GROUP): Likewise.
2526         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2527         (KNOWN_PRESENT_ENV_STRING): Likewise.
2528         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2529         (UNKNOWN_ENVIRONMENT): Likewise.
2530         (confstr): Include posix-envs.def instead of handling
2531         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2532         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2533         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2534         (END_ENV_GROUP): Likewise.
2535         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2536         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2537         (UNKNOWN_ENVIRONMENT): Likewise.
2538         (__sysconf): Include posix-envs.def instead of handling associated
2539         cases directly here.
2540         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2541         preprocessing getconf-speclist.c rather than running getconf or
2542         generating empty file.
2544 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
2546         * scripts/check-local-headers.sh: Ignore 'mach' headers.
2548 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
2550         [BZ #14672]
2551         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2553 2012-11-16  David S. Miller  <davem@davemloft.net>
2555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2556         smaller than LDBL_EPSILON/2.0L, just return xm1.
2558 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
2560         * elf/tst-array1.c (init): Set constructor priority to 1000.
2561         (fini): Set destructor priority to 1000.
2562         * elf/tst-array2dep.c: Likewise.
2564 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2566         [BZ #11741]
2567         * libio/fileops.c (_IO_new_file_write): Correctly return error.
2568         (_IO_new_file_xsputn): Also return EOF if none of the input
2569         data was written when overflow failed.
2570         * libio/iopadn.c (_IO_padn): Likewise.
2571         * libio/iowpadn.c (_IO_wpadn): Likewise.
2572         * stdio-common/tst-put-error.c: Add copyright notice.
2573         (do_test): Add case for printing padded string.
2574         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2575         _IO_padn returned error.
2576         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2577         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2578         return EOF.
2580 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2582         * libio/libioP.h: Add comment note that the references to C++
2583         bits are now obsolete.
2585 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2587         * math/libm-test.inc (check_complex): Use asprintf.
2589 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
2591         * debug/pcprofiledump.c (print_version): Update copyright year.
2592         * malloc/memusagestat.c (print_version): Likewise.
2594 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2596         [BZ #14831]
2597         * elf/Makefile (tests): Add tst-audit8.
2598         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2599         ($(objpfx)tst-audit8.out): New target.
2600         (tst-audit8-ENV): New variable.
2601         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2602         audit if l_reloc_result is NULL.
2603         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2604         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2605         * elf/tst-audit8.c: New file.
2607 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2609         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2610         * misc/Makefile (CFLAGS-select.c): Define.
2611         * posix/Makefile (CFLAGS-pause.c): Define.
2613 2012-11-13  David S. Miller  <davem@davemloft.net>
2615         * crypt/Makefile: Move test targets after toplevel Rules
2616         inclusion.  Grab any necessary sysdep routines when linking.
2617         * crypt/md5.c (md5_process_block): Remove define, we will always
2618         name it __md5_process_block.
2619         (md5_finish_ctx): Update md5_process_block call.
2620         (md5_stream): Likewise.
2621         (md5_process_bytes): Likewise.
2622         (md5_process_block): Rename to __md5_process_block and move to ...
2623         * crypt/md5-block.c: ... here.
2624         * crypt/sha256.c (sha256_process_block): Move to ...
2625         * crypt/sha256-block.c: ... here.
2626         * crypt/sha512.c (sha512_process_block): Move to ...
2627         * crypt/sha512-block.c: ... here.
2628         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2629         path.
2630         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2631         * sysdeps/sparc/sparc64/multiarch/Makefile
2632         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2633         crypt subdir.
2634         (localedef-aux): Add md5 crypto assembler when in locale subdir.
2635         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2636         multiarch changes.
2637         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2638         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2639         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2640         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2641         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2642         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2643         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2644         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2645         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2646         file.
2647         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2648         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2649         file.
2650         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2652 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
2654         * timezone/tzselect.ksh: Update from tzcode git revision
2655         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2656         * timezone/zdump.c: Likewise.
2657         * timezone/zic.c: Likewise.
2658         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2659         in TZVERSION setting, not $(PKGVERSION).
2660         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
2661         REPORT_BUGS_TO settings.
2663         [BZ #14838]
2664         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2665         macro.
2667 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2669         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2670         detection to immediately after _FP_ROUND().
2671         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2672         bits are 0.
2674 2012-11-11  David S. Miller  <davem@davemloft.net>
2676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2677         inttypes.h
2678         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2679         __close rather than their public counterparts.
2681 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
2683         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2684         file.
2685         [UNIX98] (sem_timedwait): Do not expect.
2686         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2687         [XPG4 || UNIX98] (sockatmark): Do not expect.
2688         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2689         (clock_getcpuclockid): Do not expect.
2690         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2691         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2692         Do not expect.
2693         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2694         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2695         [UNIX98] (vwscanf): Likewise.
2696         [UNIX98] (vswscanf): Likewise.
2698 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
2700         * timezone/version.h: Remove file.
2701         * timezone/README: Do not refer to version.h.
2702         * timezone/Makefile ($(objpfx)zic.o): New dependency on
2703         $(objpfx)version.h.
2704         ($(objpfx)zdump.o): Likewise.
2705         ($(objpfx)version.h): New target.
2707         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2708         2012i.
2709         * timezone/README: Don't mention modification to tzselect.ksh.
2710         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2711         work on unmodified tzselect.ksh.  Substitute version numbers in
2712         tzselect.ksh.
2714         * Makefile (format-me): Remove.
2715         (INSTALL): Adjust indentation.  Use commands directly instead of
2716         using $(format-me).
2718         * aclocal.m4 (ACX_PKGVERSION): New macro.
2719         (ACX_BUGURL): Likewise.
2720         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2721         (PKGVERSION): New AC_DEFINE_UNQUOTED.
2722         (REPORT_BUGS_TO): Likewise.
2723         * configure: Regenerated.
2724         * config.h.in (PKGVERSION): New macro.
2725         (REPORT_BUGS_TO): Likewise.
2726         * config.make.in (PKGVERSION): New variable.
2727         (PKGVERSION_TEXI): Likewise.
2728         (REPORT_BUGS_TO): Likewise.
2729         (REPORT_BUGS_TEXI): Likewise.
2730         * Makefile (format-me): Use -I$(common-objpfx)manual.
2731         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2732         ($(common-objpfx)manual/%): New target.
2733         (manual/%): Remove target.
2734         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2735         (print_version): Use PKGVERSION.
2736         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2737         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2738         and REPORT_BUGS_TO.
2739         ($(objpfx)xtrace): Likewise.
2740         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2741         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2742         (print_version): Use PKGVERSION.
2743         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2744         (do_version): Use PKGVERSION.
2745         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2746         REPORT_BUGS_TO.
2747         (common-ldd-rewrite): Likewise.
2748         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2749         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2750         (print_version): Use PKGVERSION.
2751         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2752         * elf/pldd.c (argp_program_bug_address): Remove variable.
2753         (more_help): New function.
2754         (argp): Use more_help.
2755         (print_version): Use PKGVERSION.
2756         * elf/sln.c (main): Use PKGVERSION.
2757         (usage): Use REPORT_BUGS_TO.
2758         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2759         (top level): Use PKGVERSION.
2760         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2761         (print_version): Use PKGVERSION.
2762         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2763         (print_version): Use PKGVERSION.
2764         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2765         (print_version): Use PKGVERSION.
2766         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2767         (print_version): Use PKGVERSION.
2768         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2769         (print_version): Use PKGVERSION.
2770         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2771         (print_version): Use PKGVERSION.
2772         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2773         and BUGURL.
2774         ($(objpfx)memusage): Likewise.
2775         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2776         (do_version): Use PKGVERSION.
2777         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2778         (print_version): Use PKGVERSION.
2779         * malloc/mtrace.pl ($PACKAGE): Remove variable.
2780         ($PKGVERSION): New variable.
2781         ($REPORT_BUGS_TO): Likewise.
2782         (usage): Use $REPORT_BUGS_TO.
2783         (top level): Use $PKGVERSION.
2784         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2785         ($(objpfx)pkgvers.texi): New rule.
2786         ($(objpfx)stamp-pkgvers): Likewise.
2787         * manual/install.texi: Include pkgvers.texi.
2788         (--with-pkgversion): Document new configure option.
2789         (--with-bugurl): Likewise.
2790         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2791         than necessarily for this particular distribution.  Use
2792         REPORT_BUGS_TO for where to report bugs.
2793         * INSTALL: Regenerated.
2794         * manual/libc.texinfo: Include pkgvers.texi.
2795         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2796         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2797         (print_version): Use PKGVERSION.
2798         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2799         (print_version): Use PKGVERSION.
2800         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2801         (print_version): Use PKGVERSION.
2802         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2803         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2804         macro.
2805         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2806         (print_version): Use PKGVERSION.
2807         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2808         (print_version): Use PKGVERSION.
2809         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2810         and PKGVERSION.
2812         * timezone/checktab.awk: Update from tzcode 2012i.
2813         * timezone/ialloc.c: Likewise.
2814         * timezone/private.h: Likewise.
2815         * timezone/scheck.c: Likewise.
2816         * timezone/tzfile.h: Likewise.
2817         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2818         (TZVERSION): Hardcode tzcode version number.
2819         * timezone/zdump.c: Update from tzcode 2012i.
2820         * timezone/zic.c: Likewise.
2821         * timezone/version.h: New file.
2822         * timezone/README: Describe version.h.  Update upstream location.
2824         [BZ #14824]
2825         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2826         (mktemp): Enable declaration.
2827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2828         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2831         Likewise.
2832         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2833         Likewise.
2834         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2835         Likewise.
2836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2837         Likewise.
2838         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2839         Likewise.
2840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2841         Likewise.
2843         [BZ #14821]
2844         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2845         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
2846         for copies of such integer values.
2847         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2848         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2850 2012-11-09  Andreas Jaeger  <aj@suse.de>
2852         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2853         definitions and declarations that are provided by
2854         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2856 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2858         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2859         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2860         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2861         definition.
2863 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2865         * elf/elf.h: Update comment before AArch64 relocations.
2867 2012-11-07  David S. Miller  <davem@davemloft.net>
2869         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2870         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2871         (__start_context): Declare.
2872         (__makecontext_ret): Delete.
2873         (__makecontext): Hook up __start_context instead of
2874         __makecontext_ret.
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2876         (sysdep_routines): Add __start_context when in stdlib.
2878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2880         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2881         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2882         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
2883         hardcoded "nm".
2884         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
2885         (READELF): New variable.  Use it instead of hardcoded "readelf".
2887 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
2889         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2890         * sysdeps/x86/Makefile: Here.
2891         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2892         * sysdeps/x86/tst-xmmymm.sh: This.
2894 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
2896         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2897         expectations.
2898         [UNIX98] (pthread_barrier_t): Do not expect.
2899         [UNIX98] (pthread_barrierattr_t): Likewise.
2900         [UNIX98] (pthread_spinlock_t): Likewise.
2901         [UNIX98] (pthread_barrier_destroy): Likewise.
2902         [UNIX98] (pthread_barrier_init): Likewise.
2903         [UNIX98] (pthread_barrier_wait): Likewise.
2904         [UNIX98] (pthread_barrierattr_destroy): Likewise.
2905         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2906         [UNIX98] (pthread_barrierattr_init): Likewise.
2907         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2908         [UNIX98] (pthread_getcpuclockid): Likewise.
2909         [UNIX98] (pthread_mutex_timedlock): Likewise.
2910         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2911         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2912         [UNIX98] (pthread_sigmask): Likewise.
2913         [UNIX98] (pthread_spin_destroy): Likewise.
2914         [UNIX98] (pthread_spin_init): Likewise.
2915         [UNIX98] (pthread_spin_lock): Likewise.
2916         [UNIX98] (pthread_spin_trylock): Likewise.
2917         [UNIX98] (pthread_spin_unlock): Likewise.
2918         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2919         Do not expect.
2920         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2921         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2922         [XPG3 || XPG4] (pthread_cond_t): Likewise.
2923         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2924         [XPG3 || XPG4] (pthread_key_t): Likewise.
2925         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2926         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2927         [XPG3 || XPG4] (pthread_once_t): Likewise.
2928         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2929         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2930         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2931         [XPG3 || XPG4] (pthread_t): Likewise.
2933         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2934         not expect.
2935         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2937         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2938         Change function return type to int.
2940         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2941         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2942         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2943         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2944         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2945         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2946         [!POSIX] (posix_madvise): Likewise.
2947         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2948         && !UNIX98].
2949         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2950         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2951         (mode_t): Likewise.
2952         (posix_mem_offset): Likewise.
2953         (posix_typed_mem_get_info): Likewise.
2954         (posix_typed_mem_open): Likewise.
2956         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2957         Change condition to [XOPEN2K8].
2959         * conform/conformtest.pl: Preprocess allow-header data with -x c
2960         instead of from stdin.
2961         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2962         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2963         [C99-based standards] (cerfc): Likewise.
2964         [C99-based standards] (cexp2): Likewise.
2965         [C99-based standards] (cexpm1): Likewise.
2966         [C99-based standards] (clog10): Likewise.
2967         [C99-based standards] (clog1p): Likewise.
2968         [C99-based standards] (clog2): Likewise.
2969         [C99-based standards] (clgamma): Likewise.
2970         [C99-based standards] (ctgamma): Likewise.
2971         [C99-based standards] (cerff): Likewise.
2972         [C99-based standards] (cerfcf): Likewise.
2973         [C99-based standards] (cexp2f): Likewise.
2974         [C99-based standards] (cexpm1f): Likewise.
2975         [C99-based standards] (clog10f): Likewise.
2976         [C99-based standards] (clog1pf): Likewise.
2977         [C99-based standards] (clog2f): Likewise.
2978         [C99-based standards] (clgammaf): Likewise.
2979         [C99-based standards] (ctgammaf): Likewise.
2980         [C99-based standards] (cerfl): Likewise.
2981         [C99-based standards] (cerfcl): Likewise.
2982         [C99-based standards] (cexp2l): Likewise.
2983         [C99-based standards] (cexpm1l): Likewise.
2984         [C99-based standards] (clog10l): Likewise.
2985         [C99-based standards] (clog1pl): Likewise.
2986         [C99-based standards] (clog2l): Likewise.
2987         [C99-based standards] (clgammal): Likewise.
2988         [C99-based standards] (ctgammal): Likewise.
2989         * conform/data/inttypes.h-data [C99-based standards]: Include
2990         stdint.h-data.  Remove all expectations for stdint.h contents.
2991         [C99-based standards] (PRI*): Do not allow.
2992         [C99-based standards] (SCN*): Likewise.
2993         [C99-based standards] (*_t): Likewise.
2994         [C99-based-standards] (PRId8): Expect macro.
2995         [C99-based-standards] (PRIi8): Likewise.
2996         [C99-based-standards] (PRIo8): Likewise.
2997         [C99-based-standards] (PRIu8): Likewise.
2998         [C99-based-standards] (PRIx8): Likewise.
2999         [C99-based-standards] (PRIX8): Likewise.
3000         [C99-based-standards] (SCNd8): Likewise.
3001         [C99-based-standards] (SCNi8): Likewise.
3002         [C99-based-standards] (SCNo8): Likewise.
3003         [C99-based-standards] (SCNu8): Likewise.
3004         [C99-based-standards] (SCNx8): Likewise.
3005         [C99-based-standards] (PRIdLEAST8): Likewise.
3006         [C99-based-standards] (PRIiLEAST8): Likewise.
3007         [C99-based-standards] (PRIoLEAST8): Likewise.
3008         [C99-based-standards] (PRIuLEAST8): Likewise.
3009         [C99-based-standards] (PRIxLEAST8): Likewise.
3010         [C99-based-standards] (PRIXLEAST8): Likewise.
3011         [C99-based-standards] (SCNdLEAST8): Likewise.
3012         [C99-based-standards] (SCNiLEAST8): Likewise.
3013         [C99-based-standards] (SCNoLEAST8): Likewise.
3014         [C99-based-standards] (SCNuLEAST8): Likewise.
3015         [C99-based-standards] (SCNxLEAST8): Likewise.
3016         [C99-based-standards] (PRIdFAST8): Likewise.
3017         [C99-based-standards] (PRIiFAST8): Likewise.
3018         [C99-based-standards] (PRIoFAST8): Likewise.
3019         [C99-based-standards] (PRIuFAST8): Likewise.
3020         [C99-based-standards] (PRIxFAST8): Likewise.
3021         [C99-based-standards] (PRIXFAST8): Likewise.
3022         [C99-based-standards] (SCNdFAST8): Likewise.
3023         [C99-based-standards] (SCNiFAST8): Likewise.
3024         [C99-based-standards] (SCNoFAST8): Likewise.
3025         [C99-based-standards] (SCNuFAST8): Likewise.
3026         [C99-based-standards] (SCNxFAST8): Likewise.
3027         [C99-based-standards] (PRId16): Likewise.
3028         [C99-based-standards] (PRIi16): Likewise.
3029         [C99-based-standards] (PRIo16): Likewise.
3030         [C99-based-standards] (PRIu16): Likewise.
3031         [C99-based-standards] (PRIx16): Likewise.
3032         [C99-based-standards] (PRIX16): Likewise.
3033         [C99-based-standards] (SCNd16): Likewise.
3034         [C99-based-standards] (SCNi16): Likewise.
3035         [C99-based-standards] (SCNo16): Likewise.
3036         [C99-based-standards] (SCNu16): Likewise.
3037         [C99-based-standards] (SCNx16): Likewise.
3038         [C99-based-standards] (PRIdLEAST16): Likewise.
3039         [C99-based-standards] (PRIiLEAST16): Likewise.
3040         [C99-based-standards] (PRIoLEAST16): Likewise.
3041         [C99-based-standards] (PRIuLEAST16): Likewise.
3042         [C99-based-standards] (PRIxLEAST16): Likewise.
3043         [C99-based-standards] (PRIXLEAST16): Likewise.
3044         [C99-based-standards] (SCNdLEAST16): Likewise.
3045         [C99-based-standards] (SCNiLEAST16): Likewise.
3046         [C99-based-standards] (SCNoLEAST16): Likewise.
3047         [C99-based-standards] (SCNuLEAST16): Likewise.
3048         [C99-based-standards] (SCNxLEAST16): Likewise.
3049         [C99-based-standards] (PRIdFAST16): Likewise.
3050         [C99-based-standards] (PRIiFAST16): Likewise.
3051         [C99-based-standards] (PRIoFAST16): Likewise.
3052         [C99-based-standards] (PRIuFAST16): Likewise.
3053         [C99-based-standards] (PRIxFAST16): Likewise.
3054         [C99-based-standards] (PRIXFAST16): Likewise.
3055         [C99-based-standards] (SCNdFAST16): Likewise.
3056         [C99-based-standards] (SCNiFAST16): Likewise.
3057         [C99-based-standards] (SCNoFAST16): Likewise.
3058         [C99-based-standards] (SCNuFAST16): Likewise.
3059         [C99-based-standards] (SCNxFAST16): Likewise.
3060         [C99-based-standards] (PRId32): Likewise.
3061         [C99-based-standards] (PRIi32): Likewise.
3062         [C99-based-standards] (PRIo32): Likewise.
3063         [C99-based-standards] (PRIu32): Likewise.
3064         [C99-based-standards] (PRIx32): Likewise.
3065         [C99-based-standards] (PRIX32): Likewise.
3066         [C99-based-standards] (SCNd32): Likewise.
3067         [C99-based-standards] (SCNi32): Likewise.
3068         [C99-based-standards] (SCNo32): Likewise.
3069         [C99-based-standards] (SCNu32): Likewise.
3070         [C99-based-standards] (SCNx32): Likewise.
3071         [C99-based-standards] (PRIdLEAST32): Likewise.
3072         [C99-based-standards] (PRIiLEAST32): Likewise.
3073         [C99-based-standards] (PRIoLEAST32): Likewise.
3074         [C99-based-standards] (PRIuLEAST32): Likewise.
3075         [C99-based-standards] (PRIxLEAST32): Likewise.
3076         [C99-based-standards] (PRIXLEAST32): Likewise.
3077         [C99-based-standards] (SCNdLEAST32): Likewise.
3078         [C99-based-standards] (SCNiLEAST32): Likewise.
3079         [C99-based-standards] (SCNoLEAST32): Likewise.
3080         [C99-based-standards] (SCNuLEAST32): Likewise.
3081         [C99-based-standards] (SCNxLEAST32): Likewise.
3082         [C99-based-standards] (PRIdFAST32): Likewise.
3083         [C99-based-standards] (PRIiFAST32): Likewise.
3084         [C99-based-standards] (PRIoFAST32): Likewise.
3085         [C99-based-standards] (PRIuFAST32): Likewise.
3086         [C99-based-standards] (PRIxFAST32): Likewise.
3087         [C99-based-standards] (PRIXFAST32): Likewise.
3088         [C99-based-standards] (SCNdFAST32): Likewise.
3089         [C99-based-standards] (SCNiFAST32): Likewise.
3090         [C99-based-standards] (SCNoFAST32): Likewise.
3091         [C99-based-standards] (SCNuFAST32): Likewise.
3092         [C99-based-standards] (SCNxFAST32): Likewise.
3093         [C99-based-standards] (PRId64): Likewise.
3094         [C99-based-standards] (PRIi64): Likewise.
3095         [C99-based-standards] (PRIo64): Likewise.
3096         [C99-based-standards] (PRIu64): Likewise.
3097         [C99-based-standards] (PRIx64): Likewise.
3098         [C99-based-standards] (PRIX64): Likewise.
3099         [C99-based-standards] (SCNd64): Likewise.
3100         [C99-based-standards] (SCNi64): Likewise.
3101         [C99-based-standards] (SCNo64): Likewise.
3102         [C99-based-standards] (SCNu64): Likewise.
3103         [C99-based-standards] (SCNx64): Likewise.
3104         [C99-based-standards] (PRIdLEAST64): Likewise.
3105         [C99-based-standards] (PRIiLEAST64): Likewise.
3106         [C99-based-standards] (PRIoLEAST64): Likewise.
3107         [C99-based-standards] (PRIuLEAST64): Likewise.
3108         [C99-based-standards] (PRIxLEAST64): Likewise.
3109         [C99-based-standards] (PRIXLEAST64): Likewise.
3110         [C99-based-standards] (SCNdLEAST64): Likewise.
3111         [C99-based-standards] (SCNiLEAST64): Likewise.
3112         [C99-based-standards] (SCNoLEAST64): Likewise.
3113         [C99-based-standards] (SCNuLEAST64): Likewise.
3114         [C99-based-standards] (SCNxLEAST64): Likewise.
3115         [C99-based-standards] (PRIdFAST64): Likewise.
3116         [C99-based-standards] (PRIiFAST64): Likewise.
3117         [C99-based-standards] (PRIoFAST64): Likewise.
3118         [C99-based-standards] (PRIuFAST64): Likewise.
3119         [C99-based-standards] (PRIxFAST64): Likewise.
3120         [C99-based-standards] (PRIXFAST64): Likewise.
3121         [C99-based-standards] (SCNdFAST64): Likewise.
3122         [C99-based-standards] (SCNiFAST64): Likewise.
3123         [C99-based-standards] (SCNoFAST64): Likewise.
3124         [C99-based-standards] (SCNuFAST64): Likewise.
3125         [C99-based-standards] (SCNxFAST64): Likewise.
3126         [C99-based-standards] (PRIdMAX): Likewise.
3127         [C99-based-standards] (PRIiMAX): Likewise.
3128         [C99-based-standards] (PRIoMAX): Likewise.
3129         [C99-based-standards] (PRIuMAX): Likewise.
3130         [C99-based-standards] (PRIxMAX): Likewise.
3131         [C99-based-standards] (PRIXMAX): Likewise.
3132         [C99-based-standards] (SCNdMAX): Likewise.
3133         [C99-based-standards] (SCNiMAX): Likewise.
3134         [C99-based-standards] (SCNoMAX): Likewise.
3135         [C99-based-standards] (SCNuMAX): Likewise.
3136         [C99-based-standards] (SCNxMAX): Likewise.
3137         [C99-based-standards] (PRIdPTR): Likewise.
3138         [C99-based-standards] (PRIiPTR): Likewise.
3139         [C99-based-standards] (PRIoPTR): Likewise.
3140         [C99-based-standards] (PRIuPTR): Likewise.
3141         [C99-based-standards] (PRIxPTR): Likewise.
3142         [C99-based-standards] (PRIXPTR): Likewise.
3143         [C99-based-standards] (SCNdPTR): Likewise.
3144         [C99-based-standards] (SCNiPTR): Likewise.
3145         [C99-based-standards] (SCNoPTR): Likewise.
3146         [C99-based-standards] (SCNuPTR): Likewise.
3147         [C99-based-standards] (SCNxPTR): Likewise.
3148         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3149         allow.
3150         * conform/data/stdint.h-data: Update comments to clarify
3151         requirements.
3152         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
3153         type.
3154         [C99-based standards] (INT8_MAX): Likewise.
3155         [C99-based standards] (INT16_MIN): Likewise.
3156         [C99-based standards] (INT16_MAX): Likewise.
3157         [C99-based standards] (INT32_MIN): Likewise.
3158         [C99-based standards] (INT32_MAX): Likewise.
3159         [C99-based standards] (INT64_MIN): Likewise.
3160         [C99-based standards] (INT64_MAX): Likewise.
3161         [C99-based standards] (UINT8_MAX): Likewise.
3162         [C99-based standards] (UINT16_MAX): Likewise.
3163         [C99-based standards] (UINT32_MAX): Likewise.
3164         [C99-based standards] (UINT64_MAX): Likewise.
3165         [C99-based standards] (INT_LEAST8_MIN): Likewise.
3166         [C99-based standards] (INT_LEAST8_MAX): Likewise.
3167         [C99-based standards] (INT_LEAST16_MIN): Likewise.
3168         [C99-based standards] (INT_LEAST16_MAX): Likewise.
3169         [C99-based standards] (INT_LEAST32_MIN): Likewise.
3170         [C99-based standards] (INT_LEAST32_MAX): Likewise.
3171         [C99-based standards] (INT_LEAST64_MIN): Likewise.
3172         [C99-based standards] (INT_LEAST64_MAX): Likewise.
3173         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3174         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3175         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3176         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3177         [C99-based standards] (INT_FAST8_MIN): Likewise.
3178         [C99-based standards] (INT_FAST8_MAX): Likewise.
3179         [C99-based standards] (INT_FAST16_MIN): Likewise.
3180         [C99-based standards] (INT_FAST16_MAX): Likewise.
3181         [C99-based standards] (INT_FAST32_MIN): Likewise.
3182         [C99-based standards] (INT_FAST32_MAX): Likewise.
3183         [C99-based standards] (INT_FAST64_MIN): Likewise.
3184         [C99-based standards] (INT_FAST64_MAX): Likewise.
3185         [C99-based standards] (UINT_FAST8_MAX): Likewise.
3186         [C99-based standards] (UINT_FAST16_MAX): Likewise.
3187         [C99-based standards] (UINT_FAST32_MAX): Likewise.
3188         [C99-based standards] (UINT_FAST64_MAX): Likewise.
3189         [C99-based standards] (INTPTR_MIN): Likewise.
3190         [C99-based standards] (INTPTR_MAX): Likewise.
3191         [C99-based standards] (UINTPTR_MAX): Likewise.
3192         [C99-based standards] (INTMAX_MIN): Likewise.
3193         [C99-based standards] (INTMAX_MAX): Likewise.
3194         [C99-based standards] (UINTMAX_MAX): Likewise.
3195         [C99-based standards] (PTRDIFF_MIN): Likewise.
3196         [C99-based standards] (PTRDIFF_MAX): Likewise.
3197         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3198         [C99-based standards] (SIZE_MAX): Likewise.
3199         [C99-based standards] (WCHAR_MAX): Likewise.
3200         [C99-based standards] (WINT_MAX): Likewise.
3201         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
3202         constraint on value.
3203         [C99-based standards] (WCHAR_MIN): Likewise.
3204         [C99-based standards] (WINT_MIN): Likewise.
3205         [C99-based standards] (*_t): Allow.
3206         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3207         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3208         Include math.h-data and complex.h-data.  Remove all expectations
3209         of math.h and complex.h contents.
3210         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3211         at end of line.
3212         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3213         (struct tm): Expect tag.
3214         [C99-based-standards] (wcstof): Expect function.
3215         [C99-based-standards] (wcstold): Likewise.
3216         [C99-based-standards] (wcstoll): Likewise.
3217         [C99-based-standards] (wcstoull): Likewise.
3218         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3219         macro-int-constant.  Specify type.
3220         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
3221         constraint on value.
3222         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3223         Specify type.
3224         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3225         Specify value.
3226         [ISO C standards]: Do not allow headers.
3227         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3228         wcs[abcdefghijklmnopqrstuvwxyz]*.
3229         [ISO C standards] (*_t): Do not allow.
3230         * conform/data/wctype.h-data [C99-based standards] (iswblank):
3231         Expect function.
3232         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3233         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3234         Specify type.
3235         [ISO C standards]: Do not allow headers.
3236         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3237         is[abcdefghijklmnopqrstuvwxyz]*.
3238         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3239         to[abcdefghijklmnopqrstuvwxyz]*.
3240         [ISO C standards] (*_t): Do not allow.
3241         * conform/data/stdalign.h-data: New file.
3242         * conform/data/stdbool.h-data: Likewise.
3243         * conform/data/stdnoreturn.h-data: Likewise.
3245 2012-11-07  Roland McGrath  <roland@hack.frob.com>
3247         [BZ #14815]
3248         * manual/filesys.texi (Directory Entries): Typo fix.
3249         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3251 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3253         * elf/elf.h (EM_AARCH64): New macro.
3254         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3255         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3256         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3257         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3258         (R_AARCH64_TLSDESC): Likewise.
3259         (NT_ARM_TLS): Likewise.
3260         (NT_ARM_HW_BREAK): Likewise.
3261         (NT_ARM_HW_WATCH): Likewise.
3263 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
3265         [BZ #14811]
3266         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3267         (__ieee754_powl): Saturate nonzero exponents with absolute value
3268         below 0x1p-79 to +/- 0x1p-79.
3269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3270         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3271         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3272         nonzero exponents with absolute value below 0x1p-32 to +/-
3273         0x1p-32.
3274         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3275         (__ieee754_powl): Saturate nonzero exponents with absolute value
3276         below 0x1p-79 to +/- 0x1p-79.
3277         * math/libm-test.inc (pow_test): Add more tests.
3279 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3281         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3282         _dl_s390_cap_flags with kernel. Increase string length.
3283         (_dl_s390_platforms): Add z196 and zEC12.
3285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
3287         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3288         Change XOPEN21K to XOPEN2K.
3290 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
3292         * string/memmove.c: Use memcpy when possible.
3294 2012-11-06  Andreas Jaeger  <aj@suse.de>
3296         * po/eo.po: Update from translation team.
3298 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
3300         [BZ #14793]
3301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3302         exponent and small x and y exponents, scale x or y up.  Increase
3303         by 2 the exponent used in scaling up.
3304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3306         * math/libm-test.inc (fma_test): Add more tests.
3307         (fma_test_towardzero): Likewise.
3308         (fma_test_downward): Likewise.
3309         (fma_test_upward): Likewise.
3311 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
3313         [BZ #14805]
3314         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3315         fenv_t *.
3317         [BZ #14801]
3318         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3319         namespace for names of struct fields.
3320         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3321         fenv_t fields.
3322         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3323         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3325 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3327         [BZ #3665]
3328         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3330 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
3332         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3333         PTR_DEMANGLE.
3335         [BZ #5246]
3336         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3337         PTR_DEMANGLE.
3339 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
3341         [BZ #14797]
3342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3343         definitely overflow as x * y not x * y + z.
3344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3346         * math/libm-test.inc (fma_test): Add more tests.
3347         (fma_test_towardzero): Likewise.
3348         (fma_test_downward): Likewise.
3349         (fma_test_upward): Likewise.
3351 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
3353         [BZ #157]
3355         * include/stub-tag.h: Remove file.
3356         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3357         '#include' of it.
3358         * manual/maint.texi (Porting): Don't reference it.
3359         * Makerules ($(objpfx)stubs): Likewise.
3360         * dirent/closedir.c: Don't include <stub-tag.h>.
3361         * dirent/dirfd.c: Likewise.
3362         * dirent/fdopendir.c: Likewise.
3363         * dirent/getdents.c: Likewise.
3364         * dirent/getdents64.c: Likewise.
3365         * dirent/opendir.c: Likewise.
3366         * dirent/readdir.c: Likewise.
3367         * dirent/readdir64.c: Likewise.
3368         * dirent/readdir64_r.c: Likewise.
3369         * dirent/readdir_r.c: Likewise.
3370         * dirent/rewinddir.c: Likewise.
3371         * dirent/seekdir.c: Likewise.
3372         * dirent/telldir.c: Likewise.
3373         * gmon/profil.c: Likewise.
3374         * grp/setgroups.c: Likewise.
3375         * inet/if_index.c: Likewise.
3376         * io/access.c: Likewise.
3377         * io/chdir.c: Likewise.
3378         * io/chmod.c: Likewise.
3379         * io/chown.c: Likewise.
3380         * io/close.c: Likewise.
3381         * io/dup.c: Likewise.
3382         * io/dup2.c: Likewise.
3383         * io/dup3.c: Likewise.
3384         * io/euidaccess.c: Likewise.
3385         * io/faccessat.c: Likewise.
3386         * io/fchdir.c: Likewise.
3387         * io/fchmod.c: Likewise.
3388         * io/fchmodat.c: Likewise.
3389         * io/fchown.c: Likewise.
3390         * io/fchownat.c: Likewise.
3391         * io/fcntl.c: Likewise.
3392         * io/flock.c: Likewise.
3393         * io/fstatfs.c: Likewise.
3394         * io/fstatfs64.c: Likewise.
3395         * io/fstatvfs.c: Likewise.
3396         * io/fstatvfs64.c: Likewise.
3397         * io/futimens.c: Likewise.
3398         * io/fxstat.c: Likewise.
3399         * io/fxstat64.c: Likewise.
3400         * io/fxstatat.c: Likewise.
3401         * io/fxstatat64.c: Likewise.
3402         * io/getcwd.c: Likewise.
3403         * io/isatty.c: Likewise.
3404         * io/lchmod.c: Likewise.
3405         * io/lchown.c: Likewise.
3406         * io/link.c: Likewise.
3407         * io/linkat.c: Likewise.
3408         * io/lseek.c: Likewise.
3409         * io/lseek64.c: Likewise.
3410         * io/lxstat64.c: Likewise.
3411         * io/mkdir.c: Likewise.
3412         * io/mkdirat.c: Likewise.
3413         * io/mkfifo.c: Likewise.
3414         * io/mkfifoat.c: Likewise.
3415         * io/open.c: Likewise.
3416         * io/open64.c: Likewise.
3417         * io/openat.c: Likewise.
3418         * io/openat64.c: Likewise.
3419         * io/pipe.c: Likewise.
3420         * io/pipe2.c: Likewise.
3421         * io/poll.c: Likewise.
3422         * io/posix_fadvise.c: Likewise.
3423         * io/posix_fadvise64.c: Likewise.
3424         * io/posix_fallocate.c: Likewise.
3425         * io/posix_fallocate64.c: Likewise.
3426         * io/read.c: Likewise.
3427         * io/readlink.c: Likewise.
3428         * io/readlinkat.c: Likewise.
3429         * io/rmdir.c: Likewise.
3430         * io/sendfile.c: Likewise.
3431         * io/sendfile64.c: Likewise.
3432         * io/statfs.c: Likewise.
3433         * io/statfs64.c: Likewise.
3434         * io/statvfs.c: Likewise.
3435         * io/statvfs64.c: Likewise.
3436         * io/symlink.c: Likewise.
3437         * io/symlinkat.c: Likewise.
3438         * io/ttyname.c: Likewise.
3439         * io/ttyname_r.c: Likewise.
3440         * io/umask.c: Likewise.
3441         * io/unlink.c: Likewise.
3442         * io/unlinkat.c: Likewise.
3443         * io/utime.c: Likewise.
3444         * io/utimensat.c: Likewise.
3445         * io/write.c: Likewise.
3446         * io/xmknod.c: Likewise.
3447         * io/xmknodat.c: Likewise.
3448         * io/xstat.c: Likewise.
3449         * io/xstat64.c: Likewise.
3450         * login/getpt.c: Likewise.
3451         * login/grantpt.c: Likewise.
3452         * login/unlockpt.c: Likewise.
3453         * math/e_acoshl.c: Likewise.
3454         * math/e_acosl.c: Likewise.
3455         * math/e_asinl.c: Likewise.
3456         * math/e_atan2l.c: Likewise.
3457         * math/e_atanhl.c: Likewise.
3458         * math/e_coshl.c: Likewise.
3459         * math/e_expl.c: Likewise.
3460         * math/e_fmodl.c: Likewise.
3461         * math/e_gammal_r.c: Likewise.
3462         * math/e_hypotl.c: Likewise.
3463         * math/e_j0l.c: Likewise.
3464         * math/e_j1l.c: Likewise.
3465         * math/e_jnl.c: Likewise.
3466         * math/e_lgammal_r.c: Likewise.
3467         * math/e_log10l.c: Likewise.
3468         * math/e_log2l.c: Likewise.
3469         * math/e_logl.c: Likewise.
3470         * math/e_powl.c: Likewise.
3471         * math/e_rem_pio2l.c: Likewise.
3472         * math/e_sinhl.c: Likewise.
3473         * math/e_sqrtl.c: Likewise.
3474         * math/fclrexcpt.c: Likewise.
3475         * math/fedisblxcpt.c: Likewise.
3476         * math/feenablxcpt.c: Likewise.
3477         * math/fegetenv.c: Likewise.
3478         * math/fegetexcept.c: Likewise.
3479         * math/fegetround.c: Likewise.
3480         * math/feholdexcpt.c: Likewise.
3481         * math/fesetenv.c: Likewise.
3482         * math/fesetround.c: Likewise.
3483         * math/feupdateenv.c: Likewise.
3484         * math/fgetexcptflg.c: Likewise.
3485         * math/fraiseexcpt.c: Likewise.
3486         * math/fsetexcptflg.c: Likewise.
3487         * math/ftestexcept.c: Likewise.
3488         * math/k_cosl.c: Likewise.
3489         * math/k_rem_pio2l.c: Likewise.
3490         * math/k_sinl.c: Likewise.
3491         * math/k_tanl.c: Likewise.
3492         * math/s_asinhl.c: Likewise.
3493         * math/s_atanl.c: Likewise.
3494         * math/s_cbrtl.c: Likewise.
3495         * math/s_erfl.c: Likewise.
3496         * math/s_expm1l.c: Likewise.
3497         * math/s_log1pl.c: Likewise.
3498         * math/s_tanhl.c: Likewise.
3499         * misc/acct.c: Likewise.
3500         * misc/brk.c: Likewise.
3501         * misc/chflags.c: Likewise.
3502         * misc/chroot.c: Likewise.
3503         * misc/fchflags.c: Likewise.
3504         * misc/fgetxattr.c: Likewise.
3505         * misc/flistxattr.c: Likewise.
3506         * misc/fremovexattr.c: Likewise.
3507         * misc/fsetxattr.c: Likewise.
3508         * misc/fsync.c: Likewise.
3509         * misc/ftruncate.c: Likewise.
3510         * misc/futimes.c: Likewise.
3511         * misc/futimesat.c: Likewise.
3512         * misc/getdomain.c: Likewise.
3513         * misc/getdtsz.c: Likewise.
3514         * misc/gethostid.c: Likewise.
3515         * misc/gethostname.c: Likewise.
3516         * misc/getloadavg.c: Likewise.
3517         * misc/getpagesize.c: Likewise.
3518         * misc/getsysstats.c: Likewise.
3519         * misc/getxattr.c: Likewise.
3520         * misc/gtty.c: Likewise.
3521         * misc/ioctl.c: Likewise.
3522         * misc/lgetxattr.c: Likewise.
3523         * misc/listxattr.c: Likewise.
3524         * misc/llistxattr.c: Likewise.
3525         * misc/lremovexattr.c: Likewise.
3526         * misc/lsetxattr.c: Likewise.
3527         * misc/lutimes.c: Likewise.
3528         * misc/madvise.c: Likewise.
3529         * misc/mincore.c: Likewise.
3530         * misc/mlock.c: Likewise.
3531         * misc/mlockall.c: Likewise.
3532         * misc/mmap.c: Likewise.
3533         * misc/mprotect.c: Likewise.
3534         * misc/msync.c: Likewise.
3535         * misc/munlock.c: Likewise.
3536         * misc/munlockall.c: Likewise.
3537         * misc/munmap.c: Likewise.
3538         * misc/preadv.c: Likewise.
3539         * misc/preadv64.c: Likewise.
3540         * misc/ptrace.c: Likewise.
3541         * misc/pwritev.c: Likewise.
3542         * misc/pwritev64.c: Likewise.
3543         * misc/readv.c: Likewise.
3544         * misc/reboot.c: Likewise.
3545         * misc/remap_file_pages.c: Likewise.
3546         * misc/removexattr.c: Likewise.
3547         * misc/revoke.c: Likewise.
3548         * misc/select.c: Likewise.
3549         * misc/setdomain.c: Likewise.
3550         * misc/setegid.c: Likewise.
3551         * misc/seteuid.c: Likewise.
3552         * misc/sethostid.c: Likewise.
3553         * misc/sethostname.c: Likewise.
3554         * misc/setregid.c: Likewise.
3555         * misc/setreuid.c: Likewise.
3556         * misc/setxattr.c: Likewise.
3557         * misc/sstk.c: Likewise.
3558         * misc/stty.c: Likewise.
3559         * misc/swapoff.c: Likewise.
3560         * misc/swapon.c: Likewise.
3561         * misc/sync.c: Likewise.
3562         * misc/syncfs.c: Likewise.
3563         * misc/syscall.c: Likewise.
3564         * misc/truncate.c: Likewise.
3565         * misc/ualarm.c: Likewise.
3566         * misc/usleep.c: Likewise.
3567         * misc/ustat.c: Likewise.
3568         * misc/utimes.c: Likewise.
3569         * misc/vhangup.c: Likewise.
3570         * misc/writev.c: Likewise.
3571         * posix/_exit.c: Likewise.
3572         * posix/alarm.c: Likewise.
3573         * posix/execve.c: Likewise.
3574         * posix/fexecve.c: Likewise.
3575         * posix/fork.c: Likewise.
3576         * posix/fpathconf.c: Likewise.
3577         * posix/getaddrinfo.c: Likewise.
3578         * posix/getegid.c: Likewise.
3579         * posix/geteuid.c: Likewise.
3580         * posix/getgid.c: Likewise.
3581         * posix/getgroups.c: Likewise.
3582         * posix/getlogin.c: Likewise.
3583         * posix/getlogin_r.c: Likewise.
3584         * posix/getpgid.c: Likewise.
3585         * posix/getpid.c: Likewise.
3586         * posix/getppid.c: Likewise.
3587         * posix/getresgid.c: Likewise.
3588         * posix/getresuid.c: Likewise.
3589         * posix/getsid.c: Likewise.
3590         * posix/getuid.c: Likewise.
3591         * posix/glob64.c: Likewise.
3592         * posix/nanosleep.c: Likewise.
3593         * posix/pathconf.c: Likewise.
3594         * posix/pause.c: Likewise.
3595         * posix/posix_madvise.c: Likewise.
3596         * posix/pread.c: Likewise.
3597         * posix/pread64.c: Likewise.
3598         * posix/pwrite.c: Likewise.
3599         * posix/pwrite64.c: Likewise.
3600         * posix/sched_getaffinity.c: Likewise.
3601         * posix/sched_getp.c: Likewise.
3602         * posix/sched_gets.c: Likewise.
3603         * posix/sched_primax.c: Likewise.
3604         * posix/sched_primin.c: Likewise.
3605         * posix/sched_rr_gi.c: Likewise.
3606         * posix/sched_setaffinity.c: Likewise.
3607         * posix/sched_setp.c: Likewise.
3608         * posix/sched_sets.c: Likewise.
3609         * posix/sched_yield.c: Likewise.
3610         * posix/setgid.c: Likewise.
3611         * posix/setlogin.c: Likewise.
3612         * posix/setpgid.c: Likewise.
3613         * posix/setresgid.c: Likewise.
3614         * posix/setresuid.c: Likewise.
3615         * posix/setsid.c: Likewise.
3616         * posix/setuid.c: Likewise.
3617         * posix/sleep.c: Likewise.
3618         * posix/spawni.c: Likewise.
3619         * posix/sysconf.c: Likewise.
3620         * posix/times.c: Likewise.
3621         * posix/wait.c: Likewise.
3622         * posix/wait3.c: Likewise.
3623         * posix/wait4.c: Likewise.
3624         * posix/waitpid.c: Likewise.
3625         * resolv/gai_sigqueue.c: Likewise.
3626         * resource/getpriority.c: Likewise.
3627         * resource/getrlimit.c: Likewise.
3628         * resource/getrusage.c: Likewise.
3629         * resource/nice.c: Likewise.
3630         * resource/setpriority.c: Likewise.
3631         * resource/setrlimit.c: Likewise.
3632         * resource/ulimit.c: Likewise.
3633         * rt/aio_cancel.c: Likewise.
3634         * rt/aio_fsync.c: Likewise.
3635         * rt/aio_read.c: Likewise.
3636         * rt/aio_sigqueue.c: Likewise.
3637         * rt/aio_suspend.c: Likewise.
3638         * rt/aio_write.c: Likewise.
3639         * rt/clock_getres.c: Likewise.
3640         * rt/clock_gettime.c: Likewise.
3641         * rt/clock_nanosleep.c: Likewise.
3642         * rt/clock_settime.c: Likewise.
3643         * rt/lio_listio.c: Likewise.
3644         * rt/mq_close.c: Likewise.
3645         * rt/mq_getattr.c: Likewise.
3646         * rt/mq_notify.c: Likewise.
3647         * rt/mq_open.c: Likewise.
3648         * rt/mq_receive.c: Likewise.
3649         * rt/mq_send.c: Likewise.
3650         * rt/mq_setattr.c: Likewise.
3651         * rt/mq_timedreceive.c: Likewise.
3652         * rt/mq_timedsend.c: Likewise.
3653         * rt/mq_unlink.c: Likewise.
3654         * rt/shm_open.c: Likewise.
3655         * rt/shm_unlink.c: Likewise.
3656         * rt/timer_create.c: Likewise.
3657         * rt/timer_delete.c: Likewise.
3658         * rt/timer_getoverr.c: Likewise.
3659         * rt/timer_gettime.c: Likewise.
3660         * rt/timer_settime.c: Likewise.
3661         * setjmp/__longjmp.c: Likewise.
3662         * setjmp/setjmp.c: Likewise.
3663         * signal/kill.c: Likewise.
3664         * signal/killpg.c: Likewise.
3665         * signal/raise.c: Likewise.
3666         * signal/sigaction.c: Likewise.
3667         * signal/sigaltstack.c: Likewise.
3668         * signal/sigblock.c: Likewise.
3669         * signal/sigignore.c: Likewise.
3670         * signal/sigintr.c: Likewise.
3671         * signal/signal.c: Likewise.
3672         * signal/sigpause.c: Likewise.
3673         * signal/sigpending.c: Likewise.
3674         * signal/sigqueue.c: Likewise.
3675         * signal/sigreturn.c: Likewise.
3676         * signal/sigset.c: Likewise.
3677         * signal/sigsetmask.c: Likewise.
3678         * signal/sigstack.c: Likewise.
3679         * signal/sigsuspend.c: Likewise.
3680         * signal/sigtimedwait.c: Likewise.
3681         * signal/sigvec.c: Likewise.
3682         * signal/sigwait.c: Likewise.
3683         * signal/sigwaitinfo.c: Likewise.
3684         * signal/sysv_signal.c: Likewise.
3685         * socket/accept.c: Likewise.
3686         * socket/accept4.c: Likewise.
3687         * socket/bind.c: Likewise.
3688         * socket/connect.c: Likewise.
3689         * socket/getpeername.c: Likewise.
3690         * socket/getsockname.c: Likewise.
3691         * socket/getsockopt.c: Likewise.
3692         * socket/isfdtype.c: Likewise.
3693         * socket/listen.c: Likewise.
3694         * socket/recv.c: Likewise.
3695         * socket/recvfrom.c: Likewise.
3696         * socket/recvmsg.c: Likewise.
3697         * socket/send.c: Likewise.
3698         * socket/sendmsg.c: Likewise.
3699         * socket/sendto.c: Likewise.
3700         * socket/setsockopt.c: Likewise.
3701         * socket/shutdown.c: Likewise.
3702         * socket/sockatmark.c: Likewise.
3703         * socket/socket.c: Likewise.
3704         * socket/socketpair.c: Likewise.
3705         * stdio-common/ctermid.c: Likewise.
3706         * stdio-common/cuserid.c: Likewise.
3707         * stdio-common/remove.c: Likewise.
3708         * stdio-common/rename.c: Likewise.
3709         * stdio-common/renameat.c: Likewise.
3710         * stdio-common/tempname.c: Likewise.
3711         * stdlib/getcontext.c: Likewise.
3712         * stdlib/makecontext.c: Likewise.
3713         * stdlib/setcontext.c: Likewise.
3714         * stdlib/swapcontext.c: Likewise.
3715         * stdlib/system.c: Likewise.
3716         * streams/fattach.c: Likewise.
3717         * streams/fdetach.c: Likewise.
3718         * streams/getmsg.c: Likewise.
3719         * streams/getpmsg.c: Likewise.
3720         * streams/putmsg.c: Likewise.
3721         * streams/putpmsg.c: Likewise.
3722         * sysdeps/unix/bsd/getpt.c: Likewise.
3723         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3724         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3725         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3727         Likewise.
3728         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3729         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3730         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3731         * sysvipc/msgctl.c: Likewise.
3732         * sysvipc/msgget.c: Likewise.
3733         * sysvipc/msgrcv.c: Likewise.
3734         * sysvipc/msgsnd.c: Likewise.
3735         * sysvipc/semctl.c: Likewise.
3736         * sysvipc/semget.c: Likewise.
3737         * sysvipc/semop.c: Likewise.
3738         * sysvipc/semtimedop.c: Likewise.
3739         * sysvipc/shmat.c: Likewise.
3740         * sysvipc/shmctl.c: Likewise.
3741         * sysvipc/shmdt.c: Likewise.
3742         * sysvipc/shmget.c: Likewise.
3743         * termios/tcdrain.c: Likewise.
3744         * termios/tcflow.c: Likewise.
3745         * termios/tcflush.c: Likewise.
3746         * termios/tcgetattr.c: Likewise.
3747         * termios/tcgetpgrp.c: Likewise.
3748         * termios/tcsendbrk.c: Likewise.
3749         * termios/tcsetattr.c: Likewise.
3750         * termios/tcsetpgrp.c: Likewise.
3751         * time/adjtime.c: Likewise.
3752         * time/clock.c: Likewise.
3753         * time/getitimer.c: Likewise.
3754         * time/gettimeofday.c: Likewise.
3755         * time/setitimer.c: Likewise.
3756         * time/settimeofday.c: Likewise.
3757         * time/stime.c: Likewise.
3758         * time/time.c: Likewise.
3760 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
3762         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3763         /usr/old/bin.
3765         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3766         instead of spaces.
3767         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3769 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
3771         [BZ #14796]
3772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3773         FE_TONEAREST before applying Dekker multiplication and Knuth
3774         addition.  Clear inexact exceptions and check for exact zero
3775         results afterwards.
3776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3777         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3779         * math/libm-test.inc (fma_test): Add more tests.
3780         (fma_test_towardzero): Likewise.
3781         (fma_test_downward): Likewise.
3782         (fma_test_upward): Likewise.
3783         * sysdeps/generic/math_private.h (default_libc_fesetround): New
3784         function.
3785         (libc_fesetround): New macro.
3786         (libc_fesetroundf): Likewise.
3787         (libc_fesetroundl): Likewise.
3788         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3789         function.
3790         (libc_fesetround_387): Likewise.
3791         (libc_fesetroundf): New macro.
3792         (libc_fesetround): Likewise.
3793         (libc_fesetroundl): Likewise.
3794         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3795         function.
3796         (libc_fesetroundf): New macro.
3797         (libc_fesetround): Likewise.
3798         (libc_fesetroundl): Likewise.
3799         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3800         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3801         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3802         libm_hidden_ver.
3803         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3804         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3805         libm_hidden_def.
3806         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3807         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3808         libm_hidden_ver.
3809         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3810         libm_hidden_def.
3812         [BZ #3439]
3813         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3814         integer constant usable in #if and use that to give value to enum
3815         constant.
3816         (FE_DIVBYZERO): Likewise.
3817         (FE_UNDERFLOW): Likewise.
3818         (FE_OVERFLOW): Likewise.
3819         (FE_INVALID): Likewise.
3820         (FE_INVALID_SNAN): Likewise.
3821         (FE_INVALID_ISI): Likewise.
3822         (FE_INVALID_IDI): Likewise.
3823         (FE_INVALID_ZDZ): Likewise.
3824         (FE_INVALID_IMZ): Likewise.
3825         (FE_INVALID_COMPARE): Likewise.
3826         (FE_INVALID_SOFTWARE): Likewise.
3827         (FE_INVALID_SQRT): Likewise.
3828         (FE_INVALID_INTEGER_CONVERSION): Likewise.
3829         (FE_TONEAREST): Likewise.
3830         (FE_TOWARDZERO): Likewise.
3831         (FE_UPWARD): Likewise.
3832         (FE_DOWNWARD): Likewise.
3833         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3834         (FE_DIVBYZERO): Likewise.
3835         (FE_OVERFLOW): Likewise.
3836         (FE_UNDERFLOW): Likewise.
3837         (FE_INEXACT): Likewise.
3838         (FE_TONEAREST): Likewise.
3839         (FE_DOWNWARD): Likewise.
3840         (FE_UPWARD): Likewise.
3841         (FE_TOWARDZERO): Likewise.
3842         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3843         (FE_UNDERFLOW): Likewise.
3844         (FE_OVERFLOW): Likewise.
3845         (FE_DIVBYZERO): Likewise.
3846         (FE_INVALID): Likewise.
3847         (FE_TONEAREST): Likewise.
3848         (FE_TOWARDZERO): Likewise.
3849         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3850         (FE_OVERFLOW): Likewise.
3851         (FE_UNDERFLOW): Likewise.
3852         (FE_DIVBYZERO): Likewise.
3853         (FE_INEXACT): Likewise.
3854         (FE_TONEAREST): Likewise.
3855         (FE_TOWARDZERO): Likewise.
3856         (FE_UPWARD): Likewise.
3857         (FE_DOWNWARD): Likewise.
3858         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3859         (FE_DIVBYZERO): Likewise.
3860         (FE_OVERFLOW): Likewise.
3861         (FE_UNDERFLOW): Likewise.
3862         (FE_INEXACT): Likewise.
3863         (FE_TONEAREST): Likewise.
3864         (FE_DOWNWARD): Likewise.
3865         (FE_UPWARD): Likewise.
3866         (FE_TOWARDZERO): Likewise.
3868 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
3870         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3872 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
3874         * scripts/cross-test-ssh.sh (command): Use newlines to separate
3875         commands.  Quote $PWD.
3876         (blacklist_exports): Don't use remove_newlines.  Replace "declare
3877         -x" by "export".
3878         (remove_newlines): Remove.
3880 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
3882         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3883         * stdlib/stdlib.h (atof): Moved to ...
3884         * include/bits/stdlib-float.h: Here.  New file.
3885         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3886         * stdlib/bits/stdlib-float.h: New file.
3887         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3888         -mno-sse -mno-mmx.
3889         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3890         <xmmintrin.h>.
3892 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3894         * conform/conformtest.pl (@headers): Add fenv.h.
3895         * conform/data/fenv.h-data: New file.
3896         * include/fenv.h [_ISOMAC]: Disable all contents of file except
3897         include of <math/fenv.h>.
3899         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3900         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3901         && !UNIX98].  Enables tests for XOPEN2K8.
3902         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3903         POSIX2008]: Likewise.
3905         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3906         (struct rusage): Do not expect type or its members.
3908         [BZ #3439]
3909         * math/math.h (FP_NAN): Define macro to integer constant usable in
3910         #if and use that to give value to enum constant.
3911         (FP_INFINITE): Likewise.
3912         (FP_ZERO): Likewise.
3913         (FP_SUBNORMAL): Likewise.
3914         (FP_NORMAL): Likewise.
3916 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
3918         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3919         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3920         arguments.
3922 2012-11-02  Roland McGrath  <roland@hack.frob.com>
3924         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3925         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3926         autoconf-time if not.
3927         * configure.in: Remove AC_PREREQ.
3929 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3931         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3932         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3933         of the internal implementation.
3935 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
3937         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3938         except include of <misc/sys/syslog.h>.
3940 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3943         function returns with a NULL context exit with zero.
3945 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3947         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3949 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
3951         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3952         (run_program_cmd): This.
3953         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3954         (tst_langinfo): New variable.  Use it.
3956 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
3958         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3959         floating point opcodes.
3961 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3963         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3964         variable.
3966         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3968         * sysdeps/mach/hurd/powerpc: Remove directory.
3969         * sysdeps/mach/powerpc: Likewise.
3971 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
3973         * scripts/check-local-headers.sh: Ignore c++ headers.
3975 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3977         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3978         __libc_cleanup_region_start argument.
3980 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
3982         [BZ #14784]
3983         [BZ #14785]
3984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3985         x * y using scaling, not as x * y + z.
3986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3987         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3988         * math/libm-test.inc (fma_test): Add more tests.
3989         (fma_test_towardzero): Likewise.
3990         (fma_test_downward): Likewise.
3991         (fma_test_upward): Likewise.
3993 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
3995         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3997 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
3999         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4000         New variable.
4002 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
4004         * rt/tst-shm.c (worker): Correct checking for mmap failure.
4006 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4009         Fix sort order.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4011         Likewise.
4013 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4016         Fix the order of the list for glibc 2.17.
4017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4018         Likewise.
4020 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
4022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4024 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
4026         [BZ #14610]
4027         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4028         for low part of x being zero before using __atanl (y).
4029         * math/libm-test.inc (atan2_test): Add another test.
4031         * manual/install.texi (Configuring and compiling): Document
4032         general use of test-wrapper and test-wrapper-env.
4033         * INSTALL: Regenerated.
4035         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4036         (__fma): Do not extract and scale down low bits on after-rounding
4037         systems when result rounded to normal precision would have normal
4038         exponent.
4039         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4040         (__fmal): Do not extract and scale down low bits on after-rounding
4041         systems when result rounded to normal precision would have normal
4042         exponent.
4043         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4044         (__fmal): Do not extract and scale down low bits on after-rounding
4045         systems when result rounded to normal precision would have normal
4046         exponent.
4047         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4048         macro.
4049         (fma_test): Add more tests.
4050         (fma_test_towardzero): Likewise.
4051         (fma_test_downward): Likewise.
4052         (fma_test_upward): Likewise.
4054 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
4056         * sysdeps/i386/tininess.h: Renamed to ...
4057         * sysdeps/x86/tininess.h: This.
4058         * sysdeps/x86_64/tininess.h: Removed.
4060 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
4062         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4063         input.  Use $(build-program-cmd).
4064         ($(objpfx)tst-array1-static.out): Likewise.
4065         ($(objpfx)tst-array2.out): Likewise.
4066         ($(objpfx)tst-array3.out): Likewise.
4067         ($(objpfx)tst-array4.out): Likewise.
4068         ($(objpfx)tst-array5.out): Likewise.
4069         ($(objpfx)tst-array5-static.out): Likewise.
4071 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
4073         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4074         if defined.
4076         * nss/nsswitch.h (nss_interface_function): Provide new
4077         macro for use with NSS functions.
4078         * grp/initgroups.c: Use new macro.
4079         * nss/getXXbyYY.c: Likewise.
4080         * nss/getXXbyYY_r.c: Likewise.
4081         * nss/getXXent.c: Likewise.
4082         * nss/getXXent_r.c: Likewise.
4083         * sysdeps/posix/getaddrinfo.c: Likewise.
4085 2012-10-30  Andreas Jaeger  <aj@suse.de>
4087         * po/ru.po: Update Russion translation from translation project.
4089 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
4091         [BZ #14152]
4092         [BZ #14783]
4093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4094         result and shift together with sticky bit instead of replicating
4095         round-to-nearest rounding.
4096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4098         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
4099         missing underflow exceptions.
4100         (fma_test_towardzero): Add more tests.
4101         (fma_test_downward): Likewise.
4102         (fma_test_upward): Likewise.
4104         [BZ #14047]
4105         * sysdeps/generic/tininess.h: New file.
4106         * sysdeps/i386/tininess.h: Likewise.
4107         * sysdeps/sh/tininess.h: Likewise.
4108         * sysdeps/x86_64/tininess.h: Likewise.
4109         * stdlib/tst-strtod-underflow.c: Likewise.
4110         * stdlib/tst-tininess.c: Likewise.
4111         * stdlib/strtod_l.c: Include <tininess.h>.
4112         (round_and_return): Do not set errno for exact underflow cases.
4113         Force an underflow exception when setting errno for underflow.
4114         Determine underflow based on rounding to normal precision if
4115         TININESS_AFTER_ROUNDING.
4116         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4117         ERANGE for exact underflow cases.
4118         * stdlib/Makefile (tests): Add tst-tininess and
4119         tst-strtod-underflow.
4120         ($(objpfx)tst-tininess): Use $(link-libm).
4121         ($(objpfx)tst-strtod-underflow): Likewise.
4123 2012-10-30  Andreas Jaeger  <aj@suse.de>
4125         [BZ#14767]
4126         * elf/Makefile (tests): Remove conditional for have-initfini-array
4127         since this is now always required and the variable does not exist
4128         anymore.
4129         (tests-static): Likewise.
4130         (modules-names): Likewise.
4132         * po/eo.po: Add Esperanto translation from translation project.
4134         * elf/tst-array1.c (fini_array): Make writeable so that it can be
4135         merged with constructor/destructor.
4136         (init_array): Likewise.
4137         * elf/tst-array2dep.c (fini_array): Likewise.
4138         (init_array): Likewise.
4140 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
4142         * manual/message.texi: Delete @cartouche tags.
4144 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
4146         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4147         EOPNOTSUPP.
4148         * sysdeps/mach/hurd/fsync.c: Likewise.
4150         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4151         [_POSIX_REALTIME_SIGNALS]: Change condition to
4152         [_POSIX_REALTIME_SIGNALS > 0].
4154 2012-10-27  Andreas Jaeger  <aj@suse.de>
4156         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4157         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4159         [__WORDSIZE != 64]: Likewise.
4161 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
4163         *  iconvdata/tst-table.sh: Remove ${SHELL}.
4164         *  iconvdata/tst-tables.sh: Likewise.
4166 2012-10-25  David S. Miller  <davem@davemloft.net>
4168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4169         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4170         of strtoull.
4172         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4173         ifunc-impl-list.c
4174         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4175         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4176         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4177         file.
4179 2012-10-25  Roland McGrath  <roland@hack.frob.com>
4181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4182         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4183         __getdirentries.
4185 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
4186             Jim Blandy  <jimb@codesourcery.com>
4188         * scripts/cross-test-ssh.sh: New file.
4189         * manual/install.texi (Configuring and compiling): Document use of
4190         cross-test-ssh.sh.
4191         * INSTALL: Regenerated.
4193 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
4195         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4196         EOPNOTSUPP.
4198 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
4200         * Makeconfig (run-program-prefix): Fix comment.
4202 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
4203             Jim Blandy  <jimb@codesourcery.com>
4205         * Makeconfig (test-wrapper): New variable,
4206         (test-wrapper-env): Likewise.
4207         [$(cross-compiling) = yes && $(test-wrapper) != ""]
4208         (run-built-tests): Define to yes.
4209         (run-program-prefix): Use $(test-wrapper).
4210         (built-program-cmd): Likewise.
4211         * Rules (make-test-out): Use $(test-wrapper-env) and
4212         $(host-built-program-cmd).
4213         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4214         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4215         tst-pathopt.sh.
4216         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4217         $(test-wrapper-env) to tst-rtld-load-self.sh.
4218         ($(objpfx)order2.out): Use $(test-wrapper).
4219         ($(objpfx)tst-initorder.out): Likewise.
4220         ($(objpfx)tst-initorder2.out): Likewise.
4221         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4222         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4223         (test_wrapper_env): New variable.  Use it to run ld.so.
4224         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4225         Use it to run ld.so.
4226         (test_wrapper_env): Likewise.
4227         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4228         $(test-wrapper) to run-iconv-test.sh.
4229         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4230         (ICONV): Use $test_wrapper.
4231         * posix/Makefile ($(objpfx)globtest.out): Pass
4232         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4233         globtest.sh, not $(run-program-prefix).
4234         * posix/globtest.sh (run_via_rtld_prefix): New variable.
4235         (test_wrapper): Likewise.
4236         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
4237         set together with run_via_rtld_prefix.
4238         (run_program_prefix): Define in terms of test_wrapper and
4239         run_via_rtld_prefix.
4241 2012-10-24  Roland McGrath  <roland@hack.frob.com>
4243         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4244         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4245         Targets removed.
4247         [BZ #14743]
4248         * include/time.h: Remove librt_hidden_proto (clock_gettime).
4249         Declare __clock_getres, __clock_gettime, __clock_settime,
4250         __clock_nanosleep, and __clock_getcpuclockid.
4251         * rt/clock_gettime.c: Define __clock_gettime as an alias.
4252         Remove librt_hidden_def (clock_gettime).
4253         * sysdeps/unix/clock_gettime.c: Likewise.
4254         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4255         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4256         * rt/clock_getres.c: Define __clock_getres as an alias.
4257         * sysdeps/posix/clock_getres.c: Likewise.
4258         * rt/clock_settime.c: Define __clock_settime as an alias.
4259         * sysdeps/unix/clock_settime.c: Likewise.
4260         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4261         * sysdeps/unix/clock_nanosleep.c: Likewise.
4262         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4263         * rt/clock-compat.c: New file.
4264         * rt/Makefile (librt-routines): Add clock-compat and move
4265         $(clock-routines) to ...
4266         (routines): ... here, new variable.
4267         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4268         Don't add get_clockfreq here.
4269         * rt/Versions (libc: GLIBC_2.17): New version set.
4270         Add clock_* symbols here.
4271         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
4272         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4273         (GLIBC_2.17): Add clock_* symbols.
4274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4278         Likewise.
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4280         Likewise.
4281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4285         * NEWS: Mention the move.
4287         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4288         Use __open, __read, __close rather than their public counterparts.
4289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4290         (__get_clockfreq_via_cpuinfo): Likewise.
4291         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4292         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4294         * config.h.in (HAVE_IFUNC): New #undef.
4295         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4296         was successful.
4297         * configure: Regenerated.
4299 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
4301         * configure.in: Move READELF check to start of file.
4302         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4303         libc_cv_asm_gnu_indirect_function in the process.
4304         * configure: Regenerated.
4306 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
4308         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4309         send the output to /dev/null.
4310         (libc_cv_cc_with_libunwind): Likewise.
4311         (libc_cv_as_noexecstack): Likewise.
4312         * configure: Regenerate.
4314 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
4316         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4318         * posix/globtest.sh (TMPDIR): Do not set.
4319         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4320         (testout): Likewise.
4322 2012-10-24  Andreas Jaeger  <aj@suse.de>
4324         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4325         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4326         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4327         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4328         posix_fadvise64, posix_fallocate64.
4330         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4331         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4332         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4333         Likewise.
4334         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4335         Likewise.
4336         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4339         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4340         <bits/fcntl-linux.h>.
4341         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4344         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4345         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4346         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4347         [__WORDSIZE != 64]: Likewise.
4349 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
4351         * Makeconfig (run-built-tests): New variable.
4352         * Rules [$(cross-compiling) = yes]: Change condition to
4353         [$(run-built-tests) = no].
4354         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4355         to [$(run-built-tests) = yes].
4356         * elf/Makefile [$(cross-compiling) = no]: Likewise
4357         * grp/Makefile [$(cross-compiling) = no]: Likewise.
4358         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4359         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4360         * intl/Makefile [$(cross-compiling) = no]: Likewise.
4361         * io/Makefile [$(cross-compiling) = no]: Likewise.
4362         * libio/Makefile [$(cross-compiling) = no]: Likewise.
4363         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4364         * misc/Makefile [$(cross-compiling) = no]: Likewise.
4365         * posix/Makefile [$(cross-compiling) = no]: Likewise.
4366         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4367         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4368         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4369         * string/Makefile [$(cross-compiling) = no]: Likewise.
4371         * posix/Makefile ($(objpfx)globtest.out): Pass
4372         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4373         $(rtld-installed-name).
4374         * posix/globtest.sh (elf_objpfx): Remove variable.
4375         (rtld_installed_name): Likewise.
4376         (library_path): Likewise.
4377         (run_program_prefix): New variable.  Use for running globtest
4378         binary.
4380 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
4381             Joseph Myers  <joseph@codesourcery.com>
4383         * Makeconfig (host-built-program-cmd): New variable.
4384         * elf/Makefile (tst-stackguard1-ARGS): Use
4385         $(host-built-program-cmd).
4386         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4387         (tst-spawn-ARGS): Likewise.
4388         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4390 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
4391             Jim Blandy  <jimb@codesourcery.com>
4393         * Makeconfig (run-via-rtld-prefix): New variable.
4394         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4395         (built-program-cmd): Likewise.
4397 2012-10-22  Andreas Jaeger  <aj@suse.de>
4399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4400         __O_RSYNC if it exists, otherwise to O_SYNC.
4402 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
4403             Joseph Myers  <joseph@codesourcery.com>
4405         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4406         /dev/null.
4407         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4408         from /dev/null
4409         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4410         /dev/null.
4412 2012-10-22  Andreas Jaeger  <aj@suse.de>
4414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4415         Define always.
4416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4419         bits/fcntl-linux.h.
4421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4422         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4425         to __O_LARGEFILE.
4426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4427         to __O_LARGEFILE.
4429 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
4430             Joseph Myers  <joseph@codesourcery.com>
4432         * config.make.in (NM): New variable.
4434 2012-10-21  Andreas Jaeger  <aj@suse.de>
4436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4437         definitions and declarations that are provided by
4438         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4440 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
4442         [BZ #14683]
4443         * elf/Makefile (tests-static): Add tst-leaks1-static.
4444         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4445         ($(objpfx)tst-leaks1-static): New rule.
4446         ($(objpfx)tst-leaks1-static-mem): Likewise.
4447         (tst-leaks1-static-ENV): New macro.
4448         * elf/dl-open.c (dl_open_worker): Check the main application
4449         only if SHARED is defined.
4450         * elf/tst-leaks1-static.c: New file.
4452 2012-10-20  Andreas Jaeger  <aj@suse.de>
4454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4455         generic values for Linux.
4456         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4457         and declarations that are provided by <bits/fcntl-linux.h> and
4458         include <bits/fcntl-linux.h>.
4459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4462 2012-10-20  Roland McGrath  <roland@hack.frob.com>
4464         * io/fcntl.h: Move include of <bits/types.h> to the top and
4465         include it unconditionally.
4467 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
4469         * wcsmbs/Makefile (tests-ifunc): New variable.
4470         (tests): Add $(tests-ifunc).
4471         * wcsmbs/test-wcschr-ifunc.c: New file.
4472         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4473         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4474         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4475         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4476         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4478         * string/Makefile (tests-ifunc): New variable.
4479         (tests): Add $(tests-ifunc).
4480         * string/test-memccpy.c (TEST_NAME): New macro.
4481         * string/test-memchr.c (TEST_NAME): Likewise.
4482         * string/test-memcmp.c (TEST_NAME): Likewise.
4483         * string/test-memcpy.c (TEST_NAME): Likewise.
4484         * string/test-memmem.c (TEST_NAME): Likewise.
4485         * string/test-memmove.c (TEST_NAME): Likewise.
4486         * string/test-memset.c (TEST_NAME): Likewise.
4487         * string/test-rawmemchr.c (TEST_NAME): Likewise.
4488         * string/test-stpcpy.c (TEST_NAME): Likewise.
4489         * string/test-stpncpy.c (TEST_NAME): Likewise.
4490         * string/test-strcasecmp.c (TEST_NAME): Likewise.
4491         * string/test-strcasestr.c (TEST_NAME): Likewise.
4492         * string/test-strcat.c (TEST_NAME): Likewise.
4493         * string/test-strchr.c (TEST_NAME): Likewise.
4494         * string/test-strcmp.c(TEST_NAME): Likewise.
4495         * string/test-strcpy.c (TEST_NAME): Likewise.
4496         * string/test-strcspn.c (TEST_NAME): Likewise.
4497         * string/test-strlen.c (TEST_NAME): Likewise.
4498         * string/test-strncasecmp.c (TEST_NAME): Likewise.
4499         * string/test-strncmp.c (TEST_NAME): Likewise.
4500         * string/test-strncpy.c (TEST_NAME): Likewise.
4501         * string/test-strnlen.c (TEST_NAME): Likewise.
4502         * string/test-strpbrk.c (TEST_NAME): Likewise.
4503         * string/test-strrchr.c (TEST_NAME): Likewise.
4504         * string/test-strspn.c (TEST_NAME): Likewise.
4505         * string/test-strstr.c (TEST_NAME): Likewise.
4506         * string/test-bcopy-ifunc.c: New file.
4507         * string/test-bzero-ifunc.c: Likewise.
4508         * string/test-memccpy-ifunc.c: Likewise.
4509         * string/test-memchr-ifunc.c: Likewise.
4510         * string/test-memcmp-ifunc.c: Likewise.
4511         * string/test-memcpy-ifunc.c: Likewise.
4512         * string/test-memmem-ifunc.c: Likewise.
4513         * string/test-memmove-ifunc.c: Likewise.
4514         * string/test-mempcpy-ifunc.c: Likewise.
4515         * string/test-memset-ifunc.c: Likewise.
4516         * string/test-rawmemchr-ifunc.c: Likewise.
4517         * string/test-stpcpy-ifunc.c: Likewise.
4518         * string/test-stpncpy-ifunc.c: Likewise.
4519         * string/test-strcasecmp-ifunc.c: Likewise.
4520         * string/test-strcasestr-ifunc.c: Likewise.
4521         * string/test-strcat-ifunc.c: Likewise.
4522         * string/test-strchr-ifunc.c: Likewise.
4523         * string/test-strchrnul-ifunc.c: Likewise.
4524         * string/test-strcmp-ifunc.c: Likewise.
4525         * string/test-strcpy-ifunc.c: Likewise.
4526         * string/test-strcspn-ifunc.c: Likewise.
4527         * string/test-strlen-ifunc.c: Likewise.
4528         * string/test-strncasecmp-ifunc.c: Likewise.
4529         * string/test-strncat-ifunc.c: Likewise.
4530         * string/test-strncmp-ifunc.c: Likewise.
4531         * string/test-strncpy-ifunc.c: Likewise.
4532         * string/test-strnlen-ifunc.c: Likewise.
4533         * string/test-strpbrk-ifunc.c: Likewise.
4534         * string/test-strrchr-ifunc.c: Likewise.
4535         * string/test-strspn-ifunc.c: Likewise.
4536         * string/test-strstr-ifunc.c: Likewise.
4538         * debug/Makefile (tests-ifunc): New variable.
4539         (tests): Add $(tests-ifunc).
4540         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4541         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4542         * debug/test-stpcpy_chk-ifunc.c: New file.
4543         * debug/test-strcpy_chk-ifunc.c: Likewise.
4545 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4547         [BZ #13601]
4548         * elf/dl-load.c (open_verify): Retry read if the entire ELF
4549         header is not read in.
4551 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
4553         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
4554         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
4555         directly.  Pass built executable to script as
4556         $(built-program-cmd).
4557         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
4558         $testprogram without using LD_LIBRARY_PATH and $ldso.
4560         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4561         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4562         $(rtld-installed-name).
4563         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4564         (rtld_installed_name): Likewise.
4565         (library_path): Likewise.
4566         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
4567         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4568         $(run-program-prefix) to tst-tables.sh.
4569         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
4570         it to run tst-table-from and tst-table-to.
4571         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4572         Pass it to tst-table.sh.
4573         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4574         $(run-program-prefix) to tst-gettext.sh.
4575         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4576         tst-translit.sh.
4577         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4578         tst-gettext2.sh.
4579         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
4580         to run tst-gettext.
4581         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
4582         to run tst-gettext2.
4583         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
4584         to run tst-translit.
4585         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4586         $(run-program-prefix) to tst-mtrace.sh.
4587         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
4588         to run tst-mtrace.
4589         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4590         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4591         $(rtld-installed-name).
4592         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4593         (rtld_installed_name): Likewise.
4594         (run_program_prefix): New variable.  Use it to run wordexp-test.
4596         * Makeconfig (ARCH): Remove all definitions.
4597         (machine): Likewise.
4598         [ARCH]: Remove conditional code.
4599         [!objdir]: Give error.
4600         [!objdir] (objpfx): Remove.
4601         [!objdir] (common-objpfx): Likewise.
4602         [!objdir] (common-objdir): Likewise.
4603         * configure.in (config_makefile): Remove.  Hardcode Makefile in
4604         AC_CONFIG_FILES call.
4605         * configure: Regenerated.
4607         [BZ #13888]
4608         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4609         or TMPDIR.
4610         (testout): Likewise.
4612         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4613         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4614         $(rtld-installed-name).
4615         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4616         (rtld_installed_name): Likwise.
4617         (runit): Remove function.
4618         (run_getconf): New variable,  Use it for running getconf binary.
4620 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
4622         [BZ #14716]
4623         * string/test-memmem.c (check_result): New function.
4624         (do_one_test): Use it.
4625         (check1): New function.
4626         (test_main): Use it.
4628 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4630         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4632 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
4634         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4635         (_G_LSEEK64): Likewise.
4636         (_G_MMAP64): Likewise.
4637         (_G_FSTAT64): Likewise.
4638         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4639         (_G_LSEEK64): Likewise.
4640         (_G_MMAP64): Likewise.
4641         (_G_FSTAT64): Likewise.
4642         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4643         unconditional.  Call __mmap64 directly.
4644         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4645         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
4646         __lseek64 directly.
4647         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4648         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
4649         __mmap64 directly.
4650         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4651         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4652         __lseek64 directly.
4653         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4654         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
4655         __lseek64 directly.
4656         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4657         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
4658         __lseek64 directly.
4659         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4660         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
4661         __fxstat64 directly.
4662         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4663         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4664         unconditional.
4665         (freopen64) [!_G_OPEN64]: Remove conditional code.
4666         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4667         unconditional.
4668         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4669         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4670         unconditional.
4671         (ftello64) [!_G_LSEEK64]: Remove conditional code.
4672         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4673         unconditional.
4674         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4675         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4676         unconditional.
4677         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4678         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4679         unconditional.
4680         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4681         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4682         unconditional.
4683         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4684         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4685         unconditional.
4686         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4688 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4690         [BZ #12140]
4691         * manual/memory.texi (Malloc Tunable Parameters): Add note
4692         about free list pointers overwriting some perturb bytes.
4693         Wording suggested by Roland McGrath.
4695 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
4697         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4698         (lgamma_test): Likewise.
4699         (tgamma_test): Likewise.
4701 2012-10-16  Florian Weimer  <fweimer@redhat.com>
4703         [BZ #14700]
4704         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4705         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4707 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
4709         * NEWS: Mention BZ #14716.
4710         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4711         when removing AVAILABLE1_USES_J macro.
4713 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4715         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4716         (__bswap_64): __uint64_t for unsigned 64-bit int.
4718 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
4720         * include/string.h (memmem): Declare libc hidden alias.
4721         * string/memmem.c (memmem): Define libc hidden alias.
4722         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4723         __read, __close instead of open, read, close.
4725 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
4727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4728         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4729         global and hidden.
4730         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4731         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4732         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4733         Likewise.
4734         (__rawmemchr_sse2): Likewise.
4735         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4736         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4737         (__strchr_sse2): Likewise.
4738         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4739         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4740         (__strcasecmp_sse2): Likewise.
4741         (__strncasecmp_sse2): Likewise.
4742         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4743         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4744         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4745         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4746         (__strrchr_sse2): Likewise.
4747         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4748         ifunc-impl-list.c.
4749         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4750         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4751         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4752         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4753         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4754         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4755         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4756         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4757         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4758         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4759         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4760         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4761         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4762         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4763         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4764         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4765         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4766         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4767         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4768         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4769         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4770         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4771         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4772         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4773         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4775         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4776         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4777         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4778         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4780         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4781         global and hidden.
4782         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4783         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4784         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4785         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4786         Likewise.
4787         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4788         Likewise.
4789         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4790         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4791         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4792         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4793         ifunc-impl-list.c.
4794         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4795         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4796         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4797         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4798         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4799         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4800         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4801         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4802         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4803         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4804         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4805         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4806         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4807         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4808         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4809         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4810         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4811         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4812         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4813         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4814         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4815         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4816         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4817         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4818         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4819         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4820         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4821         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4822         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4823         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4824         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4825         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4826         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4827         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4828         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4829         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4830         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4831         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4832         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4833         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4834         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4836         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4837         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4838         * include/ifunc-impl-list.h: New file.
4839         * misc/ifunc-impl-list.c: Likewise.
4840         * misc/Makefile (routines): Add ifunc-impl-list.
4841         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4842         * string/test-string.h: Include <ifunc-impl-list.h>.
4843         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4844         impl_array): New variables.
4845         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4846         are defined.
4847         (test_init): Call __libc_ifunc_impl_list to initialize
4848         func_list if TEST_IFUNC and TEST_NAME are defined.
4850         * string/Makefile (strop-tests): Add bcopy and bzero.
4851         * string/test-bcopy.c: New file.
4852         * string/test-bzero.c: Likewise.
4853         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4854         defined.
4855         * string/test-memset.c: Support bzero test if TEST_BZERO is
4856         defined.
4857         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4858         __libc_memmove.
4859         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4860         __libc_memset.
4861         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4862         of memset.
4864 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
4866         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4867         * configure: Regenerated.
4869         * Makeconfig (+link-static-before-libc): Don't include
4870         $(link-static-libc).
4872         * libio/libio.h (_IO_pos_t): Remove.
4874 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4876         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
4877         McGrath.
4879 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4881         * crypt/crypt-entry.c: Include fips-private.h.
4882         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4883         * crypt/md5c-test.c (main): Tolerate disabled MD5.
4884         * sysdeps/unix/sysv/linux/fips-private.h: New file.
4885         * sysdeps/generic/fips-private.h: New file, dummy fallback.
4887 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
4889         * crypt/crypt-private.h: Include stdbool.h.
4890         (_ufc_setup_salt_r): Return bool.
4891         * crypt/crypt-entry.c: Include errno.h.
4892         (__crypt_r): Return NULL with EINVAL for bad salt.
4893         * crypt/crypt_util.c (bad_for_salt): New.
4894         (_ufc_setup_salt_r): Check that salt is long enough and within
4895         the specified alphabet.
4896         * crypt/badsalttest.c: New file.
4897         * crypt/Makefile (tests): Add it.
4898         ($(objpfx)badsalttest): New.
4900 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
4902         * NEWS: Add entry for BZ #14602.
4904 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4906         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4907         type-generic.
4908         * math/libm-test.inc: Update comment listing what functions and
4909         macros are tested.
4910         (isgreater_test): New function.
4911         (isgreaterequal_test): Likewise.
4912         (isless_test): Likewise.
4913         (islessequal_test): Likewise.
4914         (islessgreater_test): Likewise.
4915         (isunordered_test): Likewise.
4916         (main): Call the new functions.
4918 2012-10-09  Roland McGrath  <roland@hack.frob.com>
4920         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4921         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4922         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4923         * sysdeps/i386/configure: Regenerated.
4924         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4925         * sysdeps/mach/configure: Regenerated.
4926         * sysdeps/mach/hurd/configure: Regenerated.
4927         * sysdeps/powerpc/configure: Regenerated.
4928         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4929         * sysdeps/powerpc/powerpc64/configure: Regenerated.
4930         * sysdeps/s390/s390-32/configure: Regenerated.
4931         * sysdeps/s390/s390-64/configure: Regenerated.
4932         * sysdeps/sh/configure: Regenerated.
4933         * sysdeps/sparc/configure: Regenerated.
4934         * sysdeps/unix/sysv/linux/configure: Regenerated.
4935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4936         * sysdeps/x86_64/configure: Regenerated.
4938         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4939         defined.  Don't check if MAP is NULL.
4941 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
4943         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4944         (_G_stat64): Likewise.
4945         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4946         (_G_stat64): Likewise.
4947         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4948         instead of struct _G_stat64.
4949         * libio/fileops.c (mmap_remap_check): Likewise.
4950         (decide_maybe_mmap): Likewise.
4951         (_IO_new_file_seekoff): Likewise.
4952         (_IO_file_stat): Likewise.
4953         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4954         _G_off64_t.
4955         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4956         instead of struct _G_stat64.
4957         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4959 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
4961         [BZ #14602]
4962         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4963         Replace with ...
4964         (CHECK_EOL): New macro.
4965         (two_way_short_needle): Check beginning of haystack for EOL.  Use
4966         CHECK_EOL.
4967         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4968         Replace with CHECK_EOL.
4969         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4970         Replace with CHECK_EOL.
4972 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
4974         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4975         type-generic.
4976         * math/libm-test.inc: Update comment listing what functions and
4977         macros are tested.
4978         (finite_test): New function.
4979         (isinf_test): Likewise.
4980         (isnan_test): Likewise.
4981         (fpclassify_test): Test subnormal input.
4982         (isfinite_test): Likewise.
4983         (isnormal_test): Likewise.
4984         (main): Call the new functions.
4986 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
4988         [BZ #14660]
4989         * Makerules (%.dynsym): Force C locale when running
4990         $(OBJDUMP) --dynamic-syms.
4992 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4994         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4995         <stdint.h>.
4997 2012-10-06  David S. Miller  <davem@davemloft.net>
4999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5000         upper 32-bits of the length value in %o2 since we use branch-on-register
5001         tests which consider the entire 64-bit register.
5003 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
5005         * string/test-strstr.c (check2): Add a test for page boundary.
5007 2012-10-05  David S. Miller  <davem@davemloft.net>
5009         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5010         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5011         file.
5012         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5013         sysdep_routines.
5014         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5015         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5016         and bzero when HWCAP_SPARC_CRYPTO is present.
5018 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
5020         [BZ #14602]
5021         * string/test-strstr.c (check2): New function.
5022         (test_main): Call check2.
5024         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5025         and bug-strchr1.
5026         * string/bug-strcasestr1.c (do_test): Moved to ...
5027         * string/test-strcasestr.c (check1): Here.  New function.
5028         (do_one_test): Break out result checking code into ...
5029         (check_result): This.  New function.
5030         (do_one_test): Call check_result.
5031         (test_main): Call check1.
5032         * string/bug-strchr1.c (do_test): Moved to ...
5033         * string/test-strchr.c (check1): Here.  New function.
5034         (do_one_test): Break out result checking code into ...
5035         (check_result): This.  New function.
5036         (do_one_test): Call check_result.
5037         (test_main): Call check1.
5038         * string/bug-strstr1.c (main): Moved to ...
5039         * string/test-strchr.c (check1): Here.  New function.
5040         (do_one_test): Break out result checking code into ...
5041         (check_result): This.  New function.
5042         (do_one_test): Call check_result.
5043         (test_main): Call check1.
5044         * string/bug-strcasestr1.c: Removed.
5045         * string/bug-strchr1.c: Likewise.
5046         * string/bug-strstr1.c: Likewise.
5048         * elf/Makefile (dl-routines): Add hwcaps.
5049         * elf/dl-support.c (_dl_important_hwcaps): Removed.
5050         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5051         (_dl_important_hwcaps): Moved to ...
5052         * elf/dl-hwcaps.c: Here.  New file.
5053         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5055         [BZ #14557]
5056         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5057         if IS_IN_rtld isn't defined.
5059         * elf/dl-support.c (_dl_sysinfo_map): New.
5060         Include "get-dynamic-info.h" and "setup-vdso.h".
5061         (_dl_non_dynamic_init): Call setup_vdso.
5062         * elf/dynamic-link.h: Don't include <assert.h>.
5063         (elf_get_dynamic_info): Moved to ...
5064         * elf/get-dynamic-info.h: Here.  New file.
5065         * elf/dynamic-link.h: Include "get-dynamic-info.h".
5066         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5067         * elf/setup-vdso.h: Here.  New file.
5068         * elf/rtld.c: Include "setup-vdso.h".
5069         (dl_main): Call setup_vdso.
5071 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
5073         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5074         creal in comment listing functions tested.  List finite, isinf,
5075         isnan, isless, islessequal, isgreater, isgreaterequal,
5076         islessgreater, isunordered, lgamma_r and pow10 as functions and
5077         macros not tested.  Mention which functions not tested are aliases
5078         for other functions.  Fix typo.  Note that signs of NaNs are not
5079         tested.
5081         * scripts/config.guess: Update from config.git.
5082         * scripts/config.sub: Likewise.
5084 2012-10-04  Roland McGrath  <roland@hack.frob.com>
5086         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5087         * misc/madvise.c (madvise): Renamed to __madvise.
5088         Make madvise a weak alias.
5089         * include/sys/mman.h: Declare __madvise.
5090         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5091         * sysdeps/unix/syscalls.list
5092         (madvise): Make __madvise the strong name, and madvise a weak alias.
5093         * sysdeps/unix/sysv/linux/syscalls.list
5094         (madvise, mmap): Remove redundant entries.
5095         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5096         * malloc/malloc.c (mtrim): Likewise.
5097         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5099 2012-10-03  Roland McGrath  <roland@hack.frob.com>
5101         * sysdeps/mach/hurd/dl-cache.c: File removed.
5102         * config.h.in (USE_LDCONFIG): New #undef.
5103         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5104         * configure: Regenerated.
5105         * elf/Makefile (dl-routines): Add dl-cache only under
5106         [$(use-ldconfig) = yes].
5107         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5108         cache on [USE_LDCONFIG].
5109         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5110         [USE_LDCONFIG].
5111         * elf/rtld.c (dl_main): Likewise.
5113 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
5115         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5116         _SC_LEVEL4_CACHE_LINESIZE.
5118 2012-10-03  Roland McGrath  <roland@hack.frob.com>
5120         * sysdeps/unix/bsd/confstr.h: File removed.
5122 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
5124         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5125         sys/sdt-config.h.
5127 2012-10-02  Roland McGrath  <roland@hack.frob.com>
5129         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5130         Make 'mapoff' field ElfW(Off) rather than off_t.
5132 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
5134         * nscd/Makefile: Remove nscd-cflags and all its users.
5135         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5136         (CFLAGS-nonlib): Add compiler flags for nscd modules.
5138         [BZ #10631]
5139         * malloc.c (malloc_printerr): Clarify error message.
5141 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
5143         [BZ #14648]
5144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5145         Set bit_FMA_Usable if FMA is supported.
5146         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5147         macro.
5148         (bit_FMA4_Usable): Updated.
5149         (index_FMA_Usable): New macro.
5150         (CPUID_FMA): Likewise
5151         (HAS_FMA): Defined with bit_FMA_Usable.
5153 2012-10-01  Roland McGrath  <roland@hack.frob.com>
5155         * bits/types.h (__swblk_t): Type removed.
5156         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5157         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5158         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5159         (__SWBLK_T_TYPE): Likewise.
5160         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5161         (__SWBLK_T_TYPE): Likewise.
5162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5163         (__SWBLK_T_TYPE): Likewise.
5164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5165         (__SWBLK_T_TYPE): Likewise.
5167 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
5168             Honza Horak <hhorak@redhat.com>
5170         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5171         (xdr_mapname): Use YPMAXMAP as maxsize.
5172         (xdr_peername): Use YPMAXPEER as maxsize.
5173         (xdr_keydat): Use YPAXRECORD as maxsize.
5174         (xdr_valdat): Use YPMAXRECORD as maxsize.
5176 2012-10-01  Roland McGrath  <roland@hack.frob.com>
5178         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5180         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5181         * csu/init-first.c: ... here.
5182         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5183         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5184         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5185         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5186         * sysdeps/i386/init-first.c: File removed.
5187         * sysdeps/sh/init-first.c: File removed.
5189 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
5191         [BZ #14645]
5192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5193         if x * y might underflow to zero and z is zero.
5194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5196         * math/libm-test.inc (min_subnorm_value): New variable.
5197         (fma_test): Add more tests.
5198         (fma_test_towardzero): Likewise.
5199         (fma_test_downward): Likewise
5200         (fma_test_upward): Likewise.
5201         (initialize): Set min_subnorm_value.
5203 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
5205         [BZ #14638]
5206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5207         0 + 0.
5208         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5209         mode for addition resulting in exact zero.
5210         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5212         exact 0 + 0.
5213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5215         * math/libm-test.inc (fma_test): Add more tests.
5216         (fma_test_towardzero): New function.
5217         (fma_test_downward): Likewise.
5218         (fma_test_upward): Likewise.
5219         (main): Call the new functions.
5221 2012-09-28  David S. Miller  <davem@davemloft.net>
5223         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5225 2012-09-28  Roland McGrath  <roland@hack.frob.com>
5227         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5228         instead of SIGALRM.
5230         * sysdeps/gnu/_G_config.h: Moved to ...
5231         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5232         * sysdeps/mach/hurd/_G_config.h: Moved to ...
5233         * sysdeps/generic/_G_config.h: ... here.
5235         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
5237         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5239         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5240         Conditionalize target on [libnss_test1.so-version].
5242         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5244         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5245         (elfobjdir): Move out of conditionals.
5247         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5248         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5249         (__nss_lookup_function): Conditionalize label remove_from_tree on
5250         [!DO_STATIC_NSS || SHARED], matching its only use.
5252 2012-09-28  David S. Miller  <davem@davemloft.net>
5254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5255         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5256         file.
5257         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5258         sysdep_routines.
5259         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5261         when HWCAP_SPARC_CRYPTO is present.
5263 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
5265         * io/tst-mknodat.c: Create a FIFO instead of a socket.
5267 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
5269         [BZ #6530]
5270         * stdio-common/vfprintf.c (process_string_arg): Revert
5271         2000-07-22 change.
5273 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
5275         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5276         for testcase.
5277         * stdio-common/tst-sprintf.c: Include <locale.h>
5278         (main): Test sprintf's handling of incomplete multibyte
5279         characters.
5281 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
5283         * elf/dl-runtime.c (VERSYMIDX): Removed.
5284         * elf/dl-version.c (VERSYMIDX): Likewise.
5285         * elf/do-rel.h (VERSYMIDX): Likewise.
5286         (VALIDX): Likewise.
5287         * elf/dynamic-link.h (VERSYMIDX): Likewise.
5288         * elf/rtld.c (VALIDX): Likewise.
5289         (ADDRIDX): Likewise.
5290         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5291         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5292         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5293         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5294         (VALIDX): Likewise.
5295         (ADDRIDX): Likewise.
5297 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
5299         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5301 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
5303         [BZ #11438]
5304         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5305         to global scope.
5306         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5307         addresses are in the same scope as 192.0.2/24.
5308         * posix/gai.conf: Document new scope table defaults.
5310 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5312         [BZ #5298]
5313         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5314         for ftell.  Compute offsets from write pointers instead.
5315         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5317 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5319         [BZ #14543]
5320         * libio/Makefile (tests): New test case tst-fseek.
5321         * libio/tst-fseek.c: New test case to verify that fseek/ftell
5322         combination works in wide mode.
5323         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5324         state when the external buffer state changes.
5326 2012-09-27  David S. Miller  <davem@davemloft.net>
5328         [BZ #14376]
5329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5330         pass reloc->r_addend in as the 'high' argument to
5331         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5335 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
5337         * rt/tst-aio2.c: Include <pthread.h>.
5338         * rt/tst-aio3.c: Likewise.
5340 2012-09-27  Steve Ellcey  <sellcey@mips.com>
5342         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5344 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5346         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5347         contents on [SHARED].
5349 2012-09-26  Marek Polacek  <polacek@redhat.com>
5351         [BZ #14530]
5352         [BZ #13741]
5353         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5354         for C++ and GCC <4.3 as well as for non GCC compilers.
5356 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5360 2012-09-25  Roland McGrath  <roland@hack.frob.com>
5362         * Makefile.in (all, install): Declare with .PHONY.
5363         Reported by Michael Hope <michael.hope@linaro.org>.
5365 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5367         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5368         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5369         system header.
5370         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5371         Likewise.
5372         (sydep_routines): Add the new and the internal functions.
5373         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5374         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5376         (GLIBC_2.17): Add the new function.
5377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5378         (GLIBC_2.17): Likewise.
5379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5380         (GLIBC_2.17): Likewise.
5381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5382         (GLIBC_2.17): Likewise.
5383         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5385 2012-09-25  Alan Modra  <amodra@gmail.com>
5387         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5388         Add release barrier before setting once_control to say
5389         initialisation is done.  Add hints on lwarx.  Use macro in
5390         place of isync.
5391         (clear_once_control): Add release barrier.
5393 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
5395         [BZ #13629]
5396         * math/s_clog.c (__clog): Handle more values close to |z| = 1
5397         specially.
5398         * math/s_clog10.c (__clog10): Likewise.
5399         * math/s_clog10f.c (__clog10f): Likewise.
5400         * math/s_clog10l.c (__clog10l): Likewise.
5401         * math/s_clogf.c (__clogf): Likewise.
5402         * math/s_clogl.c (__clogl): Likewise.
5403         * math/Makefile (libm-calls): Add x2y2m1.
5404         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5405         (__x2y2m1): Likewise.
5406         (__x2y2m1l): Likewise.
5407         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5408         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5409         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5410         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5411         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5412         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5413         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5414         * sysdeps/i386/fpu/libm-test-ulps: Update.
5415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417         [BZ #14621]
5418         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5419         int as type of variable DEPTH.
5420         (glob): Use size_t instead of int as type of variables NEWCOUNT
5421         and OLD_PATHC.
5423 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5425         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5426         Add s_sincosf-sse2.
5427         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5428         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5429         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5430         macros for using routine as __sincosf_ia32.
5431         Use macro for function declaration and weak_alias.
5432         * sysdeps/i386/fpu/libm-test-ulps: Update.
5434         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5437         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5438         subnormal argument.
5439         * math/s_cexpf.c (__cexpf): Likewise.
5440         * math/s_csinf.c (__csinf): Likewise.
5441         * math/s_csinhf.c (__csinhf): Likewise.
5442         * math/s_ctanf.c (__ctanf): Likewise.
5443         * math/s_ctanhf.c (__ctanhf): Likewise.
5444         * math/s_ccosh.c (__ccoshf): Likewise.
5445         * math/s_cexp.c (__cexpl): Likewise.
5446         * math/s_csin.c (__csin): Likewise.
5447         * math/s_csinh.c (__csinh): Likewise.
5448         * math/s_ctan.c (__ctan): Likewise.
5449         * math/s_ctanh.c (ctanh): Likewise.
5450         * math/s_ccoshl.c (__ccoshl): Likewise.
5451         * math/s_cexpl.c (__cexpl): Likewise.
5452         * math/s_csinl.c (__csinl): Likewise.
5453         * math/s_csinhl.c (__csinhl): Likewise.
5454         * math/s_ctanl.c (__ctanl): Likewise.
5455         * math/s_ctanhl.c (__ctanhl): Likewise.
5457 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
5459         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5460         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5461         (_IO_off_t): Define to __off_t, not _G_off_t.
5462         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5463         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5464         (_IO_wint_t): Define to wint_t, not _G_wint_t.
5465         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5466         type of __dummy and __dummy2 fields.
5467         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5468         (_G_ssize_t): Likewise.
5469         (_G_off_t): Likewise.
5470         (_G_pid_t): Likewise.
5471         (_G_uid_t): Likewise.
5472         (_G_wchar_t): Likewise.
5473         (_G_wint_t): Likewise.
5474         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5475         (_G_ssize_t): Likewise.
5476         (_G_off_t): Likewise.
5477         (_G_pid_t): Likewise.
5478         (_G_uid_t): Likewise.
5479         (_G_wchar_t): Likewise.
5480         (_G_wint_t): Likewise.
5481         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5482         (_G_ssize_t): Likewise.
5483         (_G_off_t): Likewise.
5484         (_G_pid_t): Likewise.
5485         (_G_uid_t): Likewise.
5486         (_G_wchar_t): Likewise.
5487         (_G_wint_t): Likewise.
5489 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5491         * malloc/arena.c: Include malloc-sysdep.h.
5492         (shrink_heap): Use check_may_shrink_heap to decide if madvise
5493         is sufficient to shrink the heap or an unmap is needed.
5494         * sysdeps/generic/malloc-sysdep.h: New file.  Define
5495         new function check_may_shrink_heap.
5496         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
5497         new function check_may_shrink_heap.
5499 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5501         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5502         comments.
5504 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
5506         * catgets/test-gencat.sh: Add "set -e".
5507         * elf/tst-pathopt.sh: Likewise.
5508         * grp/tst_fgetgrent.sh: Likewise.
5509         * iconvdata/run-iconv-test.sh: Likewise.
5510         * intl/tst-gettext.sh: Likewise.
5511         * intl/tst-gettext2.sh: Likewise.
5512         * intl/tst-gettext4.sh: Likewise.
5513         * intl/tst-gettext6.sh: Likewise.
5514         * intl/tst-translit.sh: Likewise.
5515         * io/ftwtest-sh: Likewise.
5516         * libio/test-freopen.sh: Likewise.
5517         * malloc/tst-mtrace.sh: Likewise.
5518         * posix/globtest.sh: Likewise.
5519         * posix/tst-getconf.sh: Likewise.
5520         * posix/wordexp-tst.sh: Likewise.
5521         * stdio-common/tst-printf.sh: Likewise.
5522         * stdio-common/tst-unbputc.sh: Likewise.
5523         * stdlib/tst-fmtmsg.sh: Likewise.
5524         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5525         * catgets/Makefile: Do not specify -e option when running
5526         testsuite shell scripts.
5527         * elf/Makefile: Likewise.
5528         * grp/Makefile: Likewise.
5529         * iconvdata/Makefile: Likewise.
5530         * intl/Makefile: Likewise.
5531         * io/Makefile: Likewise.
5532         * libio/Makefile: Likewise.
5533         * malloc/Makefile: Likewise.
5534         * posix/Makefile: Likewise.
5535         * stdio-common/Makefile: Likewise.
5536         * stdlib/Makefile: Likewise.
5537         * sysdeps/x86_64/Makefile: Likewise.
5539         * io/ftwtest-sh: Add copyright header.
5540         * posix/globtest.sh: Likewise.
5541         * posix/tst-getconf.sh: Likewise.
5542         * posix/wordexp-tst.sh: Likewise.
5543         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5545 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
5547         [BZ #13679]
5548         * Makeconfig (+link): Defined as $(+link-static) if
5549         $(build-shared) isn't yes.
5550         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5551         isn't yes.
5552         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5554         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5556         [BZ #14562]
5557         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5558         new chunk size with MALLOC_ALIGN_MASK.
5560 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
5562         [BZ #5044]
5563         * stdio-common/printf_fphex.c: Include <stdbool.h> and
5564         <rounding-mode.h>.
5565         (__printf_fphex): Determine rounding using get_rounding_mode and
5566         round_away.
5567         * stdio-common/tst-printf-round.c (struct hex_test): New
5568         structure.
5569         (hex_tests): New variable.
5570         (test_hex_in_one_mode): New function.
5571         (do_test): Also run tests for hex float output.
5573 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
5575         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5576         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5577         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5578         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5579         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5580         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5581         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5582         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5584 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
5586         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5587         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5588         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5589         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5591 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
5593         [BZ #14579]
5594         * elf/rtld.c (dl_main): Limit the check for self loading to normal
5595         mode only.
5596         * elf/tst-rtld-load-self.sh: New test.
5597         * elf/Makefile: Run it.
5599 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
5601         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5602         (tst-writev-ENV): Remove.
5603         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5605 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
5607         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5609 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
5611         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5612         unconditional.
5613         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5614         Likewise.
5615         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5616         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5617         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5618         Likewise.
5620 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5622         [BZ #14587]
5623         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5624         * config.make.in (have-cpp-asm-debuginfo): Removed.
5625         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5626         * configure: Regenerated.
5628 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
5630         [BZ #5044]
5631         * stdio-common/printf_fp.c: Include <stdbool.h> and
5632         <rounding-mode.h>.
5633         (___printf_fp): Determine rounding using get_rounding_mode and
5634         round_away.
5635         * stdio-common/tst-printf-round.c: New file.
5636         * stdio-common/Makefile (tests): Add tst-printf-round.
5637         (link-libm): New variable.
5638         ($(objpfx)tst-printf-round): Depend in $(link-libm).
5640 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
5642         [BZ #14576]
5643         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5644         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5645         Likewise.
5646         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5647         Likewise.
5649 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
5651         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5652         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5653         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5654         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5656 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
5658         [BZ #14518]
5659         * include/rounding-mode.h: New file.
5660         * sysdeps/generic/get-rounding-mode.h: Likewise.
5661         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5662         * stdlib/strtod_l.c: Include <rounding-mode.h>.
5663         (MAX_VALUE): New macro.
5664         (MIN_VALUE): Likewise.
5665         (overflow_value): New function.
5666         (underflow_value): Likewise.
5667         (round_and_return): Use overflow_value and underflow_value to
5668         determine return values in overflow and underflow cases.  Use
5669         round_away to determine rounding depending on rounding mode.
5670         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5671         determine return values in overflow and underflow cases.
5672         * stdlib/tst-strtod-round.c: Include <fenv.h>.
5673         (struct test_results): New structure.
5674         (struct test): Use struct test_results to store expected results
5675         for all rounding modes.
5676         (TEST): Include expected results for all rounding modes.
5677         (test_in_one_mode): New function.
5678         (do_test): Use test_in_one_mode to compute and check results.
5679         Check results for all rounding modes.
5680         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5681         $(link-libm).
5683 2012-12-09  Allan McRae  <allan@archlinux.org>
5685         * sysdeps/i386/fpu/libm-test-ulps: Update
5687 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
5689         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5690         (_G_int32_t): Likewise.
5691         (_G_uint16_t): Likewise.
5692         (_G_uint32_t): Likewise.
5693         (_G_HAVE_BOOL): Likewise.
5694         (_G_HAVE_ATEXIT): Likewise.
5695         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5696         (_G_HAVE_IO_FILE_OPEN): Likewise.
5697         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5698         (_G_int32_t): Likewise.
5699         (_G_uint16_t): Likewise.
5700         (_G_uint32_t): Likewise.
5701         (_G_HAVE_BOOL): Likewise.
5702         (_G_HAVE_ATEXIT): Likewise.
5703         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5704         (_G_HAVE_IO_FILE_OPEN): Likewise.
5705         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5706         (_G_int32_t): Likewise.
5707         (_G_uint16_t): Likewise.
5708         (_G_uint32_t): Likewise.
5709         (_G_HAVE_BOOL): Likewise.
5710         (_G_HAVE_ATEXIT): Likewise.
5711         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5712         (_G_HAVE_IO_FILE_OPEN): Likewise.
5714 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
5716         * csu/libc-tls.c: Update copyright years.
5718 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
5720         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5721         [!_G_USING_THUNKS]: Remove conditional code.
5722         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5723         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5725         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5726         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5727         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5728         (_G_VTABLE_LABEL_PREFIX): Likewise.
5729         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5730         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5731         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5732         (_G_VTABLE_LABEL_PREFIX): Likewise.
5733         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5734         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5735         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5736         (_G_VTABLE_LABEL_PREFIX): Likewise.
5737         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5739 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
5741         * libio/Makefile: Include ../Makeconfig before tests.
5742         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5743         only if $(build-shared) is yes.
5745         * iconv/gconv_db.c: Update copyright years.
5747 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5749         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5750         unwind info if defined PIC. Fix special cases description.
5751         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5753         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5754         DP_HI_MASK entry.
5755         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5757 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
5759         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5761         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5762         is NULL.
5764         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5765         (LDLIBS-tst-chk4): This.
5766         (LDFLAGS-tst-chk5): Renamed to ...
5767         (LDLIBS-tst-chk5): This.
5768         (LDFLAGS-tst-chk6): Renamed to ...
5769         (LDLIBS-tst-chk6): This.
5770         (LDFLAGS-tst-lfschk4): Renamed to ...
5771         (LDLIBS-tst-lfschk4): This.
5772         (LDFLAGS-tst-lfschk5): Renamed to ...
5773         (LDLIBS-tst-lfschk5): This.
5774         (LDFLAGS-tst-lfschk6): Renamed to ...
5775         (LDLIBS-tst-lfschk6): This.
5777         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5778         on $(common-objpfx)soversions.mk.
5780 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
5782         [BZ #10014]
5783         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5784         example host name.
5786 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5788         * malloc/arena.c (arena_get_retry): New function that gets
5789         another arena for the caller to try its request on.
5790         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5791         current arena cannot fulfill the request.
5792         (__libc_memalign): Likewise.
5793         (__libc_memalign): Likewise.
5794         (__libc_pvalloc): Likewise.
5795         (__libc_calloc): Likewise.
5797 2012-09-05  John Tobey  <john.tobey@gmail.com>
5799         [BZ #13542]
5800         * manual/arith.texi (Operations on Complex): Fix description
5801         of carg branch cut.
5803 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5805         [BZ #10014]
5806         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5807         host name.
5809         [BZ #10038]
5810         * manual/memory.texi (Memory): Make order of menu items match
5811         order of sections.
5813 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5815         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5816         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
5817         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5819 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5821         * csu/libc-tls.c (static_dtv): Renamed to ...
5822         (_dl_static_dtv): This.  Make it global.
5823         (_dl_initial_dtv): Removed.
5824         (__libc_setup_tls): Updated.
5825         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5826         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5827         DL_INITIAL_DTV.
5829 2012-09-06  Petr Machata  <pmachata@redhat.com>
5831         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5832         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5833         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5834         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5836 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5838         [BZ #14545]
5839         * csu/libc-tls.c (_dl_initial_dtv): New variable.
5840         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5841         freeing dtv[-1].
5843 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5845         [BZ #14544]
5846         * Makeconfig (link-static-before-libc): Replace $(+prector)
5847         with $(+prectorT).
5848         (link-static-after-libc): Replace $(+postctor) with
5849         $(+postctorT).
5850         (link-bounded): Replace $(+prector)/$(+postctor) with
5851         $(+prectorT)/$(+postctorT).
5852         (+prectorT): New macro.
5853         (+postctorT): Likewise.
5855 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
5857         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5858         (round_str): Handle values above the maximum for IBM long double
5859         as inexact.
5860         * stdlib/tst-strtod-round.c (tests): Regenerated.
5862 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5864         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5865         assembler flag.
5866         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5867         zarch_nohighgprs around the zarch optimized routines.
5868         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5869         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5870         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5871         for zarch.
5873 2012-09-05  David S. Miller  <davem@davemloft.net>
5875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5877         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5878         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5879         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5880         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5881         entries.
5883 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5885         * malloc/arena.c: Fold copyright years.
5886         * malloc/mcheck.c, malloc/memusage.c: Likewise.
5888 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5890         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5892 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5894         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
5896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5898         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5899         change internal state upon failure.
5901 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
5903         * malloc/mcheck.c (mcheck_check_all): Fix typo.
5904         * malloc/memusage.c (mmap): Likewise.
5905         (mmap64, mremap): Likewise.  Adjust name in comment.
5907 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5909         * libio/fileops.c: Fix typos in comments.
5910         * libio/oldfileops.c: Likewise.
5911         * libio/wfileops.c: Likewise.
5913 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5915         [BZ #1349]
5916         * malloc/Makefile (tests): Add tst-malloc-usable test case.
5917         (tst-malloc-usable-ENV): Set environment for test case.
5918         * malloc/hooks.c (malloc_check_get_size): New function to get
5919         requested size.
5920         * malloc/malloc.c (musable): Use malloc_check_get_size.
5921         * malloc/tst-malloc-usable.c: New test case.
5923 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5925         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5927 2012-09-05  Allan McRae  <allan@archlinux.org>
5929         [BZ #13966]
5930         * configure.in (CXX_SYSINCLUDES): Use compiler output to
5931         determine header location.
5932         * configure: Regenerated.
5934 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
5936         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5937         float format.
5938         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5939         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5940         format.
5941         (test): Regenerate.
5943 2012-09-04  David S. Miller  <davem@davemloft.net>
5945         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5946         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5947         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5949 2012-09-04  Florian Weimer  <fweimer@redhat.com>
5951         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5952         failures.
5954         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5956 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
5958         [BZ #9914]
5959         * libio/iogetdelim.c: Include <limits.h>.
5960         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5961         + len + 1 would overflow.
5963 2012-09-03  Andreas Jaeger  <aj@suse.de>
5965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5966         * sysdeps/i386/fpu/libm-test-ulps: Update.
5968 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5970         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5971         Add s_sinf-sse2, s_conf-sse2.
5973         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5974         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5975         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5976         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5978         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5979         for using routine as __sinf_ia32.
5980         Use macro for function declaration and weak_alias.
5981         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5982         for using routine as __cosf_ia32.
5983         Use macro for function declaration and weak_alias.
5985         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5986         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5988         * sysdeps/x86_64/fpu/s_sinf.S: New file.
5989         * sysdeps/x86_64/fpu/s_cosf.S: New file.
5990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5992         * math/libm-test.inc (cos_test): Add more test cases.
5993         (sin_test): Likewise.
5994         (sincos_test): Likewise.
5996 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5998         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5999         (IFUNC_RESOLVE): Make pointers to the specialized implementations
6000         hidden.
6001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6003 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
6005         [BZ #14538]
6006         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6007         first element of the GOT.
6008         (elf_machine_load_address): Return the difference between
6009         the runtime address of _DYNAMIC and elf_machine_dynamic ().
6011 2012-09-01  Allan McRae  <allan@archlinux.org>
6013         [BZ #13412]
6014         * configure.in (AWK): Require gawk version 3.0 or later.
6015         * configure: Regenerated.
6017 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
6019         * sysdeps/unix/sysv/linux/kernel-features.h
6020         (__ASSUME_POSIX_CPU_TIMERS): Remove.
6021         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6022         [__NR_clock_getres]: Make code unconditional.
6023         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6024         (clock_getcpuclockid): Remove code left unreachable by removal of
6025         conditionals.
6026         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6027         code unconditional.
6028         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6029         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6030         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6031         Make code unconditional.
6032         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6033         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6034         * sysdeps/unix/sysv/linux/clock_settime.c
6035         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6036         conditional code.
6037         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6038         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6040 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
6042         [BZ #14476]
6043         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6044         scripts/test-installation.pl.
6046         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6047         and $ld_so_version if it is set.
6049 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6051         [BZ #14516]
6052         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6053         failure if reading from procfs failed.
6054         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6056 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
6058         * sysdeps/unix/sysv/linux/kernel-features.h
6059         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6060         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6061         Remove conditional code.
6062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6063         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6064         Remove conditional code.
6065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6066         * sysdeps/unix/sysv/linux/i386/fxstat.c
6067         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6069         * sysdeps/unix/sysv/linux/i386/fxstatat.c
6070         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6072         * sysdeps/unix/sysv/linux/i386/lxstat.c
6073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6075         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6076         Remove conditional code.
6077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6078         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6079         Remove conditional code.
6080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6081         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6082         <kernel-features.h>.
6083         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6084         Remove.
6085         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6086         Remove conditional code.
6087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6088         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6089         Remove conditional.
6091 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
6093         [BZ #5400]
6094         * NEWS: Add fixed bug number.
6096 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
6098         [BZ #14519]
6099         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6100         underflowing exponent in case of negative sign.
6101         * stdlib/tst-strtod-round-data: Add more tests.
6102         * stdlib/tst-strtod-round.c (tests): Regenerated.
6104         [BZ #3479]
6105         * stdlib/strtod_l.c (NDIG): Remove.
6106         (HEXNDIG): Likewise.
6107         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6108         smallest representable value.
6109         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6110         lie within an exact representation of 1/2 ulp of the result.
6111         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6112         unconditionally.
6113         (TENS_P9_IDX): Define unconditionally.
6114         (TENS_P9_SIZE): Likewise.
6115         (TENS_P10_IDX): Likewise.
6116         (TENS_P10_SIZE): Likewise.
6117         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6118         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6119         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6120         entries for 10^2^13 and 10^2^14.
6121         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6122         (TENS_P13_IDX): Define.
6123         (TENS_P13_SIZE): Likewise.
6124         (TENS_P14_IDX): Likewise.
6125         (TENS_P14_SIZE): Likewise.
6126         (_fpioconst_pow10): Change array size to
6127         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
6128         unconditional.
6129         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6130         1024]: Add entries for 10^2^13 and 10^2^14.
6131         [LAST_POW10 > _LAST_POW10]: Remove #error.
6132         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6133         (_fpioconst_pow10): Change array size to
6134         FPIOCONST_POW10_ARRAY_SIZE.
6135         * stdlib/gen-fpioconst.c: New file.
6136         * stdlib/gen-tst-strtod-round.c: Likewise.
6137         * stdlib/tst-strtod-round-data: Likewise.
6138         * stdlib/tst-strtod-round.c: Likewise.
6139         * stdlib/Makefile (tests): Add tst-strtod-round.
6141         [BZ #14459]
6142         * stdlib/strtod_l.c: Include <stdint.h>.
6143         (NDEBUG): Do not define.
6144         (round_and_return): Change EXPONENT parameter to type intmax_t.
6145         Rearrange calculations to avoid internal overflow possibilities.
6146         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6147         Rearrange calculations to avoid internal overflow possibilities.
6148         Assert that number fits inside MPNSIZE limbs.
6149         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6150         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
6151         calculations and add assertions to avoid internal overflow
6152         possibilities.  Add casts to avoid signed/unsigned operations.
6153         * stdlib/tst-strtod-overflow.c: New file.
6154         * stdlib/Makefile (tests): Add tst-strtod-overflow.
6156 2012-08-25  Marek Polacek  <polacek@redhat.com>
6158         * time/time.h: Fix some typos in comments.
6160 2012-08-23  Roland McGrath  <roland@hack.frob.com>
6162         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6163         * posix/tst-rfc3484-2.c: Likewise.
6164         * posix/tst-rfc3484-3.c: Likewise.
6166 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
6168         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6169         (EF_ARM_ABI_FLOAT_HARD): Likewise.
6171 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
6173         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6174         #include of fxstatat64.c.
6176 2012-08-22  Roland McGrath  <roland@hack.frob.com>
6178         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6179         * shadow/getspent_r.c: Likewise.
6180         * shadow/getspnam.c: Likewise.
6181         * shadow/getspnam_r.c: Likewise.
6182         * gshadow/getsgent.c: Likewise.
6183         * gshadow/getsgent_r.c: Likewise.
6184         * gshadow/getsgnam.c: Likewise.
6185         * gshadow/getsgnam_r.c: Likewise.
6186         * inet/getnetbyad.c: Likewise.
6187         * inet/getnetbyad_r.c: Likewise.
6188         * inet/getnetbynm.c: Likewise.
6189         * inet/getnetbynm_r.c: Likewise.
6190         * inet/getnetent.c: Likewise.
6191         * inet/getnetent_r.c: Likewise.
6192         * inet/getproto.c: Likewise.
6193         * inet/getproto_r.c: Likewise.
6194         * inet/getprtent.c: Likewise.
6195         * inet/getprtent_r.c: Likewise.
6196         * inet/getprtname.c: Likewise.
6197         * inet/getprtname_r.c: Likewise.
6198         * inet/getrpcbyname.c: Likewise.
6199         * inet/getrpcbyname_r.c: Likewise.
6200         * inet/getrpcbynumber.c: Likewise.
6201         * inet/getrpcbynumber_r.c: Likewise.
6202         * inet/getrpcent.c: Likewise.
6203         * inet/getrpcent_r.c: Likewise.
6204         * inet/getaliasent.c: Likewise.
6205         * inet/getaliasent_r.c: Likewise.
6206         * inet/getaliasname.c: Likewise.
6207         * inet/getaliasname_r.c: Likewise.
6208         * nscd/getgrgid_r.c: Likewise.
6209         * nscd/getgrnam_r.c: Likewise.
6210         * nscd/gethstbyad_r.c: Likewise.
6211         * nscd/gethstbynm3_r.c: Likewise.
6212         * nscd/getpwnam_r.c: Likewise.
6213         * nscd/getpwuid_r.c: Likewise.
6214         * nscd/getsrvbynm_r.c: Likewise.
6215         * nscd/getsrvbypt_r.c: Likewise.
6216         * nscd/gai.c: Likewise.
6218         * configure.in (build_nscd): New substituted variable, set
6219         by --disable-build-nscd and defaults to $use_nscd.
6220         * configure: Regenerated.
6221         * config.make.in (build-nscd): New substituted variable.
6222         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6223         Change conditional to require [$(build-nscd) = yes] as well.
6224         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6226         [BZ# 13696]
6227         * configure.in (use_nscd): New substituted variable, set by
6228         --disable-nscd.  If enabled, define USE_NSCD.
6229         * configure: Regenerated.
6230         * config.h.in: Add USE_NSCD.
6231         * config.make.in (use-nscd): New substituted variable.
6232         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6233         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6234         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6235         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6236         (CFLAGS-getgrnam_r.c): Likewise.
6237         (CFLAGS-initgroups.c): Likewise.
6238         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6239         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6240         Variables removed.
6241         * inet/getnetgrent_r.c
6242         (nscd_setnetgrent): New function, broken out of ...
6243         (setnetgrent): ... here.  Call it.
6244         (innetgr): Conditionalize nscd bits on [USE_NSCD].
6245         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6246         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6247         * nscd/Makefile (routines, aux): Move definitions after include of
6248         Makeconfig.  Conditionalize on [$(use-nscd) != no].
6249         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6250         Conditionalize on [USE_NSCD].
6251         (is_nscd, nscd_init_cb): Likewise.
6252         (nss_load_library): Conditionalize init callback on [USE_NSCD].
6253         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6254         * nss/nss_db/db-init.c: Likewise.
6255         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6256         [USE_NSCD].
6257         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6258         (make_request): Use it.
6259         (cache_valid_p): New function.
6260         (__check_pf): Use it.
6261         * NEWS: Add item for --disable-nscd.
6263 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
6265         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6266         to support sed >= 4.2.1-20-ga9bf076.
6267         * configure: Regenerated.
6269 2012-08-22  Roland McGrath  <roland@hack.frob.com>
6271         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6272         Conditionalize whole body on [IREL].
6274 2012-08-22  Jeff Law <law@redhat.com>
6276         [BZ #14505]
6277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6278         if the family is PF_UNSPEC.
6280 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
6282         * Makerules (lib-version): Rename from V.
6283         (install-lib-nosubdir): Change V to lib-version.
6285 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
6287         [BZ #14252]
6288         * powerpc32/power6/wcschr.c: New file.
6289         * powerpc32/power6/wcscpy.c: New file.
6290         * powerpc32/power6/wcsrchr.c: New file.
6291         * powerpc64/power6/wcschr.c: New file.
6292         * powerpc64/power6/wcscpy.c: New file.
6293         * powerpc64/power6/wcsrchr.c: New file.
6295 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
6297         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6298         (two_way_short_needle): Use it.
6299         * string/strstr.c (AVAILABLE1_USES_J): Define.
6300         * string/strcasestr.c: Likewise.
6302         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6303         array references.
6304         * string/strcasestr.c (TOLOWER): Make side-effect safe.
6306         [BZ #11607]
6307         * NEWS: Add an entry.
6308         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6309         define their defaults.
6310         (two_way_short_needle): Detect end-of-string on-the-fly.
6311         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6312         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6313         * string/bug-strcasestr1.c: New test.
6314         * string/Makefile: Run it.
6316 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
6318         [BZ #11607]
6319         * string/str-two-way.h (two_way_short_needle): Optimize matching of
6320         the first character.
6322 2012-08-21  Roland McGrath  <roland@hack.frob.com>
6324         * csu/elf-init.c (__libc_csu_irel): Function removed.
6325         * csu/libc-start.c (apply_irel): New function.
6326         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6328 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
6330         * sysdeps/unix/sysv/linux/kernel-features.h
6331         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6332         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6333         <kernel-features.h>.
6334         [__NR_fadvise64_64]: Make code unconditional.
6335         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6336         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6337         !__NR_fadvise64_64)]: Likewise.
6338         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6339         !__NR_fadvise64_64))]: Likewise.
6340         [__NR_fadvise64]: Make code unconditional.
6341         [!__NR_fadvise64]: Remove conditional code.
6342         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6343         <kernel-features.h>.
6344         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6345         unconditional.
6346         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6347         conditional code.
6348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6349         not include <kernel-features.h>.
6350         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6351         unconditional.
6352         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6353         conditional code.
6354         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6355         include <kernel-features.h>.
6356         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6357         unconditional.
6358         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6359         conditional code.
6361 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
6363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6364         slight instruction rearrangements per scrollpipe analysis.
6365         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6367 2012-08-20  Roland McGrath  <roland@hack.frob.com>
6369         * manual/syslog.texi (syslog; vsyslog, closelog):
6370         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6371         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6373         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6374         DSOCAPS to match condition on defining it.
6376 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
6378         * sysdeps/unix/sysv/linux/kernel-features.h
6379         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6381         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6382         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6384         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6385         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6390         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6391         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6393         * sysdeps/unix/sysv/linux/kernel-features.h
6394         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6395         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6396         unconditional.
6397         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6398         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6399         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6400         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6401         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6402         Make code unconditional.
6403         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6404         (__mmap64) [!__NR_mmap2]: Likewise.
6405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6406         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6407         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6409         [__NR_mmap2]: Make code unconditional.
6410         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6411         (__mmap64) [!__NR_mmap2]: Likewise.
6413 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6415         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6417 2012-08-18  Andreas Jaeger  <aj@suse.de>
6419         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6421 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
6423         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6424         * include/unistd.h (__have_sock_cloexec): Likewise.
6425         (__have_pipe2): Likewise.
6426         (__have_dup3): Likewise.
6428 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
6430         [BZ #9685]
6431         * include/unistd.h (__have_pipe2): Change define into an extern int.
6432         (__have_dup3): Likewise.
6433         * socket/have_sock_cloexec.c: Include fcntl.h.
6434         (__have_pipe2): New variable.
6435         (__have_dup3): Likewise.
6437 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
6439         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6441 2012-08-17  Marek Polacek  <polacek@redhat.com>
6443         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6444         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6446 2012-08-17  Roland McGrath  <roland@hack.frob.com>
6448         * configure.in: Add AC_SUBST for sysheaders.
6449         * configure: Regenerated.
6450         * config.make.in (sysheaders): New substituted variable.
6452         * sysdeps/unix/mkfifo.c: Moved ...
6453         * sysdeps/posix/mkfifo.c: ... here.
6454         * sysdeps/unix/mkfifoat.c: Moved ...
6455         * sysdeps/posix/mkfifoat.c: ... here.
6457         * sysdeps/unix/utime.c: Moved ...
6458         * sysdeps/posix/utime.c: ... here.
6460         * sysdeps/unix/time.c: Moved ...
6461         * sysdeps/posix/time.c: ... here.
6462         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6463         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6465         * sysdeps/unix/nice.c: Moved ...
6466         * sysdeps/posix/nice.c: ... here.
6468         * sysdeps/unix/alarm.c: Moved ...
6469         * sysdeps/posix/alarm.c: ... here.
6471         * intl/Makefile ($(codeset_mo)): Depend on the input file.
6473 2012-08-17  Jeff Law <law@redhat.com>
6475         * intl/Makefile (codeset_mo): New variable.
6476         ($(codeset_mo)): New target.
6477         (tst-codeset.out): Depend on that.  Remove explicit rule.
6478         (tst-gettext3.out, tst-gettext5.out): Likewise.
6479         (LOCPATH-ENV, tst-codeset-ENV): New variables.
6480         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6481         * intl/tst-codeset.sh: Remove.
6482         * intl/tst-gettext3.sh: Likewise.
6483         * intl/tst-gettext5.sh: Likewise.
6485 2012-08-17  Roland McGrath  <roland@hack.frob.com>
6487         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
6488         * sysdeps/unix/syscalls.list: ... here.
6490         * sysdeps/posix/getaddrinfo.c
6491         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6492         (gaiconf_init, gaiconf_reload): Use them.
6493         [!_STATBUF_ST_NSEC]
6494         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6495         Define using time_t rather than struct timespec.
6497         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6498         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6499         Macros removed.
6500         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6501         [!NO_THREADS].
6502         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6503         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6504         Likewise.
6506         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6507         __libc_cleanup_push argument.
6509         * bits/param.h: New file.
6510         * misc/sys/param.h: New file.
6511         * include/sys/param.h: New file.
6512         * misc/Makefile (headers): Add bits/param.h.
6513         * sysdeps/generic/sys/param.h: File removed.
6514         * sysdeps/unix/sysv/linux/bits/param.h: New file.
6515         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6516         * sysdeps/mach/hurd/bits/param.h: New file.
6517         * sysdeps/mach/hurd/sys/param.h: File removed.
6519         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6520         last change.
6522         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6523         [_IO_MTSAFE_IO].
6524         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6525         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6526         New macros.
6528         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6529         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6530         rather than -D_IO_MTSAFE_IO conditionally.
6531         * stdio-common/Makefile (CPPFLAGS): Likewise.
6532         * wcsmbs/Makefile (CPPFLAGS): Likewise.
6533         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6534         Use $(libio-mtsafe).
6535         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6536         of -D_IO_MTSAFE_IO.
6537         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6538         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6539         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6540         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6541         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6542         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6543         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6544         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6545         (CFLAGS-fread_u_chk.c): Likewise.
6546         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6547         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6548         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6549         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6550         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6551         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6552         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6553         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6554         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6556         * libio/Makefile: Test [$(libc-reentrant) = yes]
6557         instead of [$(filter %REENTRANT, $(defines)) nonempty].
6559         * Makeconfig
6560         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6561         * sysdeps/pthread/configure: File removed.
6562         * sysdeps/pthread/Makeconfig: New file.
6563         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6564         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6566 2012-08-16  Gary Benson  <gbenson@redhat.com>
6568         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6569         unmapping the first object in a namespace.
6571 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6573         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6574         (__internal_setnetgrent): ... this.  Add internal_function to
6575         definition.  Add libc_hidden_def.
6576         (setnetgrent): Update caller.
6577         (internal_endnetgrent): Renamed to ...
6578         (__internal_endnetgrent): ... this.  Add internal_function to
6579         definition.  Add libc_hidden_def.
6580         (endnetgrent): Update caller.
6581         (internal_getnetgrent_r): Renamed to ...
6582         (__internal_getnetgrent_r): ... this.  Add internal_function to
6583         definition.  Add libc_hidden_def.
6584         (__getnetgrent_r): Update caller.
6585         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
6587 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6589         * stdlib/longlong.h: Update from GCC.
6591 2012-08-16  Roland McGrath  <roland@hack.frob.com>
6593         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6594         on _QL, which is set by umul_ppmm but never used.
6595         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6596         variables, which are set by GMP macros but never used.
6597         * stdio-common/_itowa.c (_itowa): Likewise.
6598         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6599         * stdlib/mod_1.c (mpn_mod_1): Likewise.
6601 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
6603         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6604         struct La_sh_regs is not constant.
6605         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6606         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6607         and struct La_sparc64_regs are not constant.
6609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
6611         * sysdeps/unix/sysv/linux/kernel-features.h
6612         (__ASSUME_POSIX_TIMERS): Remove.
6613         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6614         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6615         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6616         Make code unconditional.
6617         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6618         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6619         Make code unconditional.
6620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6621         * sysdeps/unix/sysv/linux/clock_nanosleep.c
6622         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6624         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6625         Make code unconditional.
6626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6627         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6628         (__libc_missing_posix_timers): Remove.
6630 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6632         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6633         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6635         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6637         * elf/dl-sym.c: Include <stdlib.h>.
6639         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6640         constants, which avoids warnings in 32-bit builds.
6642         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6643         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6645         * misc/lseek.c: File moved to ...
6646         * io/lseek.c: ... here.
6648         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6650         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6651         shifting LEN more than 31 bits at once.
6653 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6655         [BZ #14195]
6656         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6657         segmentation fault for a case of two empty input strings.
6658         * string/test-strncasecmp.c (check1): Renamed to...
6659         (bz12205): ...this.
6660         (bz14195): Add new testcase for two empty input strings and N > 0.
6661         (test_main): Call new testcase, adapt for renamed function.
6663 2012-08-15  Andreas Jaeger  <aj@suse.de>
6665         [BZ #14090]
6666         * crypt/md5test2.c: New test, based on test supplied by Serge
6667         Belyshev <belyshev@depni.sinp.msu.ru>.
6668         * crypt/Makefile (xtests): Add md5test-giant..
6669         * crypt/Makefile ($(objpfx)md5test-giant): Add.
6671 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
6673         [BZ #14090]
6674         * crypt/md5.c (md5_process_block): Don't assume the buffer
6675         length is less than 2**32.
6676         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6677         length is less than 2**64.
6679 2012-08-15  Roland McGrath  <roland@hack.frob.com>
6681         * string/str-two-way.h: Include <sys/param.h>.
6682         (MAX): Macro removed.
6684         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6685         Move #define and #undef of memmove to just before and after
6686         including <string.h>.
6688         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6689         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6690         and after including <string.h>.  Move declarations of
6691         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6692         to before #include "string/memmove.c".
6694         * include/dirent.h: Declare __getdirentries.
6696         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6697         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6699 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
6701         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6702         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6703         * sysdeps/i386/configure: Regenerated.
6704         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6705         STABS_CURRENT_FILE, and STABS_FUN.
6706         (END): Remove call to STABS_FUN_END.
6707         (STABS_CURRENT_FILE1): Delete.
6708         (STABS_CURRENT_FILE): Likewise.
6709         (STABS_FUN): Likewise.
6710         (STABS_FUN_END): Likewise.
6711         (STABS_FUN2): Likewise.
6712         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6713         * sysdeps/x86_64/configure: Regenerated.
6715 2012-08-14  Roland McGrath  <roland@hack.frob.com>
6717         * elf/dl-open.c: Include <atomic.h>.
6718         * elf/dl-lookup.c: Likewise.
6720 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
6722         * sysdeps/unix/sysv/linux/kernel-features.h
6723         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6724         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6725         unconditionally.
6726         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6727         unconditionally.
6728         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6729         condition on __ASSUME_CLONE_THREAD_FLAGS.
6731 2012-08-14  Andreas Jaeger  <aj@suse.de>
6733         * sysdeps/i386/fpu/libm-test-ulps: Update.
6735 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
6737         * include/atomic.h (atomic_exchange_and_add): Split into ...
6738         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6739         New atomic macros.
6741 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
6743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6745 2012-08-13  Jeff Law <law@redhat.com>
6747         * manual/stdio.texi (snprintf): Clarify handling of the trailing
6748         null byte in the output string.
6750 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
6752         * sysdeps/unix/sysv/linux/kernel-features.h
6753         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6754         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6755         (__ASSUME_ARG_MAX_STACK_BASED): Define.
6756         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6757         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6758         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
6759         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6761 2012-08-09  Jeff Law <law@redhat.com>
6763         [BZ #13939]
6764         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6765         When avoid_arena is set, don't retry in the that arena.  Pick the
6766         next one, whatever it might be.
6767         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6768         (arena_lock): Pass in new parameter to arena_get2.
6769         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6770         arena_get2.
6771         (__libc_malloc): Unify retrying after main arena failure with
6772         __libc_memalign version.
6773         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6775 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6777         [BZ #14166]
6778         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6779         to __redirect_strstr.
6780         (__strstr_sse42): Use typeof __redirect_strstr.
6781         (__strstr_ia32): Likewise.
6782         (__libc_strstr): New prototype.
6783         (strstr): Renamed to ...
6784         (__libc_strstr): This.
6785         (strstr): New strong alias of __libc_strstr.
6786         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6787         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6788         __redirect_time.
6789         Include <time.h>.
6790         (__libc_time): New prototype.
6791         (time_ifunc): Replace time with __libc_time.
6792         (time): New strong alias and hidden definition of __libc_time.
6793         (__GI_time): Remove strong alias.
6794         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6795         Include <stddef.h>.
6796         (memmove): Redefined to __redirect_memmove.
6797         (__memmove_sse2): Use typeof __redirect_memmove.
6798         (__memmove_ssse3): Likewise.
6799         (__memmove_ssse3_back): Likewise.
6800         (__libc_memmove): New prototype.
6801         (memmove): Renamed to ...
6802         (__libc_memmove): This.
6803         (memmove): New strong alias of __libc_memmove.
6805 2012-08-08  Mark Salter  <msalter@redhat.com>
6807         * elf/elf.h
6808         (R_MN10300_TLS_GD): Define.
6809         (R_MN10300_TLS_LD): Likewise.
6810         (R_MN10300_TLS_LDO): Likewise.
6811         (R_MN10300_TLS_GOTIE): Likewise.
6812         (R_MN10300_TLS_IE): Likewise.
6813         (R_MN10300_TLS_LE): Likewise.
6814         (R_MN10300_TLS_DTPMOD): Likewise.
6815         (R_MN10300_TLS_DTPOFF): Likewise.
6816         (R_MN10300_TLS_TPOFF): Likewise.
6817         (R_MN10300_SYM_DIFF): Likewise.
6818         (R_MN10300_ALIGN): Likewise.
6819         (R_MN10300_NUM): Update.
6821 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
6823         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6824         Remove.
6826 2012-08-08  Roland McGrath  <roland@hack.frob.com>
6828         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6830         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6831         sysdeps/unix -> sysdeps/posix move.
6832         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6834 2012-08-07      Allan McRae     <allan@archlinux.org>
6836         [BZ #14303]
6837         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6838         (SUNOS_CPP): Likewise.
6839         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6840         not found.
6841         (open_input): Call CPP using execvp.
6843 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6845         * sysdeps/unix/sysv/linux/kernel-features.h
6846         (__ASSUME_PROT_GROWSUPDOWN): Remove.
6847         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6848         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6849         (__ASSUME_WAITID_SYSCALL): Likewise.
6850         * sysdeps/unix/sysv/linux/dl-execstack.c
6851         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6852         code unconditional.
6853         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6854         conditional code.
6855         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6856         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6857         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6858         code.
6859         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6860         unconditional.
6861         [__ASSUME_WAITID_SYSCALL]: Likewise.
6862         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6864 2012-08-07  Roland McGrath  <roland@hack.frob.com>
6866         * sysdeps/unix/closedir.c: Renamed to ...
6867         * sysdeps/posix/closedir.c: ... here.
6868         * sysdeps/unix/dirfd.c: Renamed to ...
6869         * sysdeps/posix/dirfd.c: ... here.
6870         * sysdeps/unix/dirstream.h: Renamed to ...
6871         * sysdeps/posix/dirstream.h: ... here.
6872         * sysdeps/unix/fdopendir.c: Renamed to ...
6873         * sysdeps/posix/fdopendir.c: ... here.
6874         * sysdeps/unix/opendir.c: Renamed to ...
6875         * sysdeps/posix/opendir.c: ... here.
6876         * sysdeps/unix/readdir.c: Renamed to ...
6877         * sysdeps/posix/readdir.c: ... here.
6878         * sysdeps/unix/readdir_r.c: Renamed to ...
6879         * sysdeps/posix/readdir_r.c: ... here.
6880         * sysdeps/unix/rewinddir.c: Renamed to ...
6881         * sysdeps/posix/rewinddir.c: ... here.
6882         * sysdeps/unix/seekdir.c: Renamed to ...
6883         * sysdeps/posix/seekdir.c: ... here.
6884         * sysdeps/unix/telldir.c: Renamed to ...
6885         * sysdeps/posix/telldir.c: ... here.
6886         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6887         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6888         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6889         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6891         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6892         * bits/fcntl.h: ... here.
6894         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6895         not 0.
6896         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6897         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6898         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6899         (struct flock): Move l_start, l_len to the beginning.
6900         Use __pid_t for l_pid.
6901         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6902         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6903         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6904         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6905         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6906         [__USE_LARGEFILE64] (struct flock64): New type.
6907         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6909         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6910         * bits/dirent.h: ... here.
6912         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6913         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6915 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
6917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6918         Change from 2.6.0 to 2.6.16.
6919         * sysdeps/unix/sysv/linux/configure: Regenerated.
6920         * sysdeps/unix/sysv/linux/kernel-features.h
6921         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6922         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6923         version.
6924         (__ASSUME_UTIMES): Likewise.
6925         (__ASSUME_CLONE_STOPPED): Remove.
6926         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6927         architectures, not kernel version.
6928         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6929         (__ASSUME_NO_CLONE_DETACHED): Likewise.
6930         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6931         (__ASSUME_WAITID_SYSCALL): Likewise.
6932         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6933         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6934         * README: State 2.6.16 as minimum Linux kernel version.  Do not
6935         refer to older versions.
6937 2012-08-06  Roland McGrath  <roland@hack.frob.com>
6939         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6940         Define alphasort64 as an alias.
6941         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6942         Define versionsort64 as an alias.
6943         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6944         Define scandir64 as an alias.
6945         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6946         Define scandirat64 as an alias.
6947         * dirent/alphasort64.c (alphasort64):
6948         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6949         * dirent/versionsort64.c: Likewise.
6950         * dirent/scandir64.c: Likewise.
6951         * dirent/scandirat64.c: Likewise.
6952         * sysdeps/wordsize-64/alphasort.c: File removed.
6953         * sysdeps/wordsize-64/alphasort64.c: File removed.
6954         * sysdeps/wordsize-64/scandir.c: File removed.
6955         * sysdeps/wordsize-64/scandir64.c: File removed.
6956         * sysdeps/wordsize-64/scandirat.c: File removed.
6957         * sysdeps/wordsize-64/scandirat64.c: File removed.
6958         * sysdeps/wordsize-64/versionsort.c: File removed.
6959         * sysdeps/wordsize-64/versionsort64.c: File removed.
6960         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6961         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6962         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6963         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6964         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6965         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6966         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6967         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6969         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6971         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6973         [defined __arch64__ || defined __sparcv9]
6974         (__INO_T_MATCHES_INO64_T): New macro.
6975         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6976         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6977         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6978         * sysdeps/unix/sysv/linux/bits/dirent.h
6979         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6980         (_DIRENT_MATCHES_DIRENT64): New macro.
6982         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6983         Define lockf64 as an alias.
6984         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6985         Define fseeko64 as an alias.
6986         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6987         Define ftello64 as an alias.
6988         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6989         Define _IO_fgetpos64 and fgetpos64 as aliases.
6990         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6991         Define _IO_fsetpos64 and fsetpos64 as aliases.
6992         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6993         Conditionalize body on this.
6994         * libio/fseeko64.c: Likewise.
6995         * libio/ftello64.c: Likewise.
6996         * libio/iofgetpos64.c: Likewise.
6997         * libio/iofsetpos64.c: Likewise.
6998         * sysdeps/wordsize-64/lockf.c: File removed.
6999         * sysdeps/wordsize-64/lockf64.c: File removed.
7000         * sysdeps/wordsize-64/fseeko.c: File removed.
7001         * sysdeps/wordsize-64/fseeko64.c: File removed.
7002         * sysdeps/wordsize-64/ftello.c: File removed.
7003         * sysdeps/wordsize-64/ftello64.c: File removed.
7004         * sysdeps/wordsize-64/iofgetpos.c: File removed.
7005         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7006         * sysdeps/wordsize-64/iofsetpos.c: File removed.
7007         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7008         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7010         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7011         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7012         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7013         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7014         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7015         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7016         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7017         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7019         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7021         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7023         [defined __arch64__ || defined __sparcv9]
7024         (__OFF_T_MATCHES_OFF64_T): New macro.
7025         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7026         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7028         (__OFF_T_MATCHES_OFF64_T): New macro.
7030 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
7032         * stdlib/secure-getenv.c (__secure_getenv): Replace
7033         GLIBC_2_16 with GLIBC_2_17.
7035 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
7037         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7040 2012-08-03  David S. Miller  <davem@davemloft.net>
7042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7044 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
7046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7047         Remove.
7048         (__ASSUME_CORRECT_SI_PID): Likewise.
7049         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7050         (__ASSUME_TMPFS_NAME): Likewise.
7051         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7052         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7053         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7054         (HAVE_AUX_SECURE): Make definition unconditional.
7055         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7056         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7058 2012-08-03  Roland McGrath  <roland@hack.frob.com>
7060         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7061         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7062         * sysdeps/mach/hurd/eloop-threshold.h: New file.
7063         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7064         __eloop_threshold instead of SYMLOOP_MAX.
7066         * sysdeps/generic/eloop-threshold.h: New file.
7067         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7068         of MAXSYMLINKS.
7069         * elf/chroot_canon.c (chroot_canon): Likewise.
7071 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #13717]
7074         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7075         Change to 2.6.0 everywhere.
7076         * sysdeps/unix/sysv/linux/configure: Regenerated.
7077         * sysdeps/unix/sysv/linux/kernel-features.h
7078         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7079         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7080         kernel versions.
7081         (__ASSUME_POSIX_TIMERS): Define unconditionally.
7082         (__ASSUME_FUTEX_REQUEUE): Remove.
7083         (__ASSUME_STATFS64): Define unconditionally.
7084         (__ASSUME_AT_SECURE): Likewise.
7085         (__ASSUME_CORRECT_SI_PID): Likewise.
7086         (__ASSUME_TGKILL): Define without depending on kernel version for
7087         i386.
7088         (__ASSUME_UTIMES): Likewise.
7089         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7090         kernel version.
7091         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7092         (__ASSUME_TMPFS_NAME): Likewise.
7093         * README: Update reference to Linux kernel versions.
7095 2012-08-02  Marek Polacek  <polacek@redhat.com>
7097         [BZ# 14150]
7098         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
7099         libc_cv_asm_type_prefix with %.
7100         * configure: Regenerated.
7101         * include/libc-symbols.h: Remove comment about
7102         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7103         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7104         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7105         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7106         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7107         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7108         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7109         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7110         * elf/tst-unique2mod1.c: Likewise.
7111         * elf/tst-unique1mod2.c: Likewise.
7112         * elf/tst-unique1mod1.c: Likewise.
7113         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7114         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7115         Replace ASM_TYPE_DIRECTIVE with .type.
7116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7117         * sysdeps/i386/sysdep.h: Likewise.
7118         * sysdeps/x86_64/sysdep.h: Likewise.
7119         * sysdeps/sh/sysdep.h: Likewise.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7121         Do not define ASM_TYPE_DIRECTIVE.
7122         * sysdeps/powerpc/sysdep.h: Likewise.
7123         * sysdeps/powerpc/powerpc32/sysdep.h:
7124         Replace ASM_TYPE_DIRECTIVE with .type.
7125         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7126         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7127         * sysdeps/i386/fpu/e_powf.S: Likewise.
7128         * sysdeps/i386/fpu/e_expl.S: Likewise.
7129         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7130         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7131         * sysdeps/i386/fpu/e_pow.S: Likewise.
7132         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7133         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7134         * sysdeps/i386/fpu/s_expm1.S: Likewise.
7135         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7136         * sysdeps/i386/fpu/e_log2.S: Likewise.
7137         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7138         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7139         * sysdeps/i386/fpu/e_powl.S: Likewise.
7140         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7141         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7142         * sysdeps/i386/fpu/e_logl.S: Likewise.
7143         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7144         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7145         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7146         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7147         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7148         * sysdeps/i386/fpu/e_log.S: Likewise.
7149         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7150         * sysdeps/i386/fpu/e_logf.S: Likewise.
7151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7152         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7153         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7154         * sysdeps/i386/fpu/e_log10.S: Likewise.
7155         * sysdeps/i386/fpu/s_frexp.S: Likewise.
7156         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7157         * sysdeps/i386/fpu/s_asinh.S: Likewise.
7158         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7159         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7160         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7161         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7162         * sysdeps/i386/i686/strtok.S: Likewise.
7163         * sysdeps/i386/i386-mcount.S: Likewise.
7164         * sysdeps/i386/strtok.S: Likewise.
7165         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7166         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7167         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7168         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7169         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7170         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7171         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7172         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7173         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7174         * sysdeps/x86_64/_mcount.S: Likewise.
7175         * sysdeps/x86_64/strtok.S: Likewise.
7176         * sysdeps/sh/_mcount.S: Likewise.
7178 2012-08-01  Roland McGrath  <roland@hack.frob.com>
7180         * libio/iofopen.c: Include <fcntl.h>.
7181         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7182         (_IO_fopen64, fopen64): Define as aliases.
7183         * libio/iofopen64.c: Include <fcntl.h>.
7184         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7185         Conditionalize body on this.
7186         * sysdeps/wordsize-64/iofopen.c: File removed.
7187         * sysdeps/wordsize-64/iofopen64.c: File removed.
7189 2012-08-01  Marek Polacek  <polacek@redhat.com>
7191         * libc/Makeconfig: Use elf in place of binfmt-subdir.
7192         Use dlfcn directly instead of a variable.
7193         (binfmt-subdir): Do not define.
7194         (dlfcn): Likewise.
7196 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
7198         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7199         Remove all definitions.
7200         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7201         <kernel-features.h>.
7202         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7203         (miss_F_GETOWN_EX): Remove all definitions.
7204         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7205         macro definition.
7206         [!__ASSUME_FCNTL64]: Remove conditional code.
7207         [__ASSUME_FCNTL64]: Make code unconditional.
7208         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7209         <kernel-features.h>.
7210         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7211         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7212         (lockf64) [__NR_fcntl64]: Make code unconditional.
7213         (lockf64) [__ASSUME_FCNTL64]: Likewise.
7215         * sysdeps/unix/sysv/linux/kernel-features.h
7216         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7217         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7218         Make code unconditional.
7219         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7220         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7222         [__NR_vfork]: Make code unconditional.
7223         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7224         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7226         [__NR_vfork]: Make code unconditional.
7227         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7228         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7230 2012-08-01  Roland McGrath  <roland@hack.frob.com>
7232         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7233         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7235         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7236         Define mkstemp64 as an alias.
7237         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7238         Define mkstemps64 as an alias.
7239         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7240         Define mkostemp64 as an alias.
7241         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7242         Define mkostemps64 as an alias.
7243         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7244         Conditionalize body on this.
7245         * misc/mkostemp64.c: Likewise.
7246         * misc/mkostemps64.c: Likewise.
7247         * misc/mkstemps64.c: Likewise.
7248         * sysdeps/wordsize-64/mkstemp64.c: File removed.
7249         * sysdeps/wordsize-64/mkostemp64.c: File removed.
7250         * sysdeps/wordsize-64/mkostemp.c: File removed.
7251         * sysdeps/wordsize-64/mkstemp.c: File removed.
7252         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7257         [BZ #14138]
7258         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7259         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7260         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7261         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7263         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7264         compat_symbol macros from <shlib-compat.h> rather than the underlying
7265         default_symbol_version and symbol_version macros, so that DEFAULT
7266         lines in shlib-versions are respected.
7267         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7269 2012-08-01  Florian Weimer  <fweimer@redhat.com>
7271         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7272         Declare with warn_unused_result.
7273         (setgid, setregid, setegid, setresgid): Likewise.
7274         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7275         Likewise.
7276         * WUR-REPORT: Remove set*id functions.
7278 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
7280         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7282 2012-07-31  Roland McGrath  <roland@hack.frob.com>
7284         * include/sys/socket.h (__libc_accept, __libc_accept4):
7285         Add attribute_hidden.
7286         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7288         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7289         use of PTR_MANGLE.
7290         * inet/getnetgrent_r.c (setup): Likewise.
7292         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7294 2012-07-31  David S. Miller  <davem@davemloft.net>
7296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7298 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #13629]
7301         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7302         value between 1.0 and 2.0 and smaller part has absolute value less
7303         than 1.0.
7304         * math/s_clog10.c (__clog10): Likewise.
7305         * math/s_clog10f.c (__clog10f): Likewise.
7306         * math/s_clog10l.c (__clog10l): Likewise.
7307         * math/s_clogf.c (__clogf): Likewise.
7308         * math/s_clogl.c (__clogl): Likewise.
7309         * math/libm-test.inc (clog_test): Add more tests.
7310         (clog10_test): Likewise.
7311         * sysdeps/i386/fpu/libm-test-ulps: Update.
7312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314 2012-07-31  Florian Weimer  <fweimer@redhat.com>
7316         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7317         Exit with zero in case no suitable GID is found, and write a
7318         message to standard error.
7320 2012-07-30  Roland McGrath  <roland@hack.frob.com>
7322         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7323         rather than to 1.
7324         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7325         (MAXPATHLEN): Removed.
7326         (NOGROUP, NODEV): New macros.
7327         (setbit, clrbit, isset, isclr): New macros.
7328         (howmany, roundup, powerof2): New macros.
7329         (DEV_BSIZE): New macro.
7331         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7332         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7334         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7335         definition on [!__NO_LONG_DOUBLE_MATH].
7337         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7338         PTR_MANGLE and PTR_DEMANGLE.
7340         * socket/accept4.c (accept4): Rename to __libc_accept4.
7341         Define accept4 as a weak alias.
7343         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7344         on [_DIRENT_HAVE_D_TYPE].
7345         * io/ftw.c (ftw_dir): Likewise.
7347         * io/xmknod.c (__xmknod): Don't check PATH for being null.
7349         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7351         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7352         Use the BSD numbers rather than the arbitrary ones we had.
7353         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7354         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7355         (SIGXCPU, SIGXFSZ): New macros.
7356         (_NSIG): Now 32.
7358         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7359         initializer on [_LIBC_REENTRANT].
7361         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7362         definitions inside [_POSIX_MAPPED_FILES].
7364         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7366         * dirent/opendir.c: Include <fcntl.h>.
7368         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7369         (__libc_getspecific): Likewise.
7370         (__libc_key_create): Likewise.
7372         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7373         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7374         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7375         (tmpfile64): Define as alias.
7376         * sysdeps/wordsize-64/tmpfile.c: File removed.
7377         * sysdeps/wordsize-64/tmpfile64.c: File removed.
7378         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7379         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7381         * stdio-common/vfscanf.c: Include <stdbool.h>.
7382         * nss/makedb.c: Likewise.
7383         * stdio-common/_i18n_number.h: Likewise.
7384         * argp/argp-help.c: Likewise.
7385         * posix/wordexp.c: Likewise.
7386         * sysdeps/posix/spawni.c: Likewise.
7387         * nss/nss_files/files-initgroups.c: Likewise.
7388         * stdio-common/reg-modifier.c: Include <stdlib.h>.
7389         * nss/nss_files/files-initgroups.c: Likewise.
7390         * nss/nss_db/db-netgrp.c: Likewise.
7391         * nss/nss_db/db-initgroups.c: Likewise.
7392         * io/fchmodat.c: Include <sys/stat.h>.
7394         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7395         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7397         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7398         [HAVE_MMAP].
7400         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7401         Add multiple inclusion protection.
7403 2012-07-27  David S. Miller  <davem@davemloft.net>
7405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7407 2012-07-27  Gary Benson  <gbenson@redhat.com>
7409         [BZ #14298]
7410         * elf/rtld.c: Include <stap-probe.h>.
7411         (dl_main): Added static probes "init_start" and "init_complete".
7412         * elf/dl-load.c: Include <stap-probe.h>.
7413         (lose): Take new parameter "nsid".
7414         Added static probe "map_failed".
7415         (_dl_map_object_from_fd): Pass namespace id to lose.
7416         Added static probe "map_start".
7417         (open_verify): Pass namespace id to lose.
7418         * elf/dl-open.c: Include <stap-probe.h>.
7419         (dl_open_worker) Added static probes "map_complete", "reloc_start"
7420         and "reloc_complete".
7421         * elf/dl-close.c: Include <stap-probe.h>.
7422         (_dl_close_worker): Added static probes "unmap_start" and
7423         "unmap_complete".
7424         * elf/rtld-debugger-interface.txt: New file documenting the above.
7426 2012-07-26  Roland McGrath  <roland@hack.frob.com>
7428         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7429         rather than a string variable.
7430         * sunrpc/rpc_main.c (h_output): Likewise.
7431         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7433 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
7435         * inet/check_native.c: New file.
7437 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
7439         [BZ #13629]
7440         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7441         if larger part has absolute value 1.0.
7442         * math/s_clog10.c (__clog10): Likewise.
7443         * math/s_clog10f.c (__clog10f): Likewise.
7444         * math/s_clog10l.c (__clog10l): Likewise.
7445         * math/s_clogf.c (__clogf): Likewise.
7446         * math/s_clogl.c (__clogl): Likewise.
7447         * math/libm-test.inc (clog_test): Add more tests.
7448         (clog10_test): Likewise.
7449         * sysdeps/i386/fpu/libm-test-ulps: Update.
7450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7452         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7453         (pltexit): Likewise.
7454         (La_regs): Likewise.
7455         (La_retval): Likewise.
7456         (int_retval): Likewise.
7457         Update #error for removed macros to refer only to definitions in
7458         tst-audit.h.
7459         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7460         macro.
7461         (pltexit): Likewise.
7462         (La_regs): Likewise.
7463         (La_retval): Likewise.
7464         (int_retval): Likewise.
7465         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7466         macro.
7467         (pltexit): Likewise.
7468         (La_regs): Likewise.
7469         (La_retval): Likewise.
7470         (int_retval): Likewise.
7471         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7472         macro.
7473         (pltexit): Likewise.
7474         (La_regs): Likewise.
7475         (La_retval): Likewise.
7476         (int_retval): Likewise.
7477         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7478         macro.
7479         (pltexit): Likewise.
7480         (La_regs): Likewise.
7481         (La_retval): Likewise.
7482         (int_retval): Likewise.
7483         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7484         macro.
7485         (pltexit): Likewise.
7486         (La_regs): Likewise.
7487         (La_retval): Likewise.
7488         (int_retval): Likewise.
7489         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7490         macro.
7491         (pltexit): Likewise.
7492         (La_regs): Likewise.
7493         (La_retval): Likewise.
7494         (int_retval): Likewise.
7495         * sysdeps/generic/tst-audit.h: Update comment to refer only to
7496         macro definitions in tst-audit.h.
7497         * sysdeps/i386/tst-audit.h: New file.
7498         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7499         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7500         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7501         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7502         * sysdeps/sh/tst-audit.h: Likewise.
7503         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7504         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7505         * sysdeps/x86_64/tst-audit.h: Likewise.
7507 2012-07-26  Andreas Jaeger  <aj@suse.de>
7509         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7510         ptrace.
7512         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7513         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7514         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7515         PTRACE_O_MASK.
7516         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7517         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7518         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7520         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7521         value.
7523         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7524         _sigsys.
7525         (si_call_addr, si_syscall, si_arch): Define new macro.
7526         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7527         _sigsys.
7528         (si_call_addr, si_syscall, si_arch): Define new marcro.
7529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7530         _sigsys.
7531         (si_call_addr, si_syscall, si_arch): Define new macro.
7532         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7533         _sigsys.
7534         (si_call_addr, si_syscall, si_arch): Define new macro.
7536 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7538         [BZ #13717]
7539         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7540         Change to 2.4.21 where previously 2.4.1.
7541         * sysdeps/unix/sysv/linux/configure: Regenerated.
7542         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7543         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7544         Linux kernel version.
7545         (__ASSUME_STD_AUXV): Remove.
7546         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7547         kernel version.
7548         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7549         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7550         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7551         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7552         (__ASSUME_NETLINK_SUPPORT): Likewise.
7553         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7554         (__no_netlink_support): Remove conditional definition.
7555         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7556         Remove.
7557         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7558         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7559         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7560         (if_nameindex_ioctl): Remove.
7561         (if_nameindex_netlink): Do not handle __no_netlink_support.
7562         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7563         code.
7564         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7565         Remove conditional code.
7566         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7567         code.
7568         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7569         unconditional.
7570         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7571         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7572         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7573         Remove.
7574         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7575         [!__ASSUME_STD_AUXV]: Remove conditional code.
7576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7577         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7578         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7580         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7581         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7582         code.
7583         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7585         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7586         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7587         conditional code.
7588         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7590         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7591         code.
7592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7593         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7594         conditional code.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7596         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7597         code unconditional.
7598         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7599         conditional code.
7600         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7601         unconditional.
7602         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7603         conditional code.
7604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7605         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7606         unconditional.
7607         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7608         conditional code.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7610         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7611         code unconditional.
7612         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7613         conditional code.
7614         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7615         unconditional.
7616         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7617         conditional code.
7618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7619         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7620         code unconditional.
7621         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7622         conditional code.
7623         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7624         unconditional.
7625         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7626         conditional code.
7628 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7630         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7631         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7632         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7633         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7634         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7635         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7636         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7637         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7638         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7639         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7640         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7641         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7642         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7643         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7644         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7645         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7646         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7647         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7648         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7650         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7651         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7652         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7654 2012-07-25  Florian Weimer  <fweimer@redhat.com>
7656         * Versions.def: Add GLIBC_2.17.
7657         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7658         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7659         Introduce __libc_secure_getenv.
7660         * stdlib/Versions (2.17): Add secure_getenv
7661         (GLIBC_PRIVATE): Add __libc_secure_getenv.
7662         * stdlib/secure-getenv.c: Rename __secure_getenv to
7663         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
7664         symbol __secure_getenv for GLIBC_2.0.
7665         * stdlib/tst-secure-getenv.c: New.
7666         * stdlib/Makefile (tests): Add testcase.
7667         * manual/startup.texi (Environment Access): Document
7668         secure_getenv.
7669         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7670         __libc_secure_getenv.
7671         * inet/ruserpass.c (ruserpass): Likewise.
7672         * malloc/mtrace.c (mtrace): Likewise.
7673         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7674         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7675         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7676         * sysdeps/posix/tempname.c: Likewise.  Evaluate
7677         HAVE_SECURE_GETENV.
7678         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7679         __secure_getenv to __libc_secure_getenv.
7680         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7682         Likewise.
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7684         Likewise.
7685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7693 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
7695         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7696         (struct La_i86_retval): Likewise.
7697         (struct La_x86_64_regs): Likewise.
7698         (struct La_x86_64_retval): Likewise.
7699         (struct La_x32_regs): Likewise.
7700         (struct La_x32_retval): Likewise.
7701         (struct La_ppc32_regs): Likewise.
7702         (struct La_ppc32_retval): Likewise.
7703         (struct La_ppc64_regs): Likewise.
7704         (struct La_ppc64_retval): Likewise.
7705         (struct La_sh_regs): Likewise.
7706         (struct La_sh_retval): Likewise.
7707         (struct La_s390_32_regs): Likewise.
7708         (struct La_s390_32_retval): Likewise.
7709         (struct La_s390_64_regs): Likewise.
7710         (struct La_s390_64_retval): Likewise.
7711         (struct La_sparc32_regs): Likewise.
7712         (struct La_sparc32_retval): Likewise.
7713         (struct La_sparc64_regs): Likewise.
7714         (struct La_sparc64_retval): Likewise.
7715         (struct audit_ifaces): Remove architecture-specific pltenter and
7716         pltexit members.
7717         * sysdeps/i386/ldsodefs.h: New file.
7718         * sysdeps/powerpc/ldsodefs.h: Likewise.
7719         * sysdeps/s390/ldsodefs.h: Likewise.
7720         * sysdeps/sh/ldsodefs.h: Likewise.
7721         * sysdeps/sparc/ldsodefs.h: Likewise.
7722         * sysdeps/x86_64/ldsodefs.h: Likewise.
7724 2012-07-25  Marek Polacek  <polacek@redhat.com>
7726         [BZ #6808]
7727         * math/libm-test.inc (yn_test): Add another test.
7728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7729         to ERANGE when the result is +-Inf.
7730         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7731         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7732         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7733         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7735 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
7737         * conform/data/time.h-data (NULL): Use macro-constant.  Require
7738         equal to 0.
7739         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
7740         clock_t.
7741         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
7743 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
7745         * configure.in <sysdeps resolving>: Correct printing
7746         Implies_before.
7747         * configure: Regenerate.
7749 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
7751         * math/w_ilogb.c: Include <limits.h>.
7752         * math/w_ilogbl.c: Likewise.
7754 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7756         * manual/lang.texi (__va_copy): Document primarily as ISO C99
7757         va_copy.  Document allowing for unavailable va_copy only as
7758         pre-C99 compatibility.
7759         * manual/string.texi (Copying and Concatenation): Use va_copy
7760         instead of __va_copy in concat example.
7762 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
7764         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7765         (__sendto): Use create_address_port.  Initialize APORT and deallocate
7766         it if not null.
7768         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7769         with O_NOLINK passed to __file_name_lookup.
7771         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7772         with O_NOLINK passed to __file_name_lookup.
7774         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7775         negative N or less than NGIDS.
7777         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7778         type to string_t.  Set ERANGE as errno and return it if NAME is not big
7779         enough.  Use memcpy instead of strncpy.
7781 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
7783         * elf/Makefile (check-data): Remove.
7784         (localplt.data): New vpath directive.
7785         ($(objpfx)check-localplt.out): Use localplt.data from vpath
7786         instead of $(check-data).
7787         * scripts/data/localplt-generic.data: Move to ...
7788         * sysdeps/generic/localplt.data: ... here.
7789         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7790         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7791         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7793         ... here.
7794         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7796         ... here.
7797         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7799         ... here.
7800         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7802         ... here.
7803         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7805         ... here.
7806         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7808         ... here.
7810 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7812         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7813         PPC32 and PPC64 files.
7814         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7815         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7817 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7819         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7820         __makecontext_ret to ...
7821         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7822         ... here and call exit if uc_link is NULL.  New file.
7823         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7824         __makecontext_ret.S.
7825         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7826         __makecontext_ret to ...
7827         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7828         ... here and call exit if uc_link is NULL.  New file.
7829         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7830         __makecontext_ret.S.
7832 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7834         * elf/elf.h (R_390_IRELATIVE): New definition.
7835         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7836         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
7837         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7838         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7839         (elf_machine_lazy_rel): Likewise.
7840         * sysdeps/s390/dl-irel.h: New file.
7841         * sysdeps/s390/s390-64/memcpy.S: New asm code.
7842         * sysdeps/s390/s390-64/memset.S: New asm code.
7843         * sysdeps/s390/s390-64/memcmp.S: New asm code.
7844         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7845         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7846         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7847         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7848         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7850         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7851         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7852         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7853         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7854         * sysdeps/s390/s390-32/memcpy.S: New asm code.
7855         * sysdeps/s390/s390-32/memset.S: New asm code.
7856         * sysdeps/s390/s390-32/memcmp.S: New asm code.
7858 2012-07-17  Marek Polacek  <polacek@redhat.com>
7860         [BZ #14349]
7861         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7862         * sysdeps/s390/s390-64/configure.in: Likewise.
7863         * sysdeps/sparc/configure.in: Likewise.
7864         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7865         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7866         * sysdeps/i386/configure.in: Likewise.
7867         * sysdeps/x86_64/configure.in: Likewise.
7868         * sysdeps/sh/configure.in: Likewise.
7869         * sysdeps/s390/s390-32/configure: Regenerated.
7870         * sysdeps/s390/s390-64/configure: Likewise.
7871         * sysdeps/x86_64/configure: Likewise.
7872         * sysdeps/sh/configure: Likewise.
7873         * sysdeps/powerpc/powerpc64/configure: Likewise.
7874         * sysdeps/powerpc/powerpc32/configure: Likewise.
7875         * sysdeps/sparc/configure: Likwise.
7876         * sysdeps/i386/configure: Likewise.
7878         * elf/dl-open.c: Comment fixes.
7880 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
7882         * Makefile [CXX] (check-data): Remove.
7883         [CXX] (c++-types.data): New vpath directive.
7884         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7885         vpath.  Do not allow for C++ type data being missing.
7886         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7887         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7888         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7889         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7890         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7891         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7892         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7894         ... here.
7895         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7897         ... here.
7898         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7900         ... here.
7901         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7903         ... here.
7904         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7906         ... here.
7907         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7909         ... here.
7910         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7912         ... here.
7913         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7916         * elf/tls-macros.h (TLS_LE): Move architecture-specific
7917         definitions to architecture-specific files.
7918         (TLS_IE): Likewise.
7919         (TLS_LD): Likewise.
7920         (TLS_GD): Likewise.
7921         * sysdeps/i386/tls-macros.h: New file.
7922         * sysdeps/powerpc/tls-macros.h: Likewise.
7923         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7924         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7925         * sysdeps/sh/tls-macros.h: Likewise.
7926         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7927         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7928         * sysdeps/x86_64/tls-macros.h: Likewise.
7930 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7932         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7933         zero value for regular exit case.
7935         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7936         (__start_context): Preserve zero value for regular exit case.
7938 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
7939             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7941         * manual/setjmp.texi (setcontext): Clarify normal process
7942         termination when uc_link is the null pointer.
7943         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7944         exit call.
7946 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
7948         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7949         preprocessor.  Test for each exception mask separately.
7951 2012-07-16  Andreas Jaeger  <aj@suse.de>
7953         * po/ru.po: Update from translation team.
7955 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
7957         * conform/data/string.h-data (NULL): Use macro-constant.  Require
7958         equal to 0.
7959         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7960         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7961         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7962         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7963         [ISO || ISO99 || ISO11] (*_t): Do not allow.
7965 2012-07-13  Andreas Jaeger  <aj@suse.de>
7967         * po/fr.po: Update from translation team.
7969 2012-07-12  Marek Polacek  <polacek@redhat.com>
7971         [BZ #14173]
7972         * math/libm-test.inc (yn_test): Add test for BZ #14173.
7973         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7974         loop condition.
7976 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
7978         [BZ #13717]
7979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7980         Change to 2.4.1 where previously 2.4.0.
7981         * sysdeps/unix/sysv/linux/configure: Regenerated.
7982         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7983         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7984         version.
7985         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7986         (__ASSUME_AT_CLKTCK): Remove.
7987         (__ASSUME_AT_PAGESIZE): Likewise.
7988         (__ASSUME_AT_XID): Likewise.
7989         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7990         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7991         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7992         unconditionally.
7993         (HAVE_AUX_PAGESIZE): Likewise.
7994         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7995         [__ASSUME_AT_CLKTCK]: Make code unconditional.
7996         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7998 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
8000         [BZ #14307]
8001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8002         the temporary buffer used to invoke __gethostbyname2_r,
8003         __gethostbyaddr_r and gethostbyname4_r to make room for struct
8004         host_data / struct gaih_addrtuple.
8005         * resolv/nss_dns/dns-host.c (global scope): Move definition of
8006         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8007         header file nss/nsswitch.h.
8008         * nss/nsswitch.h (global scope): Add definition of implementation
8009         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8010         resolv/nss_dns/dns-host.c).
8012 2012-07-11  Andreas Jaeger  <aj@suse.de>
8014         * po/fr.po: Update from translation team.
8016         * po/sv.po: Update from translation team
8017         * po/fr.po: Another update from translation team.
8019 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8022         for subnormals or multiply small sinh result by itself.
8023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8026 2012-07-11  David S. Miller  <davem@davemloft.net>
8028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8030 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
8032         [BZ #14347]
8033         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8034         (INTERNAL_MARK): Shift it here.
8036 2012-07-10  Marek Polacek  <polacek@redhat.com>
8038         [BZ #14151]
8039         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
8040         libc_cv_asm_global_directive with .globl.
8041         * configure: Regenerated.
8042         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8043         with .globl.
8044         * sysdeps/i386/configure: Regenerated.
8045         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8046         with .globl.
8047         * sysdeps/x86_64/configure: Regenerated.
8048         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8049         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8050         * elf/tst-unique2mod2.c: Likewise.
8051         * elf/tst-unique2mod1.c: Likewise.
8052         * elf/tst-unique1mod2.c: Likewise.
8053         * elf/tst-unique1mod1.c: Likewise.
8054         * sysdeps/s390/s390-32/sysdep.h: Likewise.
8055         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8056         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8057         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8058         * sysdeps/mach/sysdep.h: Likewise.
8059         * sysdeps/i386/sysdep.h: Likewise.
8060         * sysdeps/i386/i386-mcount.S: Likewise.
8061         * sysdeps/x86_64/_mcount.S: Likewise.
8062         * sysdeps/x86_64/sysdep.h: Likewise.
8063         * sysdeps/sh/_mcount.S: Likewise.
8064         * sysdeps/sh/sysdep.h: Likewise.
8065         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8066         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8067         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8068         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8069         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8070         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8071         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8072         * locale/localeinfo.h: Likewise.
8073         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8074         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8076 2012-07-09  Roland McGrath  <roland@hack.frob.com>
8078         [BZ #14336]
8079         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8080         system".
8081         * manual/message.texi (The Uniforum approach): Likewise.
8082         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8083         (glibc iconv Implementation): Likewise.
8085 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
8087         [BZ #14337]
8088         * math/s_clog.c (__clog): Avoid scaling a value down where that
8089         could result in underflow.
8090         * math/s_clog10.c (__clog10): Likewise.
8091         * math/s_clog10f.c (__clog10f): Likewise.
8092         * math/s_clog10l.c (__clog10l): Likewise.
8093         * math/s_clogf.c (__clogf): Likewise.
8094         * math/s_clogl.c (__clogl): Likewise.
8095         * math/libm-test.inc (clog_test): Add more tests.
8096         (clog10_test): Likewise.
8097         * sysdeps/i386/fpu/libm-test-ulps: Update.
8098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8100 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
8102         [BZ #14283]
8103         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8104         by 7 not 8 to examine high bit of fractional part.
8106         [BZ #14042]
8107         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8108         for call to __mcount_internal.
8109         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8110         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8111         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8113 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
8115         [BZ #14154]
8116         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8117         approximation for values within 0x1p-13f of an odd multiple of
8118         pi/4.
8119         * math/libm-test.inc (tan_test): Do not allow spurious underflow
8120         exception.  Add more tests.
8121         * sysdeps/i386/fpu/libm-test-ulps: Update.
8123         [BZ #6778]
8124         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8125         inputs and return -1 for them.  Do not check for +Inf in case not
8126         reachable for +Inf.
8127         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8128         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8129         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8130         and return -1 for them.  Do not check for +Inf in case not
8131         reachable for +Inf.
8132         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8133         define.
8134         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8135         and return -1 for them.  Do not check for +Inf in case not
8136         reachable for +Inf.
8137         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
8138         spurious underflow.
8139         * sysdeps/i386/fpu/libm-test-ulps: Update.
8140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8142 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
8144         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8146 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
8148         [BZ #14157]
8149         [BZ #14331]
8150         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8151         could result in spurious underflow.  Scale down values above
8152         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8153         * math/s_csqrtf.c (__csqrtf): Likewise.
8154         * math/s_csqrtl.c (__csqrtl): Likewise.
8155         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
8156         spurious underflow.
8157         * sysdeps/i386/fpu/libm-test-ulps: Update.
8158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8162         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8163         xopen-msg.sed.
8164         * catgets/xopen-msg.awk: New file.
8165         * catgets/xopen-msg.sed: Removed.
8167         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8168         po2text.sed.
8169         * intl/po2test.awk: New file.
8170         * intl/po2test.sed: Removed.
8172 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
8174         [BZ #14328]
8175         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8176         or multiply small sinh result by itself.
8177         * math/s_ctanf.c (__ctanf): Likewise.
8178         * math/s_ctanh.c (__ctanh): Likewise.
8179         * math/s_ctanhf.c (__ctanhf): Likewise.
8180         * math/s_ctanhl.c (__ctanhl): Likewise.
8181         * math/s_ctanl.c (__ctanl): Likewise.
8182         * math/libm-test.inc (ctan_test_tonearest): New function.
8183         (ctan_test_towardzero): Likewise.
8184         (ctan_test_downward): Likewise.
8185         (ctan_test_upward): Likewise.
8186         (ctanh_test_tonearest): Likewise.
8187         (ctanh_test_towardzero): Likewise.
8188         (ctanh_test_downward): Likewise.
8189         (ctanh_test_upward): Likewise.
8190         (main): Call these new functions.
8191         * sysdeps/i386/fpu/libm-test-ulps: Update.
8192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8194 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
8196         * .gitignore: Delete /ports entry.
8198 2012-07-03  Andreas Jaeger  <aj@suse.de>
8200         * po/bg.po: Update from translation team.
8201         * po/cs.po: Likewise.
8202         * po/de.po: Likewise.
8203         * po/hr.po: Likewise.
8204         * po/nl.pl: Likewise.
8205         * po/pl.po: Likewise.
8206         * po/vi.po: Likewise.
8208 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
8210         * Makeconfig [!+link] (+link-before-libc): New variable.
8211         [!+link] (+link-after-libc): Likewise.
8212         [!+link] (+link-tests): Likewise.
8213         [!+link] (+link): Define in terms of $(+link-before-libc) and
8214         $(+link-after-libc).
8215         [!+link-static] (+link-static-before-libc): New variable.
8216         [!+link-static] (+link-static-after-libc): Likewise.
8217         [!+link-static] (+link-static-tests): Likewise.
8218         [!+link-static] (+link-static): Define in terms of
8219         $(+link-static-before-libc) and $(+link-static-after-libc).
8220         [build-shared] (link-libc-before-gnulib): New variable.
8221         [build-shared] (link-libc-tests): Likewise.
8222         [build-shared] (link-libc): Define in terms of
8223         $(link-libc-before-gnulib).
8224         [!build-shared] (link-libc-tests): New variable.
8225         (link-libc-static-tests): New variable.
8226         [!gnulib] (gnulib-arch): New variable.
8227         [!gnulib] (gnulib-tests): Likewise.
8228         [!gnulib] (static-gnulib-arch): Likewise.
8229         [!gnulib] (static-gnulib-tests): Likewise.
8230         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
8231         Define with "=" instead of ":=".
8232         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
8233         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
8234         * Rules (binaries-all-notests): New variable.
8235         (binaries-all-tests): Likewise.
8236         (binaries-static-notests): Likewise.
8237         (binaries-static-tests): Likewise.
8238         (binaries-all): Define using $(binaries-all-notests) and
8239         $(binaries-all-tests).
8240         (binaries-static): Define using $(binaries-static-notests) and
8241         $(binaries-static-tests).
8242         (binaries-shared-tests): New variable.
8243         (binaries-shared-notests): Likewise.
8244         (binaries-shared): Remove variable.
8245         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8246         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8247         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8248         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8249         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8250         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8251         * elf/Makefile (sln-modules): New variable.
8252         (extra-objs): Add $(sln-modules:=.o).
8253         (ldconfig-modules): Add static-stubs.
8254         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8255         * elf/static-stubs.c: New file.
8257         [BZ #14283]
8258         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8259         by 7 not 8 to examine high bit of fractional part.  Use volatile
8260         variables when splitting into final array of floats if
8261         __FLT_EVAL_METHOD__ != 0.
8262         * math/libm-test.inc (cos_test): Add another test.
8263         (sin_test): Likewise.
8264         * sysdeps/i386/fpu/libm-test-ulps: Update.
8266         [BZ #14273]
8267         * math/libm-test.inc (cosh_test): Add more tests.
8269         * version.h (RELEASE): Set to "development".
8270         (VERSION): Set to "2.16.90".
8272 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
8274         * NEWS: Update copyright. Remove last-updated date.
8275         Mention math library bug fixes and timezone data changes.
8276         * README: Mention GNU/Hurd, x32, and HPPA support status.
8278 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
8280         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8282 2012-06-27  Andreas Jaeger  <aj@suse.de>
8284         * manual/contrib.texi (Contributors): Add Samuel Thibault.
8286 2012-06-25  Andreas Jaeger  <aj@suse.de>
8288         * sysdeps/s390/fpu/libm-test-ulps: Update.
8290 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
8291             Thomas Schwinge  <thomas@codesourcery.com>
8293         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8294         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8296         fanotify_mark.
8298 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
8300         * sysdeps/mach/start.c: Remove file.
8301         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8302         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8303         * sysdeps/sh/init-first.c: Likewise.
8305         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8306         registers for frame unwinding purposes, add CFI directives.
8307         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8308         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8309         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8310         Likewise.
8312         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8313         __fortify_fail returning.
8314         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8316         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8317         sysdeps/sh/____longjmp_chk.S.
8318         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8319         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8320         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8321         (gen-as-const-headers): Append sigaltstack-offsets.sym.
8323         * sysdeps/sh/abort-instr.h: New file.
8324         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8325         process in case exit returns.
8327         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8328         initialize the GOT register before use.
8330         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8331         calculation of ARGC > 4.
8333         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8334         meaningful names to some local labels.
8336 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
8337             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8340         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8341         (__arch_compare_and_exchange_val_16_acq): Likewise.
8342         (__arch_compare_and_exchange_val_32_acq): Likewise.
8343         (atomic_exchange_and_add): Fix gUSA sequence.
8344         (atomic_add): Likewise.
8345         (atomic_add_negative): Likewise.
8346         (atomic_add_zero): Likewise.
8347         (atomic_bit_test_set): Likewise.
8349 2012-06-22  Andreas Schwab  <schwab@redhat.com>
8351         [BZ #13579]
8352         * include/link.h (struct link_map): Add l_free_initfini.
8353         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8354         l_initfini.
8355         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8356         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8357         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8358         set.
8360 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
8362         * configure.in: Use AC_LANG_SOURCE.
8363         * configure: Regenerate.
8365 2012-06-22  Roland McGrath  <roland@hack.frob.com>
8367         * configure.in (libc_cv_localstatedir): New substituted variable.
8368         * configure: Regenerated.
8369         * config.make.in (localstatedir): New variable, substituted from
8370         libc_cv_localstatedir.
8371         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8372         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8373         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8374         * sysdeps/gnu/configure: Regenerated.
8376 2012-06-21  Jeff Law  <law@redhat.com>
8378         [BZ #14277]
8379         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8380         free.  Simplify list management for _LIBC case.
8382 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
8384         [BZ #14273]
8385         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8386         Clear sign bit of 64-bit integer value before comparing against
8387         overflow value.
8389         * sysdeps/mach/configure: Regenerated.
8391 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
8393         [BZ #14278]
8394         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8396 2012-06-21  Jeff Law  <law@redhat.com>
8398         [BZ #13882]
8399         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
8400         uint16_t for elements in the "seen" array to avoid char overflows.
8401         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8402         * elf/dl-open.c (dl_open_worker): Likewise.
8404 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
8406         * scripts/list-sources.sh: Scan PORTS for translations.
8407         * po/libc.pot: Regenerated.
8409 2012-06-21  Andreas Jaeger  <aj@suse.de>
8411         [BZ #12194]
8412         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8413         warning.
8414         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8415         * bits/byteswap-16.h (__bswap_16): Likewise.
8416         * bits/byteswap.h (__bswap_constant_16): Likewise.
8418 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
8420         [BZ #14117]
8421         * sysdeps/i386/fpu_control.h: Removed.
8422         * sysdeps/x86_64/fpu_control.h: Moved to ...
8423         * sysdeps/x86/fpu_control.h: Here.
8425         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8426         (_FPU_SETCW): Likewise.
8428 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
8430         [BZ #14117]
8431         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8432         * sysdeps/x86/fpu/bits/mathinline.h: This.
8433         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8435         [BZ #14050]
8436         [BZ #14117]
8437         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8438         functions if __x86_64__ is defined.
8440 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
8442         * string/endian.h: Add !__ASSEMBLER__ condition for including
8443         conversion interfaces.
8445 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
8447         [BZ #14241]
8448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8449         of ABS(x) in calculating zero to negative powers other than odd
8450         integers.
8451         * math/libm-test.inc (pow_test): Add more tests.
8453 2012-06-15  Andreas Jaeger  <aj@suse.de>
8455         * manual/contrib.texi (Contributors): Update entry of Liubov
8456         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8457         Machado Filho.
8459 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
8461         * string/string.h: Add __wur to GNU version of strerror_r.
8463 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
8465         [BZ #14229]
8466         * string/Makefile (tests): Add tst-strtok_r.
8467         * string/tst-strtok_r.c: New file.
8468         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8469         RAX_LP/RDX_LP on SAVE_PTR.
8471 2012-06-14  Roland McGrath  <roland@hack.frob.com>
8473         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8475 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
8477         * libm_test.inc (csqrt_test): Allow more spurious underflow
8478         exceptions.
8479         (j0_test): Likewise.
8480         (j1_test): Likewise.
8481         (y0_test): Likewise.
8482         (y1_test): Likewise.
8484 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
8486         * po/Makefile (libc.pot): Use UTF-8 charset.
8488 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
8490         [BZ #14210]
8491         Suppress sign-conversion warning from FD_SET.
8492         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8493         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8494         not unsigned long int.
8495         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8497 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
8499         [BZ #14050]
8500         [BZ #14117]
8501         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8502         __extern_always_inline instead of __extern_inline.
8503         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8504         (__signbit): Likewise.
8505         (__signbitl): Support C++ namespace.
8506         (lrintf): New inline function.
8507         (lrint): Likewise.
8508         (llrintf): Likewise.
8509         (llrint): Likewise.
8510         (fmaxf): Likewise.
8511         (fmax): Likewise.
8512         (fminf): Likewise.
8513         (fmin): Likewise.
8514         (rint): Likewise.
8515         (rintf): Likewise.
8516         (ceil): Likewise.
8517         (ceilf): Likewise.
8518         (floor): Likewise.
8519         (floorf): Likewise.
8520         (nearbyint): Likewise.
8521         (nearbyintf): Likewise.
8523 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
8525         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8526         non-default versions.
8528 2012-06-11  Roland McGrath  <roland@hack.frob.com>
8530         [BZ #14218]
8531         * manual/argp.texi (Argp): Reword argp_parse description slightly.
8533 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
8535         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8536         (FE_UPWARD, FE_DOWNWARD): Don't define.
8537         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8538         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8540         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8541         reading it.
8542         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8543         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8545 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8547         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8549         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8550         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8552 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8554         [BZ #14117]
8555         * sysdeps/i386/fpu/bits/fenv.h: Removed.
8556         * sysdeps/i386/fpu/Implies: New file.
8557         * sysdeps/x86_64/fpu/Implies: Likewise.
8558         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8559         * sysdeps/x86/fpu/bits/fenv.h: This.
8561         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8562         __SSE_MATH__.
8564 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8566         [BZ #14134]
8567         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8568         character 0xffff that matches the last element of the
8569         conversion table.
8571 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8573         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8574         fmodl commit.
8576 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8579         values higher than 25.6283.
8581 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8583         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8584         subnormal exponent extraction and add some __builtin_expect.
8585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8586         Fix for subnormal mantissa calculation.
8588 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
8590         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8591         cpu2 is -1 and errno is not ENOSYS.
8593 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
8595         [BZ #14117]
8596         * sysdeps/i386/i486/bits/string.h: Renamed to ...
8597         * sysdeps/x86/bits/string.h: This.
8598         * sysdeps/x86_64/bits/string.h: Removed.
8600         * sysdeps/i386/i486/bits/string.h: Define inline functions only
8601         if not compiling for x86-64, but compiling for >= i486.
8603         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8604         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8606         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8607         New macro from Linux kernel 3.4.0.
8608         (FP_XSTATE_MAGIC2): Likewise.
8609         (FP_XSTATE_MAGIC2_SIZE): Likewise.
8610         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8611         (struct _fpx_sw_bytes): New struct.
8612         (struct _xsave_hdr): Likewise.
8613         (struct _ymmh_state): Likewise.
8614         (struct _xstate): Likewise.
8616         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8617         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8618         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8619         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8620         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8621         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8623         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8624         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8625         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8626         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8627         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8628         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8630 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8632         [BZ #13743]
8633         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8634         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8635         (sysdep_headers): Include sys/platform/ppc.h.
8636         * sysdeps/powerpc/test-gettimebase.c: Test for
8637         __ppc_get_timebase() to catch future ISA opcode/insn changes.
8638         * manual/Makefile (appendices): Include platform.texi.
8639         * manual/contrib.texi (Contributors): Update @node pointers.
8640         * manual/maint.texi (Maintenance): Likewise.
8641         (Platform): New node.
8642         * manual/platform.texi: New file.  Document the new features.
8644 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8645             Jakub Jelinek  <jakub@redhat.com>
8647         [BZ #14188]
8648         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8649         where __builtin_expect is unavailable.
8651 2012-06-03  David S. Miller  <davem@davemloft.net>
8653         * stdlib/longlong.h: Updated from GCC.
8655 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
8657         [BZ #14042]
8658         * sysdeps/powerpc/powerpc32/mcount.c: New file.
8659         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8660         __mcount_internal.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8662         (GLIBC_2.16): Likewise.
8664 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8666         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8668 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8671         (default-abi): New variable.
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8673         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8674         variable.
8675         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8676         Likewise.
8677         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8678         Likewise.
8679         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8680         Likewise.
8682         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8683         definition.  Document in comment.
8685 2012-06-01  David S. Miller  <davem@davemloft.net>
8687         * stdlib/longlong.h: Updated from GCC.
8689 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8691         [BZ #14117]
8692         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8693         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8694         sys/debugreg.h sys/io.h here.
8695         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8696         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8697         sys/io.h.
8698         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8699         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8700         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8701         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8702         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8703         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8705         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8706         Define only if __x86_64__ is defined.
8708 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
8710         [BZ #14048]
8711         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8712         Use int64_t for variable i.
8713         * math/libm-test.inc (fmod_test): Add more tests.
8715         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8716         z computation is not scheduled after fetestexcept.
8717         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8718         Use math_force_eval instead of asm to ensure calculation scheduled
8719         before exception test.
8720         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8721         Ensure a1 + u.d computation is not scheduled after fetestexcept.
8723 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
8725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8726         computation is not scheduled after fetestexcept.
8728 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
8730         [BZ #14117]
8731         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8732         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8734 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8736         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8737         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8739 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8741         [BZ #14117]
8742         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8743         <bits/wordsize.h>.
8744         (__WCHAR_MIN): Support __WORDSIZE == 64.
8745         (__WCHAR_MAX): Likewise.
8747         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8748         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8750         [BZ #14183]
8751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8752         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8754         [BZ #14117]
8755         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8756         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8758         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8759         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8761         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8762         Defined to 1 if __x86_64__ isn't defined.
8763         (_STAT_VER_LINUX_OLD): New.
8764         (st_atime): Remove duplicate.
8765         (st_mtime): Likewise.
8766         (st_ctime): Likewise.
8768 2012-05-31  David S. Miller  <davem@davemloft.net>
8770         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8771         entries.
8773 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
8775         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8776         gen-libm-test.pl.
8778         [BZ #14132]
8779         * elf/dl-reloc.c: Include <_itoa.h>.
8780         (_dl_reloc_bad_type): Remove use of INTUSE.
8781         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8782         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8783         * stdio-common/psiginfo.c (psiginfo): Likewise.
8784         * stdio-common/psignal.c (psignal): Likewise.
8785         * string/strsignal.c (strsignal): Likewise.
8786         * include/signal.h (_sys_siglist): Declare hidden proto.
8787         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
8788         INTVARDEF with libc_hidden_data_def.
8789         * stdio-common/itoa-udigits.c: Likewise.
8790         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8791         (_itoa_lower_digits_internal): Remove declaration.
8792         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8793         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8794         (_sys_sigabbrev_internal): Remove aliases.
8795         (_sys_siglist): Define hidden alias.
8797 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
8799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8800         bits/sysctl.h.
8802 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
8804         [BZ #14117]
8805         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8806         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8808         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8809         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8810         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8811         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8813         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8815         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8816         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8817         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8819         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8820         with __addr.
8821         (insw): Likewise.
8822         (insl): Likewise.
8823         (outsb): Likewise.
8824         (outsw): Likewise.
8825         (outsl): Likewise.
8827         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8828         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8829         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8831         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8832         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8833         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8834         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8835         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8836         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8838         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8839         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8841         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8842         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8844         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8846         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8848         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8849         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8850         to ...
8851         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8853         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8854         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8855         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8857         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8858         for x86-64.
8859         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8861 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
8863         * math/math.h (M_El): Use two more decimal places.
8864         (M_LOG2El): Likewise.
8865         (M_LOG10El): Likewise.
8866         (M_LN2l): Likewise.
8867         (M_LN10l): Likewise.
8868         (M_PIl): Likewise.
8869         (M_PI_2l): Likewise.
8870         (M_PI_4l): Likewise.
8871         (M_1_PIl): Likewise.
8872         (M_2_PIl): Likewise.
8873         (M_2_SQRTPIl): Likewise.
8874         (M_SQRT2l): Likewise.
8875         (M_SQRT1_2l): Likewise.
8877 2012-05-31  David S. Miller  <davem@davemloft.net>
8879         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8880         values between float registers.
8881         * sysdeps/sparc/sparc64/memset.S: Likewise.
8882         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8884 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
8886         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8887         -D_FORTIFY_SOURCE=1.
8888         (CPPFLAGS-tst-longjmp_chk.c): Define.
8889         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8890         (CPPFLAGS-tst-longjmp_chk2.c): Define.
8891         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8892         CFLAGS-tst-wchar-h.c.
8894 2012-05-31  Marek Polacek  <polacek@redhat.com>
8896         [BZ #14132]
8897         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8898         __endmntent_internal): Remove declaration.
8899         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8900         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8901         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8903 2012-05-30  David S. Miller  <davem@davemloft.net>
8905         * sysdeps/sparc/sparc32/soft-fp/q_util.c
8906         (___Q_simulate_exceptions): Use real FP ops rather than writing
8907         into the %fsr.
8908         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8909         Likewise.
8911 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8913         [BZ #14117]
8914         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8915         * sysdeps/x86/bits/xtitypes.h: This.
8917         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8918         * sysdeps/x86/bits/wordsize.h: This.
8920         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8921         * sysdeps/x86/bits/huge_vall.h: This.
8923         * sysdeps/i386/bits/select.h: Removed.
8924         * sysdeps/x86_64/bits/select.h: Renamed to ...
8925         * sysdeps/x86/bits/select.h: This.
8927         * sysdeps/i386/bits/setjmp.h: Removed.
8928         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8929         * sysdeps/x86/bits/setjmp.h: This.
8931         * sysdeps/i386/bits/mathdef.h: Removed.
8932         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8933         * sysdeps/x86/bits/mathdef.h: This.
8935 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
8937         [BZ #14132]
8938         * include/sys/socket.h (__connect_internal)
8939         (__libc_sa_len_internal): Remove declaration.
8940         (__connect, __libc_sa_len): Declare hidden_proto.
8941         (SA_LEN): Remove use of INTUSE.
8942         * socket/connect.c: Add libc_hidden_def.
8943         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8944         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8945         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8946         alias.
8947         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8949         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8950         of adding _internal alias.
8952 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8954         [BZ #14117]
8955         * sysdeps/i386/bits/link.h: Removed.
8956         * sysdeps/i386/bits/linkmap.h: Likewise.
8957         * sysdeps/x86_64/bits/link.h: Renamed to ...
8958         * sysdeps/x86/bits/link.h: This.
8959         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8960         * sysdeps/x86/bits/linkmap.h: This.
8962         * sysdeps/i386/bits/endian.h: Removed.
8963         * sysdeps/x86_64/bits/endian.h: Renamed to ...
8964         * sysdeps/x86/bits/endian.h: This.
8966         * sysdeps/i386/bits/byteswap.h: Removed.
8967         * sysdeps/i386/bits/byteswap-16.h: Likewise.
8968         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8969         * sysdeps/x86/bits/byteswap.h: This.
8970         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8971         * sysdeps/x86/bits/byteswap-16.h: This.
8972         * sysdeps/i386/Implies: Add x86.
8973         * sysdeps/x86_64/Implies: Likewise.
8975 2012-05-30  David S. Miller  <davem@davemloft.net>
8977         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8978         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8979         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8980         (FP_TRAPPING_EXCEPTIONS): Define.
8981         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8982         (FP_TRAPPING_EXCEPTIONS): Define.
8983         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8984         subnormals only when inexact has been signalled or underflow
8985         exceptions are enabled.
8986         (_FP_PACK_CANONICAL): Likewise.
8988 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
8990         [BZ #14183]
8991         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8992         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8994 2012-05-30  Richard Henderson  <rth@twiddle.net>
8996         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8997         with #ifndef NOT_IN_libc.
8999         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
9000         marked to avoid plt entry.
9002 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
9004         [BZ #14112]
9005         * Makeconfig (default-abi): New macro.
9006         (abi-includes): Likewise.
9007         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
9008         $(abi-$(default-abi)-lib-soname) for soname if defined.
9009         ($(common-objpfx)gnu/lib-names.stmp): Generate from
9010         abi-variants.
9011         * Makefile (installed-stubs): Likewise.
9012         * include/stubs-biarch.h: Removed.
9013         * scripts/lib-names.awk: Only handle one library at a time.
9014         * scripts/soversions.awk: Remove WORDSIZE support.
9015         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9016         entries.
9017         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9018         Removed.
9019         (syscall-list-default-condition): Likewise.
9020         (syscall-list-default-condition): Likewise.
9021         (syscall-list-includes): Likewise.
9022         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9023         syscall-list-* with abi-*.  Handle undefined abi-variants.
9024         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9025         * sysdeps/unix/sysv/linux/i386/Implies: New file.
9026         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9027         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9028         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9029         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9030         Removed.
9031         (syscall-list-32-options): Likewise.
9032         (syscall-list-32-condition): Likewise.
9033         (syscall-list-64-options): Likewise.
9034         (syscall-list-64-condition): Likewise.
9035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9036         macro.
9037         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9038         Renamed to ...
9039         (abi-*): This.
9040         (abi-64-ld-soname): New macro.
9041         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9042         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9043         Renamed to ...
9044         (abi-*): This.
9045         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9046         * sysdeps/x86_64/x32/shlib-versions: Likewise.
9048 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
9050         * sysdeps/unix/sysv/linux/kernel-features.h
9051         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9052         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9053         include <kernel-features.h>.
9054         [!__NR_ftruncate64]: Remove conditional code.
9055         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9056         [__NR_ftruncate64]: Make code unconditional.
9057         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9058         * sysdeps/unix/sysv/linux/truncate64.c: Do not
9059         include <kernel-features.h>.
9060         [!__NR_ftruncate64]: Remove conditional code.
9061         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9062         [__NR_ftruncate64]: Make code unconditional.
9063         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9065         include <kernel-features.h>.
9066         [!__NR_ftruncate64]: Remove conditional code.
9067         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9068         [__NR_ftruncate64]: Make code unconditional.
9069         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9071         include <kernel-features.h>.
9072         [!__NR_ftruncate64]: Remove conditional code.
9073         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9074         [__NR_ftruncate64]: Make code unconditional.
9075         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9077         * configure.in (libc_cv_fpie): Weaken to a compile test using
9078         LIBC_TRY_CC_OPTION.
9079         * configure: Regenerated.
9081 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9087         Refreshed.
9088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9094         Refreshed.
9096 2012-05-27  David S. Miller  <davem@davemloft.net>
9098         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9099         (___Q_zero): New.
9100         (__Q_simulate_exceptions): Return void.  Change to simulate
9101         exceptions by writing into the %fsr.
9102         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9103         (__Qp_handle_exceptions): Likewise.
9104         (numbers): Delete.
9105         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9106         __Qp_handle_exceptions.
9107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9108         __Qp_handle_exceptions.
9109         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9110         as unused and give dummy FP_RND_NEAREST initializer.
9111         (FP_INHIBIT_RESULTS): Define.
9112         (___Q_simulate_exceptions): Update declaration.
9113         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9114         formatting.
9115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9116         as unused and give dummy FP_RND_NEAREST initializer.
9117         (__Qp_handle_exceptions): Update declaration.
9118         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9119         formatting.
9121 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
9123         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9124         the temporary FPU control word.
9125         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9126         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9127         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9128         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9129         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9130         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9131         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9132         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9133         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9134         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9135         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9137 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9139         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9140         fields.
9142 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
9144         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9145         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9146         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9147         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9148         Likewise.
9149         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9150         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9151         Likewise.
9153 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
9155         * po/h.po: Update from translation team.
9157 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
9159         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9161         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9162         handling of denormals.
9163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9164         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9165         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9166         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9167         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9168         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9170         Likewise.
9172 2012-05-26  Marek Polacek  <polacek@redhat.com>
9174         [BZ #14152]
9175         * math/libm-test.inc (fma_test): Don't always expect underflow
9176         exception.
9178 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9180         [BZ #12416]
9181         * elf/tst-execstack.c: Include stackinfo.h.
9182         (do_test): Adjust test case to ensure that pthread_getattr_np
9183         behaviour remains the same after marking stack executable.
9185 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
9187         * sysdeps/unix/sysv/linux/kernel-features.h
9188         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9189         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9190         kernel-features.h.
9191         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9192         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9193         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9194         kernel-features.h.
9195         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9196         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9198 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
9200         * configure.in: Define the default includes to being none.
9201         * configure: Regenerated.
9203 2012-05-25  Roland McGrath  <roland@hack.frob.com>
9205         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9206         * sysdeps/x86_64/setjmp.S: Likewise.
9207         * sysdeps/i386/bsd-setjmp.S: Likewise.
9208         * sysdeps/i386/bsd-_setjmp.S: Likewise.
9209         * sysdeps/i386/setjmp.S: Likewise.
9210         * sysdeps/i386/__longjmp.S: Likewise.
9211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9212         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9214         * include/stap-probe.h: New file.
9215         * configure.in: Handle --enable-systemtap.
9216         * configure: Regenerated.
9217         * config.h.in (USE_STAP_PROBE): New #undef.
9218         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9219         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9220         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9222 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
9224         [BZ #13717]
9225         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9226         to 2.4.0 where earlier.
9227         * sysdeps/unix/sysv/linux/configure: Regenerated.
9228         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9229         <kernel-features.h>.
9230         [__ASSUME_32BITUIDS]: Make code unconditional.
9231         [!__ASSUME_32BITUIDS]: Remove conditional code.
9232         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9233         <kernel-features.h>.
9234         [__ASSUME_32BITUIDS]: Make code unconditional.
9235         [!__ASSUME_32BITUIDS]: Remove conditional code.
9236         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9237         [__ASSUME_32BITUIDS]: Make code unconditional.
9238         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9239         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9240         <kernel-features.h>.
9241         [__ASSUME_32BITUIDS]: Make code unconditional.
9242         [!__ASSUME_32BITUIDS]: Remove conditional code.
9243         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9244         <kernel-features.h>.
9245         [__ASSUME_32BITUIDS]: Make code unconditional.
9246         [!__ASSUME_32BITUIDS]: Remove conditional code.
9247         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9248         <kernel-features.h>.
9249         [__ASSUME_32BITUIDS]: Make code unconditional.
9250         [!__ASSUME_32BITUIDS]: Remove conditional code.
9251         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9252         <kernel-features.h>.
9253         [__ASSUME_32BITUIDS]: Make code unconditional.
9254         [!__ASSUME_32BITUIDS]: Remove conditional code.
9255         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9256         <kernel-features.h>.
9257         [__ASSUME_32BITUIDS]: Make code unconditional.
9258         [!__ASSUME_32BITUIDS]: Remove conditional code.
9259         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9260         <kernel-features.h>.
9261         [__ASSUME_32BITUIDS]: Make code unconditional.
9262         [!__ASSUME_32BITUIDS]: Remove conditional code.
9263         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9264         <kernel-features.h>.
9265         [__ASSUME_32BITUIDS]: Make code unconditional.
9266         [!__ASSUME_32BITUIDS]: Remove conditional code.
9267         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9268         <kernel-features.h>.
9269         [__ASSUME_32BITUIDS]: Make code unconditional.
9270         [!__ASSUME_32BITUIDS]: Remove conditional code.
9271         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9272         <kernel-features.h>.
9273         [__ASSUME_32BITUIDS]: Make code unconditional.
9274         [!__ASSUME_32BITUIDS]: Remove conditional code.
9275         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9276         <kernel-features.h>.
9277         [__ASSUME_32BITUIDS]: Make code unconditional.
9278         [!__ASSUME_32BITUIDS]: Remove conditional code.
9279         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9280         <kernel-features.h>.
9281         [__NR_setresgid] (__setresgid): Do not declare.
9282         [__ASSUME_32BITUIDS]: Make code unconditional.
9283         [!__ASSUME_32BITUIDS]: Remove conditional code.
9284         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9285         <kernel-features.h>.
9286         [__NR_setresuid] (__setresuid): Do not declare.
9287         [__ASSUME_32BITUIDS]: Make code unconditional.
9288         [!__ASSUME_32BITUIDS]: Remove conditional code.
9289         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9290         <kernel-features.h>.
9291         [__ASSUME_32BITUIDS]: Make code unconditional.
9292         [!__ASSUME_32BITUIDS]: Remove conditional code.
9293         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9294         <kernel-features.h>.
9295         [__ASSUME_32BITUIDS]: Make code unconditional.
9296         [!__ASSUME_32BITUIDS]: Remove conditional code.
9297         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9298         <kernel-features.h>.
9299         [__ASSUME_32BITUIDS]: Make code unconditional.
9300         [!__ASSUME_32BITUIDS]: Remove conditional code.
9301         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9302         <kernel-features.h>.
9303         [__ASSUME_32BITUIDS]: Make code unconditional.
9304         [!__ASSUME_32BITUIDS]: Remove conditional code.
9305         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9306         <kernel-features.h>.
9307         [__ASSUME_32BITUIDS]: Make code unconditional.
9308         [!__ASSUME_32BITUIDS]: Remove conditional code.
9309         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9310         <kernel-features.h>.
9311         [__ASSUME_32BITUIDS]: Make code unconditional.
9312         [!__ASSUME_32BITUIDS]: Remove conditional code.
9313         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9314         <kernel-features.h>.
9315         [__ASSUME_32BITUIDS]: Make code unconditional.
9316         [!__ASSUME_32BITUIDS]: Remove conditional code.
9317         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9318         <kernel-features.h>.
9319         [__ASSUME_32BITUIDS]: Make code unconditional.
9320         [!__ASSUME_32BITUIDS]: Remove conditional code.
9321         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9322         <kernel-features.h>.
9323         [__ASSUME_32BITUIDS]: Make code unconditional.
9324         [!__ASSUME_32BITUIDS]: Remove conditional code.
9325         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9326         <kernel-features.h>.
9327         [__ASSUME_32BITUIDS]: Make code unconditional.
9328         [!__ASSUME_32BITUIDS]: Remove conditional code.
9329         * sysdeps/unix/sysv/linux/kernel-features.h
9330         (__ASSUME_SETRESUID_SYSCALL): Remove.
9331         (__ASSUME_SETRESGID_SYSCALL): Likewise.
9332         (__ASSUME_32BITUIDS): Likewise.
9333         (__ASSUME_LDT_WORKS): Likewise.
9334         (__ASSUME_O_DIRECTORY): Likewise.
9335         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9336         architecture but not kernel version.
9337         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9338         (__ASSUME_MMAP2_SYSCALL): Likewise.
9339         (__ASSUME_STAT64_SYSCALL): Likewise.
9340         (__ASSUME_IPC64): Likewise.
9341         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9342         <kernel-features.h>.
9343         [__ASSUME_32BITUIDS]: Make code unconditional.
9344         [!__ASSUME_32BITUIDS]: Remove conditional code.
9345         * sysdeps/unix/sysv/linux/opendir.c: Do not include
9346         <kernel-features.h>.
9347         [__ASSUME_O_DIRECTORY]: Make code unconditional.
9348         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9349         132096]: Remove conditional code.
9350         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9351         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9352         <kernel-features.h>.
9353         [__ASSUME_32BITUIDS]: Make code unconditional.
9354         [!__ASSUME_32BITUIDS]: Remove conditional code.
9355         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9356         <kernel-features.h>.
9357         [__ASSUME_32BITUIDS]: Make code unconditional.
9358         [!__ASSUME_32BITUIDS]: Remove conditional code.
9359         * sysdeps/unix/sysv/linux/setegid.c: Do not include
9360         <kernel-features.h>.
9361         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9362         unconditional.
9363         (__setresgid): Do not declare.
9364         [__ASSUME_32BITUIDS]: Make code unconditional.
9365         [!__ASSUME_32BITUIDS]: Remove conditional code.
9366         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9367         <kernel-features.h>.
9368         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9369         unconditional.
9370         (__setresuid): Do not declare.
9371         [__ASSUME_32BITUIDS]: Make code unconditional.
9372         [!__ASSUME_32BITUIDS]: Remove conditional code.
9373         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9374         <kernel-features.h>.
9375         [__ASSUME_32BITUIDS]: Make code unconditional.
9376         [!__ASSUME_32BITUIDS]: Remove conditional code.
9377         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9378         <kernel-features.h>.
9379         [__ASSUME_32BITUIDS]: Make code unconditional.
9380         [!__ASSUME_32BITUIDS]: Remove conditional code.
9382 2012-05-25  Richard Henderson  <rth@twiddle.net>
9384         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9385         dl_hwcap to ifunc resolver.
9386         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9387         elf_ifunc_invoke.
9388         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9389         dl_hwcap to ifunc resolver.
9390         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9392 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9394         [BZ #14153]
9395         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9396         for |x| <= 2**-26, not 2**-57.
9397         * math/libm-test.inc (acos_test): Do not allow spurious underflow
9398         exception.
9400 2012-05-24  Jeff Law  <law@redhat.com>
9402         * stdio-common/Makefile (tests): Add bug25.
9403         * stdio-common/bug25.c: New test.
9405 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9407         [BZ #13576]
9408         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9409         multiple of MALLOC_ALIGNMENT in size.
9410         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9412 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9414         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9415         Require >= 256.
9416         (FILENAME_MAX): Use macro-int-constant.
9417         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
9418         (_IOFBF): Use macro-int-constant.
9419         (_IOLBF): Likewise.
9420         (_IONBF): Likewise.
9421         (SEEK_CUR): Likewise.
9422         (SEEK_END): Likewise.
9423         (SEEK_SET): Likewise.
9424         (TMP_MAX): Likewise.
9425         (EOF): Use macro-int-constant.  Require < 0.
9426         (NULL): Use macro-constant.  Require == 0.
9427         (stdin): Require type to be FILE *.
9428         (stdout): Likewise.
9429         (stderr): Likewise.
9430         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9431         macro-int-constant.
9432         (EXIT_SUCCESS): Likewise.
9433         (NULL): Use macro-constant.  Require == 0.
9434         (RAND_MAX): Use macro-int-constant.
9435         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9436         [C99-based standards] (strtof): Require function.
9437         [C99-based standards] (strtold): Likewise.
9438         [C99-based standards] (strtoll): Likewise.
9439         [C99-based standards] (strtoull): Likewise.
9440         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9441         [ISO || ISO99 || ISO11] (limits.h): Likewise.
9442         [ISO || ISO99 || ISO11] (math.h): Likewise.
9443         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9444         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9445         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9447 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
9449         [BZ #14132]
9450         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9451         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9452         * intl/dgettext.c (DCGETTEXT): Likewise.
9453         * intl/gettext.c (DCGETTEXT): Likewise.
9454         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9455         * posix/regex_internal.h (gettext): Likewise.
9456         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9457         Remove declaration.
9458         * include/argz.h (__argz_count_internal)
9459         (__argz_stringify_internal): Remove declaration.
9460         (__argz_count, __argz_stringify): Declare hidden proto.
9461         * intl/dcgettext.c: Remove use of INTDEF.
9462         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9463         * string/argz-stringify.c: Likewise.
9464         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9465         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9466         Declare hidden proto.
9467         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9468         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9469         Declare hidden proto.
9470         * include/stdio.h (__asprintf_internal): Don't declare.
9471         (__asprintf): Don't define as macro.  Declare hidden proto.
9472         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9473         (__fsetlocking): Declare hidden proto.
9474         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9475         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9476         hidden proto.
9477         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9478         (_IO_setlinebuf): Remove use of INTUSE.
9479         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9480         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9481         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9482         Remove declaration.
9483         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9484         (_IO_do_flush): Remove use of INTUSE.
9485         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9486         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9487         (_IO_adjust_column, _IO_least_wmarker)
9488         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9489         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9490         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9491         (_IO_default_doallocate, _IO_wdefault_doallocate)
9492         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9493         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9494         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9495         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9496         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9497         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9498         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9499         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9500         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9501         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9502         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9503         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9504         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9505         proto.
9506         (_IO_flush_all_internal, _IO_adjust_column_internal)
9507         (_IO_default_uflow_internal, _IO_default_finish_internal)
9508         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9509         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9510         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9511         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9512         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9513         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9514         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9515         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9516         (_IO_file_close_internal, _IO_file_close_it_internal)
9517         (_IO_file_underflow_internal, _IO_file_overflow_internal)
9518         (_IO_file_init_internal, _IO_file_attach_internal)
9519         (_IO_file_fopen_internal, _IO_file_read_internal)
9520         (_IO_file_sync_internal, _IO_file_seek_internal)
9521         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9522         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9523         (_IO_str_underflow_internal, _IO_str_overflow_internal)
9524         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9525         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9526         (_IO_list_all_internal, _IO_link_in_internal)
9527         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9528         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9529         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9530         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9531         (_IO_do_write_internal, _IO_padn_internal)
9532         (_IO_getline_info_internal, _IO_getline_internal)
9533         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9534         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9535         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9536         (_IO_vfscanf_internal, _IO_vfprintf_internal)
9537         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9538         (_IO_init_internal, _IO_un_link_internal): Don't declare.
9539         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9540         with libc_hidden_ver, remove use of INTUSE.
9541         * libio/genops.c: Likewise.
9542         * libio/freopen.c: Likewise.
9543         * libio/freopen64.c: Likewise.
9544         * libio/iofclose.c: Likewise.
9545         * libio/iofdopen.c: Likewise.
9546         * libio/iofflush.c: Likewise.
9547         * libio/iofflush_u.c: Likewise.
9548         * libio/iofgets.c: Likewise.
9549         * libio/iofgets_u.c: Likewise.
9550         * libio/iofopen.c: Likewise.
9551         * libio/iofopncook.c: Likewise.
9552         * libio/iofread.c: Likewise.
9553         * libio/iofread_u.c: Likewise.
9554         * libio/ioftell.c: Likewise.
9555         * libio/iofwrite.c: Likewise.
9556         * libio/iogetline.c: Likewise.
9557         * libio/iogets.c: Likewise.
9558         * libio/iogetwline.c: Likewise.
9559         * libio/iopadn.c: Likewise.
9560         * libio/iopopen.c: Likewise.
9561         * libio/ioseekoff.c: Likewise.
9562         * libio/ioseekpos.c: Likewise.
9563         * libio/iosetbuffer.c: Likewise.
9564         * libio/iosetvbuf.c: Likewise.
9565         * libio/ioungetc.c: Likewise.
9566         * libio/ioungetwc.c: Likewise.
9567         * libio/iovdprintf.c: Likewise.
9568         * libio/iovsprintf.c: Likewise.
9569         * libio/iovsscanf.c: Likewise.
9570         * libio/memstream.c: Likewise.
9571         * libio/obprintf.c: Likewise.
9572         * libio/oldfileops.c: Likewise.
9573         * libio/oldiofclose.c: Likewise.
9574         * libio/oldiofdopen.c: Likewise.
9575         * libio/oldiofopen.c: Likewise.
9576         * libio/oldiopopen.c: Likewise.
9577         * libio/oldstdfiles.c: Likewise.
9578         * libio/putc.c: Likewise.
9579         * libio/setbuf.c: Likewise.
9580         * libio/setlinebuf.c: Likewise.
9581         * libio/stdfiles.c: Likewise.
9582         * libio/strops.c: Likewise.
9583         * libio/vasprintf.c: Likewise.
9584         * libio/vscanf.c: Likewise.
9585         * libio/vsnprintf.c: Likewise.
9586         * libio/vswprintf.c: Likewise.
9587         * libio/wfiledoalloc.c: Likewise.
9588         * libio/wfileops.c: Likewise.
9589         * libio/wgenops.c: Likewise.
9590         * libio/wmemstream.c: Likewise.
9591         * libio/wstrops.c: Likewise.
9592         * libio/__fpurge.c: Likewise.
9593         * libio/__fsetlocking.c: Likewise.
9594         * assert/assert.c: Likewise.
9595         * debug/fgets_chk.c: Likewise.
9596         * debug/fgets_u_chk.c: Likewise.
9597         * debug/fread_chk.c: Likewise.
9598         * debug/fread_u_chk.c: Likewise.
9599         * debug/gets_chk.c: Likewise.
9600         * debug/obprintf_chk.c: Likewise.
9601         * debug/vasprintf_chk.c: Likewise.
9602         * debug/vdprintf_chk.c: Likewise.
9603         * debug/vsnprintf_chk.c: Likewise.
9604         * debug/vsprintf_chk.c: Likewise.
9605         * malloc/mtrace.c: Likewise.
9606         * misc/error.c: Likewise.
9607         * misc/syslog.c: Likewise.
9608         * stdio-common/asprintf.c: Likewise.
9609         * stdio-common/fxprintf.c: Likewise.
9610         * stdio-common/getw.c: Likewise.
9611         * stdio-common/isoc99_fscanf.c: Likewise.
9612         * stdio-common/isoc99_scanf.c: Likewise.
9613         * stdio-common/isoc99_vfscanf.c: Likewise.
9614         * stdio-common/isoc99_vscanf.c: Likewise.
9615         * stdio-common/isoc99_vsscanf.c: Likewise.
9616         * stdio-common/printf-prs.c: Likewise.
9617         * stdio-common/printf_fp.c: Likewise.
9618         * stdio-common/printf_fphex.c: Likewise.
9619         * stdio-common/printf_size.c: Likewise.
9620         * stdio-common/putw.c: Likewise.
9621         * stdio-common/scanf.c: Likewise.
9622         * stdio-common/sprintf.c: Likewise.
9623         * stdio-common/tmpfile.c: Likewise.
9624         * stdio-common/vfprintf.c: Likewise.
9625         * stdio-common/vfscanf.c: Likewise.
9626         * stdlib/strfmon_l.c: Likewise.
9627         * sunrpc/openchild.c: Likewise.
9628         * sunrpc/xdr_stdio.c: Likewise.
9629         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9630         * sysdeps/mach/hurd/tmpfile.c: Likewise.
9632 2012-05-24  Roland McGrath  <roland@hack.frob.com>
9634         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9636         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9637         in the third column, to generate for the shared library an IFUNC
9638         that uses _dl_vdso_vsym.
9639         * Makerules (COMPILE.c, compile-stdin.c): New variables.
9640         * Makeconfig (object-suffixes-noshared): New variable.
9642         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9643         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9644         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9645         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9647         [BZ #14132]
9648         * include/sys/time.h (__gettimeofday): Remove macro.
9649         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9650         * time/gettimeofday.c (__gettimeofday): Remove #undef.
9651         Remove INTDEF.
9652         (__gettimeofday): Add libc_hidden_def.
9653         (gettimeofday): Add libc_hidden_weak.
9654         * sysdeps/mach/gettimeofday.c: Likewise.
9655         * sysdeps/posix/gettimeofday.c: Likewise.
9656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9657         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9658         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9659         (__gettimeofday_internal): Remove strong_alias.
9660         (__gettimeofday): Add libc_hidden_def.
9661         (gettimeofday): Add libc_hidden_weak.
9662         * sysdeps/unix/syscalls.list (gettimeofday):
9663         Remove __gettimeofday_internal alias.
9665 2012-05-24  Daniel Jacobowitz  <drow@false.org>
9666             H.J. Lu  <hongjiu.lu@intel.com>
9668         [BZ #12495]
9669         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9670         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9671         (largebin_index_32_big): New.
9672         (largebin_index): Use it for 16-byte alignment.
9673         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
9674         correction with front_misalign.
9676 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9680         Likewise.
9681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9688         Likewise.
9689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9690         Likewise.
9691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9692         Likewise.
9693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9696         Likewise.
9697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9698         Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9700         Likewise.
9701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9702         Likewise.
9704         * scripts/data/c++-types-x32-linux-gnu.data: New file.
9705         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9707 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
9709         [BZ #10846]
9710         [BZ #14036]
9711         * math/libm-test.inc (exp_test): Add test from bug 14036.
9712         (pow_test): Add test from bug 10846.
9714         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9715         and other flags.
9716         (special_function): Do not include flags in test name.
9717         (parse_args): Likewise.
9718         * sysdeps/i386/fpu/libm-test-ulps: Update.
9719         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9720         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9721         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9724         * math/gen-libm-test.pl (%beautify): Add entries for underflow
9725         exceptions.
9726         * math/libm-test.inc ("Philosophy"): Update comment about
9727         exception testing.
9728         (UNDERFLOW_EXCEPTION): New macro.
9729         (UNDERFLOW_EXCEPTION_OK): Likewise.
9730         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9731         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9732         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9733         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9734         (INVALID_EXCEPTION_OK): Update value.
9735         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9736         (OVERFLOW_EXCEPTION_OK): Likewise.
9737         (IGNORE_ZERO_INF_SIGN): Likewise.
9738         (test_exceptions): Handle underflow exceptions.
9739         (acos_test): Update for underflow exception expectations.
9740         (cexp_test): Likewise.
9741         (clog_test): Likewise.
9742         (clog10_test): Likewise.
9743         (csqrt_test): Likewise.
9744         (ctan_test): Likewise.
9745         (ctanh_test): Likewise.
9746         (exp_test): Likewise.
9747         (exp10_test): Likewise.
9748         (exp2_test): Likewise.
9749         (expm1_test): Likewise.
9750         (fma_test): Likewise.
9751         (j0_test): Likewise.
9752         (jn_test): Likewise.
9753         (nexttoward_test): Likewise.
9754         (pow_test): Likewise.
9755         (scalbn_test): Likewise.
9756         (scalbln_test): Likewise.
9757         (tan_test): Likewise.
9758         (y1_test): Likewise.
9759         * sysdeps/i386/fpu/libm-test-ulps: Update.
9760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762 2012-05-23  David S. Miller  <davem@davemloft.net>
9764         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9765         (__libc_sigaction): Remove unused local variables.
9767 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9769         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9771 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
9773         mktime: avoid signed integer overflow
9774         * time/mktime.c (__mktime_internal): Do not mishandle the case
9775         where diff == INT_MIN.
9777         mktime: simplify computation of average
9778         * time/mktime.c (ranged_convert): Use new time_t_avg function
9779         instead of rolling our own (probably-slower) code.
9781         mktime: do not assume signed right shift propagates sign bit
9782         * time/mktime.c (isdst_differ): New static function.
9783         (__mktime_internal): No need to normalize tm_isdst now.
9784         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9785         tm_isdst values.
9787         mktime: merge another wrapv change from gnulib
9788         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9789         from some compilers.
9791         mktime: remove incorrect attempt at unusual arithmetics
9792         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9793         The code didn't really work on such machines anyway.
9794         (TYPE_MINIMUM): Assume two's complement.
9795         (twos_complement_arithmetic): Verify that long_int and time_t
9796         are two's complement (or unsigned, in the latter case).
9798         mktime: check signed shifts on long_int and time_t, too
9799         * time/mktime.c (SHR): Check that shifts work as desired
9800         on the types long_int and time_t too, as SHR is used on
9801         such types.
9803         mktime: do not assume 'long' is wide enough
9804         * time/mktime.c (verify): Move decl up.
9805         (long_int): New type.
9806         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9807         to remove assumption in the code that 'long' is wide enough to
9808         store year values.  This assumption is not true on x32 and on
9809         some non-glibc platforms.
9811         mktime: merge wrapv change from gnulib
9812         * time/mktime.c (WRAPV): New macro.
9813         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9814         (guess_time_tm, __mktime_internal): Do not assume that signed
9815         integer overflow wraps around; modern compilers generate code
9816         where this assumption is no longer valid.
9818 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9820         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9821         Replace "jmp L(pseudo_end)" with "ret".
9822         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9823         Likewise.
9825 2012-05-23  Andreas Jaeger  <aj@suse.de>
9827         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9828         * sysdeps/unix/sysv/linux/poll.c: Remove file.
9830 2012-05-23  Andreas Jaeger  <aj@suse.de>
9831             Maximilian Attems  <max@stro.at>
9833         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9834         New macros.
9836 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
9838         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9839         code so that pseudo_end is just ret and the stack pointer is
9840         correct also for static library in error case.
9842 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
9844         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9845         move to syscalls.list.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9851         * manual/install.texi (Running make install): Do not mention Linux
9852         kernel version for which pt_chown is not needed.
9853         (Linux): Do not mention problems with nscd with 2.0 kernels.
9854         * INSTALL: Regenerated.
9856 2012-05-23  Andreas Jaeger  <aj@suse.de>
9858         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9859         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9860         macro.
9861         * sysdeps/unix/sysv/linux/s390/bits/mman.h
9862         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9863         * sysdeps/unix/sysv/linux/sh/bits/mman.h
9864         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9865         * sysdeps/unix/sysv/linux/i386/bits/mman.h
9866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9867         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9868         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9869         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9870         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9871         * sysdeps/unix/sysv/linux/bits/in.h
9872         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9874 2012-05-22  Roland McGrath  <roland@hack.frob.com>
9876         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9877         (PREPARE_VERSION): Just use assert instead, it will be elided
9878         under [NDEBUG] anyway.
9880 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9882         * sysdeps/unix/sysv/linux/Makefile: Include
9883         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9884         (sysdep_routines): Remove sysctl.
9885         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9886         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9887         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9888         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9889         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9891 2012-05-22  Andreas Jaeger  <aj@suse.de>
9893         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9894         that pseudo_end is just ret and the stack pointer is correct also
9895         for static library in error case.
9897 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9899         [BZ #14122]
9900         * nss/nsswitch.c (defconfig_entries): New variable.
9901         (__nss_database_lookup): Don't leak defconfig entries.
9902         (nss_parse_service_list): Don't leak on error paths.
9903         (free_database_entries): New function.
9904         (free_defconfig): New function.
9905         (free_mem): Move common code to free_database_entries.
9907 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9909         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9910         Add arch_prctl.
9911         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9913         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9914         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9916         New macro.
9917         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9918         (INTERNAL_SYSCALL_TYPES): Likewise.
9919         (LOAD_ARGS_TYPES_[1-6]): Likewise.
9920         (LOAD_REGS_TYPES_[1-6]): Likewise.
9921         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9922         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9924 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9926         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9927         copysignl for GLIBC_2_0.
9928         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9929         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9931         logbl for GLIBC_2_0.
9932         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9933         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9935 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9937         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9938         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9940         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9941         Use "neg %eax".
9943         * time/mktime.c: Update copyright years.
9945 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9947         mktime: merge comment-quoting-style change from gnulib
9948         * time/mktime.c: Quote 'like this' in comments.
9949         The GNU coding standards suggest that we no longer quote `like this',
9950         as "`" and "'" are typically rendered asymmetrically nowadays.
9951         The typical gnulib style is to quote 'like this' when quoting
9952         code, and "like this" when quoting English.
9954         * time/mktime.c (compile-command): Add "-I.".
9956         mktime: merge mktime-internal.h change from gnulib
9957         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9959         mktime: merge time_r change from gnulib
9960         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9962         mktime: merge DEBUG change from gnulib
9963         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9964         case system <time.h> has a #define.
9966         mktime: merge <sys/types.h> change from gnulib
9967         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9968         since <time.t> is now guaranteed to define time_t.
9970         mktime: merge HAVE_CONFIG_H change from gnulib
9971         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9973 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9976         Use "neg %eax".
9978         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9979         __rlim_t cast.
9980         (struct rusage): Use anonymous union to pad each field to
9981         __syscall_slong_t.
9983 2012-05-21  David S. Miller  <davem@davemloft.net>
9985         * Makefules (o-iterator): Remove .s cases.
9986         (compile-command.s): Delete.
9987         (COMPILE.s): Delete.
9988         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9990 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
9992         * configure.in (libc_cv_predef_stack_protector): Only consider
9993         "foobar" and "__stack_chk_fail" lines in libc_undefs.
9994         * configure: Regenerated.
9996 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
9998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9999         New macro.  Use R*LP on int and pointer.
10000         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10001         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10002         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10003         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10005         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10006         [__WORDSIZE_TIME64_COMPAT32] instead of
10007         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10008         (struct utmp): Likewise.
10009         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10010         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10011         Renamed to ...
10012         (__WORDSIZE_TIME64_COMPAT32): This.
10013         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10014         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10015         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10016         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10017         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10018         (__WORDSIZE_TIME64_COMPAT32): New macro.
10020 2012-05-21  Andreas Jaeger  <aj@suse.de>
10022         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10023         only if [SHARED]. Add prototype for __wcschr_ia32.
10025 2012-05-21  Roland McGrath  <roland@hack.frob.com>
10027         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10028         of %rbp unmolested in the jmp_buf while mangling the low bits.
10029         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10030         unmolested high bits of %rbp while demangling the low bits.
10031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10033 2012-05-21  Andreas Jaeger  <aj@suse.de>
10035         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10036         * sunrpc/svc_simple.c: Use it for registerrpc.
10037         * sunrpc/xcrypt.c: Use it for passwd2des.
10039         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10041 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
10043         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10044         Don't define if [__SYSCALL_WORDSIZE != 32].
10045         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10046         New macro.
10048 2012-05-21  Bruno Haible  <bruno@clisp.org>
10049             Andreas Jaeger  <aj@suse.de>
10051         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10052         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10053         inptr and inend for must_buffer_ch.
10054         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10055         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10056         * stdio-common/Makefile (tests): Remove bug15.
10057         (bug15-ENV): Remove macro.
10058         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10059         anymore.
10061 2012-05-19  Andreas Jaeger  <aj@suse.de>
10062             Roland McGrath  <roland@hack.frob.com>
10064         * manual/contrib.texi: Completely rewritten. It contains now an
10065         alphabetical list of contributors and their contributions.
10067 2012-05-21  Richard Henderson  <rth@twiddle.net>
10069         * misc/getauxval.c (__getauxval): Use unsigned long int.
10070         * misc/sys/auxv.h: Include <sys/cdefs.h>.
10071         (getauxval): Use unsigned long int.
10073 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
10075         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10077 2012-05-21  Roland McGrath  <roland@hack.frob.com>
10079         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10080         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10081         __alignof__ (long double).
10083 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10087 2012-05-20  Richard Henderson  <rth@twiddle.net>
10089         * misc/getauxval.c: New file.
10090         * misc/sys/auxv.h: New file.
10091         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10092         (routines): Add getauxval.
10093         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10094         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10095         * elf/dl-sysdep.c (_dl_auxv): Remove.
10096         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10097         * elf/dl-support.c (_dl_auxv): New variable.
10098         (_dl_aux_init): Initialize it.
10099         * manual/startup.texi (Auxiliary Vector): New node.
10100         * sysdeps/generic/bits/hwcap.h: New file.
10101         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10102         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
10103         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10104         * sysdeps/sparc/sysdep.h: ... here.  Include it.
10105         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10106         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10108         Update.
10109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10118 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10122 2012-05-19  David S. Miller  <davem@davemloft.net>
10124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10126 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
10128         [BZ #14123]
10129         * math/s_ccosh.c: Include <float.h>
10130         (__ccosh): Avoid internal overflow calculating sinh and cosh
10131         values before multiplying by sin and cos values.
10132         * math/s_ccoshf.c: Likewise.
10133         * math/s_ccoshl.c: Likewise.
10134         * math/s_csin.c: Likewise.
10135         * math/s_csinf.c: Likewise.
10136         * math/s_csinl.c: Likewise.
10137         * math/s_csinh.c: Likewise.
10138         * math/s_csinhf.c: Likewise.
10139         * math/s_csinhl.c: Likewise.
10140         * math/libm-test.inc (ccos_test): Add more tests.
10141         (ccosh_test): Likewise.
10142         (csin_test): Likewise.
10143         (csinh_test): Likewise.
10144         * sysdeps/i386/fpu/libm-test-ulps: Update.
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10149         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10150         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10152         * sysdeps/x86_64/x32/_itoa.h: Add comment.
10154 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
10156         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10157         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10158         * sysdeps/powerpc/soft-fp/Versions: Likewise.
10159         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10160         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10161         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10162         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10163         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10164         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10165         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10166         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10167         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10168         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10169         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10170         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10171         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10172         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10173         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10174         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10175         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10176         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10177         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10178         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10179         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10180         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10181         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10182         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10183         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10184         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10185         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10186         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10188 2012-05-18  Andreas Jaeger  <aj@suse.de>
10190         * csu/.gitignore: Delete.
10192 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10194         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10195         (timex): Use __syscall_slong_t.
10197 2012-05-18  Andreas Jaeger  <aj@suse.de>
10198             Carlos O'Donell  <carlos_odonell@mentor.com>
10200         * manual/install.texi (Configuring and compiling): Update
10201         description about files modified in the source directory.
10202         * INSTALL: Regenerated.
10204 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10206         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10207         value.  Use "or" to set return value to -1.
10208         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10209         negate return value.
10211 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10213         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10214         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10215         failure if the compiler has Graphite support disabled.
10216         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10217         Likewise.
10218         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10219         CFLAGS-memmove.c): Likewise.
10220         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10221         Likewise.
10223 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10225         * sysdeps/x86_64/x32/_itoa.h: New file.
10227         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10228         getdents system call only if kernel and user dirents have the
10229         same d_ino and d_off.
10231         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10232         LLONG_MAX != LONG_MAX.
10233         (_itoa_word): Use _ITOA_WORD_TYPE on value.
10234         (_fitoa_word): Likewise.
10236         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10237         years.
10238         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10239         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10240         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10242         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10243         include <bits/wordsize.h>.  Check __x86_64__ instead of
10244         __WORDSIZE.
10245         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10246         if __x86_64__ is defined.  Use anonymous union on fpstate.
10248         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10249         anonymous union.
10251 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
10253         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10254         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10255         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10256         Refer to _rtld_local_ro instead of _rtld_global_ro.
10257         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10258         Likewise.
10259         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10260         Likewise.
10261         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10262         Likewise.
10263         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10264         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10265         of _rtld_global, and rtld_progname instead of _dl_argv[0].
10267         * sysdeps/powerpc/powerpc32/dl-machine.c
10268         (__elf_machine_runtime_setup) [PROF]: Don't reference
10269         _dl_prof_resolve.
10271 2012-05-18  Andreas Jaeger  <aj@suse.de>
10273         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10274         function only available for GCCs before 3.4 since GCC 3.4
10275         introduced a builtin.
10276         (lrint): Likewise.
10277         (llrintf): Likewise.
10278         (llrint): Likewise.
10279         (fmaxf): Likewise.
10280         (fmax): Likewise.
10281         (fminf): Likewise.
10282         (fmin): Likewise.
10283         (rint): Likewise.
10284         (rintf): Likewise.
10285         (nearbyint): Likewise.
10286         (nearbyintf): Likewise.
10287         (ceil): Likewise.
10288         (ceilf): Likewise.
10289         (floor): Likewise.
10290         (floorf): Likewise.
10292 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10294         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10295         on both fields and cast pointer to __syscall_ulong_t.
10297         * bits/types.h (__fsword_t): New type.
10298         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10299         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10300         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10301         (__FSWORD_T_TYPE): Likewise.
10302         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10303         (__FSWORD_T_TYPE): Likewise.
10304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10305         (__FSWORD_T_TYPE): Likewise.
10306         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10307         (__FSWORD_T_TYPE): Likewise.
10308         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10309         __SWORD_TYPE with __fsword_t.
10310         (statfs64): Likewise.
10312 2012-05-17  David S. Miller  <davem@davemloft.net>
10314         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10316 2012-05-17  Andreas Jaeger  <aj@suse.de>
10318         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10319         warning.
10321 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10323         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10325 2012-05-17  Andreas Jaeger  <aj@suse.de>
10327         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10328         when it is used.
10330 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
10332         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10334 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10336         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10337         * sysdeps/x86_64/tst-mallocalign1.c: New file.
10339 2012-05-17  Andreas Jaeger  <aj@suse.de>
10340             Carlos O'Donell  <carlos_odonell@mentor.com>
10342         [BZ #14059]
10343         * sysdeps/x86_64/multiarch/init-arch.h
10344         (bit_YMM_Usable): Rename to...
10345         (bit_AVX_Usable): ... this.
10346         (bit_FMA4_Usable): New macro.
10347         (bit_XMM_state): New macro.
10348         (bit_YMM_state): New macro.
10349         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10350         [__ASSEMBLER__] (index_AVX_Usable): ... this.
10351         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10352         (CPUID_OSXSAVE): New macro.
10353         (CPUID_AVX): New macro.
10354         (CPUID_FMA4): New macro.
10355         (index_YMM_Usable): Rename to...
10356         (index_AVX_Usable): ... this.
10357         (HAS_AVX): Use HAS_ARCH_FEATURE.
10358         (HAS_FMA4): Likewise.
10359         (HAS_YMM_USABLE): Remove.
10360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10361         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10362         are present.
10363         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10364         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10365         * sysdeps/x86_64/multiarch/Makefile: Likewise.
10366         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10367         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10369 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
10371         * math/libm-test.c: Support platforms without multiple rounding modes.
10372         * math/bug-nextafter.c: Support platforms without FP exceptions.
10373         * math/bug-nexttoward.c: Likewise.
10374         * math/test-fenv.c: Likewise.
10375         * math/test-misc.c: Likewise.
10376         * stdlib/bug-getcontext.c: Likewise.
10378 2012-05-17  Andreas Jaeger  <aj@suse.de>
10380         * manual/examples/search.c (critter_cmp): Change signature to
10381         avoid warnings.
10382         * manual/string.texi (Collation Functions): Likewise.
10384 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10386         * bits/types.h: Fold copyright years.
10387         * bits/typesizes.h: Likewise.
10388         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10389         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10391         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10392         * time/time.h: Likewise.
10394 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
10396         [BZ #208]
10397         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10398         in instead of returning them.  Return void.
10399         (__libc_mallinfo): Accumulate over all arenas.
10400         (__malloc_stats): Adjust for change in int_mallinfo interface.
10402 2012-05-16  Roland McGrath  <roland@hack.frob.com>
10404         [BZ #10375]
10405         * configure.in (NM): Add AC_CHECK_TOOL for it.
10406         (libc_extra_cflags): New substituted variable.
10407         Check for -fstack-protector being used implicitly.
10408         * configure: Regenerated.
10409         * config.make.in (config-extra-cflags): New variable,
10410         gets @libc_extra_cflags@.
10411         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10413         [BZ #10375]
10414         * configure.in: Check for _FORTIFY_SOURCE being predefined.
10415         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10416         * configure: Regenerated.
10417         * config.make.in (CPPUNDEFS): New substituted variable.
10418         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10419         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10420         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10424         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10425         (mq_attr): Use __syscall_slong_t.
10427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10429         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10430         Check __x86_64__ instead of __WORDSIZE.
10431         (_STAT_VER_LINUX): Likewise.
10432         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
10433         __syscall_ulong_t and __syscall_slong_t.
10434         (stat64): Likewise.
10436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10442         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10444 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10446         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10447         __syscall_ulong_t.
10449         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10450         include <bits/wordsize.h>.  Check __x86_64__ instead of
10451         __WORDSIZE.
10452         (greg_t): Use "__extension__ long long int" if __x86_64__ is
10453         defined.
10454         (mcontext_t): Replace "unsigned long" with "unsigned long long".
10456         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10457         include <bits/wordsize.h>.  Check __x86_64__ instead of
10458         __WORDSIZE.
10459         (user_regs_struct): Use "__extension__ unsigned long long"
10460         instead of "unsigned long" if __x86_64__ is defined.
10461         (user): Likewise.  Pad after pointer field if __ILP32__ is
10462         defined.
10464 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
10466         * configure.in (makeinfo): Require version 4.5 or later.  Allow
10467         versions 5 to 9.
10468         * configure: Regenerated.
10469         * manual/install.texi (texinfo): Increase version requirement to
10470         4.5 or later.
10471         * INSTALL: Regenerated.
10473         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10477         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10479         * sysdeps/x86_64/x32/ffs.c: New file.
10481         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10482         __syscall_ulong_t.
10483         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10484         defined.  Use __syscall_ulong_t.
10485         (shminfo): Use __syscall_ulong_t.
10486         (shm_info): Likewise.
10488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10489         __syscall_ulong_t.
10491         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10492         <bits/wordsize.h>.
10493         (msgqnum_t): Use __syscall_ulong_t.
10494         (msglen_t): Likewise.
10495         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
10496         __syscall_ulong_t.
10498         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10499         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
10501         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10503         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10504         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10506         * sysvipc/sys/msg.h (msgbuf): Replace long int with
10507         __syscall_slong_t.
10509         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10510         include <bits/wordsize.h>.  Check __x86_64__ instead of
10511         __WORDSIZE.
10513         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10514         "unsigned long long int" if __x86_64__ is defined.
10515         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10517         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10518         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
10519         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10521         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10522         <stdint.h>.
10523         (GET_PC): Cast to uintptr_t first.
10524         (GET_FRAME): Likewise.
10525         (GET_STACK): Likewise.
10527         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10528         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10529         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10530         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10531         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10532         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10533         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10534         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10535         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10536         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10537         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10538         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10539         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10540         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10541         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10543         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10545         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10546         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10547         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10548         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10549         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10550         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10551         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10552         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10554         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10555         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10557 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
10559         * Makerules (+depfiles): Also collect depfiles from .oS in
10560         $(extra-objs).
10561         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10562         .oS, $(libnldbl-routines)).
10564         * Makerules (native-compile-mkdep-flags): Define.
10565         * sunrpc/Makefile (extra-objs): Add $(addprefix
10566         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10567         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10568         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
10569         calling $(make-target-directory).
10571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10573         * bits/types.h (__snseconds_t): Removed.
10574         * time/time.h (struct timespec): Replace __snseconds_t with
10575         __syscall_slong_t.
10576         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10577         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10578         Likewise.
10579         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10580         (__SNSECONDS_T_TYPE): Likewise.
10581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10582         (__SNSECONDS_T_TYPE): Likewise.
10583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10584         (__SNSECONDS_T_TYPE): Likewise.
10586 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10588         * sysdeps/mach/hurd/bits/typesizes.h
10589         (__SYSCALL_SLONG_TYPE): New macro.
10590         (__SYSCALL_ULONG_TYPE): Likewise.
10592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10594         * bits/types.h (__syscall_slong_t): New type.
10595         (__syscall_ulong_t): Likewise.
10597         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10598         (__SYSCALL_ULONG_TYPE): Likewise.
10599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10600         (__SYSCALL_SLONG_TYPE): Likewise.
10601         (__SYSCALL_ULONG_TYPE): Likewise.
10602         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10603         (__SYSCALL_SLONG_TYPE): Likewise.
10604         (__SYSCALL_ULONG_TYPE): Likewise.
10605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10606         (__SYSCALL_SLONG_TYPE): Likewise.
10607         (__SYSCALL_ULONG_TYPE): Likewise.
10609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10611         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10612         Add sigaltstack-offsets.sym.
10613         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10614         <sigaltstack-offsets.h>.
10615         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
10616         longjmp_msg pointer.
10617         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
10618         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10619         signal stack.
10620         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10622 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10624         * elf/stackguard-macros.h: Remove file.
10625         * sysdeps/generic/stackguard-macros.h: New file.
10626         * sysdeps/i386/stackguard-macros.h: Likewise.
10627         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10628         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10629         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10630         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10631         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10632         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10633         * sysdeps/x86_64/stackguard-macros.h: Likewise.
10634         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10635         <elf/stackguard-macros.h>.
10637         [BZ #14109]
10638         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10639         __aligned__ in attribute.
10640         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10641         (gregset_t): Likewise.
10643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10645         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10646         * sysdeps/x86_64/64/Implies-after: Here.  New file.
10647         * sysdeps/x86_64/x32/Implies-after: New file.
10649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10651         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10652         and access return value for _dl_profile_fixup.  Use R10_LP to
10653         load frame size.
10655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10657         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10661         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10662         * sysdeps/x86_64/x32/sysdep.h: New file.
10664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10666         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10667         * sysdeps/x86_64/setjmp.S: Likewise.
10669 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10671         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10672         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10673         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10674         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10675         remove unused global constant.
10677 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
10679         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10680         include of <not-cancel.h>.
10682 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10684         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10686 2012-05-15  Jeff Law  <law@redhat.com>
10687             Andreas Jaeger  <aj@suse.de>
10689         [BZ #13594]
10690         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10691         out from...
10692         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10693         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10694         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10695         code changing __hst_map_handle.map.
10697 2012-05-15  Roland McGrath  <roland@hack.frob.com>
10699         * configure.in (sysnames): Look for Implies-before and Implies-after
10700         files.
10701         * configure: Regenerated.
10703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10705         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10706         8-byte data alignment with LP_SIZE alignment.
10708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10710         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10711         into R10_LP.
10713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10715         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10719         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10720         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10721         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10727         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10728         (stackinfo_sub_sp): Likewise.
10730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10732         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10733         RAX_LP.
10735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10737         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10738         into R*_LP.
10740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10742         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10743         sizes into R*_LP.
10745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10747         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10751         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10752         into R11_LP and load __x86_64_shared_cache_size_half into
10753         R8_LP.
10755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
10757         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10758         R8_LP.
10760 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10763         logb for POWER7.
10764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10765         logbf for POWER7.
10766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10767         logbl for POWER7.
10768         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10769         powerpc32/power7/fpu/s_logb.c via #include.
10770         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10771         powerpc32/power7/fpu/s_logbf.c via #include.
10772         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10773         powerpc32/power7/fpu/s_logbl.c via #include.
10775 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
10777         * README.libm: Remove file.
10779 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10781         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10782         count for x32.  Use R*_LP and omit operand-size suffix.
10784 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10786         * shlib-versions: Move x86_64-.*-linux.* entries to ...
10787         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
10788         * sysdeps/x86_64/x32/shlib-versions: New file.
10790 2012-05-14  Roland McGrath  <roland@hack.frob.com>
10792         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10793         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10794         Use _dl_fatal_printf instead.
10796 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10798         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10799         set if not set by the user.  Do not allow for being unset.
10800         * sysdeps/unix/sysv/linux/configure: Regenerated.
10802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10804         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10805         the `q' suffix from lea and replace .quad with ASM_ADDR.
10807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10810         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
10811         instead of $17.
10812         (PTR_DEMANGLE): Likewise.
10814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10816         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10817         (LP_OP): Likewise.
10818         (ASM_ADDR): Likewise.
10819         (RAX_LP): Likewise.
10820         (RBP_LP): Likewise.
10821         (RBX_LP): Likewise.
10822         (RCX_LP): Likewise.
10823         (RDI_LP): Likewise.
10824         (RSI_LP): Likewise.
10825         (RSP_LP): Likewise.
10826         (R8_LP): Likewise.
10827         (R9_LP): Likewise.
10828         (R10_LP): Likewise.
10829         (R10_LP): Likewise.
10830         (R11_LP): Likewise.
10831         (R12_LP): Likewise.
10832         (R13_LP): Likewise.
10833         (R14_LP): Likewise.
10834         (R15_LP): Likewise.
10836 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
10838         * sysdeps/x86_64/x32/dl-machine.h: New file.
10840 2012-05-14  Andreas Jaeger  <aj@suse.de>
10842         * manual/Makefile (subdir): Remove export of subdir.
10843         (all): Remove target.
10844         (.PHONY): Remove all from list.
10845         (mkinstalldirs): Remove.
10846         (.PHONY): Remove installdirs from list.
10847         ($(inst_infodir)/libc.info): Use make-target-directory.
10848         (installdirs): Remove.
10849         (subdir_%): Remove.
10850         (glibc-targets): Remove.
10851         (lib): Remove.
10852         (stubs): Remove.
10853         ($(objpfx)stubs ../po/manual.pot): Remove.
10854         ($(objpfx)stamp%): Remove.
10855         (make-target-directory): Remove.
10856         (subdir_install): Remove.
10857         (routines): Remove.
10858         (aux): Remove.
10859         (sources): Remove.
10860         (objects): Remove.
10861         (headers): Remove.
10863         [BZ #13750]
10864         * manual/.gitignore: Remove, it's not needed anymore.
10865         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10866         all files in it.
10867         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10868         directory.
10869         (texis): Renamed to $(objpfx)texis.
10870         (texis-path): New, contains path to generated files.
10871         (chapters.%): Use texis-path for complete path, add extra argument
10872         libc-texinfo.sh.
10873         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10874         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10875         (summary,texi, stamp-summary): Use complete path of
10876         files. Generate files in build dir.
10877         (dir-add.texi): Build in build dir.
10878         (libm-err.texi,stamp-libm-err): Likewise.
10879         (version.texi, stamp-version): Likewise.
10880         (.%c.texi): Likewise.
10881         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10882         (mostlyclean): Remove target.
10883         (realclean): Remove target.
10884         (generated): Add new variable with contents from mostlyclean and
10885         realclean, remove entries duplicated in common-mostlyclean, add
10886         stamp-libm-err and stamp-version.
10887         (generated-dirs): Add libc directory.
10888         ($(inst_infodir)/libc.info): Install files from build dir.
10890         * manual/install.texi (Configuring and compiling): Adjust since
10891         the info files are not part of the tar ball anymore.
10893 2012-05-14  Andreas Jaeger  <aj@suse.de>
10895         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10896         variable.
10898 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
10900         [BZ #13717]
10901         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10902         to 2.2.0 where earlier.
10903         * sysdeps/unix/sysv/linux/configure: Regenerated.
10904         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10905         Remove conditional code.
10906         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10907         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10908         Remove conditional code.
10909         [!__NR_lchown]: Likewise.
10910         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10911         [__NR_lchown]: Likewise.
10912         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10913         comment referencing __ASSUME_LCHOWN_SYSCALL.
10914         * sysdeps/unix/sysv/linux/i386/sigaction.c
10915         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10916         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10917         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10918         Remove conditional code.
10919         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10920         (__protocol_available): Remove #if 0 code.
10921         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10922         conditional code.
10923         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10924         * sysdeps/unix/sysv/linux/kernel-features.h
10925         (__ASSUME_GETCWD_SYSCALL): Don't define.
10926         (__ASSUME_REALTIME_SIGNALS): Likewise.
10927         (__ASSUME_PREAD_SYSCALL): Likewise.
10928         (__ASSUME_PWRITE_SYSCALL): Likewise.
10929         (__ASSUME_POLL_SYSCALL): Likewise.
10930         (__ASSUME_LCHOWN_SYSCALL): Likewise.
10931         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10932         non-SPARC.
10933         (__ASSUME_SIOCGIFNAME): Don't define.
10934         (__ASSUME_MSG_NOSIGNAL): Likewise.
10935         (__ASSUME_SENDFILE): Define unconditionally.
10936         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10937         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10938         conditional code.
10939         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10940         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10941         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10942         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10943         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10944         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10945         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10947         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10948         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10950         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10953         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10954         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10956         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10959         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10960         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10962         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10965         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10966         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10968         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10969         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10970         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10971         Remove conditional code.
10972         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10973         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10974         Remove conditional code.
10975         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10976         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10977         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10978         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10979         Remove conditional code.
10980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10981         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10982         Remove conditional code.
10983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10984         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10985         Remove conditional code.
10986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10987         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10988         Remove conditional code.
10989         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10990         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10991         Remove conditional code.
10992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10993         * sysdeps/unix/sysv/linux/sh/pwrite64.c
10994         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10995         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10996         * sysdeps/unix/sysv/linux/sigaction.c
10997         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10998         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10999         * sysdeps/unix/sysv/linux/sigpending.c
11000         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11001         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11002         * sysdeps/unix/sysv/linux/sigprocmask.c
11003         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11004         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11005         * sysdeps/unix/sysv/linux/sigsuspend.c
11006         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11007         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11008         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11009         (__libc_missing_rt_sigs): Remove.
11010         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11011         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11012         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11013         Remove conditional code.
11014         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11015         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11016         return 1.
11017         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11018         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11019         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11020         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11022 2012-05-14  Andreas Jaeger  <aj@suse.de>
11024         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11025         it's not used in glibc.
11026         (__coshm1): Likewise.
11027         (__acosh1p): Likewise.
11028         (__sgn): Likewise.
11030         * manual/string.texi (Copying and Concatenation): Add missing
11031         variable in concat example.
11032         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
11036         [BZ #14103]
11037         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11038         __builtin_clzl with __builtin_clzll.
11040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
11042         [BZ #14104]
11043         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11044         libc_freeres_ptr.
11046 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11048         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11049         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11050         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11051         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11053 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
11055         * NEWS: Update ia64 info.
11057 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
11059         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11060         used as bcopy.
11062 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
11064         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11065         * sysdeps/unix/syscalls.list (dup3): Likewise.
11066         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11067         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11069 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11071         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11072         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11074 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11076         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11077         thread pointer.
11078         (TLS_IE): Use mov/add instead of movq/addq to load thread
11079         pointer.
11080         (TLS_GD_PREFIX): New.
11081         (TLS_GD): Use it.
11083 2012-05-11  David S. Miller  <davem@davemloft.net>
11085         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11086         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11087         (_FPU_SETCW): Likewise.
11089 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11091         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11092         is 32-byte aligned.
11094 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
11096         [BZ #11837]
11097         * iconvdata/gb18030.c: Update tables.
11098         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
11099         characters specially.
11100         (BODY for TO_LOOP): Add encoding of missing ranges.
11102 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
11104         [BZ #13673]
11105         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11106         * sysdeps/mach/hurd/dup3.c: Likewise.
11107         * sysdeps/mach/hurd/readlinkat.c: Likewise.
11108         * sysdeps/powerpc/memmove.c:: Likewise.
11110 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11112         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11113         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11115 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11117         * elf/elf.h (R_X86_64_RELATIVE64): New.
11118         (R_X86_64_NUM): Updated.
11119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11120         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
11121         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11122         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11123         tst-quad1pie tst-quad2pie
11124         (modules-names): Add tst-quadmod1 tst-quadmod2.
11125         ($(objpfx)tst-quad1): New dependency.
11126         ($(objpfx)tst-quad2): Likewise.
11127         ($(objpfx)tst-quad1pie): Likewise.
11128         ($(objpfx)tst-quad2pie): Likewise.
11129         * sysdeps/x86_64/tst-quad1.c: New file.
11130         * sysdeps/x86_64/tst-quad1pie.c: New file.
11131         * sysdeps/x86_64/tst-quad2.c: Likewise.
11132         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11133         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11134         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11135         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11136         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11140         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11141         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11142         * streams/stropts.h (t_scalar_t): Define type.
11144         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11145         (_PATH_PRESERVE): Set to "/var/lib".
11146         (_PATH_RWHODIR): Set to "/var/spool/rwho".
11148         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11149         instead of int.
11151         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11152         if __dir_mkfile succeeded.
11154         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11155         checking for _hurd_dtablesize.  Unlock it right after having
11156         finished _hurd_dtable allocation.
11158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11160         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11161         * sysdeps/mach/hurd/configure: Regenerated.
11162         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11163         special-casing to...
11164         * sysdeps/gnu/configure.in: ... this new file.
11165         * sysdeps/unix/sysv/linux/configure: Regenerated.
11166         * sysdeps/gnu/configure: New generated file.
11168         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11169         for Linux: use nsec instead of usec, as well as:
11170         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11171         members of type struct timespec.
11172         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11173         New macros.
11174         (struct stat64): Likewise.
11175         (_STATBUF_ST_NSEC): New macro.
11176         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11178         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11179         __strtoul_internal rather than strtoul.
11181 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11183         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11184         and reject them.
11186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11188         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11189         which preserves existing values.
11190         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11192 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11194         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11195         TIMEOUT values.  Return EINVAL for NFDS values either negative or
11196         greater than FD_SETSIZE.
11198 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11200         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11201         allocated, call __vm_protect to finish enabling the existing space, and
11202         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11203         allocate the remainder.
11205 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11207         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11208         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
11210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11212         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11213         sysdeps/mach/hurd/readlink.c.
11215         * posix/tst-sysconf.c (posix_options): Only use
11216         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11217         _POSIX_SYNCHRONIZED_IO when they are defined
11218         * sysdeps/mach/hurd/bits/posix_opt.h:
11219         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11220         (_XOPEN_REALTIME): Undefine macro.
11221         (_XOPEN_REALTIME_THREADS): Undefine macro.
11222         (_XOPEN_SHM): Undefine macro.
11223         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11224         macro to -1.
11225         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11226         macro to -1.
11227         (_POSIX_ASYNC_IO): Undefine macro.
11228         (_POSIX_PRIORITIZED_IO): Undefine macro.
11229         (_POSIX_SPIN_LOCKS): Define macro to -1.
11231         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11232         SA_NODEFER, SA_RESETHAND.
11233         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11234         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11235         F_DUPFD_CLOEXEC.
11237 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11239         * elf/Makefile (pldd-modules): Define unconditionally.
11241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11243         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11247         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11248         Return ENOENT when name is empty.
11249         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11253         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11255         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11259         Fix mlock in all cases except non-readable pages.
11260         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11261         instead of VM_PROT_ALL as parameter to __vm_wire function.
11263         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11264         (__mkdir): When path is `/', just fail with EEXIST.
11265         * sysdeps/mach/hurd/mkdirat.c: Likewise.
11267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11269         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11270         <sys/uio.h> (for writev).
11271         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11272         and <sys/param.h> (for MIN).
11274 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
11276         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11277         REQUESTED_TIME.  Properly set the remaining time and return EINTR
11278         if interrupted.
11280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11282         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11283         Depend on against $(link-rpcuserlibs).
11285 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11287         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11288         (__libc_stack_end): Do not use attribute_relro.
11289         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11290         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11291         to libthread-provided value.
11292         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11293         attribute_relro.
11295 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11297         [BZ #3748]
11298         * bits/libc-lock.h (__libc_once_get): New macro.
11299         * sysdeps/mach/bits/libc-lock.h: Likewise.
11300         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11302         instead of using implementation details.
11304         * libio/fileops.c: Unconditionally include <kernel-features.h>.
11305         * libio/freopen.c: Likewise.
11306         * libio/freopen64.c: Likewise.
11307         * misc/syslog.c: Likewise.
11308         * nscd/connections.c: Likewise.
11309         * nscd/netgroupcache.c: Likewise.
11310         * sysdeps/posix/getcwd.c: Likewise.
11312 2012-05-10  Roland McGrath  <roland@hack.frob.com>
11314         * math/w_ilogbf.c: Add #include <limits.h>.
11316 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11318         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11319         path instead of returning without unlocking.
11321         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11322         immediate-write ioctls.
11323         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11327         * sysdeps/mach/hurd/i386/init-first.c (init): Use
11328         __builtin_frame_address instead of making assumptions about the
11329         location of the return address relative to DATA.  Force early load of
11330         the return address.
11331         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11332         __builtin_frame_address.
11334         dup3 for GNU Hurd.
11335         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11336         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
11337         implement dup3 and do some further code clean-ups.
11338         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11339         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11343         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11345         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11346         HURD_CRITICAL_END around holding _hurd_dtable_lock.
11347         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11348         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11349         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11350         d->port.lock.
11352         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11353         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
11354         when handler == SIG_ERR, not when handler != SIG_ERR.
11356 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11358         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11359         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11360         definitions.
11362         accept4 for GNU Hurd.
11363         * include/sys/socket.h (__libc_accept4): New prototype.
11364         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
11365         to implement __libc_accept4.
11366         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11367         __libc_accept4.
11368         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11370         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11371         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11372         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11373         signal-defines.sym.
11375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11377         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
11381         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11382         assertion on O_CLOEXEC flag.
11383         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11384         * hurd/intern-fd.c: Likewise.
11385         * hurd/port2fd.c: Likewise.
11387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11389         [BZ #3906]
11390         * bits/in.h (IPV6_PKTINFO): Define new macro.
11391         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11393 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11395         [BZ #13954]
11396         [BZ #13955]
11397         [BZ #13956]
11398         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11400         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11401         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11402         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11403         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11404         * math/libm-test.inc (logb_test) : Additional logb tests.
11406 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
11407             Andreas Jaeger  <aj@suse.de>
11409         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11410         * configure: Regenerated.
11411         * config.h.in (LINK_OBSOLETE_RPC): New macro.
11412         * config.make.in (link-obsolete-rpc): New substituted variable.
11413         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11414         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11415         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11416         (shared-only-routines): Don't set it under [link-obsolete-rpc],
11417         so that libc.a contains the symbols.
11418         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11419         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11420         * sunrpc/auth_none.c: Likewise.
11421         * sunrpc/auth_unix.c: Likewise.
11422         * sunrpc/authdes_prot.c: Likewise.
11423         * sunrpc/authuxprot.c: Likewise.
11424         * sunrpc/clnt_gen.c: Likewise.
11425         * sunrpc/clnt_perr.c: Likewise.
11426         * sunrpc/clnt_raw.c: Likewise.
11427         * sunrpc/clnt_simp.c: Likewise.
11428         * sunrpc/clnt_tcp.c: Likewise.
11429         * sunrpc/clnt_udp.c: Likewise.
11430         * sunrpc/clnt_unix.c: Likewise.
11431         * sunrpc/des_crypt.c: Likewise.
11432         * sunrpc/des_soft.c: Likewise.
11433         * sunrpc/get_myaddr.c: Likewise.
11434         * sunrpc/key_call.c: Likewise.
11435         * sunrpc/key_prot.c: Likewise.
11436         * sunrpc/netname.c: Likewise.
11437         * sunrpc/pm_getmaps.c: Likewise.
11438         * sunrpc/pm_getport.c: Likewise.
11439         * sunrpc/pmap_clnt.c: Likewise.
11440         * sunrpc/pmap_prot.c: Likewise.
11441         * sunrpc/pmap_prot2.c: Likewise.
11442         * sunrpc/pmap_rmt.c: Likewise.
11443         * sunrpc/publickey.c: Likewise.
11444         * sunrpc/rpc_cmsg.c: Likewise.
11445         * sunrpc/rpc_common.c: Likewise.
11446         * sunrpc/rpc_dtable.c: Likewise.
11447         * sunrpc/rpc_prot.c: Likewise.
11448         * sunrpc/rpc_thread.c: Likewise.
11449         * sunrpc/rtime.c: Likewise.
11450         * sunrpc/svc.c: Likewise.
11451         * sunrpc/svc_auth.c: Likewise.
11452         * sunrpc/svc_raw.c: Likewise.
11453         * sunrpc/svc_run.c: Likewise.
11454         * sunrpc/svc_tcp.c: Likewise.
11455         * sunrpc/svc_udp.c: Likewise.
11456         * sunrpc/svc_unix.c: Likewise.
11457         * sunrpc/svcauth_des.c: Likewise.
11458         * sunrpc/xcrypt.c: Likewise.
11459         * sunrpc/xdr.c: Likewise.
11460         * sunrpc/xdr_array.c: Likewise.
11461         * sunrpc/xdr_float.c: Likewise.
11462         * sunrpc/xdr_intXX_t.c: Likewise.
11463         * sunrpc/xdr_mem.c: Likewise.
11464         * sunrpc/xdr_rec.c: Likewise.
11465         * sunrpc/xdr_ref.c: Likewise.
11466         * sunrpc/xdr_sizeof.c: Likewise.
11467         * sunrpc/xdr_stdio.c: Likewise.
11469 2012-05-10  Roland McGrath  <roland@hack.frob.com>
11471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11472         change.  Update copyright years.
11474 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
11476         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11478 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
11479             Joseph Myers  <joseph@codesourcery.com>
11480             Paul Pluzhnikov  <ppluzhnikov@google.com>
11482         [BZ #14012]
11483         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11484         requiring rpcgen.
11485         [cross-compiling] (extra-libs): Likewise.
11486         [cross-compiling] (extra-libs-others): Likewise.
11487         [cross-compiling] (librpcsvc-routines): Likewise.
11488         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11489         [cross-compiling] (omit-deps): Likewise.
11490         (sunrpc-CPPFLAGS): New variable.
11491         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11492         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11493         (cross-rpcgen-objs): New variable.
11494         (extra-objs): Append $(cross-rpcgen-objs).
11495         ($(cross-rpcgen-objs)): New rule.
11496         ($(objpfx)cross-rpcgen): Likewise.
11497         (rpcgen-cmd): Define to use $(built-program-file).  Expand
11498         comment.
11499         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11500         ($(objpfx)x%.stmp): Likewise.
11501         * sunrpc/proto.h [IS_IN_build] (_): Define.
11502         [IS_IN_build] (_libc_intl_domainname): Likewise.
11504 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
11506         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11507         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11508         and R_X86_64_TPOFF64.
11510 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
11512         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11513         sysdeps/unix/sysv/syscalls.list.
11514         (stime): Likewise.
11515         (utime): Likewise.
11516         * sysdeps/unix/sysv/syscalls.list: Remove file.
11518 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
11520         [BZ #3440]
11521         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11522         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11523         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11524         (__LC_IDENTIFICATION): Make these macros useful in #if
11525         expressions, as required by C99.
11527 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
11529         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11530         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
11531         after this.
11533 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
11535         * stdlib/longlong.h: Updated from GCC.
11537 2012-05-09  Andreas Jaeger  <aj@suse.de>
11539         * nscd/nscd.c (run_modes): Make named enum, reorder so that
11540         default is first entry.
11541         (run_mode): Set type.
11542         (main): Remove informal message about syslog.
11543         (options): Fix typo.
11545         [BZ #14053]
11546         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11547         to asm.
11548         (lrint): Likewise.
11549         (llrintf): Likewise.
11550         (llrint): Likewise.
11551         (rint): Likewise.
11552         (rintf): Likewise.
11553         (nearbyint): Likewise.
11554         (nearbyintf): Likewise.
11556 2012-05-09  Andreas Jaeger  <aj@suse.de>
11557             Pedro Alves  <palves@redhat.com>
11559         * nscd/nscd.c (run_mode): Use enum.
11560         (main): Cleanup coding style issue.
11562 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
11563             Andreas Jaeger  <aj@suse.de>
11565         * nscd/nscd.c (go_background): Replaced with...
11566         (run_mode): ... this.
11567         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11568         (options): Add -F --foreground.
11569         (main): Implement it.
11570         (parse_opt): Parse it.
11572 2012-05-09  Andreas Jaeger  <aj@suse.de>
11574         [BZ #14083]
11575         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11576         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11577         -Wconversion warning.
11578         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11579         Likewise.
11581 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
11583         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
11584         == 0.
11585         (LC_ALL): Use macro-int-constant.
11586         (LC_COLLATE): Likewise.
11587         (LC_CTYPE): Likewise.
11588         (LC_MESSAGES): Likewise.
11589         (LC_MONETARY): Likewise.
11590         (LC_NUMERIC): Likewise.
11591         (LC_TIME): Likewise.
11592         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11593         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11594         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11595         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11596         Specify type.
11597         [C99-based standards] (float_t): Expect type.
11598         [C99-based standards] (double_t): Expect type.
11599         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
11600         type.
11601         [C99-based standards] (HUGE_VALL): Likewise.
11602         [C99-based standards] (INFINITY): Likewise.
11603         [C99-based standards] (NAN): Likewise.
11604         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11605         [C99-based standards] (FP_NAN): Likewise.
11606         [C99-based standards] (FP_NORMAL): Likewise.
11607         [C99-based standards] (FP_SUBNORMAL): Likewise.
11608         [C99-based standards] (FP_ZERO): Likewise.
11609         [C99-based standards] (FP_FAST_FMA): Use
11610         optional-macro-int-constant.  Specify type.  Require == 1.
11611         [C99-based standards] (FP_FAST_FMAF): Likewise.
11612         [C99-based standards] (FP_FAST_FMAL): Likewise.
11613         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11614         [C99-based standards] (FP_ILOGBNAN): Likewise.
11615         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11616         Specify type.
11617         [C99-based standards] (MATH_ERREXCEPT): Likewise.
11618         [C99-based standards] (math_errhandling): Specify type.
11619         [ISO99 || ISO11] (signgam): Do not allow.
11620         [non-C99-based standards] (copysignf): Do not allow.
11621         [non-C99-based standards] (exp2f): Likewise.
11622         [non-C99-based standards] (log2f): Likewise.
11623         [non-C99-based standards] (modff): Allow.
11624         [non-C99-based standards] (erff): Do not allow.
11625         [non-C99-based standards] (erfcf): Likewise.
11626         [non-C99-based standards] (gammaf): Likewise.
11627         [non-C99-based standards] (hypotf): Likewise.
11628         [non-C99-based standards] (j0f): Likewise.
11629         [non-C99-based standards] (j1f): Likewise.
11630         [non-C99-based standards] (jnf): Likewise.
11631         [non-C99-based standards] (lgammaf): Likewise.
11632         [non-C99-based standards] (tgammaf): Likewise.
11633         [non-C99-based standards] (y0f): Likewise.
11634         [non-C99-based standards] (y1f): Likewise.
11635         [non-C99-based standards] (ynf): Likewise.
11636         [non-C99-based standards] (isnanf): Likewise.
11637         [non-C99-based standards] (acoshf): Likewise.
11638         [non-C99-based standards] (asinhf): Likewise.
11639         [non-C99-based standards] (atanhf): Likewise.
11640         [non-C99-based standards] (cbrtf): Likewise.
11641         [non-C99-based standards] (expm1f): Likewise.
11642         [non-C99-based standards] (ilogbf): Likewise.
11643         [non-C99-based standards] (log1pf): Likewise.
11644         [non-C99-based standards] (logbf): Likewise.
11645         [non-C99-based standards] (nextafterf): Likewise.
11646         [non-C99-based standards] (remainderf): Likewise.
11647         [non-C99-based standards] (rintf): Likewise.
11648         [non-C99-based standards] (scalbf): Likewise.
11649         [non-C99-based standards] (copysignl): Likewise.
11650         [non-C99-based standards] (exp2l): Likewise.
11651         [non-C99-based standards] (log2l): Likewise.
11652         [non-C99-based standards] (modfl): Allow.
11653         [non-C99-based standards] (erfl): Do not allow.
11654         [non-C99-based standards] (erfcl): Likewise.
11655         [non-C99-based standards] (gammal): Likewise.
11656         [non-C99-based standards] (hypotl): Likewise.
11657         [non-C99-based standards] (j0l): Likewise.
11658         [non-C99-based standards] (j1l): Likewise.
11659         [non-C99-based standards] (jnl): Likewise.
11660         [non-C99-based standards] (lgammal): Likewise.
11661         [non-C99-based standards] (tgammal): Likewise.
11662         [non-C99-based standards] (y0l): Likewise.
11663         [non-C99-based standards] (y1l): Likewise.
11664         [non-C99-based standards] (ynl): Likewise.
11665         [non-C99-based standards] (isnanl): Likewise.
11666         [non-C99-based standards] (acoshl): Likewise.
11667         [non-C99-based standards] (asinhl): Likewise.
11668         [non-C99-based standards] (atanhl): Likewise.
11669         [non-C99-based standards] (cbrtl): Likewise.
11670         [non-C99-based standards] (expm1l): Likewise.
11671         [non-C99-based standards] (ilogbl): Likewise.
11672         [non-C99-based standards] (log1pl): Likewise.
11673         [non-C99-based standards] (logbl): Likewise.
11674         [non-C99-based standards] (nextafterl): Likewise.
11675         [non-C99-based standards] (remainderl): Likewise.
11676         [non-C99-based standards] (rintl): Likewise.
11677         [non-C99-based standards] (scalbl): Likewise.
11678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11679         [non-C99-based standards] (FP_*): Do not allow.
11680         [C99-based standards] (FP_*): Change to
11681         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11682         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11683         allow.
11684         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11685         (SIG_ERR): Likewise.
11686         [X/Open-based standards] (SIG_HOLD): Likewise.
11687         (SIG_IGN): Likewise.
11688         (SIGABRT): Use macro-int-constant.  Specify type.  Require
11689         positive value.
11690         (SIGFPE): Likewise.
11691         (SIGILL): Likewise.
11692         (SIGINT): Likewise.
11693         (SIGSEGV): Likewise.
11694         (SIGTER): Likewise.
11695         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11696         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11697         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11698         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11699         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11700         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11701         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11702         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11703         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11704         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11705         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11706         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11707         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11708         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11709         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11710         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11711         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11712         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11713         [X/Open-based standards] (SIGTRAP): Likewise.
11714         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11715         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11716         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11717         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11718         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11719         allow.
11721 2012-05-08  Ian Wienand  <ianw@vmware.com>
11723         [BZ #14080]
11724         * time/tzset.c (__tzset_parse_tz): Update default rules for
11725         daylight time changes in the Energy Policy Act of 2005.
11727 2012-05-09  Andreas Jaeger  <aj@suse.de>
11729         [BZ #13983]
11730         * elf/ldconfig.c (parse_conf): Change string to make clear that
11731         ldconfig only issued a warning if ld.so.conf does not exist.
11733 2012-05-08  David S. Miller  <davem@davemloft.net>
11735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11736         movxtod instead of popping the value on the stack.
11738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11740 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
11742         * config.h.in: Add HAVE_ARM_PCS_VFP.
11744 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
11746         [BZ #13979]
11747         * include/features.h: Warn if user requests __FORTIFY_SOURCE
11748         checking but the checks are disabled for any reason.
11750 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11752         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11753         and ELF64_R_TYPE with ELFW(R_TYPE).
11755 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
11757         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11758         (ulimit): Likewise.
11760         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11761         (settimeofday): Likewise.
11763 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
11765         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
11766         a struct th_u2 inside the union, and move tu_block/tu_code into
11767         a new th_u3 union of tu_block/tu_code inside of that.  Move
11768         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
11769         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
11770         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11771         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11772         (th_stuff): Change to th_u1.tu_stuff.
11773         (th_data): Define.
11774         (th_msg): Change to th_u1.th_u2.tu_data.
11776 2012-05-07  David S. Miller  <davem@davemloft.net>
11778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11780         [BZ #14074]
11781         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11782         (SETUP_PIC_REG): Use it.
11783         (SETUP_PIC_REG_LEAF): Use it.
11785 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
11787         [BZ #13885]
11788         [BZ #13923]
11789         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11790         USE_AS_EXPM1L.
11791         (EXPL_FINITE): Likewise.
11792         (FLDLOG): Likewise.
11793         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11794         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11795         e_expl.S.
11796         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11797         USE_AS_EXPM1L.
11798         (EXPL_FINITE): Likewise.
11799         (FLDLOG): Likewise.
11800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11801         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11802         e_expl.S.
11803         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
11804         test of -max_value argument for long double.
11805         * sysdeps/i386/fpu/libm-test-ulps: Update.
11806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11808 2012-05-06  David S. Miller  <davem@davemloft.net>
11810         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11811         quad soft-float symbols whose references which are compiler
11812         generated.
11813         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11815 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
11817         [BZ #13884]
11818         [BZ #13914]
11819         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11820         USE_AS_EXP10L.
11821         (EXPL_FINITE): Likewise.
11822         (FLDLOG): Likewise.
11823         (c0): Likewise.
11824         (c1): Likewise.
11825         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11826         Adjust comments for base varying.
11827         (__expl_finite): Change alias to EXPL_FINITE.
11828         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11829         e_expl.S.
11830         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11831         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11833         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11834         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11835         USE_AS_EXP10L.
11836         (EXPL_FINITE): Likewise.
11837         (FLDLOG): Likewise.
11838         (c0): Likewise.
11839         (c1): Likewise.
11840         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
11841         Adjust comments for base varying.
11842         (__expl_finite): Change alias to EXPL_FINITE.
11843         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
11844         tests for bugs.
11845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11847         [BZ #14064]
11848         * math/libm-test.inc (check_float_internal): Correct ulp
11849         calculation for subnormal expected results.
11851 2012-05-06  Andreas Jaeger  <aj@suse.de>
11853         * Makeconfig (+math-flags): New, set to -frounding-math.
11854         (+cflags): Add +math-flags so that all of glibc gets compiled with
11855         it.
11857         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11859 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
11861         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11862         Disable one test.
11864         [BZ #13787]
11865         [BZ #13922]
11866         [BZ #14036]
11867         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11868         (__ieee754_expl): Allow for and saturate large arguments.
11869         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11870         (u_threshold): Likewise.
11871         (__exp): Call __ieee754_exp before checking for overflow and
11872         underflow.
11873         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11874         (u_threshold): Likewise.
11875         (__expf): Call __ieee754_expf before checking for overflow and
11876         underflow.
11877         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11878         (u_threshold): Likewise.
11879         (__expl): Call __ieee754_expl before checking for overflow and
11880         underflow.
11881         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11882         (__ieee754_expl): Allow for and saturate large arguments.
11883         * math/libm-test.inc (exp_test): Add another test.  Do not allow
11884         missing overflow exception on overflow.
11885         (expm1_test): Do not allow missing overflow exception on overflow.
11887         * sysdeps/i386/fpu/e_expl.c: Move to ...
11888         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
11889         rather than using inline asm.
11890         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11891         * sysdeps/x86_64/fpu/e_expl.S: Copy from
11892         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11894         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11895         (nice): Likewise.
11896         (poll): Likewise.
11897         (signal): Likewise.
11898         (time): Likewise.
11899         (times): Likewise.
11901 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11903         * sysdeps/unix/syscalls.list (adjtime): Add entry from
11904         sysdeps/unix/common/syscalls.list.
11905         (fchmod): Likewise.
11906         (fchown): Likewise.
11907         (ftruncate): Likewise.
11908         (getrusage): Likewise.
11909         (gettimeofday): Likewise.
11910         (setpgid): Likewise.
11911         (setregid): Likewise.
11912         (setreuid): Likewise.
11913         (sigaction): Likewise.
11914         (truncate): Likewise.
11915         (vhangup): Likewise.
11916         * sysdeps/unix/common/syscalls.list: Remove file.
11917         * sysdeps/unix/bsd/Implies: Don't include unix/common.
11918         * sysdeps/unix/sysv/linux/Implies: Likewise.
11920 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
11922         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11924         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11925         Moved to ...
11926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11927         Here.
11928         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11929         to ...
11930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11931         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11932         to ...
11933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11934         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11935         to ...
11936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11937         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11938         to ...
11939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11940         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11941         to ...
11942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11943         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11944         to ...
11945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11946         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11947         to ...
11948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11949         Here.
11950         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11951         to ...
11952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11953         Here.
11954         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11955         to ...
11956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11957         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11958         Moved to ...
11959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11960         Here.
11961         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11962         to ...
11963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11965 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11967         * sysdeps/unix/common/bits/dirent.h: Remove file.
11968         * sysdeps/unix/common/bits/fcntl.h: Likewise.
11970         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11971         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11972         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11973         * sysdeps/unix/bsd/isatty.c: Likewise.
11974         * sysdeps/unix/bsd/tcdrain.c: Likewise.
11975         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11976         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11978 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11980         [BZ #13563]
11981         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11982         long double comparison inaccuracies.
11983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11986 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
11988         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11989         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11991 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #14049]
11994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11995         nonzero digits before rounding a hex value.
11996         * stdlib/tst-strtod.c (tests): Add another test.
11998 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12000         * sysdeps/s390/fpu/libm-test-ulps: Update.
12002 2012-05-03  Andreas Jaeger  <aj@suse.de>
12004         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12005         does not get optimized out.
12006         (malloc_opt_barrier): New.
12008 2012-05-03  Andreas Jaeger  <aj@suse.de>
12009             Roland McGrath  <roland@hack.frob.com>
12011         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12012         intermediate file deletion.
12013         (generated): Add .symlist files.
12015 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
12017         [BZ #13775]
12018         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12019         Redirect under this condition.
12020         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12021         [__USE_GNU] (__dprintf_chk): Not under this condition.
12022         [__USE_GNU] (__vdprintf_chk): Likewise.
12023         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12024         under this condition.
12025         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12026         [__USE_XOPEN2K8] (dprintf): Define under this condition.
12027         [__USE_XOPEN2K8] (vdprintf): Likewise.
12028         [__USE_GNU] (__dprintf_chk): Not under this condition.
12029         [__USE_GNU] (__vdprintf_chk): Likewise.
12030         [__USE_GNU] (dprintf): Likewise.
12031         [__USE_GNU] (vdprintf): Likewise.
12033 2012-05-03  Roland McGrath  <roland@hack.frob.com>
12035         * elf/Makefile (common-generated): Set this instead of generated for
12036         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
12037         $(all-built-dso)-derived lists.
12039 2012-05-03  Andreas Jaeger  <aj@suse.de>
12041         * sysdeps/i386/fpu/libm-test-ulps: Update.
12043         * FAQ: Removed.
12044         * FAQ.in: Likewise.
12045         * scripts/gen-FAQ.pl: Likewise.
12046         * manual/install.texi (Installation): Point to online location of
12047         FAQ.
12048         * Makefile (files-for-dist): Remove FAQ.
12049         (FAQ): Remove.
12051 2012-05-02  Allan McRae  <allan@archlinux.org>
12053         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12054         (LDFLAGS-reldepmod5.so): Likewise.
12055         (LDFLAGS-reldep6mod1.so): Likewise.
12056         (LDFLAGS-reldep6mod4.so): Likewise.
12057         (LDFLAGS-reldep8mod3.so): Likewise.
12058         (LDFLAGS-unload4mod1.so): Likewise.
12059         (LDFLAGS-unload4mod2.so): Likewise.
12060         (LDFLAGS-tst-initorder): Likewise.
12061         (LDFLAGS-tst-initordera2.so): Likewise.
12062         (LDFLAGS-tst-initordera3.so): Likewise.
12063         (LDFLAGS-tst-initordera4.so): Likewise.
12064         (LDFLAGS-tst-initorderb2.so): Likewise.
12065         (LDFLAGS-noload): Likewise.
12066         (LDFLAGS-next): Likewise.
12067         (LDFLAGS-order2mod1.so): Likewise.
12068         (LDFLAGS-order2mod2.so): Likewise.
12069         (LDFLAGS-tst-initorder2): Likewise.
12070         (LDFLAGS-tst-initorder2a.so): Likewise.
12071         (LDFLAGS-tst-initorder2b.so): Likewise.
12072         (LDFLAGS-tst-initorder2c.so): Likewise.
12073         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12075 2012-05-02  David S. Miller  <davem@davemloft.net>
12077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12079 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12081         [BZ #14055]
12082         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12084 2012-05-02  Andreas Jaeger  <aj@suse.de>
12086         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12087         since we manipulate rounding mode.
12088         (CPPFLAGS-test-idouble.c): Likewise.
12089         (CPPFLAGS-test-ifloat.c): Likewise.
12090         (CFLAGS-test-ldouble.c): Likewise.
12091         (CFLAGS-test-double.c): Likewise.
12092         (CFLAGS-test-float.c): Likewise.
12093         (CFLAGS-test-misc.c): Likewise.
12094         (CFLAGS-test-test-fenv.c): Likewise.
12096 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12098         [BZ #2550]
12099         [BZ #2570]
12100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12101         comparisons to determine direction to adjust input.
12103 2012-05-01  Roland McGrath  <roland@hack.frob.com>
12105         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12106         output to the target.
12108         * scripts/localplt.awk: New file.
12109         * elf/Makefile ($(objpfx)check-localplt): Target removed.
12110         (check-localplt-CFLAGS): Variable removed.
12111         ($(all-built-dso:=.jmprel)): New static pattern rule.
12112         (generated): Add those targets.
12113         (localplt-built-dso): New variable.
12114         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12116         * elf/check-localplt.c: File removed.
12118         * scripts/check-execstack.awk: New file.
12119         * elf/Makefile ($(objpfx)check-execstack): Target removed.
12120         (check-execstack-CFLAGS): Variable removed.
12121         ($(objpfx)check-execstack.h): Target removed.
12122         ($(objpfx)execstack-default): New target.
12123         (generated): Add that instead of check-execstack.h.
12124         ($(all-built-dso:=.phdr)): New static pattern rule.
12125         (generated): Add those targets.
12126         * elf/check-execstack.c: File removed.
12128         * scripts/check-textrel.awk: New file.
12129         * elf/Makefile ($(objpfx)check-textrel): Target removed.
12130         (check-textrel-CFLAGS): Variable removed.
12131         (all-built-dso): Use := to define.o
12132         ($(all-built-dso:=.dyn)): New static pattern rule.
12133         (generated): Add those targets.
12134         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12135         * config.make.in (READELF): New substituted variable.
12136         * elf/check-textrel.c: File removed.
12138 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
12140         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12141         allow.
12142         * conform/data/ctype.h-data [C99-based standards] (isblank):
12143         Expect function.
12144         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12145         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12146         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12147         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12148         Specify type.  Require positive value.
12149         (EILSEQ): Likewise.
12150         (ERANGE): Likewise.
12151         [ISO || POSIX] (EILSEQ): Do not expect.
12152         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12153         Specify type.  Require positive value.
12154         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12155         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12156         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12157         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12158         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12159         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12160         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12161         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12162         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12163         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12164         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12165         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12166         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12167         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12168         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12169         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12170         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12171         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12172         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12173         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12174         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12175         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12176         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12177         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12178         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12179         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12180         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12181         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12182         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12183         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12184         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12185         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12186         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12187         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12188         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12189         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12190         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12191         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12192         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12193         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12194         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12195         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12196         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12197         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12198         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12199         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12200         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12201         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12202         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12203         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12204         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12205         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12206         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12207         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12208         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12209         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12210         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12211         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12212         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12213         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12214         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12215         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12216         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12217         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12218         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12219         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12220         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12221         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12222         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12223         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12224         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12225         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12226         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12227         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12228         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12229         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12230         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12231         Require >= 2.
12232         (FLT_ROUNDS): Expect as macro, not constant.
12233         (FLT_MANT_DIG): Use macro-int-constant.
12234         (DBL_MANT_DIG): Likewise.
12235         (LDBL_MANT_DIG): Likewise.
12236         (FLT_DIG): Likewise.
12237         (DBL_DIG): Likewise.
12238         (LDBL_DIG): Likewise.
12239         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
12240         (DBL_MIN_EXP): Likewise.
12241         (LDBL_MIN_EXP): Likewise.
12242         (FLT_MAX_EXP): Use macro-int-constant.
12243         (DBL_MAX_EXP): Likewise.
12244         (LDBL_MAX_EXP): Likewise.
12245         (FLT_MAX_10_EXP): Likewise.
12246         (DBL_MAX_10_EXP): Likewise.
12247         (LDBL_MAX_10_EXP): Likewise.
12248         (FLT_MAX): Use macro-constant.
12249         (DBL_MAX): Likewise.
12250         (LDBL_MAX): Likewise.
12251         (FLT_EPSILON): Use macro-constant.  Give upper bound.
12252         (DBL_EPSILON): Likewise.
12253         (LDBL_EPSILON): Likewise.
12254         (FLT_MIN): Likewise.
12255         (DBL_MIN): Likewise.
12256         (LDBL_MIN): Likewise.
12257         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12258         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12259         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12260         [ISO11] (FLT_HAS_SUBNORM): Likewise.
12261         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12262         [ISO11] (DBL_DECIMAL_DIG): Likewise.
12263         [ISO11] (FLT_DECIMAL_DIG): Likewise.
12264         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12265         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12266         [ISO11] (FLT_TRUE_MIN): Likewise.
12267         [ISO11] (LDBL_TRUE_MIN): Likewise.
12268         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12269         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12270         (SCHAR_MIN): Use macro-int-constant.  Specify type.
12271         (SCHAR_MAX): Likewise.
12272         (UCHAR_MAX): Likewise.
12273         (CHAR_MIN): Likewise.
12274         (CHAR_MAX): Likewise.
12275         (MB_LEN_MAX): Use macro-int-constant.
12276         (SHRT_MIN): Use macro-int-constant.  Specify type.
12277         (SHRT_MAX): Likewise.
12278         (USHRT_MAX): Likewise.
12279         (INT_MAX): Likewise.
12280         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
12281         bound negative.
12282         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
12283         bound with "U".
12284         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
12285         bound with "L".
12286         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
12287         bound negative.  Suffix upper bound with "L".
12288         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
12289         bound with "UL".
12290         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12291         Specify type.
12292         [C99-based standards] (LLONG_MAX): Likewise.
12293         [C99-based standards] (ULLONG_MAX): Likewise.
12294         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
12295         == 0.
12296         [ISO11] (max_align_t): Require type.
12297         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12299         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12300         from $CFLAGS, without defining away __attribute__ calls.
12301         (checknamespace): Use $CFLAGS_namespace.
12303         * conform/conformtest.pl (@keywords): Only include C99 keywords
12304         for standards based on C99 or C11.
12306         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12307         Disable tests.
12308         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12309         UNIX98]: Likewise.
12311         * conform/conformtest.pl: Handle "macro-int-constant" and test for
12312         usability of symbols in #if.
12314         * conform/conformtest.pl: If macro or constant types start
12315         "promoted:", expect the symbol to be of the following type
12316         promoted by the integer promotions.
12318         * conform/conformtest.pl: Parse all "constant" and "macro" lines
12319         in one place.  Also handle "macro-constant".
12321         * conform/conformtest.pl: Only accept expected macro values with
12322         "==".  Parse all "macro" lines in one place.
12323         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12325         * conform/conformtest.pl: Handle braced types on "constant" lines
12326         instead of handling "typed-constant".
12327         * conform/data/signal.h-data: Use "constant" instead of
12328         "typed-constant".
12330         * conform/conformtest.pl: Handle "optional-" at start of lines in
12331         one place rather than duplicating several cases.  Handle each
12332         format of "macro" line with initial "optional-".
12334         * conform/conformtest.pl: Only accept expected constant or
12335         optional-constant values with "==".  Parse all "constant" lines in
12336         one place.  Parse all "optional-constant" lines in one place.
12337         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12338         * conform/data/fmtmsg.h-data: Likewise.
12339         * conform/data/netinet/in.h-data: Likewise.
12340         * conform/data/tar.h-data: Likewise.
12341         * conform/data/limits.h-data: Use "==" form on "constant" and
12342         "optional-constant" lines.
12344         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12345         Use -std=c99 for XOPEN2K.
12346         (@knownproblems): Remove.
12347         (newtoken): Don't check %isknown.
12349         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12350         Do not expect macro.
12351         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12352         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12353         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12354         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12355         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12356         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12357         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12358         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12359         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12360         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12361         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12362         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12363         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12364         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12365         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12366         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12367         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12368         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12369         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12370         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12371         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12372         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12373         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12374         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12375         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12376         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12377         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12378         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12379         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12380         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12381         [XPG3] (acosh): Likewise.
12382         [XPG3] (asinh): Likewise.
12383         [XPG3] (atanh): Likewise.
12384         [XPG3] (cbrt): Likewise.
12385         [XPG3] (expm1): Likewise.
12386         [XPG3] (ilogb): Likewise.
12387         [XPG3] (log1p): Likewise.
12388         [XPG3] (logb): Likewise.
12389         [XPG3] (nextafter): Likewise.
12390         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12391         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12392         [XPG3] (remainder): Likewise.
12393         [XPG3] (rint): Likewise.
12394         [XPG3 || XPG4 || UNIX98] (round): Likewise.
12395         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12396         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12397         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12398         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12399         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12400         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12401         [UNIX98 || XOPEN2K] (scalb): Expect.
12402         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12403         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12404         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12405         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12406         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12407         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12408         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12409         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12410         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12411         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12412         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12413         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12414         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12415         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12416         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12417         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12418         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12419         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12420         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12421         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12422         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12423         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12424         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12425         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12426         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12427         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12428         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12429         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12430         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12431         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12432         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12433         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12434         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12435         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12436         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12437         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12438         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12439         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12440         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12441         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12442         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12443         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12444         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12445         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12446         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12447         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12448         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12449         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12450         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12451         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12452         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12453         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12454         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12455         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12456         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12457         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12458         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12459         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12460         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12461         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12462         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12463         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12464         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12465         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12466         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12467         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12468         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12469         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12470         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12471         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12472         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12473         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12474         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12475         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12476         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12477         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12478         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12479         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12480         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12481         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12482         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12483         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12484         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12485         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12486         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12487         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12488         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12489         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12490         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12491         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12492         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12493         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12494         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12495         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12496         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12497         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12498         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12499         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12500         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12501         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12502         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12503         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12504         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12505         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12506         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12507         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12508         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12509         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12510         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12511         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12512         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12513         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12514         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12515         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12516         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12517         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12518         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12519         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12520         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12521         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12522         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12523         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12524         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12525         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12526         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12527         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12528         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12529         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12530         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12531         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12532         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12533         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12534         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12535         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12536         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12537         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12538         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12540         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12541         _XOPEN_SOURCE_EXTENDED for XPG4.
12543         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12545         * Makeconfig (localtime): Remove variable.
12546         (inst_localtime-file): Likewise.
12548 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12551         Update.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12553         Update.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12555         Update.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12557         Update.
12558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12559         Update.
12560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12561         Update.
12562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12563         Update.
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12565         Update.
12566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12567         Update.
12569 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
12571         [BZ #2550]
12572         [BZ #2570]
12573         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12574         comparisons to determine direction to adjust input.
12575         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12576         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12578         Likewise.
12579         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12580         Likewise.
12581         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12582         Likewise.
12583         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12584         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12585         Likewise.
12586         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12587         Likewise.
12588         * math/libm-test.inc (nexttoward_test): Add more tests.
12590 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12592         [BZ #14040]
12593         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12594         in version GLIBC_2.1, not GLIBC_2.0.
12595         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12596         Likewise.
12598 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
12600         [BZ #13942]
12601         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12602         (1 - x) * (1 + x).
12603         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12604         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12605         * math/libm-test.inc (acos_test): Add more tests.
12606         (asin_test): Likewise.
12607         * sysdeps/i386/fpu/libm-test-ulps: Update.
12608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610         [BZ #14034]
12611         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12612         of square root.
12613         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12614         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12615         * math/libm-test.inc (acos_test_tonearest): New function.
12616         (acos_test_towardzero): Likewise.
12617         (acos_test_downward): Likewise.
12618         (acos_test_upward): Likewise.
12619         (asin_test_tonearest): Likewise.
12620         (asin_test_towardzero): Likewise.
12621         (asin_test_downward): Likewise.
12622         (asin_test_upward): Likewise.
12623         (main): Call the new functions.
12624         * sysdeps/i386/fpu/libm-test-ulps: Update.
12625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12627         [BZ #13884]
12628         [BZ #13924]
12629         * math/e_exp10.c: Include <float.h>.
12630         (__ieee754_exp10): Handle underflow here rather than multiplying
12631         large negative argument by M_LN10.
12632         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12633         of __ieee754_expf.
12634         * math/e_exp10l.c: Include <float.h>.
12635         (__ieee754_exp10l): Handle underflow here rather than multiplying
12636         large negative argument by M_LN10l.
12637         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
12638         spurious overflow exception on underflow.
12640 2012-04-29  Marek Polacek  <polacek@redhat.com>
12642         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12643         (__fortify_function): New macro.
12644         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12645         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12646         __extern_always_inline.
12647         * libio/bits/stdio2.h: Likewise.
12648         * libio/bits/stdio.h: Likewise.
12649         * string/string.h: Likewise.
12650         * string/bits/string3.h: Likewise.
12651         * include/stdio.h: Likewise.
12652         * stdlib/bits/stdlib.h: Likewise.
12653         * stdlib/stdlib.h: Likewise.
12654         * rt/bits/mqueue2.h: Likewise.
12655         * rt/mqueue.h: Likewise.
12656         * posix/bits/unistd.h: Likewise.
12657         * posix/unistd.h: Likewise.
12658         * io/bits/poll2.h: Likewise.
12659         * io/bits/fcntl2.h: Likewise.
12660         * io/fcntl.h: Likewise.
12661         * io/sys/poll.h: Likewise.
12662         * misc/bits/syslog.h: Likewise.
12663         * misc/bits/syslog-ldbl.h: Likewise.
12664         * misc/sys/syslog.h: Likewise.
12665         * socket/bits/socket2.h: Likewise.
12666         * socket/sys/socket.h: Likewise.
12667         * debug/tst-chk1.c: Likewise.
12668         * wcsmbs/bits/wchar2.h: Likewise.
12669         * wcsmbs/bits/wchar-ldbl.h: Likewise.
12670         * wcsmbs/wchar.h: Likewise.
12672 2012-04-29  Andreas Jaeger  <aj@suse.de>
12674         * Makerules (tests): Remove enable-check-abi protection.
12675         (check-abi-warn): Remove.
12676         (check-abi-%): Remove check-abi-warn usage.
12678         * configure.in: Remove check-abi configure option.
12679         * configure: Regenerated.
12680         * config.make.in (enable-check-abi): Remove.
12682 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
12684         [BZ #14033]
12685         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12686         double functions to double *_finite functions.
12688         [BZ #13941]
12689         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12690         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12691         LDBL_MIN_EXP.
12692         * stdio-common/Makefile (tests): Add tst-sprintf3.
12693         * stdio-common/tst-sprintf3.c: New file.
12695         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12696         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12698 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12700         * conform/conformtest.pl: Remove duplicate typed-constant
12701         handling.
12703 2012-04-28  David S. Miller  <davem@davemloft.net>
12705         * Makerules (%.abilist): Add vpath on sysdep_dirs.
12706         (check-abi-%): Remove AWK script prerequisite and explicit
12707         abilist directory.
12708         (check-abi): Rewrite to just diff the symlist with the abilist.
12709         (config-tls, config-abi-config): Delete, no longer used.
12710         (update-abi-%): Remove AWK script and explicit abilist directory.
12711         (update-abi): Rewrite to simply compare and conditionally copy the
12712         symlist and the sysdep abilist file.  Remove update-abi-config
12713         checks.
12714         * abilist/ld.abilist: Remove.
12715         * abilist/libBrokenLocale.abilist: Remove.
12716         * abilist/libanl.abilist: Remove.
12717         * abilist/libcrypt.abilist: Remove.
12718         * abilist/libdl.abilist: Remove.
12719         * abilist/librt.abilist: Remove.
12720         * abilist/libthread_db.abilist: Remove.
12721         * abilist/libutil.abilist: Remove.
12722         * scripts/extract-abilist.awk: Remove.
12723         * scripts/merge-abilist.awk: Remove.
12724         * sysdeps/generic/libcidn.abilist: New file.
12725         * sysdeps/generic/libnss_compat.abilist: New file.
12726         * sysdeps/generic/libnss_db.abilist: New file.
12727         * sysdeps/generic/libnss_dns.abilist: New file.
12728         * sysdeps/generic/libnss_files.abilist: New file.
12729         * sysdeps/generic/libnss_hesiod.abilist: New file.
12730         * sysdeps/generic/libnss_nis.abilist: New file.
12731         * sysdeps/generic/libnss_nisplus.abilist: New file.
12732         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12733         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12734         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12735         file.
12736         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12737         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12738         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12739         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12740         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12741         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12742         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12743         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12744         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12745         file.
12746         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12747         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12748         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12749         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12750         file.
12751         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12752         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12753         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12754         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12755         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12756         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12757         file.
12758         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12759         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12760         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12761         file.
12762         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12764         New file.
12765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12766         New file.
12767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12768         New file.
12769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12770         New file.
12771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12772         New file.
12773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12774         New file.
12775         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12776         New file.
12777         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12778         New file.
12779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12780         New file.
12781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12782         New file.
12783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12784         New file.
12785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12786         New file.
12787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12788         New file.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12790         file.
12791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12792         New file.
12793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12794         New file.
12795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12796         file.
12797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12798         New file.
12799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12800         New file.
12801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12802         file.
12803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12804         New file.
12805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12806         New file.
12807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12808         New file.
12809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12810         New file.
12811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12812         New file.
12813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12814         New file.
12815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12817         file.
12818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12819         New file.
12820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12821         file.
12822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12823         file.
12824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12825         file.
12826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12827         file.
12828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12829         file.
12830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12831         New file.
12832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12833         file.
12834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12835         file.
12836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12837         New file.
12838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12839         file.
12840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12842         file.
12843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12844         New file.
12845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12846         file.
12847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12848         file.
12849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12850         file.
12851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12852         file.
12853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12854         file.
12855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12856         New file.
12857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12858         file.
12859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12860         file.
12861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12862         New file.
12863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12864         file.
12865         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12866         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12867         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12868         file.
12869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12870         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12871         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12872         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12873         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12874         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12875         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12876         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12877         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12878         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12881         file.
12882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12883         New file.
12884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12885         file.
12886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12887         file.
12888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12889         file.
12890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12891         file.
12892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12893         file.
12894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12895         New file.
12896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12897         New file.
12898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12899         file.
12900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12901         New file.
12902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12903         file.
12904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12906         file.
12907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12908         New file.
12909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12910         file.
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12912         file.
12913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12914         file.
12915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12916         file.
12917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12918         file.
12919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12920         New file.
12921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12922         New file.
12923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12924         file.
12925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12926         New file.
12927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12928         file.
12930 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
12932         * conform/conformtest.pl: Fix typo in handling typed-constant from
12933         allow-header.
12935 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12937         * README: Cut down references to pre-2.6 Linux kernels and
12938         Linuxthreads.  Update lists of configurations in libc and ports
12939         and sort alphabetically.  Say "or newer" with Linux kernel version
12940         requirements.
12942         * config.h.in [IS_IN_build]: Allow compiling without optimization.
12944 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12946         [BZ #887]
12947         * math/libm-test.inc (logb_test_downward): New test to expose
12948         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12949         rounding mode.
12951 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
12953         [BZ #14027]
12954         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12955         to be done.
12956         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12957         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12959 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
12961         * sysdeps/unix/i386/brk.S: Remove file.
12962         * sysdeps/unix/i386/dl-brk.S: Likewise.
12963         * sysdeps/unix/i386/pipe.S: Likewise.
12964         * sysdeps/unix/i386/sigreturn.S: Likewise.
12965         * sysdeps/unix/i386/syscall.S: Likewise.
12966         * sysdeps/unix/i386/vfork.S: Likewise.
12967         * sysdeps/unix/i386/wait.S: Likewise.
12969         * sysdeps/unix/common/tcsendbrk.c: Move to ...
12970         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12972         * configure.in (arm*-none*): Do not allow without
12973         --enable-hacker-mode.
12974         (netbsd*): Remove case setting base_os.
12975         (386bsd*): Likewise.
12976         (freebsd*): Likewise.
12977         (bsdi*): Likewise.
12978         (osf*): Likewise.
12979         (sunos*): Likewise.
12980         (ultrix*): Likewise.
12981         (newsos*): Likewise.
12982         (dynix*): Likewise.
12983         (*bsd*): Likewise.
12984         (sysv*): Likewise.
12985         (isc*): Likewise.
12986         (esix*): Likewise.
12987         (sco*): Likewise.
12988         (minix*): Likewise.
12989         (irix4*): Likewise.
12990         (irix6*): Likewise.
12991         (solaris[2-9]*): Likewise.
12992         (none): Likewise.
12993         * configure: Regenerated.
12995 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12997         [BZ #11521]
12998         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12999         overflow or cancellation in calculating denominator.
13000         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13001         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13002         down expression to avoid unexpected rounding in newer GCCs.
13003         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13005 2012-04-26  David S. Miller  <davem@davemloft.net>
13007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13008         long-double compat symbols.
13009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13023 2012-04-25  David S. Miller  <davem@davemloft.net>
13025         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13026         HWCAP_* values only after the memory barriers have been defined.
13027         (atomic_full_barrier): Define.
13028         (atomic_read_barrier): Define.
13029         (atomic_write_barrier): Define.
13031 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13033         * shlib-versions: Add libgcc_s version information.
13034         * sysdeps/generic/libgcc_s.h: Remove.
13035         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13036         libgcc_s.h.
13037         * sysdeps/gnu/unwind-resume.c: Likewise.
13038         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13040 2012-04-25  David S. Miller  <davem@davemloft.net>
13042         * sysdeps/unix/sparc/brk.S: Delete.
13043         * sysdeps/unix/sparc/dl-brk.S: Delete.
13044         * sysdeps/unix/sparc/pipe.S: Delete.
13045         * sysdeps/unix/sparc/sysdep.S: Delete.
13046         * sysdeps/unix/sparc/sysdep.h: Delete.
13047         * sysdeps/unix/sparc/vfork.S: Delete.
13048         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13049         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13050         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13051         ret_ERRVAL, r0, r1, MOVE): Define.
13052         (JUMPTARGET): Remove.
13053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13054         sysdeps/unix/sparc/sysdep.h
13055         (ENTRY, END): Remove.
13056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13058 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
13060         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13061         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13062         -DIS_IN_build.
13064         * timezone/README: Update upstream location and email address for
13065         tzcode and tzdata.
13066         * timezone/zdump.c: Update from tzcode 2012b.
13067         * timezone/zic.c: Likewise.
13069         * configure.in (libc_cv_as_needed): Remove test.
13070         * configure: Regenerated.
13071         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13072         conditional definition.
13073         [$(have-as-needed) != yes] (no-as-needed): Likewise.
13074         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13075         * config.make.in (have-as-needed): Remove variable.
13077 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13078             Paul Pluzhnikov  <ppluzhnikov@google.com>
13080         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13081         strings correctly.
13083 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13085         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13086         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13087         * sysdeps/sh/strlen.S: Likewise.
13089 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
13091         * sysdeps/unix/fork.S: Remove file.
13092         * sysdeps/unix/i386/fork.S: Likewise.
13093         * sysdeps/unix/sparc/fork.S: Likewise.
13095         * sysdeps/unix/system.c: Remove file.
13096         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13098         * sysdeps/unix/getegid.S: Remove file.
13099         * sysdeps/unix/geteuid.S: Likewise.
13101 2012-04-24  Roland McGrath  <roland@hack.frob.com>
13103         * scripts/check-localplt.awk: New file.
13104         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13105         of diff.
13106         * scripts/data/localplt-generic.data: Add a comment.
13108         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13109         NODE when __dir_mkfile failed.
13110         * sysdeps/mach/hurd/symlinkat.c: Likewise.
13111         Reported by Ludovic Courtès <ludo@gnu.org>.
13113 2012-04-24  Andreas Jaeger  <aj@suse.de>
13115         * Makerules (common-clean): Also remove gen-as-const-headers
13116         files.
13118 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
13120         * Makerules (native-compile): Do not change working directory for
13121         build.  Use $(OUTPUT_OPTION) in command.
13122         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13124 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13126         [BZ #13886]
13127         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13128         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13129         * math/libm-test.inc (floor_test): Add more tests.
13130         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13132 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
13134         * sysdeps/unix/getdents.c: Remove file.
13135         * sysdeps/unix/sysv/getdents.c: Likewise.
13136         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13138         * sysdeps/unix/syscalls.list (madvise): Add syscall from
13139         sysdeps/unix/mman/syscalls.list.
13140         (mmap): Likewise.
13141         (mprotect): Likewise.
13142         (msync): Likewise.
13143         (munmap): Likewise.
13144         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13145         * sysdeps/unix/mman/syscalls.list: Remove.
13146         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13148         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13149         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13150         * configure: Regenerated.
13151         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13152         $(libgcc_s_suffix).
13153         * config.make.in (libgcc_s_suffix): Remove variable.
13155 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
13157         * sysdeps/unix/sysv/gethostname.c: Move to ...
13158         * sysdeps/posix/gethostname.c: ... here.
13160         * sysdeps/unix/execve.S: Remove file.
13162         * sysdeps/unix/_exit.S: Remove file.
13164 2012-04-23  Andreas Jaeger  <aj@suse.de>
13166         [BZ #13739]
13167         * manual/Makefile: Remove make dist support, there's no
13168         need for a stand-alone documentation tar ball.
13169         (TEXI2DVI): Define always, it's not in Makeconfig.
13170         (dist): Removed.
13171         (tar-it): Removed.
13172         (edition): Removed.
13173         (glibc-doc-$(edition).tar): Removed
13174         (%.Z): Removed.
13175         (%.gz): Removed.
13176         (%.uu): Removed.
13177         (ETAGS): Remove, it's in Makeconfig.
13178         (move-if-change): Remove, it's in Makeconfig.
13180 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
13182         [BZ #13970]
13183         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13184         (strtod, strtof, strtold, strtol, strtoul, strtoq)
13185         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13186         (strtod_l, strtof_l, strtold_l): Remove __wur.
13187         It is not necessarily an error to ignore strtol's return value.
13188         One can reliably look at the stored endptr to decide whether
13189         the number had valid syntax.
13191 2012-04-21  Andreas Jaeger  <aj@suse.de>
13193         [BZ #13739]
13194         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13196 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
13198         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13199         * sysdeps/unix/sysv/Versions: Remove file.
13201 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
13203         [BZ #13927]
13204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13206 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
13208         [BZ #7064]
13209         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13210         version from __vm86.
13212 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
13214         * sysdeps/unix/common/lxstat.c: Remove file.
13215         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13217         * sysdeps/unix/sysv/Makefile: Remove file.
13219         * sysdeps/unix/sysv/direct.h: Remove file.
13221         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13222         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13223         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13224         * sysdeps/unix/sysv/bits/signum.h: Likewise.
13225         * sysdeps/unix/sysv/bits/stat.h: Likewise.
13226         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13227         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13229         * sysdeps/unix/sysv/setrlimit.c: Remove file.
13231         * sysdeps/unix/xmknod.c: Remove file.
13232         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13234         * sysdeps/unix/sysv/settimeofday.c: Remove file.
13236         * sysdeps/unix/sysv/i386/time.S: Remove file.
13238         * sysdeps/unix/fxstat.c: Remove file.
13239         * sysdeps/unix/xstat.c: Likewise.
13240         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13242         * sysdeps/unix/sysv/sigaction.c: Remove file.
13244         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13245         (sysdep_headers): Remove variable.
13246         [termio.h not in sysdep_headers] (generated): Likewise.
13247         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13248         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13249         * sysdeps/unix/sysv/tcdrain.c: Likewise.
13250         * sysdeps/unix/sysv/tcflow.c: Likewise.
13251         * sysdeps/unix/sysv/tcflush.c: Likewise.
13252         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13253         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13254         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13255         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13256         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13258         * sysdeps/unix/siglist.c: Remove file.
13260         * sysdeps/unix/getppid.S: Remove file.
13262         * sysdeps/unix/mkdir.c: Remove file.
13263         * sysdeps/unix/rmdir.c: Likewise.
13265 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
13267         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13268         ERR_MAX value.
13269         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13270         errlist-compat value.
13272 2012-04-18  David S. Miller  <davem@davemloft.net>
13274         * sysdeps/generic/memcopy.h (reg_char): Delete.
13275         * debug/strcat_chk.c: Use char, not reg_char.
13276         * debug/strcpy_chk.c: Likewise.
13277         * debug/strncat_chk.c: Likewise.
13278         * debug/strncpy_chk.c: Likewise.
13279         * string/memchr.c: Likewise.
13280         * string/memrchr.c: Likewise.
13281         * string/rawmemchr.c: Likewise.
13282         * string/strcat.c: Likewise.
13283         * string/strchr.c: Likewise.
13284         * string/strchrnul.c: Likewise.
13285         * string/strcmp.c: Likewise.
13286         * string/strcpy.c: Likewise.
13287         * string/strncat.c: Likewise.
13288         * string/strncmp.c: Likewise.
13289         * string/strncpy.c: Likewise.
13291 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
13293         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13294         __builtin_memcopy is called when src and dest ranges are known to not
13295         overlap.
13297 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
13299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13300         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13301         fwd_align_merge macro call.
13302         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13303         bwd_align_merge macro call.
13304         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13306 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
13308         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13309         bwd_align_merge macros.
13310         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13311         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13312         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13314 2012-04-18  David S. Miller  <davem@davemloft.net>
13316         * sysdeps/sparc/sparc64/memcopy.h: Delete.
13318 2012-04-18  Andreas Jaeger  <aj@suse.de>
13320         [BZ# 6794]
13321         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13322         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13323         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13325         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13326         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13327         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13329         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13330         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13331         Adjust for changed ldbl-128 files.
13333         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13334         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13335         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13337 2012-04-17  David S. Miller  <davem@davemloft.net>
13339         * sysdeps/sparc/sparc32/memcopy.h: Delete.
13341 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
13343         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13344         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13345         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13346         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13347         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13348         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13350 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13352         [BZ #6794]
13353         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13354         * math/libm-test.inc: Add ilogb errno and exception tests.
13355         * math/w_ilogb.c: New file: ilogb wrapper.
13356         * math/w_ilogbf.c: New file: ilogbf wrapper.
13357         * math/w_ilogbl.c: New file: ilogbl wrapper.
13358         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13359         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13360         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13361         exception being thrown with 0.0 as argument.
13362         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13363         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13364         exception being thrown with 0.0 as argument.
13365         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13366         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13367         exception being thrown with 0.0 as argument.
13368         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13369         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13370         exception being thrown with 0.0 as argument.
13371         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13372         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13373         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13374         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13375         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13376         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13377         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13378         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13379         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13381 2012-04-17  Petr Baudis  <pasky@ucw.cz>
13383         * include/sys/uio.h: Change __vector to __iovec to avoid clash
13384         with altivec.
13386 2012-04-16  Marek Polacek  <polacek@redhat.com>
13388         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13390 2012-04-16  Marek Polacek  <polacek@redhat.com>
13392         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13393         operands of fdivp instruction.
13395 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
13397         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13398         * elf/tst-auditmod3b.c: Likewise.
13399         * elf/tst-auditmod4b.c: Likewise.
13400         * elf/tst-auditmod5b.c: Likewise.
13401         * elf/tst-auditmod6b.c: Likewise.
13402         * elf/tst-auditmod6c.c: Likewise.
13403         * elf/tst-auditmod7b.c: Likewise.
13404         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13405         * sysdeps/x86_64/preconfigure.in: Likewise.
13406         * sysdeps/x86_64/preconfigure: Regenerated.
13408 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
13410         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13411         __ILP32__.
13413 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
13415         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13416         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13418 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
13420         [BZ #13973]
13421         * locale/iso-639.def: Fix gl language name. Spotted by
13422         Yaron Shahrabani.
13424 2012-04-12  Roland McGrath  <roland@hack.frob.com>
13426         [BZ #2074]
13427         * libio/libio.h (__io_write_fn): Update comment.
13429 2012-04-12  Petr Baudis  <pasky@ucw.cz>
13431         [BZ #2074]
13432         * stdio.texi (Hook Functions): The user provided writer function
13433         is not allowed to return -1.
13435 2012-04-11  David S. Miller  <davem@davemloft.net>
13437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13439 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
13441         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13442         Add a leading slash to rtkaio.
13444 2012-04-11  Jim Meyering  <meyering@redhat.com>
13446         [BZ #11959]
13447         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13448         It is not necessarily an error to ignore fwrite's return
13449         value.  One can reliably use ferror to test for errors after
13450         the fact.
13452 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
13454         * bits/types.h (__snseconds_t): New type.
13455         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13457         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13459         (__SNSECONDS_T_TYPE): Likewise.
13460         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13461         (__SNSECONDS_T_TYPE): Likewise.
13462         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13463         (__SNSECONDS_T_TYPE): Likewise.
13465 2012-04-10  Andreas Jaeger  <aj@suse.de>
13467         [BZ #2636]
13468         * manual/time.texi (Processor Time): Return type of times is
13469         elapsed real time since an arbitrary point in the past.
13470         (CPU Time): Move CLK_TCK from here...
13471         (Processor Time): ...to here.  Correct description.
13472         * manual/conf.texi (Constants for Sysconf): Correct description of
13473         _SC_CLK_TCK.
13475 2012-04-10  David S. Miller  <davem@davemloft.net>
13477         [BZ #13967]
13478         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13479         where the is a gap between DT_REL(A) and DT_JMPREL.
13481 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
13483         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13484         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13485         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13487 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13489         * elf/dl-support.c (_dl_inhibit_cache): New variable.
13490         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13491         (dl_main): Handle --inhibit-cache.
13492         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13493         _dl_inhibit_cache.
13494         * elf/dl-load.c (_dl_map_object): Use it.
13495         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13497 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
13499         [BZ #13872]
13500         * sysdeps/i386/fpu/e_powl.S (p78): New object.
13501         (__ieee754_powl): Saturate large exponents rather than testing for
13502         overflow of y*log2(x).
13503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13504         * math/libm-test.inc (pow_test): Do not permit spurious overflow
13505         exceptions.
13507         [BZ #11521]
13508         * math/s_ctan.c: Include <float.h>.
13509         (__ctan): Avoid internal overflow or cancellation in calculating
13510         denominator.
13511         * math/s_ctanf.c: Likewise.
13512         * math/s_ctanl.c: Likewise.
13513         * math/s_ctanh.c: Likewise.
13514         * math/s_ctanhf.c: Likewise.
13515         * math/s_ctanhl.c: Likewise.
13516         * math/libm-test.inc (ctan_test): Add more tests.
13517         (ctanh_test): Likewise.
13518         * sysdeps/i386/fpu/libm-test-ulps: Update.
13519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13521 2012-04-09  Andreas Jaeger  <aj@suse.de>
13523         [BZ #6894]
13524         * manual/filesys.texi (Directory Entries): Mention that d_namlen
13525         is an optional BSD extension.
13527         [BZ #10254]
13528         * manual/stdio.texi (Opening Streams): Document additional fopen
13529         parameters.
13531 2012-04-09  Roland McGrath  <roland@hack.frob.com>
13533         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13534         %eax without telling the compiler.
13536 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
13538         [BZ # 13963]
13539         * manual/install.texi: Use sourceware.org.
13541 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
13543         [BZ #13873]
13544         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13545         (__ieee754_pow): Generate overflow and underflow using huge*huge
13546         and tiny*tiny rather than just returning constant infinity or zero
13547         for large exponents.
13548         * math/libm-test.inc (pow_test): Require overflow exceptions for
13549         applicable cases of large exponents.
13551         [BZ #706]
13552         * sysdeps/i386/fpu/e_pow.S (p10): New object.
13553         (__ieee754_pow): Use iterative multiplication algorithm only for
13554         integer exponents with absolute value below 1024.  Check for odd
13555         integer exponents when using algorithm for real exponents.
13556         * math/libm-test.inc (pow_test): Add more tests.
13557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13559 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
13561         [BZ #13705]
13562         * math/libm-test.inc (exp_test): Do not allow overflow exception
13563         on underflow test.
13565 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
13567         [BZ #13705]
13568         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13569         instead of __kernel_standard_f.
13571 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
13573         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13574         * sysdeps/x86_64/memset_chk.S: Likewise.
13576 2012-04-08  Andreas Jaeger  <aj@suse.de>
13578         [BZ #10153]
13579         * manual/startup.texi (Environment Access): Describe return value
13580         for putenv and setenv.
13582         [BZ #6895]
13583         * manual/filesys.texi (Directory Entries): Add description for
13584         DT_LNK.
13586         [BZ #6890]
13587         * manual/filesys.texi (Directory Entries): Clarify that it's file
13588         system not operating system in the description of DT_UNKNOWN.
13590         [BZ #6578]
13591         * manual/syslog.texi (closelog): Fix reference, it's openlog.
13593 2012-04-08  Stephen Compall  <s11@member.fsf.org>
13595         [BZ #6649]
13596         * manual/llio.texi (Opening and Closing Files): Add cross
13597         reference to explain mode argument.
13599 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
13601         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13602         * sysdeps/x86_64/memset_chk.S: Likewise.
13604 2012-04-07  David S. Miller  <davem@davemloft.net>
13606         * elf/elf.h (R_SPARC_WDISP10): Define.
13607         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13608         R_SPARC_SIZE32.
13609         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13610         R_SPARC_SIZE64 and R_SPARC_H34.
13612 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
13614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13615         conditions and remove no longer applicable assertion.
13617 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13619         * bits/byteswap.h: Include <features.h>.
13620         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13621         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13623 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
13625         * bits/byteswap.h (__bswap_16): Removed.
13626         Include <bits/byteswap-16.h> to get __bswap_16.
13627         * sysdeps/i386/bits/byteswap.h: Likewise.
13628         * sysdeps/s390/bits/byteswap.h: Likewise.
13629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13630         * bits/byteswap-16.h: New file.
13631         * sysdeps/i386/bits/byteswap-16.h: Likewise.
13632         * sysdeps/s390/bits/byteswap-16.h: Likewise.
13633         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13634         * string/Makefile (headers): Add bits/byteswap-16.h.
13636 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13638         [BZ #13895]
13639         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13640         extra indirection.
13641         * nss/Makefile (tests-static, tests): Add tst-nss-static.
13642         * nss/tst-nss-static.c: New.
13644 2012-04-06  Robert Millan  <rmh@gnu.org>
13646         [BZ #6486]
13647         * manual/llio.texi (File Position Primitive): lseek
13648         refers to WHENCE when it really means OFFSET.
13650 2012-04-06  Andreas Jaeger  <aj@suse.de>
13652         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13653         strncmp declarations.
13655         * abilist/libc.abilist: Add __poll and __ppoll.
13657 2012-04-05  David S. Miller  <davem@davemloft.net>
13659         * scripts/check-local-headers.sh: Accept a host triplet in the
13660         path matched by the exclude regexp.
13662         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13663         definition.
13664         * sysdeps/powerpc/powerpc32/dl-machine.h
13665         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13666         * sysdeps/s390/s390-32/dl-machine.h
13667         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13668         * sysdeps/sparc/sparc32/dl-machine.h
13669         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13670         * sysdeps/sparc/sparc64/dl-machine.h
13671         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13673         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13674         lazy binding.
13675         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13676         undefined symbol errors.
13678         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13679         DT_NEEDED entries.
13681 2012-04-05  Michael Matz  <matz@suse.de>
13683         [BZ #13592]
13684         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13686 2012-04-05  Andreas Jaeger  <aj@suse.de>
13688         [BZ #13908]
13689         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13690         comment.
13692 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13694         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13695         which ROUND is no valid rounding mode.
13697 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13699         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13700         read again.
13701         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13703 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13705         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13706         an exception using FPU order intentionally.
13708 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13710         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13711         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13712         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13713         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13715 2012-04-05  Simon Josefsson  <simon@josefsson.org>
13717         [BZ #12340]
13718         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13719         EINVAL when BUFLEN is too smal.
13721 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
13723         [BZ #13553]
13724         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13725         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13727 2012-04-03  Andreas Jaeger  <aj@suse.de>
13729         [BZ #13938]
13730         * manual/setjmp.texi (System V contexts): Fix sentence.
13732         [BZ #13926]
13733         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13734         New macro for this case.
13735         [!__GNUC__] (__bswap_64): New inline function for this case.
13736         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13737         * bits/byteswap.h: Likewise.
13738         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13739         ull, guard with __GLIBC_HAVE_LONG_LONG.
13741         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13742         __GLIBC_HAVE_LONG_LONG.
13744         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13745         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13747 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13749         [BZ #13691]
13750         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13751         inptr and inend, rather than using last_ch.
13753 2012-04-02  David S. Miller  <davem@davemloft.net>
13755         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13756         * stdio-common/printf-parse.h (read_int): Change return type to
13757         'int', return -1 on INT_MAX overflow.
13758         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13759         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
13760         overflows INT_MAX.  Check for overflow of in-format-string precision
13761         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
13762         SIZE_MAX not INT_MAX for integer overflow test.
13763         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13764         skip the construct in the format string but do not record anything.
13765         * stdio-common/bug22.c: Adjust to test both width/prevision
13766         INT_MAX overflow as well as total length INT_MAX overflow.  Check
13767         explicitly for proper errno values.
13769 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
13771         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13772         CHAR_MAX.
13773         * string/test-strcmp.c [! WIDE]: Likewise.
13774         * time/tst-mktime2.c: Likewise for INT_MAX.
13775         * string/test-string.h: #include <sys/param.h> for MIN.
13777         * csu/init-first.c (__libc_init_first): Call __ctype_init.
13778         * sysdeps/i386/init-first.c (init): Likewise.
13779         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13780         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13781         * sysdeps/sh/init-first.c (init): Likewise.
13783 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
13785         * po/ru.po: Update from translation team.
13786         * po/vi.po: Likewise.
13788 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13790         * resolv/nss_dns/dns-host.c: Merge copyright years.
13792 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13794         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13795         Optimize memcpy with prefetch if
13796         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
13797         src, dst pointers have unequal 16 byte alignments.
13799 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13801         [BZ #13928]
13802         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13803         from a CNAME entry and return the minimum ttl for the query.
13804         (gaih_getanswer_slice): Likewise.
13806 2012-03-30  Jeff Law  <law@redhat.com>
13808         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13809         due to long keys.
13810         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13811         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13813         * resolv/nss_dns/dns-host.c: Update copyright year.
13815 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
13817         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13818         requests to save a system call.  Fix check that all bytes are sent.
13820         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13821         comments for sendmmsg.
13823 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13825         [BZ #13691]
13826         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13827         with only 1 character between 0x0041 and 0x01b0.
13828         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13829         * wcsmbs/tst-mbsnrtowcs.c: New file.
13831 2012-03-29  David S. Miller  <davem@davemloft.net>
13833         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13834         small copies by hand.
13836 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13838         [BZ #13761]
13839         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13840         _nss_compat_initgroups_dyn): Fall back to malloc/free
13841         for large group memberships.
13843 2012-03-28  David S. Miller  <davem@davemloft.net>
13845         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13846         that branches into memcpy.
13847         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13850         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13852         bits.
13853         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13854         implementation too.
13855         * sysdeps/sparc/mempcpy.S: New file.
13857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13858         the IFUNC routine in the libc case.
13859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13861         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13862         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13863         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13864         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13865         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13866         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13867         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13868         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13870         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13871         loop to 256 bytes instead of 64 bytes and fix test signedness.
13873         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13874         * sysdeps/sparc/sparc32/Makefile: rather than here...
13875         * sysdeps/sparc/sparc64/Makefile: and here.
13877 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
13879         * malloc/mallocbug.c: Avoid warnings about unused variables.
13881 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13883         [BZ #13760]
13884         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13885         in the right place. Discard and retry query if response is
13886         larger than input buffer size.
13888 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
13890         [BZ #369]
13891         [BZ #2678]
13892         [BZ #3866]
13893         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13894         x for large integer exponent.
13895         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13896         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
13897         sign of result as needed afterwards.
13898         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13899         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13900         result for underflowing pow the same as for overflow.
13901         (__kernel_standard_l): Handle powl overflow and underflow here
13902         rather than calling __kernel_standard.
13903         * math/libm-test.inc (pow_test): Add more tests.
13905         [BZ #3868]
13906         [BZ #13879]
13907         [BZ #13910]
13908         [BZ #13911]
13909         [BZ #13912]
13910         [BZ #13913]
13911         [BZ #13915]
13912         [BZ #13916]
13913         [BZ #13917]
13914         [BZ #13918]
13915         [BZ #13919]
13916         [BZ #13920]
13917         [BZ #13921]
13918         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13919         * sysdeps/ieee754/k_standard.c: Include <float.h>.
13920         (__kernel_standard_l): New function.
13921         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13922         __kernel_standard.
13923         * math/w_acosl.c (__acosl): Likewise.
13924         * math/w_asinl.c (__asinl): Likewise.
13925         * math/w_atan2l.c (__atan2l): Likewise.
13926         * math/w_atanhl.c (__atanhl): Likewise.
13927         * math/w_coshl.c (__coshl): Likewise.
13928         * math/w_exp10l.c (__exp10l): Likewise.
13929         * math/w_exp2l.c (__exp2l): Likewise.
13930         * math/w_fmodl.c (__fmodl): Likewise.
13931         * math/w_hypotl.c (__hypotl): Likewise.
13932         * math/w_j0l.c (__j0l, __y0l): Likewise.
13933         * math/w_j1l.c (__j1l, __y1l): Likewise.
13934         * math/w_jnl.c (__jnl, __ynl): Likewise.
13935         * math/w_lgammal.c (__lgammal): Likewise.
13936         * math/w_log10l.c (__log10l): Likewise.
13937         * math/w_log2l.c (__log2l): Likewise.
13938         * math/w_logl.c (__logl): Likewise.
13939         * math/w_powl.c (__powl): Likewise.
13940         * math/w_remainderl.c (__remainderl): Likewise.
13941         * math/w_scalbl.c (sysv_scalbl): Likewise.
13942         * math/w_sinhl.c (__sinhl): Likewise.
13943         * math/w_sqrtl.c (__sqrtl): Likewise.
13944         * math/w_tgammal.c (__tgammal): Likewise.
13945         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13946         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13947         * math/libm-test.inc (acos_test): Add more tests.
13948         (acosh_test): Likewise.
13949         (asin_test): Likewise.
13950         (atanh_test): Likewise.
13951         (exp_test): Likewise.
13952         (exp10_test): Likewise.
13953         (exp2_test): Likewise.
13954         (expm1_test): Likewise.
13955         (lgamma_test): Likewise.
13956         (log_test): Likewise.
13957         (log10_test): Likewise.
13958         (log1p_test): Likewise.
13959         (log2_test): Likewise.
13960         (pow_test): Do not allow some spurious overflow exceptions.
13961         (sqrt_test): Add more tests.
13962         (tgamma_test): Likewise.
13963         (y0_test): Likewise.
13964         (y1_test): Likewise.
13965         (yn_test): Likewise.
13967 2012-03-27  Anton Blanchard  <anton@samba.org>
13969         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13970         MAP_HUGETLB.
13971         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13972         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13975 2012-03-27  David S. Miller  <davem@davemloft.net>
13977         * conform/Makefile: Run run-conformtest.sh using $(BASH).
13979         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13980         have-as-vis3 check.
13982 2012-03-27  Andreas Jaeger  <aj@suse.de>
13984         * sysdeps/x86_64/elf/configure.in: Moved to ...
13985         * sysdeps/x86_64/configure.in: ... here.
13986         * sysdeps/x86_64/elf/start.S: Moved to ...
13987         * sysdeps/x86_64/start.S: ... here.
13988         * sysdeps/x86_64/elf/configure: Delete.
13990         * sysdeps/x86_64/configure.in: Merge contents from
13991         sysdeps/i386/configure.in (without i686 check).
13993         * sysdeps/i386/elf/Versions: Merge into ...
13994         * sysdeps/i386/Versions: ... this.
13995         * sysdeps/i386/elf/Versions: Delete file.
13996         * sysdeps/i386/elf/start.S: Moved to ...
13997         * sysdeps/i386/start.S: ...here.
13998         * sysdeps/i386/elf/configure.in: Merge into...
13999         * sysdeps/i386/configure.in: ...here.
14000         * sysdeps/i386/elf/configure.in: Delete file.
14001         * sysdeps/i386/elf/configure: Delete file.
14003         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14004         * debug/backtracesyms.c: ... here.
14005         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14006         * debug/backtracesymsfd.c: ... here.
14007         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14008         * sysdeps/generic/ifunc-sel.h: ... here.
14010         * sysdeps/unix/i386/start.c: Delete file.
14011         * sysdeps/unix/sparc/start.c: Delete file.
14012         * sysdeps/unix/start.c: Delete file.
14014         * sysdeps/sh/elf/configure.in: Moved to ...
14015         * sysdeps/sh/configure.in: ... here.
14016         * sysdeps/sh/elf/start.S: Moved to ...
14017         * sysdeps/sh/start.S: ... here.
14018         * sysdeps/sh/elf/configure: Delete file.
14020         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14021         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14022         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14023         * sysdeps/powerpc/powerpc64/entry.h: ... here.
14024         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14025         * sysdeps/powerpc/powerpc64/start.S: here.
14026         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14027         * sysdeps/powerpc/powerpc64/Makefile: ... this.
14028         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14029         * sysdeps/powerpc/powerpc64/configure.in: ... this.
14030         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14032         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14033         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14034         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14035         * sysdeps/powerpc/powerpc32/start.S: ... here.
14036         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14037         * sysdeps/powerpc/powerpc32/configure.in: ... this.
14038         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14040         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14041         * sysdeps/powerpc/ifunc-sel.h: ... here.
14042         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14043         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14045         * sysdeps/sparc/elf/configure.in: Moved to ...
14046         * sysdeps/sparc/configure.in: ... here.
14047         * sysdeps/sparc/elf/configure: Delete file.
14048         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14049         * sysdeps/sparc/sparc32/start.S: ... here.
14050         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14051         * sysdeps/sparc/sparc64/start.S: ... here.
14052         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14053         * sysdeps/sparc/sparc32/Makefile: ... this.
14054         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14055         * sysdeps/sparc/sparc64/Makefile: ... this.
14057         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14058         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14059         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14060         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14061         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14062         * sysdeps/s390/s390-32/setjmp.S: ... here.
14063         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14064         * sysdeps/s390/s390-32/configure.in: ... here.
14065         * sysdeps/s390/s390-32/elf/configure: Delete file.
14066         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14067         * sysdeps/s390/s390-32/start.S: ... here.
14069         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14070         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14071         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14072         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14073         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14074         * sysdeps/s390/s390-64/setjmp.S: ... here.
14075         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14076         * sysdeps/s390/s390-64/configure.in: ... here
14077         * sysdeps/s390/s390-64/elf/configure: Delete file.
14078         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14079         * sysdeps/s390/s390-64/start.S: ... here.
14080         * sysdeps/s390/s390-64/elf/configure: Delete.
14082         * configure.in: Remove support for elf directories in sysdeps.
14084         * configure: Regenerated.
14085         * sysdeps/i386/configure: Regenerated.
14086         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14087         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14088         * sysdeps/s390/s390-32/configure: Regenerated.
14089         * sysdeps/s390/s390-64/configure: Regenerated.
14090         * sysdeps/sh/configure: Regenerated.
14091         * sysdeps/sparc/configure: Regenerated.
14092         * sysdeps/x86_64/configure: Regenerated.
14094 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
14096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14099         denormal result into account.
14101 2012-03-25  Roland McGrath  <roland@hack.frob.com>
14103         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14104         Reported by Allan McRae <allan@archlinux.org>.
14106 2012-03-23  Jeff Law  <law@redhat.com>
14108         * nss/getnssent.c (__nss_getent): Fix typo.
14110 2012-03-23  David S. Miller  <davem@davemloft.net>
14112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14114 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
14116         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14117         to pad to uint64_t for each field.
14118         (dl_tls_index): Replace unsigned long with uint64_t.
14120 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
14121         Paul Pluzhnikov  <ppluzhnikov@google.com>
14123         [BZ #6528]
14124         * grp/Makefile (otherlibs): Don't set it.
14125         * inet/Makefile (otherlibs): Likewise.
14126         * login/Makefile (otherlibs): Likewise.
14127         * nscd/Makefile (otherlibs): Likewise.
14128         * posix/Makefile (otherlibs): Likewise.
14129         * pwd/Makefile (otherlibs): Likewise.
14130         * rt/Makefile (otherlibs): Likewise.
14131         * sunrpc/Makefile (otherlibs): Likewise.
14132         * nss/Makefile (otherlibs): Likewise.
14133         Add libnss_files to routines and static-only-routines.
14134         ($(objpfx)getent): Remove rule.
14135         * resolv/Makefile: Add libnss_dns and libresolv to routines and
14136         static-only-routines.
14138 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
14140         [BZ #13892]
14141         * math/s_cexp.c: Include <float.h>.
14142         (__cexp): Handle exp result overflowing not necessarily
14143         overflowing both real and imaginary parts of result.
14144         * math/s_cexpf.c: Likewise.
14145         * math/s_cexpl.c: Likewise.
14146         * math/libm-test.inc (cexp_test): Add more tests.
14147         * sysdeps/i386/fpu/libm-test-ulps: Update.
14148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14150 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14152         * include/link.h (ELFW): New macro.
14153         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14154         Replace ELF64_R_TYPE with ELFW(R_TYPE).
14156 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14158         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14159         with uint64_t.
14161 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14163         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14164         declaration.
14165         (struct La_x32_retval): Likewise.
14167 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14169         * sysdeps/x86_64/preconfigure.in: New file.
14170         * sysdeps/x86_64/preconfigure: New generated file.
14172 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
14174         [BZ #13824]
14175         * math/e_exp2l.c: Include <float.h>.
14176         (__ieee754_exp2l): Handle overflow and underflow cases
14177         separately.  Only pass fractional part of argument to
14178         __ieee754_expl.
14179         * math/libm-test.inc (exp2_test): Add more tests.
14181         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14182         negating x to take absolute value.
14183         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14184         Likewise.
14185         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14186         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14187         Likewise.
14188         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14189         computing low part if x was negated.
14190         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14192 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14194         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14195         la_x32_gnu_pltexit.
14196         (pltexit): Cast int_retval to ptrdiff_t.
14197         * elf/tst-auditmod3b.c: Likewise.
14198         * elf/tst-auditmod4b.c: Likewise.
14199         * elf/tst-auditmod5b.c: Likewise.
14200         * elf/tst-auditmod6b.c: Likewise.
14201         * elf/tst-auditmod6c.c: Likewise.
14202         * elf/tst-auditmod7b.c: Likewise.
14204         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14205         and x32_gnu_pltexit.
14207         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14208         __ELF_NATIVE_CLASS.
14209         (La_x32_regs): New macro.
14210         (La_x32_retval): Likewise.
14211         (la_x32_gnu_pltenter): New function prototype.
14212         (la_x32_gnu_pltexit): Likewise.
14214 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
14216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14217         exponent.
14219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14221         * configure.in (libc_cv_cc_nofma): Check for option to disable
14222         generation of FMA instructions.
14223         * configure: Regenerate.
14224         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14225         * sysdeps/ieee754/dbl-64/Makefile: New file.
14226         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14227         Remove brandred-fma4.
14228         (CFLAGS-brandred-fma4.c): Remove.
14229         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14230         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14231         define.
14232         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14233         define.
14235 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14237         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14238         LLONG_MAX != LONG_MAX.
14239         (_itoa_word): Use _ITOA_WORD_TYPE on value.
14240         (_fitoa_word): Likewise.
14241         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14242         LLONG_MAX != LONG_MAX.
14243         * stdio-common/_itowa.h: Include <_itoa.h>.
14244         (_itowa_word): Use _ITOA_WORD_TYPE on value.
14245         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
14246         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
14247         only if not defined.
14248         (_ITOA_WORD_TYPE): Likewise.
14249         (_itoa_word): Use _ITOA_WORD_TYPE on value.
14250         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14252 2012-03-21  David S. Miller  <davem@davemloft.net>
14254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14256 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14258         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14259         of x86_64 when setting libc_cv_slibdir, libdir and
14260         libc_cv_localedir.
14261         * sysdeps/unix/sysv/linux/configure: Regenerated.
14263 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
14265         * manual/lang.texi (Old Varargs): Remove section.
14266         (How Variadic): Update menu.
14267         (va_start): Do not mention varargs.h.
14269 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14270             Joseph Myers  <joseph@codesourcery.com>
14272         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14273         link test.
14274         * configure: Regenerated.
14276 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14278         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14279         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14280         conformtest.pl
14282 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
14284         * NOTES: Remove.
14285         * Makefile (files-for-dist): Remove NOTES.
14286         (NOTES): Remove rule.
14287         * README: Don't refer to NOTES.
14288         * manual/creature.texi: Don't include macros.texi.
14289         * manual/intro.texi (creature.texi): Remove comment referring to
14290         NOTES.
14292         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14293         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14294         * configure: Regenerated.
14295         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14296         LIBC_TRY_CC_OPTION.
14297         (libc_cv_as_i686): Likewise.
14298         (libc_cv_cc_avx): Likewise.
14299         (libc_cv_cc_sse2avx): Likewise.
14300         (libc_cv_cc_fma4): Likewise.
14301         (libc_cv_cc_novzeroupper): Likewise.
14302         * sysdeps/i386/configure: Regenerated.
14304         [BZ #13883]
14305         * sysdeps/i386/fpu/s_cexp.S: Remove.
14306         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14307         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14308         * math/libm-test.inc (cexp_test): Add more tests.
14309         * sysdeps/i386/fpu/libm-test-ulps: Update.
14310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14312 2012-03-21  Allan McRae  <allan@archlinux.org>
14314         * timezone/Makefile: Do not install iso3166.tab and zone.tab
14316 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
14318         [BZ #13871]
14319         * math/w_exp2.c: Do not include <float.h>.
14320         (o_threshold, u_threshold): Remove.
14321         (__exp2): Calculate result before checking finiteness and calling
14322         __kernel_standard.
14323         * math/w_exp2f.c: Likewise.
14324         * math/w_exp2l.c: Likewise.
14325         * math/libm-test.inc (exp2_test): Require overflow exception for
14326         1e6 input.
14328         [BZ #3866]
14329         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14330         range of signed 64-bit integers before using fistpll.  Remove
14331         checks for whether integers fit in mantissa bits.
14332         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14333         the range of signed 32-bit integers before using fistpl.  Remove
14334         checks for whether integers fit in mantissa bits.
14335         * sysdeps/i386/fpu/e_powl.S (p64): New object.
14336         (__ieee754_powl): Test for y outside the range of signed 64-bit
14337         integers before using fistpll.  Reduce 64-bit values to 63-bit
14338         ones as needed.
14339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14340         divide-by-zero is raised for zero to large negative powers.
14341         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14342         (__ieee754_powl): Test for y outside the range of signed 64-bit
14343         integers before using fistpll.  Reduce 64-bit values to 63-bit
14344         ones as needed.
14345         * math/libm-test.inc (pow_test): Add more tests.
14347 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14349         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14350         <stdio-common/_itoa.h>.
14351         * debug/segfault.c: Likewise.
14352         * elf/dl-cache.c: Likewise.
14353         * elf/dl-minimal.c: Likewise.
14354         * elf/dl-misc.c: Likewise.
14355         * elf/dl-sysdep.c: Likewise.
14356         * elf/dl-version.c: Likewise.
14357         * elf/rtld.c: Likewise.
14358         * hurd/hurdsock.c: Likewise.
14359         * hurd/lookup-retry.c: Likewise.
14360         * malloc/malloc.c: Likewise.
14361         * malloc/mtrace.c: Likewise.
14362         * nscd/nscd_getgr_r.c: Likewise.
14363         * nscd/nscd_getpw_r.c: Likewise.
14364         * nscd/nscd_getserv_r.c: Likewise.
14365         * posix/getopt_init.c: Likewise.
14366         * posix/wordexp.c: Likewise.
14367         * stdio-common/_itoa.c: Likewise.
14368         * stdio-common/printf_fphex.c: Likewise.
14369         * stdio-common/vfprintf.c: Likewise.
14370         * string/_strerror.c: Likewise.
14371         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14372         * sysdeps/i386/i686/hp-timing.h: Likewise.
14373         * sysdeps/mach/_strerror.c: Likewise.
14374         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14375         * sysdeps/mach/hurd/sethostid.c: Likewise.
14376         * sysdeps/mach/hurd/xmknodat.c: Likewise.
14377         * sysdeps/mach/xpg-strerror.c: Likewise.
14378         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14379         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14380         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14381         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14382         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14383         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14384         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14385         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14386         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14387         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14388         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14389         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14390         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14391         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14392         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14393         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14394         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14395         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14396         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14397         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14398         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14400         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14402         * stdio-common/_itoa.h: Moved to ...
14403         * sysdeps/generic/_itoa.h: Here.
14405         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14407         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14408         instead of "_itoa.h" and "_itowa.h".
14409         * stdio-common/vfprintf.: Likewise.
14411 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14413         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14414         <bits/wordsize.h>.
14415         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14416         (__signbit): Likwise.
14417         (llrintf): Likwise.
14418         (llrint): Likwise.
14420 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
14422         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14423         __WORDSIZE != 64.
14425 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
14427         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14428         OVERFLOW_EXCEPTION_OK.
14429         * math/libm-test.inc ("Philosophy"): Update comment about
14430         exception testing.
14431         (OVERFLOW_EXCEPTION): Define.
14432         (OVERFLOW_EXCEPTION_OK): Likewise.
14433         (INVALID_EXCEPTION_OK): Renumber.
14434         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14435         (IGNORE_ZERO_INF_SIGN): Likewise.
14436         (test_exceptions): Handle FE_OVERFLOW.
14437         (exp10_test): Expect overflow exceptions.
14438         (exp2_test): Likewise.
14439         (expm1_test): Likewise.
14440         (nextafter_test): Likewise.
14441         (pow_test): Likewise.
14442         (scalbn_test): Likewise.
14443         (scalbln_test): Likewise.
14445 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14447         * sysdeps/x86_64/bits/atomic.h
14448         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14449         64bit integer.
14450         (atomic_exchange_acq): Likewise.
14451         (__arch_exchange_and_add_body): Likewise.
14452         (__arch_add_body): Likewise.
14453         (atomic_add_negative): Likewise.
14454         (atomic_add_zero): Likewise.
14456 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14458         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14459         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14461 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14463         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14464         Check __x86_64__ instead of __WORDSIZE.
14466 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14468         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14470 2012-03-19  David S. Miller  <davem@davemloft.net>
14472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14474         * sysdeps/sparc/fpu/fenv_private.h: New file.
14475         * sysdeps/sparc/fpu/math_private.h: Use it.
14476         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14477         Remove.
14478         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14479         (libc_feholdexcept_setroundl): Remove.
14480         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14481         Remove.
14482         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14483         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14485 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14487         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14488         int64_t instead of long int.
14489         (INSERT_WORDS64): Likwise.
14491 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
14493         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14494         _Unwind_GetCFA return to _Unwind_Ptr first.
14496 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
14498         [BZ #13629]
14499         * math/s_clog.c: Include <float.h>.
14500         (__clog): Scale large or subnormal inputs.
14501         * math/s_clogf.c: Likewise.
14502         * math/s_clogl.c: Likewise.
14503         * math/s_clog10.c: Include <float.h>.
14504         (M_LOG10_2): Define.
14505         (__clog10): Scale large or subnormal inputs.
14506         * math/s_clog10f.c: Likewise.
14507         * math/s_clog10l.c: Likewise.
14508         * math/libm-test.inc (clog_test): Add more tests.
14509         (clog10_test): Likewise.
14510         * sysdeps/i386/fpu/libm-test-ulps: Update.
14511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513         [BZ #11451]
14514         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14515         x and y.
14516         * math/libm-test.inc (atan2_test): Add another test.
14518         * Makerules (common-objdir-compile): Remove.
14519         * sysdeps/unix/Makefile (config-generated): Do not add
14520         $(unix-generated) to variable.
14521         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14522         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14523         Remove rule.
14524         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14525         Likewise.
14526         [generic bits/local_lim.h] (before-compile): Do not append to
14527         variable.
14528         [generic bits/local_lim.h] (common-generated): Likewise.
14529         [generic sys/param.h] (before-compile): Do not append to variable.
14530         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14531         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14532         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14533         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14534         include.
14535         [generic sys/param.h] (sys/param.h-includes): Remove variable.
14536         [generic sys/param.h] (sys/param.h-includes): Remove rule.
14537         [generic sys/param.h] ($(addprefix
14538         $(common-objpfx),$(sys/param.h-includes))): Likewise.
14539         [generic sys/param.h] (common-generated): Do not append to
14540         variable.
14541         [generic sys/param.h] (sysdep_headers): Likewise.
14542         [generic bits/errno.h] (before-compile): Do not append to
14543         variable.
14544         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14545         rule.
14546         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14547         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14548         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14549         [generic bits/errno.h] (common-generated): Do not append to
14550         variable.
14551         [generic bits/ioctls.h] (before-compile): Do not append to
14552         variable.
14553         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14554         rule.
14555         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14556         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14557         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14558         rule.
14559         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14560         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14561         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14562         [generic bits/ioctls.h] (common-generated): Do not append to
14563         variable.
14564         [generic sys/syscall.h] (syscall.h): Remove variable.
14565         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14566         rule.
14567         [generic sys/syscall.h] (before-compile): Do not append to
14568         variable.
14569         [generic sys/syscall.h] (common-generated): Likewise.
14570         * sysdeps/unix/errnos-tmpl.c: Remove file.
14571         * sysdeps/unix/errnos.awk: Likewise.
14572         * sysdeps/unix/ioctls-tmpl.c: Likewise.
14573         * sysdeps/unix/ioctls.awk: Likewise.
14574         * sysdeps/unix/mk-local_lim.c: Likewise.
14575         * sysdeps/unix/snarf-ioctls: Likewise.
14577 2012-03-19  Richard Henderson  <rth@twiddle.net>
14579         * sysdeps/i386/fpu/fenv_private.h: New file.
14580         * sysdeps/i386/fpu/math_private.h: Use it.
14581         (math_opt_barrier, math_force_eval): Remove.
14582         (libc_feholdexcept_setround_53bit): Remove.
14583         (libc_feupdateenv_53bit): Remove.
14584         * sysdeps/x86_64/fpu/math_private.h: Likewise.
14585         (math_opt_barrier, math_force_eval): Remove.
14586         (libc_feholdexcept): Remove.
14587         (libc_feholdexcept_setround): Remove.
14588         (libc_fetestexcept, libc_fesetenv): Remove.
14589         (libc_feupdateenv_test): Remove.
14590         (libc_feupdateenv, libc_feholdsetround): Remove.
14591         (libc_feresetround): Remove.
14593         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14594         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14596         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14597         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14598         (libc_feupdateenv_testl): New.
14599         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14600         (libc_feupdateenv_testf): New.
14601         (libc_feupdateenv): Use libc_feupdateenv_test.
14602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14603         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14605         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14606         (libc_feholdsetroundf, libc_feholdsetroundl): New.
14607         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14608         (libc_feresetround_noex): New.
14609         (libc_feresetround_noexf): New.
14610         (libc_feresetround_noexl): New.
14611         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14612         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14613         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14614         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14615         SET_RESTORE_ROUND.
14616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14617         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14618         (__cos): Likewise.
14619         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14620         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14621         SET_RESTORE_ROUND_NOEX.
14622         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14623         SET_RESTORE_ROUND_NOEXF.
14624         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14625         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14626         (libc_feholdsetroundf): New.
14627         (libc_feresetround, libc_feresetroundf): New.
14629         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14630         (libc_feholdexcept_setround_53bit): Convert from macro to function.
14631         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
14633         * sysdeps/generic/math_private.h: Include <fenv.h>.
14634         (default_libc_feholdexcept): New.
14635         (default_libc_feholdexcept_setround): New.
14636         (default_libc_fesetenv, default_libc_feupdateenv): New.
14637         (libc_feholdexcept): Only define if undefined.
14638         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14639         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14640         (libc_feholdexcept_setroundl): Likewise.
14641         (libc_feholdexcept_setround_53bit): Likewise.
14642         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14643         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14644         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14645         (libc_feupdateenv_53bit): Likewise.
14646         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14647         (libc_feholdexcept): Convert from macro to inline function.
14648         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14649         (libc_fesetenv, libc_feupdateenv): Likewise.
14651         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14652         not previously defined.
14653         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14654         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14655         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14656         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14657         * sysdeps/ieee754/flt-32/math_private.h: New file.
14658         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14659         math_private.h below SET_FLOAT_WORD.
14660         (__isnan, __isinf_ns, __finite): Remove.
14661         (__isnanf, __isinf_nsf, __finitef): Remove.
14663 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
14665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14667 2012-03-17  David S. Miller  <davem@davemloft.net>
14669         [BZ #6471]
14670         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14671         for 2.16.
14673 2012-03-16  David S. Miller  <davem@davemloft.net>
14675         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14676         warnings.
14678         [BZ #6471]
14679         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14680         properly.
14681         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14682         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14683         sysdep_routines when subdir is sysvipc.
14684         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14685         __getshmlba helper.
14687         * sysdeps/sparc/fpu/libm-test/ulps: Update.
14689 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14691         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14692         [__LP64__].
14694 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14696         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14697         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14698         (__lround): Renamed to ...
14699         (__llround): This.  Replace long int with long long int.
14700         Define lround functions as aliases of llround functions.
14701         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14703 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14705         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14706         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
14707         adresses to uintptr_t.  Replace "long int" and "unsigned long
14708         int" with "greg_t" on va_arg.
14710 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14712         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14713         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14715         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14716         Move e_machine check before EI_CLASS check.  Handle x32
14717         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14718         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14719         SKIP_EM_IA_64 and include
14720         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14722         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14723         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14724         (add_system_dir): New macro.
14726         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14727         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14729 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14731         [BZ #2551]
14732         [BZ #2552]
14733         [BZ #2553]
14734         [BZ #2554]
14735         [BZ #2562]
14736         [BZ #2563]
14737         [BZ #2565]
14738         [BZ #2566]
14739         [BZ #2576]
14740         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14741         (y0): Likewise.
14742         * math/w_j0f.c (j0f): Likewise.
14743         (y0f): Likewise.
14744         * math/w_j0l.c (__j0l): Likewise.
14745         (__y0l): Likewise.
14746         * math/w_j1.c (j1): Likewise.
14747         (y1): Likewise.
14748         * math/w_j1f.c (j1f): Likewise.
14749         (y1f): Likewise.
14750         * math/w_j1l.c (__j1l): Likewise.
14751         (__y1l): Likewise.
14752         * math/w_jn.c (jn): Likewise.
14753         (yn): Likewise.
14754         * math/w_jnf.c (jnf): Likewise.
14755         (ynf): Likewise.
14756         * math/w_jnl.c (__jnl): Likewise.
14757         (__ynl): Likewise.
14758         * math/libm-test.inc (j0_test): Add more tests.
14759         (j1_test): Likewise.
14760         (jn_test): Likewise.  Add trailing semicolon to existing test.
14761         (y0_test): Likewise.
14762         (y1_test): Likewise.
14763         * sysdeps/i386/fpu/libm-test-ulps: Update.
14764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766         [BZ #13851]
14767         [BZ #13854]
14768         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14769         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14770         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14771         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14772         (__tanl): Set errno for infinite argument.
14773         * sysdeps/i386/fpu/mptan.c: Remove.
14774         * sysdeps/i386/fpu/s_tan.S: Likewise.
14775         * sysdeps/i386/fpu/s_tanl.S: Likewise.
14776         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14777         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14778         * math/libm-test.inc (tan_test): Add more tests and enable more
14779         tests for double and long double.
14780         * sysdeps/i386/fpu/libm-test-ulps: Update.
14781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14785         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14786         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14788 2012-03-16  Roland McGrath  <roland@hack.frob.com>
14790         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14791         * configure.in: Use it for both main tree and add-ons.
14792         * configure: Regenerated.
14794 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14796         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14798 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
14800         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14801         in comment.
14803         [BZ #13851]
14804         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14805         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14806         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14807         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14808         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14809         infinite argument.
14810         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14812         != 0 for prec == 2.
14813         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14814         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14815         * sysdeps/i386/fpu/s_cosl.S: Likewise.
14816         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14817         * sysdeps/i386/fpu/s_sinl.S: Likewise.
14818         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14819         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14820         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14821         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14822         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14823         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14824         * math/libm-test.inc (cos_test): Add more tests and enable more
14825         tests for long double.
14826         (sin_test): Likewise.
14827         (sincos_test): Likewise.
14828         * sysdeps/i386/fpu/libm-test-ulps: Update.
14829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14831 2012-03-16  David S. Miller  <davem@davemloft.net>
14833         * sysdeps/sparc/fpu/math_private.h: New file.
14835 2012-03-15  David S. Miller  <davem@davemloft.net>
14837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14838         file.
14839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14841         file.
14842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14847         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14848         sysdep routines.
14849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14851         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14852         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14854         * sysdeps/sparc/sparc-ifunc.h: New file.
14855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14856         sparc-ifunc.h
14857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14859         Likewise.
14860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14861         Likewise.
14862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14866         Likewise.
14867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14872         Likewise.
14873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14874         Likewise.
14875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14881         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14882         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14893         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14894         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14900 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14902         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14903         scaling.
14904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14906 2012-03-15  Andreas Jaeger  <aj@suse.de>
14908         [BZ #13852]
14909         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14910         ieee754/flt-32 implementation for sin, cos and sincos.
14911         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14912         * sysdeps/i386/fpu/s_cosf.S: Likewise.
14913         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14914         * sysdeps/i386/fpu/s_sinf.S: Likewise.
14915         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14916         ieee754/flt-32 implementation for tan.
14918         * math/libm-test.inc (cos_test): Enable some large input tests for
14919         float as well
14920         (sin_test): Likewise.
14921         (sincos_test): Likewise.
14922         (tan_test): Add tests for large input.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 2012-03-15  Andreas Jaeger  <aj@suse.de>
14928         [BZ #13658]
14929         * math/libm-test.inc (cos_test): Add more test cases.
14930         (sin_test): Likewise.
14931         (sincos_test): Likewise.
14933 2012-03-15  Andreas Jaeger  <aj@suse.de>
14935         [BZ #13837]
14936         * math/libm-test.inc (cos_test): Add a test case for large input
14937         value.
14938         (sin_test): Likewise.
14939         (sincos_test): Likewise.
14941 2012-03-15  Andreas Jaeger  <aj@suse.de>,
14942         Joseph Myers  <joseph@codesourcery.com>
14944         [BZ #13658]
14945         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14946         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14947         * sysdeps/i386/fpu/branred.c: Likewise.
14948         * sysdeps/i386/fpu/dosincos.c: Likewise.
14949         * sysdeps/i386/fpu/mpa.c: Likewise.
14950         * sysdeps/i386/fpu/s_cos.S: Likewise.
14951         * sysdeps/i386/fpu/s_sin.S: Likewise.
14952         * sysdeps/i386/fpu/s_sincos.S: Likewise.
14953         * sysdeps/i386/fpu/sincos32.c: Likewise.
14955         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14956         Define.
14957         (libc_feupdateenv_53bit): Define.
14958         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14959         Define.
14960         (libc_feupdateenv_53bit): Define.
14962         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14963         53 bit (without extend i386 double precision).
14965         * math/libm-test.inc (sincos_test): Add tests for large input.
14966         (sin): Likewise.
14967         (cos): Likewise.
14969         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14971 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
14973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14975 2012-03-15  David S. Miller  <davem@davemloft.net>
14977         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14978         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14979         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14980         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14993         file.
14994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14996         file.
14997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14999         file.
15000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15002         file.
15003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15005         fmin/fmax sysdep routines.
15006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15008 2012-03-14  David S. Miller  <davem@davemloft.net>
15010         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15014         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15015         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15030         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15031         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15032         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15033         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15034         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15035         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15036         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15037         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15038         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15039         routines.
15040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15041         file.
15042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15044         file.
15045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15047         file.
15048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15050         file.
15051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15053         file.
15054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15056         file.
15057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15058         file.
15059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15060         file.
15061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15062         file.
15063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15064         New file.
15065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15066         file.
15067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15068         file.
15069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15071         file.
15072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15074         file.
15075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15077         file.
15078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15080         VIS3 routines.
15082         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15083         New file.
15085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15087         * sysdeps/sparc/configure.in: New file.
15088         * sysdeps/sparc/configure: Generate.
15089         * configure.in (libc_cv_sparc_as_vis3): Substitute.
15090         * configure: Regenerate.
15091         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15092         * config.make.in (have-as-vis3): New.
15093         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15094         available use -Av9d instead of -Av9a.
15095         * sysdeps/sparc/sparc64/Makefile: Likewise.
15096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15098         New file.
15099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15100         file.
15101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15102         New file.
15103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15104         file.
15105         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15106         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15107         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15108         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15109         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15111         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15112         fzeros/fnegs to load 0x80000000 into a float register instead of
15113         using the stack.
15114         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15116 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
15118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15119         bits/syscall.h.
15120         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15121         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15122         ($(inst_includedir)/bits/syscall.h): Remove rule.
15123         ($(objpfx)bits/syscall.d): Include instead of
15124         $(objpfx)syscall-list.d.
15125         (generated): Change syscall-list.h and syscall-list.d to
15126         bits/syscall.h and bits/syscall.d.
15128 2012-03-14  Roland McGrath  <roland@hack.frob.com>
15130         [BZ #13846]
15131         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15133 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
15135         [BZ #13841]
15136         * math/s_csqrt.c: Include <float.h>.
15137         (__csqrt): Scale large or subnormal inputs.
15138         * math/s_csqrtf.c: Likewise.
15139         * math/s_csqrtl.c: Likewise.
15140         * math/libm-test.inc (csqrt_test): Add more tests.
15141         * sysdeps/i386/fpu/libm-test-ulps: Update.
15142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144         [BZ #13840]
15145         * math/libm-test.inc (hypot_test): Add more tests.
15147 2012-03-13  David S. Miller  <davem@davemloft.net>
15149         [BZ #13840]
15150         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15151         double-precision for the calculation instead of scaling.
15153 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
15155         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15156         manipulate bits before adding and subtracting TWO52[sx].
15157         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15158         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15159         Likewise.
15160         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15162 2012-03-13  David S. Miller  <davem@davemloft.net>
15164         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15165         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15167         rtld-global-offsets.h
15168         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15170         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15171         large parameters.
15173         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15175         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15176         'err' in the ifdef scope in which it is actually used.
15178         * nss/nss_db/db-init.c: Include string.h
15180 2012-03-12  David S. Miller  <davem@davemloft.net>
15182         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15183         masking out of the most significant byte of random value used.
15184         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15185         Fix coding style in previous change.
15187         * sysdeps/unix/sysv/linux/kernel-features.h
15188         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15189         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15190         expression.
15191         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15192         later.
15194 2012-03-11  David S. Miller  <davem@davemloft.net>
15196         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15197         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15198         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15199         for 'resultvar' otherwise things get truncated on 64-bit.
15201         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15202         Fix masking out of the most significant byte of random value used.
15204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15206 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
15208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15210 2012-03-09  David S. Miller  <davem@davemloft.net>
15212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15213         variables with appropriate CPP guards.
15214         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15215         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
15216         on resulting framesize and the management of the outregs buffer for pltexit.
15217         Preserve floating point return values across _dl_call_pltexit call.
15218         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15219         framesize and the management of the outregs buffer for pltexit.
15220         Preserve floating point return values across _dl_call_pltexit
15221         call.
15222         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15223         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15224         (print_exit): Fix format string for return register value.
15226 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
15228         * sunrpc/Makefile (others): Add rpcgen.
15229         ($(objpfx)rpcgen): Remove special build rule and dependency on
15230         libc.
15231         * sunrpc/rpcgen.c: New file.
15233 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
15235         [BZ #13673]
15236         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15237         * stdio-common/bug-vfprintf-nargs.c: Likewise.
15238         * sysdeps/i386/crti.S: Likewise.
15239         * sysdeps/i386/crtn.S: Likewise.
15240         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15241         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15242         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15243         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15244         * sysdeps/sh/crti.S: Likewise.
15245         * sysdeps/sh/crtn.S: Likewise.
15246         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15248         [BZ #13673]
15249         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15250         with URL.
15251         * locale/programs/locfile-kw.gperf: Likewise.
15252         * locale/programs/charmap-kw.h: Regenerated.
15253         * locale/programs/locfile-kw.h: Likewise.
15255         [BZ #13673]
15256         * intl/plural.y: Replace FSF snail mail address with URL.
15257         * intl/plural.c: Regenerated.
15259 2012-03-09  Richard Henderson  <rth@twiddle.net>
15261         * include/math_private.h: Remove file.
15262         * math/math_private.h: Move file ...
15263         * sysdeps/generic/math_private.h: ... here.
15265         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15266         * sysdeps/powerpc/fpu/math_private.h: Likewise.
15267         * sysdeps/x86_64/fpu/math_private.h: Likewise.
15269         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15270         and <math_private.h>.
15271         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15272         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15273         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15274         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15275         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15276         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15277         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15279         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15280         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15281         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15282         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15283         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15284         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15285         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15286         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15287         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15288         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15289         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15290         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15291         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15292         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15293         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15294         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15298         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15299         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15300         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15301         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15308         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15311         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15312         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15313         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15314         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15315         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15316         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15317         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15318         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15319         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15320         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15321         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15322         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15323         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15324         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15325         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15326         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15327         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15328         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15329         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15330         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15331         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15332         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15334         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15335         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15336         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15337         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15338         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15339         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15340         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15341         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15342         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15343         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15344         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15345         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15346         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15350         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15351         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15352         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15354         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15355         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15357         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15358         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15359         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15360         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15361         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15362         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15363         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15364         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15365         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15366         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15367         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15368         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15369         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15370         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15371         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15372         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15373         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15374         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15375         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15376         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15377         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15378         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15379         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15381         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15382         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15383         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15384         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15385         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15386         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15387         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15388         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15389         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15390         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15391         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15392         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15393         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15394         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15395         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15397         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15398         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15399         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15400         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15401         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15402         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15403         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15404         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15405         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15406         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15407         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15408         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15409         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15410         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15411         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15412         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15413         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15414         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15415         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15416         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15417         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15418         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15419         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15420         * sysdeps/ieee754/k_standard.c: Likewise.
15421         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15422         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15423         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15424         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15425         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15426         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15427         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15428         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15429         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15430         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15431         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15433         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15434         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15435         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15436         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15437         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15438         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15439         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15440         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15444         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15445         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15446         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15450         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15451         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15470         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15472         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15473         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15474         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15475         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15476         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15477         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15478         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15479         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15480         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15481         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15482         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15483         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15484         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15485         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15486         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15487         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15488         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15489         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15490         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15491         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15493         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15494         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15495         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15496         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15497         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15498         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15499         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15500         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15501         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15502         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15505         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15506         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15507         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15508         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15509         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15510         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15511         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15512         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15513         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15514         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15515         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15516         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15518         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15522         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15523         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15524         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15525         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15526         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15527         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15528         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15531         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15533         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15534         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15535         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15536         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15537         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15538         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15539         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15540         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15541         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15542         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15543         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15544         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15545         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15546         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15547         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15548         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15549         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15550         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15554         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15555         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15556         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15557         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15558         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15559         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15560         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15561         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15562         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15563         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15564         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15565         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15566         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15567         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15569         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15570         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15571         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15574         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15575         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15576         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15578         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15579         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15580         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15581         * sysdeps/ieee754/s_lib_version.c: Likewise.
15582         * sysdeps/ieee754/s_matherr.c: Likewise.
15583         * sysdeps/ieee754/s_signgam.c: Likewise.
15584         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15585         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15586         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15587         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15588         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15589         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15590         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15591         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15592         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15593         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15594         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15595         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15596         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15597         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15598         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15599         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15600         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15601         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15602         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15603         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15606 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15608         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15609         * sunrpc/rpc_main.c: Likewise.
15610         * sunrpc/rpc_svcout.c: Likewise.
15612 2012-03-09  David S. Miller  <davem@davemloft.net>
15614         * include/math_private.h: New file.
15616 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
15618         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15619         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15620         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15621         from <bits/socket_type.h>.
15622         (enum __socket_type): Don't define here.
15623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15624         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15625         bits/socket_type.h.
15627         [BZ #13566]
15628         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15629         checking __USE_GNU.
15631         * Makerules ($(inst_includedir)/%.h): New rule.
15632         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15633         (install-others): Remove variable setting.
15634         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15636 2012-03-08  Richard Henderson  <rth@twiddle.net>
15638         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15639         from macro to inline function; merge with the
15640         !__LIBC_INTERNAL_MATH_INLINES version.
15641         (__ieee754_sqrtf): Likewise.
15643         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15644         to inline function.
15645         (__rintf, __floor, __floorf): Likewise.
15647         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15648         macro to inline function.
15649         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15651         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15652         not <math/math_private.h>.
15654 2012-03-08  David S. Miller  <davem@davemloft.net>
15656         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15657         copyright year.
15658         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15660 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
15662         * resolv/gai_misc.c (handle_requests): Fix struct timespec
15663         normalization.
15664         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15665         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15667 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
15669         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
15670         be defined individually, they must be defined as a block.  Define
15671         S for printing a string instead of hidint the different by using a
15672         macro for adding the 'l'.
15673         * stdio-common/tst-fphex-wide.c: Adjust.
15675 2012-03-07  Marek Polacek  <polacek@redhat.com>
15677         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15679 2012-03-08  Marek Polacek  <polacek@redhat.com>
15681         [BZ #13806]
15682         * stdio-common/Makefile (tests): Add tst-fphex-wide.
15683         * stdio-common/tst-fphex.c: Define a few macros to make the
15684         test reusable.  Use them.
15685         * stdio-common/tst-fphex-wide.c: New file.
15687 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
15689         [BZ #6911]
15690         * manual/macros.texi (gnusystems): New macro.
15691         (nongnusystems): Likewise.
15692         (gnulinuxhurdsystems): Likewise.
15693         (gnuhurdsystems): Likewise..
15694         (gnulinuxsystems): Likewise.
15695         * manual/charset.texi: Use new macros or @theglibc{} to refer to
15696         variants of the GNU system, not "GNU system".
15697         * manual/conf.texi: Likewise.
15698         * manual/errno.texi: Likewise.  Update example of errno macro
15699         expansion.
15700         * manual/filesys.texi: Likewise.
15701         (getumask): Document as specific to GNU/Hurd.
15702         * manual/install.texi: Likewise.  Reword some references to
15703         GNU/Linux.
15704         * manual/intro.texi: Likewise.
15705         * manual/io.texi: Likewise.
15706         (File Name Portability): Detail which constraints are inapplicable
15707         to all GNU systems and which are only inapplicable to GNU/Hurd.
15708         * manual/job.texi: Likewise.
15709         * manual/llio.texi: Likewise.
15710         (O_NOCTTY): Document as present on GNU/Linux.
15711         * manual/maint.texi: Likewise.
15712         * manual/memory.texi: Likewise.
15713         * manual/pattern.texi: Likewise.
15714         * manual/pipe.texi: Likewise.
15715         * manual/process.texi: Likewise.
15716         * manual/resource.texi: Likewise.
15717         (RUSAGE_CHILDREN): Remove statement about specifying a particular
15718         child on GNU/Hurd.
15719         * manual/setjmp.texi: Likewise.
15720         * manual/signal.texi: Likewise.
15721         * manual/startup.texi: Likewise.
15722         * manual/stdio.texi: Likewise.
15723         * manual/terminal.texi: Likewise.
15724         (ONLCR): Document as POSIX.
15725         (OXTABS): Document availability on GNU/Linux as XTABS.
15726         (ONOEOT): Document availability separately from other bits.
15727         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15728         * manual/time.texi: Likewise.
15729         * manual/users.texi: Likewise.
15730         * INSTALL: Regenerated.
15731         * sysdeps/gnu/errlist.c: Regenerated.
15733         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15734         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15735         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
15736         puts.
15737         * configure: Regenerated.
15739 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
15741         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15742         default includes instead of AC_HEADER_CHECK.
15743         * sysdeps/i386/configure: Regenerated.
15745         [BZ #10716]
15746         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15747         * math/s_cacoshf.c (__cacoshf): Likewise.
15748         * math/s_cacoshl.c (__cacoshl): Likewise.
15749         * math/s_casinh.c (__casinh): Set signs of result from argument.
15750         * math/s_casinhf.c (__casinhf): Likewise.
15751         * math/s_casinhl.c (__casinhl): Likewise.
15752         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15753         (casinh_test): Add more tests.
15754         * sysdeps/i386/fpu/libm-test-ulps: Update.
15755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
15759         * po/zh_TW.po: Update from translation team.
15761         * login/Makefile (distribute): Remove variable.
15762         * catgets/Makefile: Likewise.
15763         * mach/Makefile: Likewise.
15764         * malloc/Makefile: Likewise.
15765         * misc/Makefile: Likewise.
15766         * iconv/Makefile: Likewise.
15767         * nscd/Makefile: Likewise.
15768         * hurd/Makefile: Likewise.
15769         * manual/Makefile: Likewise.
15770         * locale/Makefile: Likewise.
15771         * intl/Makefile: Likewise.
15772         * conform/Makefile: Likewise.
15773         * nss/Makefile: Likewise.
15774         * time/Makefile: Likewise.
15775         * soft-fp/Makefile: Likewise.
15776         * dirent/Makefile: Likewise.
15777         * gmon/Makefile: Likewise.
15778         * po/Makefile: Likewise.
15779         * rt/Makefile: Likewise.
15780         * socket/Makefile: Likewise.
15781         * math/Makefile: Likewise.
15782         * signal/Makefile: Likewise.
15783         * debug/Makefile: Likewise.
15784         * elf/Makefile: Likewise.
15785         * timezone/Makefile: Likewise.
15786         * stdlib/Makefile: Likewise.
15787         * iconvdata/Makefile: Likewise.
15788         * sunrpc/Makefile: Likewise.
15789         * io/Makefile: Likewise.
15790         * argp/Makefile: Likewise.
15791         * inet/Makefile: Likewise.
15792         * hesiod/Makefile: Likewise.
15793         * grp/Makefile: Likewise.
15794         * csu/Makefile: Likewise.
15795         * wctype/Makefile: Likewise.
15796         * crypt/Makefile: Likewise.
15797         * libio/Makefile: Likewise.
15798         * string/Makefile: Likewise.
15799         * nis/Makefile: Likewise.
15800         * resolv/Makefile: Likewise.
15801         * stdio-common/Makefile: Likewise.
15802         * wcsmbs/Makefile: Likewise.
15803         * dlfcn/Makefile: Likewise.
15804         * posix/Makefile: Likewise.
15806         [BZ #6959]
15807         * timezone/Makefile: Don't install timezone files, just the programs
15808         and scripts.
15810 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
15812         * nss/databases.def: Add missing gshadow entry.
15814         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
15816 2012-03-06  Marek Polacek  <polacek@redhat.com>
15818         [BZ #13726]
15819         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15820         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15821         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15822         * stdio-common/tst-long-dbl-fphex.c: New file.
15824 2012-03-06  David S. Miller  <davem@davemloft.net>
15826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15827         (set_obp_int): New function.
15828         (get_obp_int): New function.
15829         (__get_clockfreq_via_dev_openprom): Likewise.
15830         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15831         Avoid unused variable warnings on 'val' and use builtin_expect.
15832         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15833         __builtin_expect.
15834         (INLINE_CLONE_SYSCALL): Likewise.
15836 2012-03-05  David S. Miller  <davem@davemloft.net>
15838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15840 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
15842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15844         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15845         only for |x| >= 40.
15846         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15848 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15851         Replace gettimeofday with __vdso_gettimeofday.
15853         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15854         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15855         __vdso_clock_gettime and __vdso_getcpu.
15857         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15858         time with __vdso_time.
15860 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15862         * manual/lang.texi (size_t): Note types to which size_t may be
15863         equivalent with the GNU C Library, but do not describe when
15864         differences between them are significant.
15866 2012-03-05  Andreas Jaeger  <aj@suse.de>
15868         * sysdeps/i386/fpu/libm-test-ulps: Update.
15870 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
15872         [BZ #3976]
15873         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15874         (__ieee754_pow): Save and restore rounding mode and use
15875         round-to-nearest for main computations.
15876         * math/libm-test.inc (pow_test_tonearest): New function.
15877         (pow_test_towardzero): Likewise.
15878         (pow_test_downward): Likewise.
15879         (pow_test_upward): Likewise.
15880         (main): Call the new functions.
15881         * sysdeps/i386/fpu/libm-test-ulps: Update.
15882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15884         [BZ #3976]
15885         * math/libm-test.inc (cosh_test_tonearest): New function.
15886         (cosh_test_towardzero): Likewise.
15887         (cosh_test_downward): Likewise.
15888         (cosh_test_upward): Likewise.
15889         (sinh_test_tonearest): Likewise.
15890         (sinh_test_towardzero): Likewise.
15891         (sinh_test_downward): Likewise.
15892         (sinh_test_upward): Likewise.
15893         (main): Call the new functions.
15894         * sysdeps/i386/fpu/libm-test-ulps: Update.
15895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15897 2012-03-05  Tom de Vries  <tom@codesourcery.com>
15899         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15900         default stack guard is set in last bytes.
15901         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15903 2012-03-05  Kees Cook  <keescook@chromium.org>
15905         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15907         [BZ #13656]
15908         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15909         possibly allocate from heap instead of stack.
15910         * stdio-common/bug-vfprintf-nargs.c: New file.
15911         * stdio-common/Makefile (tests): Add nargs overflow test.
15913 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
15915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15917 2012-03-03  Marek Polacek  <polacek@redhat.com>
15919         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15920         * math/math_private.h: Likewise.
15921         * stdlib/tst-strtod.c: Likewise.
15922         * sysdeps/i386/i486/bits/atomic.h: Likewise.
15923         * sysdeps/x86_64/bits/atomic.h: Likewise.
15925 2012-03-02  David S. Miller  <davem@davemloft.net>
15927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15931         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15932         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15933         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15934         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15936 2012-03-02  Roland McGrath  <roland@hack.frob.com>
15938         [BZ #13792]
15939         * manual/examples/README: New file, says the example source files
15940         can be used under GPL>=2.
15941         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15942         line containing just "*/".
15943         * manual/examples/add.c: Add copyright header (GPL>=2).
15944         * manual/examples/argp-ex1.c: Likewise.
15945         * manual/examples/argp-ex2.c: Likewise.
15946         * manual/examples/argp-ex3.c: Likewise.
15947         * manual/examples/argp-ex4.c: Likewise.
15948         * manual/examples/atexit.c: Likewise.
15949         * manual/examples/db.c: Likewise.
15950         * manual/examples/dir.c: Likewise.
15951         * manual/examples/dir2.c: Likewise.
15952         * manual/examples/execinfo.c: Likewise.
15953         * manual/examples/filecli.c: Likewise.
15954         * manual/examples/filesrv.c: Likewise.
15955         * manual/examples/fmtmsgexpl.c: Likewise.
15956         * manual/examples/genpass.c: Likewise.
15957         * manual/examples/inetcli.c: Likewise.
15958         * manual/examples/inetsrv.c: Likewise.
15959         * manual/examples/isockad.c: Likewise.
15960         * manual/examples/longopt.c: Likewise.
15961         * manual/examples/memopen.c: Likewise.
15962         * manual/examples/memstrm.c: Likewise.
15963         * manual/examples/mkfsock.c: Likewise.
15964         * manual/examples/mkisock.c: Likewise.
15965         * manual/examples/mygetpass.c: Likewise.
15966         * manual/examples/pipe.c: Likewise.
15967         * manual/examples/popen.c: Likewise.
15968         * manual/examples/rprintf.c: Likewise.
15969         * manual/examples/search.c: Likewise.
15970         * manual/examples/select.c: Likewise.
15971         * manual/examples/setjmp.c: Likewise.
15972         * manual/examples/sigh1.c: Likewise.
15973         * manual/examples/sigusr.c: Likewise.
15974         * manual/examples/stpcpy.c: Likewise.
15975         * manual/examples/strdupa.c: Likewise.
15976         * manual/examples/strftim.c: Likewise.
15977         * manual/examples/strncat.c: Likewise.
15978         * manual/examples/subopt.c: Likewise.
15979         * manual/examples/swapcontext.c: Likewise.
15980         * manual/examples/termios.c: Likewise.
15981         * manual/examples/testopt.c: Likewise.
15982         * manual/examples/testpass.c: Likewise.
15983         * manual/examples/timeval_subtract.c: Likewise.
15985         [BZ #13792]
15986         * manual/time.texi (Elapsed Time): Move timeval_subtract example
15987         function to ...
15988         * manual/timeval_subtract.c.texi: ... here, new file.
15990 2012-03-02  David S. Miller  <davem@davemloft.net>
15992         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15994 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
15996         [BZ #3976]
15997         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15998         (__sin): Save and restore rounding mode and use round-to-nearest
15999         for all computations.
16000         (__cos): Save and restore rounding mode and use round-to-nearest
16001         for all computations.
16002         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16003         <fenv.h>.
16004         (tan): Save and restore rounding mode and use round-to-nearest for
16005         all computations.
16006         * math/libm-test.inc (cos_test_tonearest): New function.
16007         (cos_test_towardzero): Likewise.
16008         (cos_test_downward): Likewise.
16009         (cos_test_upward): Likewise.
16010         (sin_test_tonearest): Likewise.
16011         (sin_test_towardzero): Likewise.
16012         (sin_test_downward): Likewise.
16013         (sin_test_upward): Likewise.
16014         (tan_test_tonearest): Likewise.
16015         (tan_test_towardzero): Likewise.
16016         (tan_test_downward): Likewise.
16017         (tan_test_upward): Likewise.
16018         (main): Call the new functions.
16019         * sysdeps/i386/fpu/libm-test-ulps: Update.
16020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16022         [BZ #10135]
16023         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16024         small n, then large n, before computing and testing k+n.
16025         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16026         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16027         Likewise.
16028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16029         Likewise.
16030         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16031         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16034         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16036         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16037         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16038         * math/libm-test.inc (scalbn_test): Add more tests.
16039         (scalbln_test): Likewise.
16041         * manual/filesys.texi (mode_t): Describe constraints on size and
16042         signedness, not exact equivalence to a particular type.
16043         (ino_t): Likewise.
16044         (ino64_t): Likewise.
16045         (dev_t): Likewise.
16046         (nlink_t): Likewise.
16047         (blkcnt_t): Likewise.
16048         (blkcnt64_t): Likewise.
16049         * manual/llio.texi (off_t): Likewise.
16051         [BZ #3976]
16052         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16053         (__ieee754_exp): Save and restore rounding mode and use
16054         round-to-nearest for all computations.
16055         * math/libm-test.inc (exp_test_tonearest): New function.
16056         (exp_test_towardzero): Likewise.
16057         (exp_test_downward): Likewise.
16058         (exp_test_upward): Likewise.
16059         (main): Call the new functions.
16060         * sysdeps/i386/fpu/libm-test-ulps: Update.
16061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16063 2012-03-01  Chris Demetriou  <cgd@google.com>
16065         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16066         have predictable order.
16068 2012-03-01  David S. Miller  <davem@davemloft.net>
16070         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16072         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16073         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16074         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16075         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16077         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16078         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16079         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16081         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16082         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16083         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16084         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16085         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16089         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16090         * sysdeps/sparc/fpu/libm-test-ulps: to here.
16091         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16093         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16094         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16095         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16096         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16097         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16098         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16099         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16100         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16102         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16103         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16106         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16107         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16109         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16110         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16111         * sysdeps/sparc/elf/configure: Regenerated.
16113 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
16115         * configure.in (AS, LD): Require binutils 2.20 or later.
16116         * configure: Regenerated.
16117         * manual/install.texi (Tools for Compilation): Give binutils 2.20
16118         as required minimum version.
16119         * INSTALL: Regenerated.
16121         [BZ #2541]
16122         [BZ #4108]
16123         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16124         before squaring exponent.
16125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16126         bottom long double and 27 bits of top long double before squaring
16127         exponent.
16128         * math/libm-test.inc (erfc_test): Add more tests.
16129         * sysdeps/i386/fpu/libm-test-ulps: Update.
16130         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16133 2012-03-01  Kai Tietz  <ktietz@redhat.com>
16135         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16136         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16137         containing bit-fields.
16138         * soft-fp/extended.h (_FP_UNION_E): Likewise.
16139         * soft-fp/single.h (_FP_UNION_S): Likewise.
16140         * soft-fp/double.h (_FP_UNION_D): Likewise.
16142 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
16144         [BZ #13786]
16145         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16146         not include ../strcmp.S.
16147         [USE_AS_STRNCASECMP_L]: Likewise.
16148         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16149         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16150         * sysdeps/i386/i686/multiarch/strncase_l-c.c
16151         (__strncasecmp_l_ia32): Define as alias to
16152         __strncasecmp_l_nonascii.
16154         [BZ #5794]
16155         * math/libm-test.inc (expm1_test): Add test for bug 5794.
16156         * sysdeps/i386/fpu/libm-test-ulps: Update.
16157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16159         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16162 2012-02-29  Jeff Law  <law@redhat.com>
16164         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16165         out of bounds read.
16167 2012-02-29  Marek Polacek  <polacek@redhat.com>
16169         [BZ #13706]
16170         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16171         * elf/Makefile: Add rules to run tst-unused-dep.out.
16173 2012-02-28  David S. Miller  <davem@davemloft.net>
16175         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16176         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16177         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16178         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16179         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16180         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16182 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
16184         * math/libm-test.inc (llround_test): Move one test from
16185         lround_test.  Use TEST_f_L in moved test.
16186         (lround_test): Move misplaced test to llround_test.  Add testcase
16187         from bug 2561.
16189 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
16191         * sysdeps/x86_64/fpu/e_expf.S: New file.
16192         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16194 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
16196         [BZ #13637]
16197         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16198         of remain_len that may cause incomplete multi-byte character and
16199         false match.
16200         * posix/bug-regex33.c: New file.
16201         * posix/Makefile (tests): Add bug-regex33.
16203 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
16205         * manual/macros.texi: New file.
16206         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16207         * manual/libc.texinfo: Include macros.texi.
16208         * manual/creatute.texi: Likewise.
16209         * manual/install.texi: Likewise.
16210         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16211         @glibcadj{} in references to the GNU C Library.
16212         * manual/charset.texi: Likewise.
16213         * manual/conf.texi: Likewise.
16214         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
16215         when not using those macros.
16216         * manual/creature.texi: Likewise.
16217         * manual/crypt.texi: Likewise.
16218         * manual/errno.texi: Likewise.
16219         * manual/filesys.texi: Likewise.
16220         * manual/header.texi: Likewise.
16221         * manual/install.texi: Likewise.
16222         * manual/intro.texi: Likewise.
16223         * manual/io.texi: Likewise.
16224         * manual/job.texi: Likewise.
16225         * manual/lang.texi: Likewise.
16226         * manual/libc.texiinfo: Likewise.
16227         * manual/llio.texi: Likewise.
16228         * manual/locale.texi: Likewise.
16229         * manual/maint.texi: Likewise.
16230         * manual/math.texi: Likewise.
16231         * manual/memory.texi: Likewise.
16232         * manual/message.texi: Likewise.
16233         * manual/nss.texi: Likewise.
16234         * manual/pattern.texi: Likewise.
16235         * manual/process.texi: Likewise.
16236         * manual/resource.texi: Likewise.
16237         * manual/search.texi: Likewise.
16238         * manual/setjmp.texi: Likewise.
16239         * manual/signal.texi: Likewise.
16240         * manual/socket.texi: Likewise.
16241         * manual/startup.texi: Likewise.
16242         * manual/stdio.texi: Likewise.
16243         * manual/string.texi: Likewise.
16244         * manual/sysinfo.texi: Likewise.
16245         * manual/syslog.texi: Likewise.
16246         * manual/terminal.texi: Likewise.
16247         * manual/time.texi: Likewise.
16248         * manual/users.texi: Likewise.
16249         * INSTALL: Regenerated.
16250         * NOTES: Regenerated.
16251         * sysdeps/gnu/errlist.c: Regenerated.
16253 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
16255         * include/dirent.h: Include <dirstream.h> before
16256         <dirent/dirent.h>.
16258 2012-02-28  David S. Miller  <davem@davemloft.net>
16260         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16261         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16262         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16263         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16265 2012-02-27  David S. Miller  <davem@davemloft.net>
16267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16269         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16270         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16273         frame pointer instead of stack pointer relative arg slot.
16274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16275         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16276         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16278 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
16280         [BZ #3992]
16281         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16283 2012-02-27  David S. Miller  <davem@davemloft.net>
16285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16289         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16290         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16291         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16292         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16294 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
16296         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16297         later.  Allow versions 5-9.
16298         * configure: Regenerated.
16299         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16300         required minimum version and 4.6 as recommended version.  Do not
16301         mention bugs in GCC 2.7 and 2.8.
16302         * INSTALL: Regenerated.
16304 2012-02-27  David S. Miller  <davem@davemloft.net>
16306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16310         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16311         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16312         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16313         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16315         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16316         manipulate bits before adding and subtracting TWO112[sx].
16317         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16319 2012-02-27  Roland McGrath  <roland@hack.frob.com>
16321         [BZ #13775]
16322         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16323         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16324         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16325         being in POSIX, because they are in 1003.1-2008.
16327         * rt/tst-aio.c: Include <fcntl.h>.
16328         * rt/tst-aio7.c: Likewise.
16329         * rt/tst-aio64.c: Likewise.
16331         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16333 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
16335         * manual/install.texi (--with-headers): Describe headers as
16336         interface headers, not private headers.
16337         (Specific advice for GNU/Linux systems): Describe use of headers
16338         from "make headers_install", not private headers from older
16339         kernels.
16340         * INSTALL: Regenerated.
16341         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16342         Change to 2.6.19.
16343         * sysdeps/unix/sysv/linux/configure: Regenerated.
16345         * manual/llio.texi (fclean): Remove documentation.
16347         * manual/Makefile (libc-texi-generated): New variable.  Include
16348         version.texi.
16349         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16350         $(libc-texi-generated), not duplicated list of files.
16351         (version.texi, stamp-version): New rules.
16352         (realclean): Remove $(libc-texi-generated), not individual files
16353         from that list.  Do not remove dir-add.texinfo.
16354         * manual/libc.texinfo: Comment out uses of edition numbers and
16355         references to printed manual.  Remove last-updated dates.
16356         (EDITION): Comment out.
16357         (ISBN): Likewise.
16358         (VERSION, UPDATED): Remove.
16359         (version.texi): Include.
16361 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
16363         * sysdeps/posix/spawni.c: Include <signal.h>.
16364         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16365         * sysdeps/pthread/aio_fsync.c: Likewise.
16367 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
16369         * conform/Makefile (tests): Run only when not cross-compiling and
16370         when fast-check is not defined.
16372         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16373         * conform/data/limits.h-data: Fixes for POSIX2008.
16374         * conform/run-conformtest.sh: Run all tests.
16375         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16376         headers.
16377         * include/bits/dlfcn.h: Likewise.
16378         * include/langinfo.h: Likewise.
16379         * include/monetary.h: Likewise.
16380         * include/sys/poll.h: Likewise.
16382         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16383         for __USE_GNU.
16384         * posix/spawn.h: Define __need_sigset_t.
16385         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16386         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16387         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
16388         to get sigevent_t only.
16389         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16390         only for __USE_GNU.
16391         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16392         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16393         process_vm_writev only for __USE_GNU.
16394         * termios/termios.h: Declare tcgetsid also for POSIX2008.
16396         * conform/Makefile: For now ignore errors from run-conformtest.
16397         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
16398         POSIX to avoid namespace pollution.  Don't prepend headers.
16399         * conform/data/aio.h-data: Fixes for POSIX testing.
16400         * conform/data/fcntl.h-data: Likewise.
16401         * conform/data/glob.h-data: Likewise.
16402         * conform/data/grp.h-data: Likewise.
16403         * conform/data/pthread.h-data: Likewise.
16404         * conform/data/pwd.h-data: Likewise.
16405         * conform/data/signal.h-data: Likewise.
16406         * conform/data/spawn.h-data: Likewise.
16407         * conform/data/stdio.h-data: Likewise.
16408         * conform/data/stdlib.h-data: Likewise.
16409         * conform/data/stropts.h-data: Likewise.
16410         * conform/data/sys/mman.h-data: Likewise.
16411         * conform/data/sys/stat.h-data: Likewise.
16412         * conform/data/sys/types.h-data: Likewise.
16413         * conform/data/sys/wait.h-data: Likewise.
16414         * conform/data/time.h-data: Likewise.
16415         * conform/data/unistd.h-data: Likewise.
16416         * conform/data/utime.h-data: Likewise.
16418         * io/sys/stat.h: fchmod was always in POSIX.
16419         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16420         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16421         * rt/aio.h: Define __need_timespec before including <time.h>.
16422         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16423         struct.  Add forward declaration of pthread_attr_t and use it in
16424         sigevent.
16425         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16427         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16428         always remove CLK_TCK definition.
16430 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
16432         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16434 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
16436         * conform/run-conformtest.sh: New file.
16437         * conform/Makefile: Run run-conformtest for tests.
16438         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
16439         support.
16441         * conform/data/uchar.h-data: New file.
16442         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16443         * conform/data/arpa/inet.h-data: Likewise.
16444         * conform/data/assert.h-data: Likewise.
16445         * conform/data/complex.h-data: Likewise.
16446         * conform/data/cpio.h-data: Likewise.
16447         * conform/data/ctype.h-data: Likewise.
16448         * conform/data/dirent.h-data: Likewise.
16449         * conform/data/dlfcn.h-data: Likewise.
16450         * conform/data/errno.h-data: Likewise.
16451         * conform/data/fcntl.h-data: Likewise.
16452         * conform/data/float.h-data: Likewise.
16453         * conform/data/fmtmsg.h-data: Likewise.
16454         * conform/data/fnmatch.h-data: Likewise.
16455         * conform/data/ftw.h-data: Likewise.
16456         * conform/data/glob.h-data: Likewise.
16457         * conform/data/grp.h-data: Likewise.
16458         * conform/data/iconv.h-data: Likewise.
16459         * conform/data/inttypes.h-data: Likewise.
16460         * conform/data/langinfo.h-data: Likewise.
16461         * conform/data/libgen.h-data: Likewise.
16462         * conform/data/limits.h-data: Likewise.
16463         * conform/data/locale.h-data: Likewise.
16464         * conform/data/math.h-data: Likewise.
16465         * conform/data/monetary.h-data: Likewise.
16466         * conform/data/mqueue.h-data: Likewise.
16467         * conform/data/ndbm.h-data: Likewise.
16468         * conform/data/net/if.h-data: Likewise.
16469         * conform/data/netdb.h-data: Likewise.
16470         * conform/data/netinet/in.h-data: Likewise.
16471         * conform/data/nl_types.h-data: Likewise.
16472         * conform/data/poll.h-data: Likewise.
16473         * conform/data/pthread.h-data: Likewise.
16474         * conform/data/pwd.h-data: Likewise.
16475         * conform/data/regex.h-data: Likewise.
16476         * conform/data/sched.h-data: Likewise.
16477         * conform/data/search.h-data: Likewise.
16478         * conform/data/semaphore.h-data: Likewise.
16479         * conform/data/setjmp.h-data: Likewise.
16480         * conform/data/signal.h-data: Likewise.
16481         * conform/data/spawn.h-data: Likewise.
16482         * conform/data/stdarg.h-data: Likewise.
16483         * conform/data/stdio.h-data: Likewise.
16484         * conform/data/stdlib.h-data: Likewise.
16485         * conform/data/string.h-data: Likewise.
16486         * conform/data/strings.h-data: Likewise.
16487         * conform/data/stropts.h-data: Likewise.
16488         * conform/data/sys/ipc.h-data: Likewise.
16489         * conform/data/sys/mman.h-data: Likewise.
16490         * conform/data/sys/msg.h-data: Likewise.
16491         * conform/data/sys/resource.h-data: Likewise.
16492         * conform/data/sys/select.h-data: Likewise.
16493         * conform/data/sys/sem.h-data: Likewise.
16494         * conform/data/sys/shm.h-data: Likewise.
16495         * conform/data/sys/socket.h-data: Likewise.
16496         * conform/data/sys/stat.h-data: Likewise.
16497         * conform/data/sys/statvfs.h-data: Likewise.
16498         * conform/data/sys/time.h-data: Likewise.
16499         * conform/data/sys/timeb.h-data: Likewise.
16500         * conform/data/sys/times.h-data: Likewise.
16501         * conform/data/sys/types.h-data: Likewise.
16502         * conform/data/sys/uio.h-data: Likewise.
16503         * conform/data/sys/un.h-data: Likewise.
16504         * conform/data/sys/utsname.h-data: Likewise.
16505         * conform/data/sys/wait.h-data: Likewise.
16506         * conform/data/syslog.h-data: Likewise.
16507         * conform/data/tar.h-data: Likewise.
16508         * conform/data/termios.h-data: Likewise.
16509         * conform/data/utime.h-data: Likewise.
16510         * conform/data/utmpx.h-data: Likewise.
16511         * conform/data/varargs.h-data: Likewise.
16512         * conform/data/wchar.h-data: Likewise.
16513         * conform/data/wctype.h-data: Likewise.
16514         * conform/data/wordexp.h-data: Likewise.
16516         * include/stropts.h: New file.
16517         * include/uchar.h: New file.
16518         * include/aio.h: Changes to allow conformtest.pl to use the headers.
16519         * include/assert.h: Likewise.
16520         * include/ctype.h: Likewise.
16521         * include/dirent.h: Likewise.
16522         * include/dlfcn.h: Likewise.
16523         * include/fcntl.h: Likewise.
16524         * include/fnmatch.h: Likewise.
16525         * include/glob.h: Likewise.
16526         * include/grp.h: Likewise.
16527         * include/libio.h: Likewise.
16528         * include/locale.h: Likewise.
16529         * include/math.h: Likewise.
16530         * include/net/if.h: Likewise.
16531         * include/netdb.h: Likewise.
16532         * include/netinet/in.h: Likewise.
16533         * include/pthread.h: Likewise.
16534         * include/pwd.h: Likewise.
16535         * include/regex.h: Likewise.
16536         * include/sched.h: Likewise.
16537         * include/search.h: Likewise.
16538         * include/setjmp.h: Likewise.
16539         * include/signal.h: Likewise.
16540         * include/stdio.h: Likewise.
16541         * include/stdlib.h: Likewise.
16542         * include/string.h: Likewise.
16543         * include/sys/cdefs.h: Likewise.
16544         * include/sys/mman.h: Likewise.
16545         * include/sys/msg.h: Likewise.
16546         * include/sys/resource.h: Likewise.
16547         * include/sys/select.h: Likewise.
16548         * include/sys/socket.h: Likewise.
16549         * include/sys/stat.h: Likewise.
16550         * include/sys/statvfs.h: Likewise.
16551         * include/sys/time.h: Likewise.
16552         * include/sys/times.h: Likewise.
16553         * include/sys/uio.h: Likewise.
16554         * include/sys/utsname.h: Likewise.
16555         * include/sys/wait.h: Likewise.
16556         * include/termios.h: Likewise.
16557         * include/time.h: Likewise.
16558         * include/ulimit.h: Likewise.
16559         * include/unistd.h: Likewise.
16560         * include/utime.h: Likewise.
16561         * include/wchar.h: Likewise.
16562         * include/wctype.h: Likewise.
16563         * include/wordexp.h: Likewise.
16565         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16567         * time/time.h: TIME_UTC must be a macro.
16568         Make timespec_get available for ISO C11 only as well.
16570 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
16572         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16573         Reported by Peng Haitao <penght@cn.fujitsu.com>.
16575 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16577         * configure.in: Use -o not -a in test for unsupported multi-arch.
16579 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16581         * manual/texinfo.tex: Update to version 2012-01-19.16.
16583 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
16585         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16587 2012-02-24  Roland McGrath  <roland@hack.frob.com>
16589         [BZ #13738]
16590         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16591         * manual/fdl-1.3.texi: New file.
16592         * manual/fdl-1.1.texi: File removed.
16594         [BZ #13738]
16595         * manual/libc.texinfo (FDL_VERSION): New @set.
16596         Use it for mention of FDL in cover text.
16597         (Documentation License): Use it in @include file name.
16599 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16600             Roland McGrath  <roland@hack.frob.com>
16602         [BZ #5461]
16603         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16604         not LONG_LONG_MAX and LONG_LONG_MIN.
16605         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16606         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
16607         name.
16608         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16610 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16612         [BZ #2547]
16613         [BZ #11365]
16614         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16615         manipulate bits before adding and subtracting TWO23[sx].
16616         * math/libm-test.inc (nearbyint_test): Add more tests.
16618 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16620         [BZ #2548]
16621         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16622         bits before adding and subtracting TWO23[sx].
16623         * math/libm-test.inc (rint_test): Add more tests.
16624         (rint_test_tonearest): Likewise.
16625         (rint_test_towardzero): Likewise.
16626         (rint_test_downward): Likewise.
16627         (rint_test_upward: Likewise.
16629 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16631         [BZ #10110]
16632         * include/stdc-predef.h: New file.  Extracted from features.h.
16633         * include/features.h: Include stdc-predef.h.
16634         * Makefile (headers): Add stdc-predef.h.
16635         * CONFORMANCE (Compiler limitations): Update.
16637 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
16639         * manual/libc.texinfo (VERSION, UPDATED): Revert.
16641 2012-02-21  David S. Miller  <davem@davemloft.net>
16643         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16644         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16646 2012-02-20  David S. Miller  <davem@davemloft.net>
16648         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16649         using a normal save/restore sequence, rather than allocating a
16650         dummy stack frame just to store a frame pointer and restore.
16651         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16653 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16655         * manual/install.texi: Fix stray word in line-wrapped comment.
16657 2012-02-20  David S. Miller  <davem@davemloft.net>
16659         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16660         both binutils and gcc support GOTDATA.
16662         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16663         "rd %pc" in the PIC register setup sequences.
16665         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16666         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16667         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16668         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16669         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16670         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16671         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16672         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16674         (SYSCALL_ERROR_HANDLER): Likewise.
16675         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16676         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16678         (SYSCALL_ERROR_HANDLER): Likewise.
16680         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16681         (HAVE_GCC_GOTDATA): New.
16682         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16683         relocation support in both binutils and gcc.
16684         * sysdeps/sparc/elf/configure: Regenerate.
16686         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16687         * sysdeps/sparc/sparc32/elf/configure: Delete.
16688         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16689         * sysdeps/sparc/sparc64/elf/configure: Delete.
16690         * sysdeps/sparc/elf/configure.in: New file.
16691         * sysdeps/sparc/elf/configure: Generate.
16693         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16694         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16695         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16696         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16697         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16699 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16701         * manual/install.texi: Do not mention specific glibc version
16702         numbers.
16703         * manual/libc.texinfo (VERSION, UPDATED): Update.
16704         (@copying): Use @copyright{} and range of years.
16706 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
16708         [BZ #13695]
16709         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16710         [crti.S not in sysdirs] (generated): Do not append.
16711         [crti.S not in sysdirs] (omit-deps): Likewise.
16712         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16713         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16714         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16715         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16716         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16717         Likewise.
16718         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16719         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16720         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16721         * csu/defs.awk: Remove file.
16722         * sysdeps/generic/initfini.c: Likewise.
16723         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16724         variable.
16725         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16726         Likewise.
16728 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16730         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16731         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16732         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16733         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16734         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16735         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16736         <bits/epoll.h>.
16737         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16738         (__EPOLL_PACKED): Define to empty if not defined by
16739         <bits/epoll.h>.
16740         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16742         bits/epoll.h.
16744 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16746         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16747         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16748         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16749         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16750         <bits/timerfd.h>.
16751         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16753         bits/timerfd.h.
16755 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
16757         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16758         in C locale.
16759         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16760         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16761         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16764 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
16766         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16767         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16769 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
16771         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16772         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16773         defined.
16774         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16775         Likewise.
16776         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16777         entry for 2.16.
16779 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
16781         * math/w_acos.c: Use non-signaling floating-point comparisons.
16782         * math/w_acosf.c: Likewise.
16783         * math/w_acosh.c: Likewise.
16784         * math/w_acoshf.c: Likewise.
16785         * math/w_acoshl.c: Likewise.
16786         * math/w_acosl.c: Likewise.
16787         * math/w_asin.c: Likewise.
16788         * math/w_asinf.c: Likewise.
16789         * math/w_asinl.c: Likewise.
16790         * math/w_atanh.c: Likewise.
16791         * math/w_atanhf.c: Likewise.
16792         * math/w_atanhl.c: Likewise.
16793         * math/w_exp2.c: Likewise.
16794         * math/w_exp2f.c: Likewise.
16795         * math/w_exp2l.c: Likewise.
16796         * math/w_j0.c: Likewise.
16797         * math/w_j0f.c: Likewise.
16798         * math/w_j0l.c: Likewise.
16799         * math/w_j1.c: Likewise.
16800         * math/w_j1f.c: Likewise.
16801         * math/w_j1l.c: Likewise.
16802         * math/w_jn.c: Likewise.
16803         * math/w_jnf.c: Likewise.
16804         * math/w_log.c: Likewise.
16805         * math/w_log10.c: Likewise.
16806         * math/w_log10f.c: Likewise.
16807         * math/w_log10l.c: Likewise.
16808         * math/w_log2.c: Likewise.
16809         * math/w_log2f.c: Likewise.
16810         * math/w_log2l.c: Likewise.
16811         * math/w_logf.c: Likewise.
16812         * math/w_logl.c: Likewise.
16813         * math/w_sqrt.c: Likewise.
16814         * math/w_sqrtf.c: Likewise.
16815         * math/w_sqrtl.c: Likewise.
16816         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16817         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16818         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16819         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16820         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16822 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16824         [BZ #9739]
16825         * manual/string.texi (strnlen): Use correct parameter name in
16826         equivalent expression.
16828 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16830         [BZ #11174]
16831         * manual/users.texi (seteuid): Consistently use neweuid for
16832         argument name.
16834 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
16836         [BZ #13704]
16837         * manual/nss.texi (Services in the NSS configuration): Correct
16838         list of services in example configuration file.
16840 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
16842         [BZ #11322]
16843         * manual/arith.texi: Remove statements about negative zero
16844         behaving identically to zero.
16846 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16848         [BZ #5993]
16849         * manual/install.texi: Do not document upgrading from libc5.
16851 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
16853         [BZ #4596]
16854         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16856 2012-02-18  David S. Miller  <davem@davemloft.net>
16858         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16859         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16860         %o7 across the call.
16861         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16862         instead.
16863         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16864         SETUP_PIC_REG_LEAF.
16865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16866         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16867         * sysdeps/sparc/crtn.S: Likewise.
16869 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
16871         * aout/Makefile: Remove.
16873 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
16875         [BZ #13058]
16876         * manual/examples/argp-ex1.c (main): Format definition in GNU
16877         style.
16878         * manual/examples/argp-ex2.c (main): Likewise.
16879         * manual/examples/argp-ex3.c (main): Likewise.
16880         * manual/examples/argp-ex4.c (main): Likewise.
16881         * manual/examples/longopt.c (main): Use new-style prototype
16882         definition.
16883         * manual/examples/strncat.c (main): Specify return type and use
16884         (void) for arguments.
16885         * manual/examples/subopt.c (main): Use char **argv argument.
16887 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16889         [BZ #5077]
16890         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16891         rounding modes.
16893 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
16895         [BZ #6907]
16896         * manual/string.texi (strchr): Change when strchrnul is
16897         recommended.
16899 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
16901         [BZ #174]
16902         * manual/locale.texi (setlocale): Document LOCPATH.
16904 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16906         [BZ #10210]
16907         * manual/process.texi (execle): Move @dots{} before last argument.
16909 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
16911         [BZ #12047]
16912         * manual/charset.texi (Generic Charset Conversion): Fix typo
16913         (LC_TYPE -> LC_CTYPE).
16915 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
16917         [BZ #5805]
16918         * manual/arith.texi (scalbn): Use @var{} on parameter names.
16919         (scalbnf): Likewise.
16920         (scalbnl): Likewise.
16921         (scalbln): Likewise.
16922         (scalblnf): Likewise.
16923         (scalblnl): Likewise.
16924         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16925         (vwarnx): Likewise.
16926         (verr): Likewise.
16927         (verrx): Likewise.
16928         * manual/filesys.texi (telldir): Use braces around return type.
16929         * manual/llio.texi (mmap): Add space after comma.
16930         (mmap64): Likewise.
16931         * manual/math.texi (jn): Use @var{} on parameter names.
16932         (jnf): Likewise.
16933         (jnl): Likewise.
16934         (yn): Likewise.
16935         (ynf): Likewise.
16936         (ynl): Likewise.
16937         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16938         line.
16939         * manual/resource.texi (ulimit): Use @dots{} instead of literal
16940         "...".
16941         (sched_get_priority_min): Remove semicolon on @deftypefun line.
16942         (sched_get_priority_max): Likewise.
16943         * manual/signal.texi (sigvec): Add space after comma.
16944         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16945         names.
16946         (if_indextoname): Likewise.
16947         (if_freenameindex): Likewise.
16948         (sendto): Use ',' instead of '.' in prototype.
16949         * manual/startup.texi (syscall): Use @dots{} instead of literal
16950         "...".
16951         * manual/stdio.texi (__fpending): Separate initial words of
16952         paragraph from @deftypefun line.
16953         * manual/syslog.texi (syslog): Use @dots{} instead of literal
16954         "...".
16955         (vsyslog): Use @var{} on parameter names.
16956         * manual/terminal.texi (stty): Use @var{} on parameter names.
16957         * manual/users.texi (getutmp): Use @var{} on parameter names.
16958         (getutmpx): Likewise.
16960 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16962         [BZ #6884]
16963         * manual/stdio.texi (fopen): Fix typos in description of
16964         ",ccs=STRING".
16966 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
16968         [BZ #4026]
16969         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16970         get clock_id definition.
16972 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
16974         [BZ #4822]
16975         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16976         (madvise): Cast every argument to void on its own.
16978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16980         [BZ #9902]
16981         * manual/startup.texi (Exit Status): Fix typo.
16983 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
16985         [BZ #10140]
16986         * manual/examples/argp-ex1.c: Include <stdlib.h>.
16987         * manual/examples/argp-ex2.c: Likewise.
16988         * manual/examples/argp-ex3.c: Likewise.
16990 2012-02-16  Richard Henderson  <rth@redhat.com>
16992         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16993         * sysdeps/s390/s390-32/initfini.c: Remove.
16994         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16995         * sysdeps/s390/s390-64/initfini.c: Remove.
16997 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16999         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17000         compiler output for sysdeps/generic/initfini.c.
17001         * sysdeps/sh/elf/initfini.c: Remove file.
17003 2012-02-16  David S. Miller  <davem@davemloft.net>
17005         [BZ #11494]
17006         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17008         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17009         * sysdeps/sparc/crti.S: New file.
17010         * sysdeps/sparc/crtn.S: New file.
17011         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17012         * sysdeps/sparc/sparc64/Makefile: Likewise.
17014 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
17016         [BZ #3335]
17017         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17019 2012-02-15  Roland McGrath  <roland@hack.frob.com>
17021         [BZ #4822]
17022         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17024         * mach/devstream.c (cookie_io_functions_t): Macro removed.
17025         (write, read, close): Likewise.
17026         Patch by Aurelien Jarno <aurelien@aurel32.net>.
17028 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
17030         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17031         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17032         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17033         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17034         <bits/signalfd.h>.
17035         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17037         bits/signalfd.h.
17039 2012-02-14  Marek Polacek  <polacek@redhat.com>
17041         * sysdeps/x86_64/crti.S: New file.
17042         * sysdeps/x86_64/crtn.S: New file.
17043         * sysdeps/x86_64/elf/initfini.c: Remove file.
17045 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
17047         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17048         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17049         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17050         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17051         <bits/inotify.h>.
17052         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17054         bits/inotify.h.
17056 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
17058         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17059         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17060         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17061         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17062         <bits/eventfd.h>.
17063         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17065         bits/eventfd.h.
17067 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
17069         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17070         __feraiseexcept instead of feraiseexcept.
17072         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17073         nanosleep invocations.
17074         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17075         strings, and add error checking for a nanosleep invocations.
17077 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
17079         Replace FSF snail mail address with URLs, as per GNU coding standards.
17080         Most of the snail mail addresses were wrong anyway, and omitting
17081         them makes the source code easier to maintain.  Almost all of the
17082         changes are to license notices and to locale LC_IDENTIFICATION
17083         addresses, except for this one:
17084         * manual/libc.texinfo: In "Published by", give the FSF's URL,
17085         not its snail mail address.
17087 2012-02-09  Richard Henderson  <rth@twiddle.net>
17089         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17090         of kernel-features.h.
17092         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17094 2012-02-08  Marek Polacek  <polacek@redhat.com>
17096         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17097         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17098         * sysdeps/gnu/_G_config.h: Likewise.
17099         * sysdeps/generic/_G_config.h: Likewise.
17101 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
17103         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17104         tests.
17105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17107         * sysdeps/powerpc/powerpc32/crti.S: New file.
17108         * sysdeps/powerpc/powerpc32/crtn.S: New file.
17109         * sysdeps/powerpc/powerpc64/crti.S: New file.
17110         * sysdeps/powerpc/powerpc64/crtn.S: New file.
17112         * Makeconfig (have-initfini): Don't set.
17113         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17114         * configure.in (nopic_initfini): Don't substitute.
17115         * config.h.in (HAVE_INITFINI): Don't #undef.
17116         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17117         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17119 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
17121         Support crti.S and crtn.S provided directly by architectures.
17122         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17123         [crti.S in sysdirs] (omit-deps): Likewise.
17124         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17125         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17126         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17127         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17128         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17129         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17130         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17131         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17132         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17133         compiler output for sysdeps/generic/initfini.c.
17134         * sysdeps/i386/elf/Makefile: Remove file.
17135         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17137 2012-02-07  Marek Polacek  <polacek@redhat.com>
17139         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17140         * sysdeps/gnu/_G_config.h: Likewise.
17141         * sysdeps/mach/hurd/_G_config.h: Likewise.
17143 2012-02-07  Marek Polacek  <polacek@redhat.com>
17145         * math/Makefile (tests): Add tst-CMPLX2.
17146         * math/tst-CMPLX2.c: New file.
17148 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
17150         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17152         * math/libm-test.inc (jn_test): Add missing L suffix.
17154 2012-02-06  Marek Polacek  <polacek@redhat.com>
17156         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17157         * sysdeps/i386/fpu/e_powf.S: Likewise.
17158         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17159         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17160         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17161         * sysdeps/i386/fpu/e_pow.S: Likewise.
17162         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17163         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17164         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17165         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17166         * sysdeps/i386/fpu/e_log2.S: Likewise.
17167         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17168         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17169         * sysdeps/i386/fpu/e_powl.S: Likewise.
17170         * sysdeps/i386/fpu/s_log1p.S: Likewise.
17171         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17172         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17173         * sysdeps/i386/fpu/e_logl.S: Likewise.
17174         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17175         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17176         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17177         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17178         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17179         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17180         * sysdeps/i386/fpu/e_log.S: Likewise.
17181         * sysdeps/i386/fpu/s_cexp.S: Likewise.
17182         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17183         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17184         * sysdeps/i386/fpu/e_logf.S: Likewise.
17185         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17186         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17187         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17188         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17189         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17190         * sysdeps/i386/fpu/e_log10.S: Likewise.
17191         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17192         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17193         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17194         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17195         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17196         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17197         * sysdeps/i386/asm-syntax.h: Likewise.
17198         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17199         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17200         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17201         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17202         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17203         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17204         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17205         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17206         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17207         * sysdeps/powerpc/sysdep.h: Likewise.
17208         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17209         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17211 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
17213         [BZ #411]
17214         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17216 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
17218         * sysdeps/i386/sysdep.h: Include <features.h>.
17219         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17220         version.
17222 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
17224         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17225         Define.
17226         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17227         LOAD_PIC_REG_STR.
17229 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
17231         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17232         (SETUP_PIC_REG): Use GET_PC_THUNK.
17233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17234         macro.
17236 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
17238         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17239         for non-PIC compilation.
17240         (SETUP_PIC_REG): Add .p2align directive.
17241         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17242         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17243         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17244         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17245         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17246         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17247         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17248         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17249         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17250         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17251         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17252         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17253         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17254         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17255         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17256         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17257         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17258         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17259         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17260         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17262         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17263         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17264         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17265         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17266         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17267         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17269         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17270         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17271         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17272         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17273         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17274         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17275         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17276         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17277         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17278         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17279         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17280         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17281         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17283 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
17285         * math/tst-CMPLX.c: Include <stdio.h>.
17287 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
17289         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17290         float.
17291         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17292         * sysdeps/sparc/bits/mathdef.h: Likewise.
17294 2012-01-31  Marek Polacek  <polacek@redhat.com>
17296         * libio/libio.h: Don't define _PARAMS.
17297         * locale/programs/config.h: Don't define PARAMS.
17298         * stdlib/strtol_l.c: Likewise.
17299         (__strtol_l): Remove PARAMS from the prototype.
17301 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
17303         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
17304         names.  Just use the correct names.  Remove unnecessary wrapper
17305         functions.
17306         * malloc/arena.c: Likewise.
17307         * malloc/hooks.c: Likewise.
17309         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17310         ARENA_TEST says not to.  Simplify test for creation of a new arena.
17311         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17313 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
17315         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17316         into tail calls.
17317         (update_get_addr): New function.
17318         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17319         GET_ADDR_MODULE parameter.
17321 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
17323         * crypt/cert.c: Remove __STDC__ conditionals.
17324         * crypt/crypt-entry.c: Likewise.
17325         * crypt/crypt_util.c: Likewise.
17326         * libio/filedoalloc.c: Likewise.
17327         * libio/fileops.c: Likewise.
17328         * libio/genops.c: Likewise.
17329         * libio/iofclose.c: Likewise.
17330         * libio/iofdopen.c: Likewise.
17331         * libio/iofopen.c: Likewise.
17332         * libio/iofopen64.c: Likewise.
17333         * libio/iogetdelim.c: Likewise.
17334         * libio/iopopen.c: Likewise.
17335         * libio/obprintf.c: Likewise.
17336         * libio/oldfileops.c: Likewise.
17337         * libio/oldiofclose.c: Likewise.
17338         * libio/oldiofdopen.c: Likewise.
17339         * libio/oldiofopen.c: Likewise.
17340         * libio/oldiopopen.c: Likewise.
17341         * libio/wfiledoalloc.c: Likewise.
17342         * libio/wgenops.c: Likewise.
17343         * locale/programs/xmalloc.c: Likewise.
17344         * misc/syslog.c: Likewise.
17345         * stdio-common/xbug.c: Likewise.
17346         * string/memchr.c: Likewise.
17347         * string/memcmp.c: Likewise.
17348         * string/memrchr.c: Likewise.
17349         * string/rawmemchr.c: Likewise.
17350         * sysdeps/posix/getcwd.c: Likewise.
17351         * time/strftime_l.c: Likewise.
17353 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
17355         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17356         * config.make.in (config-cflags-sse2avx): Define.
17357         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17358         Fix typo.
17360 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
17362         * scripts/config.guess: Update from upstream config git repository.
17363         * scripts/config.sub: Likewise.
17365 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
17367         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17368         (EM_NUM): Update.
17369         (R_TILEPRO_*, R_TILEGX_*): New macros.
17371         * scripts/firstversions.awk: Fix bug in version range handling.
17373         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17375         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17377         * include/sys/epoll.h: New file.
17378         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17379         libc_hidden_def.
17381 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
17383         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17384         Avoid unnecessary __WORDSIZE == 64 test.
17385         (fmaxf): Use VEX format if possible.
17386         (fmax): Likewise.
17387         (fminf): Likewise.
17388         (fmin): Likewise.
17390         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17391         * math/math_private.h: Remove libc_fegetround* and
17392         libc_fesetround*.
17393         * sysdeps/i386/configure.in: Check for -msse2avx.
17394         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17395         also if SSE2AVX is defined.
17396         Remove libc_fegetround* and libc_fesetround*.
17397         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17398         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
17399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17400         of HAS_YMM_USABLE.
17401         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17402         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17403         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17404         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17407         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17409 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17411         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17412         size is not set.
17413         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17415 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
17417         [BZ #13618]
17418         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17419         relocation.
17420         * Makeconfig (libm): Define.
17421         * elf/Makefile: Add rules to build and run tst-relsort1.
17422         * elf/tst-relsort1.c: New file.
17423         * elf/tst-relsort1mod1.c: New file.
17424         * elf/tst-relsort1mod2.c: New file.
17426 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
17428         * math/s_ldexp.c: Remove __STDC__ conditionals.
17429         * math/s_ldexpf.c: Likewise.
17430         * math/s_ldexpl.c: Likewise.
17431         * math/s_nextafter.c: Likewise.
17432         * math/s_nexttowardf.c: Likewise.
17433         * math/s_significand.c: Likewise.
17434         * math/s_significandf.c: Likewise.
17435         * math/s_significandl.c: Likewise.
17436         * math/w_jnl.c: Likewise.
17437         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17438         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17439         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17440         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17441         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17442         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17443         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17444         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17445         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17446         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17447         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17448         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17449         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17450         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17451         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17452         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17453         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17454         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17456         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17457         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17458         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17459         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17460         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17461         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17462         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17463         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17464         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17465         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17466         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17467         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17468         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17469         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17470         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17471         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17472         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17473         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17474         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17475         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17476         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17477         * sysdeps/ieee754/k_standard.c: Likewise.
17478         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17479         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17480         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17481         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17482         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17483         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17484         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17485         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17486         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17487         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17488         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17489         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17490         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17491         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17497         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17498         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17499         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17500         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17501         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17502         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17503         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17504         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17507         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17509         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17510         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17511         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17513         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17514         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17521         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17522         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17523         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17525         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17526         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17527         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17529         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17531         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17533         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17534         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17535         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17536         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17537         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17538         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17539         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17540         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17541         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17542         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17543         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17544         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17545         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17546         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17547         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17549         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17550         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17552         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17553         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17554         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17555         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17556         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17557         * sysdeps/ieee754/s_matherr.c: Likewise.
17558         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17559         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17560         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17561         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17563 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17565         * crypt/md5.h: Remove __STDC__ conditionals.
17566         * libio/libioP.h: Likewise.
17567         * locale/programs/config.h: Likewise.
17568         * sysdeps/generic/sysdep.h: Likewise.
17569         * sysdeps/i386/asm-syntax.h: Likewise.
17570         * sysdeps/s390/asm-syntax.h: Likewise.
17571         * sysdeps/unix/sysdep.h: Likewise.
17572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17575 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
17577         * libio/libio.h: Remove __STDC__ conditionals.
17578         * malloc/obstack.h: Likewise.
17579         * math/complex.h: Likewise.
17580         * math/math.h: Likewise.
17581         * sysdeps/generic/_G_config.h: Likewise.
17582         * sysdeps/gnu/_G_config.h: Likewise.
17583         * sysdeps/mach/hurd/_G_config.h: Likewise.
17584         * sysdeps/powerpc/bits/mathdef.h: Likewise.
17585         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17586         * sysdeps/sparc/bits/mathdef.h: Likewise.
17588 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
17590         [BZ #13583]
17591         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17592         Clean up HAS_* macros.
17593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17594         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17595         possible.
17596         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17597         HAS_AVX.
17598         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17599         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17600         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17601         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17602         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17604 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
17606         * elf/tst-unique3.cc (gets): Remove declaration.
17607         * elf/tst-unique3lib.cc (gets): Likewise.
17608         * elf/tst-unique3lib2.cc (gets): Likewise.
17609         * elf/tst-unique4.cc (gets): Likewise.
17611 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
17613         * include/stdio.h: Add C++ protection.  Add gets declarations and
17614         definitions.
17615         * debug/tst-chk1.c: Don't declare gets here.
17616         * stdio-common/tst-gets.c: Likewise.
17618 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17620         * posix/glob: Remove directory.
17622 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
17624         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17626 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
17628         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17629         of the non-standard EPFNOSUPPORT.
17631 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17633         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17634         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17635         ANYWHERE set to 1 only on KERN_NO_SPACE error.
17637 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
17639         * wcsmbs/uchar.h: Test __STDC_VERSION__.
17641 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
17643         * nscd/aicache.c (addhstaiX): Do not cache negative results of
17644         transient errors.
17645         * nscd/grpcache.c (cache_addgr): Likewise.
17646         * nscd/hstcache.c (cache_addhst): Likewise.
17647         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17648         * nscd/pwdcache.c (cache_addpw): Likewise.
17649         * nscd/servicescache.c (cache_addserv): Likewise.
17651 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
17653         * malloc/malloc.c: Various cleanups.
17654         * malloc/hooks.c: Likewise.
17656         * stdlib/Makefile (tests): Add bug-fmtmsg1.
17657         * stdlib/bug-fmtmsg1.c: New file.
17659         * stdlib/fmtmsg.c (init): Add missing unlock.
17660         Patch by Peng Haitao <penght@cn.fujitsu.com>.
17662 2012-01-12  Marek Polacek  <polacek@redhat.com>
17664         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17665         and _GNU_SOURCE.
17667 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
17669         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17670         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17671         macro to ensure uniqueness of label name.
17672         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17673         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17675 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
17677         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17679         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17680         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17681         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17682         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17684 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
17686         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17688         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17689         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17690         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17692         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17694         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17695         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17696         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17699         * math/bits/math-finite.h: Add ldexp support.
17701 2012-01-10  Marek Polacek  <polacek@redhat.com>
17703         * locale/programs/localedef.h (show_archive_content): Add noreturn
17704         attribute.
17706 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
17708         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17710 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17712         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17714         * io/Makefile (headers): Add bits/poll2.h.
17716 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17719         typo #include statement.
17721 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17723         * include/sys/cdefs.h: Define __attribute_alloc_size.
17724         * catgets/gencat.c: Add alloc_size attribute and apply consistently
17725         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17726         * elf/pldd.c: Likewise.
17727         * iconv/iconv_charmap.c: Likewise.
17728         * iconv/iconvconfig.c: Likewise.
17729         * iconv/strtab.c: Likewise.
17730         * locale/programs/locale.c: Likewise.
17731         * locale/programs/localedef.h: Likewise.
17732         * locale/programs/simple-hash.c: Likewise.
17733         * nscd/nscd.h: Likewise.
17734         * nss/makedb.c: Likewise.
17735         * sysdeps/generic/ldconfig.h: Likewise.
17736         * locale/programs/localedef.c: Remove xmalloc prototype.
17737         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17739 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17741         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17742         appropriate.
17744 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
17746         * math/Makefile (tests): Add tst-CMPLX.
17747         * math/tst-CMPLX.c: New file.
17749         * math/complex.h (CMPLXL): Fix typo.
17751         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17752         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17753         GLIBC_2.16.
17754         * debug/tst-chk1.c: Add poll and ppoll tests.
17755         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17756         * include/sys/poll.h: Add hidden proto for ppoll.
17757         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17758         * sysdeps/mach/hurd/ppoll.c: Likewise.
17759         * io/ppoll.c: Likewise.
17760         * debug/poll_chk.c: New file.
17761         * debug/ppoll_chk.c: New file.
17762         * include/bits/poll2.h: New file.
17763         * io/bits/poll2.h: New file.
17765         [BZ #1350]
17766         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17768         * configure.in: static is always set to yes.  Remove.
17769         * config.make.in: Don't set build-static.
17770         * Makeconfig: Remove use of build-static.
17771         * dlfcn/Makefile: Likewise.
17772         * elf/Makefile: Likewise.
17773         * math/Makefile: Likewise.
17774         * misc/Makefile: Likewise.
17775         * nptl/Makefile: Likewise.
17776         * sysdeps/mach/hurd/Makefile: Likewise.
17778         * configure.in: PWD_P is not used anymore.
17779         * config.make.in: Remove PWD_P entry.
17781         * configure.in: Remove last remnants of RANLIB.
17782         No need to check for signed size_t anymore.
17783         Don't set libc_commonpagesize and libc_relro_required here for Alpha
17784         and IA-64.
17785         Remove __builtin_expect test because we require at least gcc 3.4.
17786         * aclocal.m4: Likewise.
17788         * wcsmbs/mbrtoc16.c: Implement using towc function.
17789         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17790         * wcsmbs/wcsmbsload.c: Likewise.
17791         * iconv/gconv_simple.c: Likewise.
17792         * iconv/gconv_int.h: Likewise.
17793         * iconv/gconv_builtin.h: Likewise.
17794         * iconv/iconv_prog.c: Remove CHAR16 handling.
17796         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17798         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17800         * configure.in: Remove --with-elf and --enable-bounded options.
17801         Dont set base_machine for ia64.  More non-ELF conditions removed.
17802         Remove testing and setting of leading underscore information.
17803         * config.make.in (build-bounded): Set to no.
17804         * config.h.in: Remove NO_UNDERSCORES entry.
17805         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
17806         them.
17807         * csu/start.c: Remove !NO_UNDERSCORE code.
17808         * locale/localeinfo.h: Likewise.
17809         * sysdeps/generic/machine-gmon.h: Likewise.
17810         * sysdeps/generic/sysdep.h: Likewise.
17811         * sysdeps/i386/sysdep.h: Likewise.
17812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17813         * sysdeps/mach/sysdep.h: Likewise.
17814         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17815         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17816         * sysdeps/sh/sysdep.h: Likewise.
17817         * sysdeps/sparc/sparc32/alloca.S: Likewise.
17818         * sysdeps/unix/i386/sysdep.S: Likewise.
17819         * sysdeps/unix/sparc/start.c: Likewise.
17820         * sysdeps/unix/sparc/sysdep.S: Likewise.
17821         * sysdeps/unix/sparc/sysdep.h: Likewise.
17822         * sysdeps/unix/start.c: Likewise.
17823         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17824         * sysdeps/x86_64/sysdep.h: Likewise.
17826 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
17828         [BZ #13553]
17829         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17830         for non-gcc.
17831         * argp/argp-fmtstream.h: Use const instead __const.
17832         * argp/argp.h: Likewise.
17833         * assert/assert.h: Likewise.
17834         * bits/fenv.h: Likewise.
17835         * bits/sched.h: Likewise.
17836         * bits/sigset.h: Likewise.
17837         * bits/sigthread.h: Likewise.
17838         * catgets/nl_types.h: Likewise.
17839         * conform/data/pthread.h-data: Likewise.
17840         * crypt/crypt-private.h: Likewise.
17841         * crypt/crypt.h: Likewise.
17842         * crypt/crypt_util.c: Likewise.
17843         * ctype/ctype.h: Likewise.
17844         * debug/execinfo.h: Likewise.
17845         * debug/mbsnrtowcs_chk.c: Likewise.
17846         * debug/mbsrtowcs_chk.c: Likewise.
17847         * debug/wcsnrtombs_chk.c: Likewise.
17848         * debug/wcsrtombs_chk.c: Likewise.
17849         * debug/wcstombs_chk.c: Likewise.
17850         * dirent/dirent.h: Likewise.
17851         * dlfcn/dlfcn.h: Likewise.
17852         * elf/neededtest4.c: Likewise.
17853         * grp/grp.h: Likewise.
17854         * gshadow/gshadow.h: Likewise.
17855         * iconv/gconv.h: Likewise.
17856         * iconv/gconv_int.h: Likewise.
17857         * iconv/gconv_simple.c: Likewise.
17858         * iconv/iconv.h: Likewise.
17859         * iconv/loop.c: Likewise.
17860         * iconv/skeleton.c: Likewise.
17861         * include/aio.h: Likewise.
17862         * include/aliases.h: Likewise.
17863         * include/argz.h: Likewise.
17864         * include/arpa/inet.h: Likewise.
17865         * include/assert.h: Likewise.
17866         * include/dirent.h: Likewise.
17867         * include/dlfcn.h: Likewise.
17868         * include/execinfo.h: Likewise.
17869         * include/fcntl.h: Likewise.
17870         * include/fenv.h: Likewise.
17871         * include/glob.h: Likewise.
17872         * include/grp.h: Likewise.
17873         * include/libintl.h: Likewise.
17874         * include/mntent.h: Likewise.
17875         * include/netdb.h: Likewise.
17876         * include/pwd.h: Likewise.
17877         * include/rpc/netdb.h: Likewise.
17878         * include/sched.h: Likewise.
17879         * include/search.h: Likewise.
17880         * include/shadow.h: Likewise.
17881         * include/signal.h: Likewise.
17882         * include/stdio.h: Likewise.
17883         * include/stdlib.h: Likewise.
17884         * include/string.h: Likewise.
17885         * include/sys/socket.h: Likewise.
17886         * include/sys/stat.h: Likewise.
17887         * include/sys/statfs.h: Likewise.
17888         * include/sys/statvfs.h: Likewise.
17889         * include/sys/syslog.h: Likewise.
17890         * include/sys/time.h: Likewise.
17891         * include/sys/uio.h: Likewise.
17892         * include/time.h: Likewise.
17893         * include/unistd.h: Likewise.
17894         * include/utmp.h: Likewise.
17895         * include/wchar.h: Likewise.
17896         * include/wctype.h: Likewise.
17897         * inet/aliases.h: Likewise.
17898         * inet/arpa/inet.h: Likewise.
17899         * inet/netinet/ether.h: Likewise.
17900         * inet/netinet/in.h: Likewise.
17901         * intl/libintl.h: Likewise.
17902         * io/bits/fcntl2.h: Likewise.
17903         * io/fcntl.h: Likewise.
17904         * io/ftw.h: Likewise.
17905         * io/sys/poll.h: Likewise.
17906         * io/sys/stat.h: Likewise.
17907         * io/sys/statfs.h: Likewise.
17908         * io/sys/statvfs.h: Likewise.
17909         * io/utime.h: Likewise.
17910         * libio/bits/stdio.h: Likewise.
17911         * libio/bits/stdio2.h: Likewise.
17912         * libio/libio.h: Likewise.
17913         * libio/libioP.h: Likewise.
17914         * libio/stdio.h: Likewise.
17915         * locale/lc-ctype.c: Likewise.
17916         * locale/locale.h: Likewise.
17917         * login/utmp.h: Likewise.
17918         * malloc/arena.c: Likewise.
17919         * malloc/malloc.c: Likewise.
17920         * malloc/malloc.h: Likewise.
17921         * malloc/mcheck.c: Likewise.
17922         * malloc/mtrace.c: Likewise.
17923         * math/bits/mathcalls.h: Likewise.
17924         * math/fenv.h: Likewise.
17925         * math/math_private.h: Likewise.
17926         * misc/bits/error.h: Likewise.
17927         * misc/bits/syslog.h: Likewise.
17928         * misc/err.h: Likewise.
17929         * misc/error.h: Likewise.
17930         * misc/fstab.h: Likewise.
17931         * misc/mntent.h: Likewise.
17932         * misc/regexp.h: Likewise.
17933         * misc/search.h: Likewise.
17934         * misc/sgtty.h: Likewise.
17935         * misc/sys/mman.h: Likewise.
17936         * misc/sys/syslog.h: Likewise.
17937         * misc/sys/uio.h: Likewise.
17938         * misc/sys/xattr.h: Likewise.
17939         * misc/ttyent.h: Likewise.
17940         * nis/rpcsvc/ypclnt.h: Likewise.
17941         * nss/nss.h: Likewise.
17942         * posix/bits/unistd.h: Likewise.
17943         * posix/fnmatch.h: Likewise.
17944         * posix/glob.h: Likewise.
17945         * posix/sched.h: Likewise.
17946         * posix/spawn.h: Likewise.
17947         * posix/sys/wait.h: Likewise.
17948         * posix/unistd.h: Likewise.
17949         * posix/wordexp.h: Likewise.
17950         * pwd/pwd.h: Likewise.
17951         * resolv/netdb.h: Likewise.
17952         * resource/sys/resource.h: Likewise.
17953         * rt/aio.h: Likewise.
17954         * rt/bits/mqueue2.h: Likewise.
17955         * rt/mqueue.h: Likewise.
17956         * shadow/shadow.h: Likewise.
17957         * signal/signal.h: Likewise.
17958         * socket/send.c: Likewise.
17959         * socket/sendto.c: Likewise.
17960         * socket/sys/socket.h: Likewise.
17961         * stdio-common/printf.h: Likewise.
17962         * stdlib/bits/stdlib.h: Likewise.
17963         * stdlib/fmtmsg.h: Likewise.
17964         * stdlib/monetary.h: Likewise.
17965         * stdlib/stdlib.h: Likewise.
17966         * stdlib/ucontext.h: Likewise.
17967         * streams/stropts.h: Likewise.
17968         * string/argz.h: Likewise.
17969         * string/bits/string2.h: Likewise.
17970         * string/string.h: Likewise.
17971         * string/strings.h: Likewise.
17972         * sunrpc/rpc/auth.h: Likewise.
17973         * sunrpc/rpc/auth_des.h: Likewise.
17974         * sunrpc/rpc/clnt.h: Likewise.
17975         * sunrpc/rpc/netdb.h: Likewise.
17976         * sunrpc/rpc/pmap_clnt.h: Likewise.
17977         * sunrpc/rpc/xdr.h: Likewise.
17978         * sysdeps/generic/inttypes.h: Likewise.
17979         * sysdeps/generic/net/if.h: Likewise.
17980         * sysdeps/generic/sys/swap.h: Likewise.
17981         * sysdeps/gnu/net/if.h: Likewise.
17982         * sysdeps/gnu/utmpx.h: Likewise.
17983         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17984         * sysdeps/i386/i486/bits/string.h: Likewise.
17985         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17986         * sysdeps/s390/bits/string.h: Likewise.
17987         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17988         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17989         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17990         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17991         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17992         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17993         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17994         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17995         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17996         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17997         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17998         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17999         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18000         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18001         * sysdeps/unix/sysv/linux/readv.c: Likewise.
18002         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18003         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18004         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18005         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18006         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18007         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18008         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18009         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18010         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18011         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18012         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18013         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18014         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18015         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18016         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18017         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18018         * sysvipc/sys/ipc.h: Likewise.
18019         * sysvipc/sys/msg.h: Likewise.
18020         * sysvipc/sys/sem.h: Likewise.
18021         * sysvipc/sys/shm.h: Likewise.
18022         * termios/termios.h: Likewise.
18023         * time/sys/time.h: Likewise.
18024         * time/time.h: Likewise.
18025         * wcsmbs/bits/wchar2.h: Likewise.
18026         * wcsmbs/uchar.h: Likewise.
18027         * wcsmbs/wchar.h: Likewise.
18028         * wctype/wctype.h: Likewise.
18030         [BZ #13551]
18031         * Makeconfig: Remove all but ELF support including AIX support.
18032         * Makerules: Likewise.
18033         * config.h.in: Likewise.
18034         * config.make.in: Likewise.
18035         * configure: Likewise.
18036         * configure.in: Likewise.
18037         * csu/Makefile: Likewise.
18038         * csu/version.c: Likewise.
18039         * debug/Makefile: Likewise.
18040         * dlfcn/Makefile: Likewise.
18041         * elf/Makefile: Likewise.
18042         * extra-lib.mk: Likewise.
18043         * iconv/Makefile: Likewise.
18044         * include/libc-symbols.h: Likewise.
18045         * include/shlib-compat.h: Likewise.
18046         * resolv/Makefile: Likewise.
18047         * resolv/res_libc.c: Likewise.
18048         * rt/Makefile: Likewise.
18049         * sysdeps/i386/asm-syntax.h: Likewise.
18050         * sysdeps/i386/sysdep.h: Likewise.
18051         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18052         * sysdeps/mach/sysdep.h: Likewise.
18053         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18054         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18055         * sysdeps/s390/asm-syntax.h: Likewise.
18056         * sysdeps/s390/s390-32/sysdep.h: Likewise.
18057         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18058         * sysdeps/sh/sysdep.h: Likewise.
18059         * sysdeps/unix/sparc/sysdep.h: Likewise.
18060         * sysdeps/wordsize-32/divdi3.c: Likewise.
18061         * sysdeps/x86_64/sysdep.h: Likewise.
18063         * argp/Versions: Remove _argp_unlock_xxx.
18065         [BZ #13559]
18066         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
18067         * abilist/libBrokenLocale.abilist: Likewise.
18068         * abilist/libanl.abilist: Likewise.
18069         * abilist/libc.abilist: Likewise.
18070         * abilist/libcrypt.abilist: Likewise.
18071         * abilist/libdl.abilist: Likewise.
18072         * abilist/libm.abilist: Likewise.
18073         * abilist/libnsl.abilist: Likewise.
18074         * abilist/libpthread.abilist: Likewise.
18075         * abilist/libresolv.abilist: Likewise.
18076         * abilist/librt.abilist: Likewise.
18077         * abilist/libthread_db.abilist: Likewise.
18078         * abilist/libutil.abilist: Likewise.
18079         * abilist/libnss_db.abilist: New file.
18081         * scripts/abilist.awk: Add support for indirect functions.
18083         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18085         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18087         * shlib-versions: Remove entries for ports architectures.
18089         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
18090         files in ports.
18091         * elf/stackguard-macros.h: Remove support for IA-64.
18092         * elf/tst-auditmod1.c: Likewise.
18093         * sysdeps/generic/ldsodefs.h: Likewise.
18095         * sysdeps/unix/sysv/linux/configure.in: Ports should define
18096         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18097         configure files.
18099         [BZ #13552]
18100         * configure.in: Remove --enable-omitfp support.
18101         * FAQ.in: Adjust.
18102         * config.make.in: Likewise.
18103         * Makeconfig: Likewise.
18104         * manual/install.texi: Likewise.
18106         In case anyone cares, the IA-64 architecture could move to ports.
18107         * sysdeps/ia64/*: Removed.
18108         * sysdeps/unix/sysv/linux/ia64/*: Removed.
18109         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18111         [BZ #13555]
18112         * configure.in: Remove entries for unsupported architectures.
18114         [BZ #13533]
18115         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18116         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
18117         routines.
18118         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18119         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18120         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
18121         fall back to using wcrtomb.
18122         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18123         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
18124         renaming.
18125         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18126         * wcsmbs/tst-c16c32-1.c: New file.
18128         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18129         local variable.
18131         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18133         * elf/tst-unique3.cc: Add explicit declaration of gets.
18134         * elf/tst-unique3lib.cc: Likewise.
18135         * elf/tst-unique3lib2.cc: Likewise.
18136         * elf/tst-unique4.cc: Likewise.
18138         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18140 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
18142         [BZ #13566]
18143         * assert/assert.h (static_assert): Don't define for C++.
18144         * libio/stdio.h (gets): Do declare for C++ <= C++11.
18145         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18147 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
18149         * iconv/loop.c (single loop): Fix assertion in storing of
18150         remaining bytes.
18152         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18154 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
18156         * posix/getconf.c: Update copyright year.
18157         * nss/getent.c: Likewise.
18158         * nss/makedb.c: Likewise.
18159         * iconv/iconvconfig.c: Likewise.
18160         * iconv/iconv_prog.c: Likewise.
18161         * elf/ldconfig.c: Likewise.
18162         * elf/pldd.c: Likewise.
18163         * elf/sotruss.ksh: Likewise.
18164         * catgets/gencat.c: Likewise.
18165         * csu/version.c: Likewise.
18166         * elf/ldd.bash.in: Likewise.
18167         * elf/sprof.c (print_version): Likewise.
18168         * locale/programs/locale.c: Likewise.
18169         * locale/programs/localedef.c: Likewise.
18170         * login/programs/pt_chown.c: Likewise.
18171         * nscd/nscd.c (print_version): Likewise.
18172         * debug/xtrace.sh: Likewise.
18173         * malloc/memusage.sh: Likewise.
18174         * malloc/mtrace.pl: Likewise.
18175         * debug/catchsegv.sh: Likewise.
18177 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
18179         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18180         pure attribute.
18182 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
18184         [BZ #13533]
18185         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18186         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18187         transformations.
18188         * iconv/gconv_int.h: Likewise.
18189         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18190         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18191         from libc for GLIBC_2.16.
18192         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18193         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18194         * wcsmbs/uchar.h: Really define mbstate_t.
18195         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18196         * wcsmbs/c16rtomb.c: New file.
18197         * wcsmbs/mbrtoc16.c: New file.
18198         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18199         for C/POSIX locale.
18200         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18201         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18203         * wcsmbs/wchar.h: Add missing __restrict.
18205 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
18207         [BZ #13532]
18208         * time/Makefile (routines): Add timespec_get.
18209         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18210         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
18211         timespec for ISO C11.
18212         * time/timespec_get.c: New file.
18213         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18214         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18216         [BZ #13531]
18217         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18218         * stdlib/stdlib.h: Declare aligned_alloc.
18219         * Versions.def: Add GLIBC_2.16 for libc.
18220         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18222         [BZ 13527]
18223         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18224         ISO C11.
18226         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18227         code.
18229         [BZ #13528]
18230         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18232         [BZ #13529]
18233         * assert/assert.h (static_assert): Define.
18235         * version.h: Update for 2.16 development version.
18237         [BZ #13526]
18238         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18239         _ISOC11_SOURCE.
18241         * version.h (RELEASE): Bump for 2.15 release.
18242         * include/features.h (__GLIBC_MINOR__): Bump to 15.
18244         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18245         Patch by Marek Polacek <mpolacek@redhat.com>.
18247         * bits/byteswap.h: Protect long long constants with __extension__.
18248         * sysdeps/i386/bits/byteswap.h: Likewise.
18249         * sysdeps/ia64/bits/byteswap.h: Likewise.
18250         * sysdeps/s390/bits/byteswap.h: Likewise.
18251         * sysdeps/x86_64/bits/byteswap.h: Likewise.
18253 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18255         [BZ #13540]
18256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18257         destination buffer.
18258         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18260 2011-12-23  Marek Polacek  <polacek@redhat.com>
18262         * elf/dl-addr.c (determine_info): Add inline keyword.
18263         * elf/tst-auditmod4b.c (check_avx): Likewise.
18264         * elf/tst-auditmod6b.c (check_avx): Likewise.
18265         * elf/tst-auditmod6c.c (check_avx): Likewise.
18266         * elf/tst-auditmod7b.c (check_avx): Likewise.
18268 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
18270         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18271         !__SSE_MATH__.
18273 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18275         [BZ #13540]
18276         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18277         processing for last bytes.
18279 2011-08-06  Bruno Haible  <bruno@clisp.org>
18281         [BZ #13061]
18282         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18283         U+0385, not to U+1FEE.
18285         [BZ #13062]
18286         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18287         entry for U+00A5 U+0301.
18289 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
18291         [BZ #13166]
18292         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18293         buffer for the output is too small.
18295         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18296         optimization.
18298         [BZ #13185]
18299         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18300         SSE flags if possible.
18302 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18304         [BZ #13540]
18305         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18306         processing for last bytes.
18308 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
18310         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18311         (syscall-list-default-options, syscall-list-default-condition)
18312         (syscall-list-includes): Define.
18313         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18314         list of ABIs and options and #if conditions for each ABI.  Do not
18315         handle common syscalls between ABIs specially.
18316         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18317         Remove.
18318         (syscall-list-variants, syscall-list-32bit-options)
18319         (syscall-list-32bit-condition, syscall-list-64bit-options)
18320         (syscall-list-64bit-condition): Define.
18321         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18322         (syscall-list-variants, syscall-list-32bit-options)
18323         (syscall-list-32bit-condition, syscall-list-64bit-options)
18324         (syscall-list-64bit-condition): Define.
18325         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18326         Remove.
18327         (syscall-list-variants, syscall-list-32bit-options)
18328         (syscall-list-32bit-condition, syscall-list-64bit-options)
18329         (syscall-list-64bit-condition): Define.
18330         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18331         Remove.
18332         (syscall-list-variants, syscall-list-32bit-options)
18333         (syscall-list-32bit-condition, syscall-list-64bit-options)
18334         (syscall-list-64bit-condition): Define.
18336 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
18338         * locale/iso-639.def: Add brx entry.
18340         [BZ #13328]
18341         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18342         Proposed by Mariusz_Cukr <marcukr@op.pl>.
18344         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18345         __feraiseexcept_renamed.
18347 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
18349         [BZ #13538]
18350         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18351         EPOLLET with unsigned values.
18352         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18353         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18355         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18356         to large cancellation.
18357         * math/s_cacoshf.c: Likewise.
18358         * math/s_cacoshl.c: Likewise.
18360 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
18362         [BZ #13305]
18363         [BZ #12786]
18364         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18365         * math/s_cacoshf.c: Likewise.
18366         * math/s_cacoshl.c: Likewise.
18368 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
18370         [BZ #13439]
18371         * iconv/gconv.h: Define __GCONV_SWAP.
18372         * iconvdata/unicode.c: The swap bit must be stored in __flags.
18373         * iconvdata/utf-16.c: Likewise.
18374         * iconvdata/utf-32.c: Likewise.
18376 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18378         [BZ #13524]
18379         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18380         numerator after shifting it by one limb.
18382 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
18384         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18385         under [__USE_EXTERN_INLINES].
18387 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
18389         [BZ #13446]
18390         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18392 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18394         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18395         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18396         optimized code.
18397         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18398         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18399         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18400         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18401         for strncasecmp/strncasecmp_l compilation.
18402         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18403         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18405 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
18407         [BZ #13484]
18408         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18409         of __asm__.
18411 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
18413         [BZ #13506]
18414         * time/tzfile.c (__tzfile_read): Check values from file header.
18416 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18418         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18419         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18420         * powerpc/powerpc32/dl-start.S: Likewise.
18421         * powerpc/powerpc32/elf/start.S: Likewise.
18422         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18423         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18424         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18425         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18426         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18427         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18428         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18429         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18430         * powerpc/powerpc32/fpu/s_round.S: Likewise.
18431         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18432         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18433         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18434         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18435         * powerpc/powerpc32/memset.S: Likewise.
18436         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18437         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18438         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18439         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18440         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18441         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18442         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18443         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18444         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18445         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18446         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18447         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18448         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18450 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18452         * math/libm-test.inc: Added more nearbyint tests.
18453         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18458 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
18460         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18461         FD_CLOEXEC.
18463 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18465         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18466         Add wcscpy-ssse3 wcscpy-c.
18467         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18468         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18469         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18470         * sysdeps/x86_64/wcschr.S: New file.
18471         * sysdeps/x86_64/wcsrchr.S: New file.
18472         * string/test-strcmp.c: Remove checking of wcscmp function for
18473         wrong alignments.
18474         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18475         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18476         wcsrchr-sse2 wcsrchr-c.
18477         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18478         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18479         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18480         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18481         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18482         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18483         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18484         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18485         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18486         * wcsmbc/wcschr.c (WCSCHR): New macro.
18488 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18490         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18491         * wcsmbs/test-wcsrchr.c: New file.
18492         * string/test-strrchr.c: Add wcsrchr support.
18493         (WIDE): New macro.
18494         * wcsmbs/test-wcscpy.c: New file.
18495         * string/test-strcpy.c: Add wcscpy support.
18496         (WIDE): New macro.
18498 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
18500         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18501         the inner loop.
18503 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
18505         [BZ #13472]
18506         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18508 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
18510         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18511         Minor optimizations.
18513         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18514         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18515         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18517 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
18519         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18520         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18521         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18522         for gcc to avoid warnings.
18523         * inet/Makefile (tests): Add tst-checks.
18524         * inet/tst-checks.c: New file.
18526         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18527         warning.
18529         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18530         __wmemcmp_sse2.
18532         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18533         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18535         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18537 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
18539         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18540         problem.
18542         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18544 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
18546         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18547         conditional on GCC version.
18548         (__arch_compare_and_exchange_val_8_acq)
18549         (__arch_compare_and_exchange_val_16_acq)
18550         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18551         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18552         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18554 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
18556         * sysdeps/sh/backtrace.c: New file.
18558 2011-12-02  Andreas Schwab  <schwab@redhat.com>
18560         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
18561         parenthesis.
18563 2011-12-01  Andreas Schwab  <schwab@redhat.com>
18565         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18566         falling back to utime.
18568 2011-11-30  Andreas Schwab  <schwab@redhat.com>
18570         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18571         expectations for float.
18573 2011-11-29  Andreas Schwab  <schwab@redhat.com>
18575         * locale/weight.h (findidx): Add parameter len.
18576         * locale/weightwc.h (findidx): Likewise.
18577         * posix/fnmatch_loop.c (FCT): Adjust caller.
18578         * posix/regcomp.c (build_equiv_class): Likewise.
18579         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18580         * posix/regexec.c (check_node_accept_bytes): Likewise.
18581         * string/strcoll_l.c (STRCOLL): Likewise.
18582         * string/strxfrm_l.c (STRXFRM): Likewise.
18584 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
18586         * Makefile.in: Remove CVSOPT handling.
18587         * configure.in: Remove use of AC_REVISION.
18588         * iconvdata/Makefile (distribute): No need to filter out CVS.
18589         * scripts/list-sources.sh: Remove CVS, subversion and monotone
18590         handling.
18592 2011-11-16  Andreas Schwab  <schwab@redhat.com>
18594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18595         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18596         [USE_AS_STRNCASECMP_L]: Likewise.
18597         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18598         NO_TLS_DIRECT_SEG_REFS.
18599         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18600         Fix argument offsets for non-PIC.
18601         [USE_AS_STRNCASECMP_L]: Likewise.
18602         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18603         NO_TLS_DIRECT_SEG_REFS.
18605 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18607         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18608         O_CLOEXEC.
18609         * locale/loadlocale.c (_nl_load_locale): Likewise.
18611 2011-11-15  Andreas Schwab  <schwab@redhat.com>
18613         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18614         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18616         (SYSCALL_GETTIME): Set errno on error.
18618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18619         count references to noai6ai_cached.
18621 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
18623         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18625         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18626         FD_CLOEXEC for /proc/self/maps.
18628         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18629         FD_CLOEXEC for /proc/meminfo.
18631         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18632         gai.conf.
18634         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
18635         FD_CLOEXEC for given file.
18637         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18639         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18640         FD_CLOEXEC for /etc/hosts.
18641         (_gethtent): Likewise.
18643         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18645         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18646         cancellation and set FD_CLOEXEC for /etc/netgroup.
18648         * nss/nss_files/files-key.c (search): Don't allow cancellation when
18649         reading /etc/publickey.
18651         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18652         allow cancellation when reading /etc/group.
18654         * nss/nss_files/files-alias.c (internal_setent): Don't allow
18655         cancellation.
18656         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
18658         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18659         when using data file.
18661         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18663         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18664         (write_nis_obj): Use "c" and "e" in fopen.
18666         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18668         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18670         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18672         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18674         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18675         locale.alias.
18677         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18679         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18681         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18683         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18684         file parsing and set FD_CLOEXEC.
18686 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18688         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18690 2011-11-14  Andreas Schwab  <schwab@redhat.com>
18692         * malloc/arena.c (arena_get2): Don't call reused_arena when
18693         _int_new_arena failed.
18695 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
18697         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18698         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18699         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18700         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18701         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18702         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18703         to compile strcasecmp and strncasecmp.
18704         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18705         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18707         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18709 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
18711         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18712         locale-defines.sym to gen-as-const-headers.
18713         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18714         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18716         to compile strcasecmp and strncasecmp.
18717         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18718         strcasecmp_l and strncasecmp_l.
18719         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18720         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18721         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18722         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18723         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18724         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18725         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18726         * sysdeps/i386/i686/multiarch/strncase.S: New file.
18727         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18728         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18729         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18731 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
18733         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18734         result of SYSDEP_GETTIME_CPU to retval.
18735         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18736         parameter list to macro.  Remove trailing semicolon.  Adjust users.
18738         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18739         variable.
18741         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18742         mantissa words.
18743         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18745         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18746         from unused variable.
18748         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18749         DWARF definitions.
18750         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18751         for assembling.
18753         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18754         over namespaces.
18756         * sunrpc/rpc_prot.c (rejected): Fix case value.
18758         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18759         unsigned long long int to avoid warnings in shift.
18761         * posix/regex_internal.c (re_string_reconstruct): Actually use result
18762         of use of trans.
18763         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18764         variable tmp.
18766         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18767         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18768         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18770         * nis/nis_table.c (nis_list): Use variable of correct type for
18771         result of __follow_path call.
18773 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18775         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18776         of math functions ceil, trunc, floor, round, and sqrt, when
18777         avaliable on the platform.
18778         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18779         name clash.
18780         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18781         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18782         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18784 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
18786         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18787         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18789 2011-11-11  Roland McGrath  <roland@hack.frob.com>
18791         * include/unistd.h: Fix __readlink return type.
18792         Reported by Chris Metcalf <cmetcalf@tilera.com>.
18794 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
18796         * stdlib/ucontext.h: Undo last change for makecontext.
18798 2011-11-11  Andreas Schwab  <schwab@redhat.com>
18800         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18802         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18803         * setjmp/setjmp.h: Mark functions as non-leaf.
18804         * setjmp/bits/setjmp2.h: Likewise.
18805         * stdlib/ucontext.h: Likewise.
18807 2011-11-10  Andreas Schwab  <schwab@redhat.com>
18809         * malloc/arena.c (_int_new_arena): Don't increment narenas.
18810         (reused_arena): Don't check arena limit.
18811         (arena_get2): Atomically check arena limit.
18813 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
18815         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18816         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18819         instructions.
18821 2011-11-07  Andreas Schwab  <schwab@redhat.com>
18823         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18824         handler when locking.
18826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18827         Fix size of allocated buffer.
18829 2011-11-04  Andreas Schwab  <schwab@redhat.com>
18831         [BZ #10103]
18832         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18833         declarations for long double functions.
18834         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18836         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18838 2011-11-03  Andreas Schwab  <schwab@redhat.com>
18840         * nscd/nscd.c (main): Don't start AVC thread until credentials are
18841         installed.
18843         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18844         is disabled.
18846 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18848         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18850 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18852         * include/alloca.h (stackinfo_alloca_round): Define.
18853         (extend_alloca): Use it.
18854         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18855         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18856         here.
18858         * scripts/check-local-headers.sh: Ignore libaudit.h.
18860         * nscd/Makefile (extra-objs): Make recursively expanded.
18862 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
18864         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18865         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18867         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18868         * posix/tst-rfc3484-2.c: Likewise.
18869         * posix/tst-rfc3484-3.c: Likewise.
18871         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18872         process_vm_writev.
18873         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18874         process_vm_writev.
18875         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18876         process_vm_writev from libc using GLIBC_2.15 version.
18878         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18880 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
18882         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18883         stack usage.
18885 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
18887         [BZ #13367]
18888         * nss/getent.c (initgroups_keys): Show error message in case no group
18889         names are given.
18891         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18892         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18893         __bump_nl_timestamp.
18894         * nscd/connections (nscd_init): When host database is served open
18895         netlink socket and request notification about configuration changes.
18896         (main_loop_poll): Track netlink file descriptor and bump timestamp
18897         in case data becomes available.
18898         (main_loop_epoll): Likewise.
18899         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18900         (database_pers_head): Add extra_data fileds.
18901         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18902         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18903         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18904         Adjust caller.
18905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18906         in6ai data, call __free_in6ai.
18907         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18908         Add -DHAVE_NETLINK.
18909         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
18910         interface information.  Reuse previous data if netlink timestamp
18911         is not changed.
18912         (__bump_nl_timestamp): New function.
18913         (__free_in6ai): New function.
18915 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
18917         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18918         close_not_cancel_no_status here.
18919         (__check_pf): Reorganize code a bit to not call close twice if OOM.
18921 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18923         [BZ #13276]
18924         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18925         return value.
18927         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18928         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18929         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18931 2011-07-03  Andreas Jaeger  <aj@suse.de>
18933         [BZ #10709]
18934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18935         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18936         * math/libm-test.inc (sin_test): Add test case.
18938 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
18940         [BZ #13337]
18941         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18942         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18944         * elf/chroot_canon.c (chroot_canon): Cleanups.
18946         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18948         [BZ #13335]
18949         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18950         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18952         * string/test-strchr.c: Make usable for strchrnul testing.
18953         * string/test-strchrnul.c: New file.
18954         * string/Makefile (strop-tests): Add strchrnul.
18956         * po/it.po: Update from translation team.
18957         * po/es.po: Likewise.
18959 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
18961         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18962         the three constants needed as parameters.  Drop the others.
18963         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18964         __m128i_strloadu_tolower.
18965         Create and initialize variable zero and use it in all the places
18966         where _mm_setzero_si128 was used.
18968         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18969         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18970         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18971         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18972         anymore.
18973         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18974         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18975         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18976         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18977         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18978         __mpranred, __mptan.
18979         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18980         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18981         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18982         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18983         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18984         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18985         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18986         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18987         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18989 2011-10-28  Andreas Schwab  <schwab@redhat.com>
18991         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18992         redefine if SHARED.
18993         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18996         wide char related routines to wcsmbs subdir.
18998 2011-10-27  Andreas Schwab  <schwab@redhat.com>
19000         [BZ #13344]
19001         * misc/sys/cdefs.h (__THROWNL): Define.
19002         * posix/unistd.h: Use __THREADNL instead of __THREAD
19003         for memory synchronization functions.
19005 2011-10-26  Roland McGrath  <roland@hack.frob.com>
19007         [BZ #13349]
19008         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19009         doesn't exist.
19010         * manual/stdio.texi (Obstack Streams): Node removed.
19012 2011-10-26  Andreas Schwab  <schwab@redhat.com>
19014         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19015         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19016         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19018         * math/math_private.h (math_force_eval): Allow non-addressable
19019         arguments.
19020         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19022 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
19024         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19025         file is not needed.
19027         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19029         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19030         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19031         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19032         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19033         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19034         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19035         Add AVX variants.
19036         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19037         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19038         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19039         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19040         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19041         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19042         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19043         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19044         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19045         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19046         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19047         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19048         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19049         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19050         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19051         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19052         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19053         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19054         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19056         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19057         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
19059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19060         place.  Use VEX encoding when compiling for AVX.
19062 2011-10-25  Andreas Schwab  <schwab@redhat.com>
19064         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19065         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19067         * string/test-strchr.c (do_test): Don't generate NUL bytes.
19069 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
19071         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19072         useless if() expression.
19073         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19074         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19075         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19076         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19077         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19078         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19079         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19081         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19083         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19084         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19085         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19086         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19087         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19088         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19089         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19090         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19091         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19093         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19095 2011-10-25  Andreas Schwab  <schwab@redhat.com>
19097         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19098         condition.
19099         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19101 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
19103         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19104         .text section.  Avoid duplicate constants.
19105         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19106         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19107         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19109         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19112         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19113         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19114         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19115         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19116         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19117         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19118         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19119         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19120         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19121         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19122         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19125         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19126         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19127         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19128         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19129         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19130         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19131         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19132         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19133         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19134         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19135         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19136         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19137         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19138         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19139         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19140         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19141         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19142         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19143         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19144         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19145         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19146         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19147         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19148         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19149         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19151 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
19153         * sysdeps/x86_64/dla.h: Move to ...
19154         * sysdeps/x86_64/fpu/dla.h: ...here.
19155         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19156         situations.  Use __builtin_fma only for gcc 4.6 and up.
19158         * config.make.in: Add have-mfma4 entry.
19159         * configure.in: Substitute libc_cv_cc_fma4.
19160         * math/Makefile (dbl-only-routines): Add sincostab.
19161         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19162         Use __sincostab not sincos.
19163         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19164         name is a macro.
19165         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19166         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19167         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
19169         using __copysign.
19170         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
19171         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
19172         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19173         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19174         and __inv.
19175         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19176         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19177         __copysign.
19178         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
19179         define aliases when function name is a macro.
19180         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19181         sysdeps/ieee754/dbl-64/sincos.tbl.
19182         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19183         fma4-enabled routines.
19184         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19185         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19186         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19187         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19188         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19189         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19190         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19191         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19192         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19193         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19194         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19195         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19196         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19197         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19199         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19200         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19201         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19202         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19203         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19204         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19205         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19207         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19208         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19209         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19211         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19212         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19213         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19215         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19216         rename.
19217         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19220         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19221         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19226 2011-10-24  Andreas Schwab  <schwab@redhat.com>
19228         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19230 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
19232         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19234         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19235         prediction.
19236         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19238         * string/strnlen.c: Don't define STRNLEN, reverse logic.
19239         Remove unused variable magic_bits.
19240         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19242         * string/strnlen.c: Define and use STRNLEN macro.
19243         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19244         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19245         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19246         * wcsmbs/wcslen.c: Define and use WCSLEN.
19247         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19248         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19249         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19250         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19251         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19252         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19253         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19255 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19258         strnlen-sse2-no-bsf.
19259         Rename strlen-no-bsf to strlen-sse2-no-bsf.
19260         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19261         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19262         Add strnlen support.
19263         (USE_AS_STRNLEN): New macro.
19264         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19265         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19266         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19267         * sysdeps/x86_64/wcslen.S: New file.
19269 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
19271         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19272         XMM-moves are used for copying on small sizes.
19274 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19276         * wcsmbs/Makefile (strop-tests): Add wcschr.
19277         * wcsmbs/test-wcschr.c: New file.
19278         * string/test-strchr.c: Update.
19279         Add wcschr support.
19280         (WIDE): New macro.
19282 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19284         * wcsmbs/Makefile (strop-tests): Add wcslen.
19285         * wcsmbs/test-wcslen.c: New file.
19286         * string/test-strlen.c: Update.
19287         Add wcslen support.
19288         (WIDE): New macro.
19290 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
19292         * po/it.po: Update from translation team.
19294 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19296         * sysdeps/x86_64/wcscmp.S: Update.
19297         Fix wrong comparison semantics.
19298         wcscmp shall use signed comparison not unsigned.
19299         Don't use substraction to avoid overflow bug.
19300         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19301         * wcsmbc/wcscmp.c: Likewise.
19302         * string/test-strcmp.c: Likewise.
19303         Add new tests to check cases with negative values.
19305 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
19307         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19308         * sysdeps/x86_64/dla.h: ...here.  New file.
19309         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19310         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19313         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19314         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19315         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19316         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19319 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
19321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19322         __ynl_finite aliases.
19324 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
19326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19328         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19329         define DLA_FMA.
19330         [DLA_FMA] (EMULV): Use DLA_FMA.
19331         [DLA_FMA] (MUL12): Use EMULV.
19332         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19333         that are not needed.
19334         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19339         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19340         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19342 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
19344         * math/s_nan.c: Undef __nan.
19345         * math/s_nanf.c: Undef __nanf.
19346         * math/s_nanl.c: Undef __nanl.
19347         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19348         "math_private.h".
19350 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
19352         * math/s_catan.c: Add branch predictions.
19353         * math/s_catanf.c: Likewise.
19354         * math/s_catanh.c: Likewise.
19355         * math/s_catanhf.c: Likewise.
19356         * math/s_catanhl.c: Likewise.
19357         * math/s_catanl.c: Likewise.
19358         * math/s_cexp.c: Likewise.
19359         * math/s_cexpf.c: Likewise.
19360         * math/s_cexpl.c: Likewise.
19361         * math/s_clog.c: Likewise.
19362         * math/s_clog10.c: Likewise.
19363         * math/s_clog10f.c: Likewise.
19364         * math/s_clog10l.c: Likewise.
19365         * math/s_clogf.c: Likewise.
19366         * math/s_clogl.c: Likewise.
19367         * math/s_csqrt.c: Likewise.
19368         * math/s_csqrtf.c: Likewise.
19369         * math/s_csqrtl.c: Likewise.
19370         * math/s_ctanf.c: Likewise.
19371         * math/s_ctanh.c: Likewise.
19372         * math/s_ctanhf.c: Likewise.
19373         * math/s_ctanhl.c: Likewise.
19374         * math/s_ctanl.c: Likewise.
19376         * math/math_private.h: Define __nan, __nanf, __nanl.
19377         * math/s_cacosh.c: Include <math_private.h>.
19378         * math/s_cacoshl.c: Likewise.
19379         * math/s_casinh.c: Likewise.
19380         * math/s_casinhf.c: Likewise.
19381         * math/s_casinhl.c: Likewise.
19382         * math/s_ccos.c: Rely entire on ccosh.
19383         * math/s_ccosf.c: Rely entire on ccoshf.
19384         * math/s_ccosl.c: Rely entirely on ccoshl.
19385         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
19386         Remove tests for FE_INVALID.
19387         * math/s_ccoshf.c: Likewise.
19388         * math/s_ccoshl.c: Likewise.
19389         * math/s_csin.c: Likewise.
19390         * math/s_csinf.c: Likewise.
19391         * math/s_csinh.c Likewise.
19392         * math/s_csinhf.c: Likewise.
19393         * math/s_csinhl.c: Likewise.
19394         * math/s_csinl.c: Likewise.
19395         * math/s_ctan.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19397         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19398         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19400 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
19402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19403         compilation problems.
19405         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19406         __builtin_expect.
19408 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
19410         * sysdeps/i386/configure.in: Test for -mfma4 option.
19411         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19412         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19413         COMMON_CPUID_INDEX_80000001.
19414         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19415         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19416         use it if FMA3 is not supported.
19417         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19419         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19420         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19422 2011-10-20  Andreas Schwab  <schwab@redhat.com>
19424         [BZ #12892]
19425         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19426         it would create a cycle with a link time dependency.
19428 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
19430         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19431         instruction.
19432         * string/Makefile (strop-tests): Add rawmemchr.
19433         * string/test-rawmemchr.c: New file.
19435         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19436         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
19437         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
19438         when compiling str{,n}casecmp and when AVX is available.  Hook up
19439         new optimized code in initializers.
19441 2011-10-19  Andreas Schwab  <schwab@redhat.com>
19443         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19444         __feraiseexcept instead of feraiseexcept.
19446 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
19448         * math/math_private.h: Define defaults for libc_fetestexcept and
19449         libc_feupdateenv.
19450         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19451         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19452         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19453         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19454         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19455         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19456         libc_fetestexcept and libc_feupdateenv.
19458         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19459         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19460         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19461         * sysdeps/x86_64/fpu/math_private.h: Define special version of
19462         libc_feholdexcept_setround.
19464         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19465         Add s_nearbyint-c and s_nearbyintf-c.
19466         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19467         nearbyintf inlines.
19468         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19469         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19470         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19471         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19473         * math/math_private.h: Define defaults for libc_fegetround,
19474         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19475         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19476         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19478         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19479         standard functions.
19480         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19481         Remove comments and hacks for old compiler versions.
19482         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19483         libc_fegetround, libc_fesetround, libc_feholdexcept, and
19484         libc_feholdexceptl.
19486 2011-10-18  Andreas Schwab  <schwab@redhat.com>
19488         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19489         (__feraiseexcept_renamed): Add __NTH.
19490         (feraiseexcept): Add __NTH.  Rename local variables to fix
19491         namespace violations.
19493 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
19495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19497         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19499         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19500         recently added interfaces.
19501         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19503         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19504         about macro parameter expansion.
19506         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19507         __NO_MATH_INLINES is defined.  Cleanups.
19509         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19510         and __floorf is target has SSE4.1.
19511         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19512         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19513         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19514         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19516         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19517         name.
19518         (floorf): Likewise.
19520         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19522 2011-10-17  Andreas Schwab  <schwab@redhat.com>
19524         * misc/sys/cdefs.h: Fix last change.
19526         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19527         database lookup.
19529 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
19531         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19533         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19535         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19536         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19537         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19538         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19539         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19540         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19541         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19542         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19543         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19544         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19545         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19546         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19547         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19548         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19549         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19550         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19551         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19552         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19553         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19554         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19556         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19557         ceil, ceilf, floor, floorf.
19559         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19560         Perform IRELATIVE relocations last.
19562         * elf/do-rel.h: Add another parameter nrelative, replacing the
19563         local variable with the same name.  Change name of the function
19564         to end in Rel or Rela (uppercase).
19565         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19566         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
19567         elf_dynamic_do_##reloc function.
19569 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19571         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19572         is sufficient, at least on modern CPUs.
19574         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19576         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19577         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19579         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19580         __expl_finite.
19581         * math/bits/math-finite.h: Add entries for exp.
19582         * math/e_expl.c: Add __*_finite alias.
19583         * sysdeps/i386/fpu/e_exp.S: Likewise.
19584         * sysdeps/i386/fpu/e_expf.S: Likewise.
19585         * sysdeps/i386/fpu/e_expl.c: Likewise.
19586         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19587         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19588         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19589         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19590         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19591         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19592         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19594         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19595         is sufficient, at least on modern CPUs.
19597         * ctype/ctype-info.c (__ctype_init): Define.
19598         * include/ctype.h (__ctype_init): Declare.
19599         (__ctype_b_loc): The variable is always initialized.
19600         (__ctype_toupper_loc): Likewise.
19601         (__ctype_tolower_loc): Likewise.
19602         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19603         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19605 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
19607         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19609         * configure.in: Also look in $cxxmachine/include for C++ system
19610         headers.
19612 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19614         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19615         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19616         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19617         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
19618         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19619         (USE_AS_WMEMCMP): New macro.
19620         Fixing indents.
19621         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19622         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19623         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19624         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19626         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19627         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19628         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19629         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19630         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19631         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19632         (USE_AS_WMEMCMP): New macro.
19633         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19634         * sysdeps/string/test-memcmp.c: Update.
19635         Fix simple_wmemcmp.
19636         Add new tests.
19637         * wcsmbs/wmemcmp.c: Update.
19638         (WMEMCMP): New macro.
19639         Fix overflow bug.
19641 2011-10-12  Andreas Jaeger  <aj@suse.de>
19643         [BZ #13268]
19644         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19646 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
19648         * libio/iofwide.c (do_length): Avoid warning.
19650         * ctype/ctype.h (__isctype_f): Add missing __THROW.
19652 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
19654         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19656         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19657         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19658         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19659         * sysdeps/i386/i686/fpu/e_log.S: New file.
19660         * sysdeps/i386/i686/fpu/e_logf.S: New file.
19661         * sysdeps/i386/i686/fpu/e_logl.S: New file.
19663         * ctype/ctype.h: Add support for inlined isXXX functions when
19664         compiling C++ code.
19666 2011-10-14  Andreas Schwab  <schwab@redhat.com>
19668         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19670         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19672 2011-10-13  Roland McGrath  <roland@hack.frob.com>
19674         [BZ #13291]
19675         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19677 2011-10-13  Andreas Schwab  <schwab@redhat.com>
19679         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19680         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19681         feraiseexcept.
19683         * sysdeps/x86_64/memrchr.S: Check for zero size.
19685         * string/stratcliff.c: Add memrchr tests.
19687 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19689         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19690         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19691         rawmemchr-sse2 rawmemchr-sse2-bsf.
19692         * sysdeps/i386/i686/multiarch/memchr.S: New file.
19693         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19694         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19695         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19696         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19697         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19698         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19699         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19700         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19701         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19702         * string/memrchr.c (MEMRCHR): New macro.
19704 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
19706         Add integration with gcc's -ffinite-math-only and optimize wrapper
19707         functions in libm.
19708         * Versions.def: Define GLIBC_2.15 version for libm.
19709         * math/Makefile (headers): Add bits/math-finite.h.
19710         * math/bits/math-finite.h: New file.
19711         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19712         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19713         * math/e_acoshl.c: Add __*_finite alias.
19714         * math/e_acosl.c: Likewise.
19715         * math/e_asinl.c: Likewise.
19716         * math/e_atan2l.c: Likewise.
19717         * math/e_atanhl.c: Likewise.
19718         * math/e_coshl.c: Likewise.
19719         * math/e_exp10.c: Likewise.
19720         * math/e_exp10f.c: Likewise.
19721         * math/e_exp10l.c: Likewise.
19722         * math/e_exp2l.c: Likewise.
19723         * math/e_fmodl.c: Likewise.
19724         * math/e_gammal_r.c: Likewise.
19725         * math/e_hypotl.c: Likewise.
19726         * math/e_j0l.c: Likewise.
19727         * math/e_j1l.c: Likewise.
19728         * math/e_jnl.c: Likewise.
19729         * math/e_lgammal_r.c: Likewise.
19730         * math/e_log10l.c: Likewise.
19731         * math/e_log2l.c: Likewise.
19732         * math/e_logl.c: Likewise.
19733         * math/e_powl.c: Likewise.
19734         * math/e_sinhl.c: Likewise.
19735         * math/e_sqrtl.c: Likewise.
19736         * math/e_scalb.c: Completely rewritten and optimized.
19737         * math/e_scalbf.c: Likewise.
19738         * math/e_scalbl.c: Likewise.
19739         * math/w_acos.c: Likewise.
19740         * math/w_acosf.c: Likewise.
19741         * math/w_acosl.c: Likewise.
19742         * math/w_acosh.c: Likewise.
19743         * math/w_acoshf.c: Likewise.
19744         * math/w_acoshl.c: Likewise.
19745         * math/w_asin.c: Likewise.
19746         * math/w_asinf.c: Likewise.
19747         * math/w_asinl.c: Likewise.
19748         * math/w_atan2.c: Likewise.
19749         * math/w_atan2f.c: Likewise.
19750         * math/w_atan2l.c: Likewise.
19751         * math/w_atanh.c: Likewise.
19752         * math/w_atanhf.c: Likewise.
19753         * math/w_atanhl.c: Likewise.
19754         * math/w_exp10.c: Likewise.
19755         * math/w_exp10f.c: Likewise.
19756         * math/w_exp10l.c: Likewise.
19757         * math/w_fmod.c: Likewise.
19758         * math/w_fmodf.c: Likewise.
19759         * math/w_fmodl.c: Likewise.
19760         * math/w_j0.c: Likewise.
19761         * math/w_j0f.c: Likewise.
19762         * math/w_j0l.c: Likewise.
19763         * math/w_j1.c: Likewise.
19764         * math/w_j1f.c: Likewise.
19765         * math/w_j1l.c: Likewise.
19766         * math/w_jn.c: Likewise.
19767         * math/w_jnf.c: Likewise.
19768         * math/w_log.c: Likewise.
19769         * math/w_logf.c: Likewise.
19770         * math/w_logl.c: Likewise.
19771         * math/w_log10.c: Likewise.
19772         * math/w_log10f.c: Likewise.
19773         * math/w_log10l.c: Likewise.
19774         * math/w_log2.c: Likewise.
19775         * math/w_log2f.c: Likewise.
19776         * math/w_log2l.c: Likewise.
19777         * math/w_pow.c: Likewise.
19778         * math/w_powf.c: Likewise.
19779         * math/w_powl.c: Likewise.
19780         * math/w_remainder.c: Likewise.
19781         * math/w_remainderf.c: Likewise.
19782         * math/w_remainderl.c: Likewise.
19783         * math/w_scalb.c: Likewise.
19784         * math/w_scalbf.c: Likewise.
19785         * math/w_scalbl.c: Likewise.
19786         * math/w_sqrt.c: Likewise.
19787         * math/w_sqrtf.c: Likewise.
19788         * math/w_sqrtl.c: Likewise.
19789         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19790         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
19791         used.
19792         * math/math_private.h: Declare __kernel_standard_f.
19793         * math/w_cosh.c: Remove cruft and optimize a bit.
19794         * math/w_coshf.c: Likewise.
19795         * math/w_coshl.c: Likewise.
19796         * math/w_exp2.c: Likewise.
19797         * math/w_exp2f.c: Likewise.
19798         * math/w_exp2l.c: Likewise.
19799         * math/w_hypot.c: Likewise.
19800         * math/w_hypotf.c: Likewise.
19801         * math/w_hypotl.c: Likewise.
19802         * math/w_lgamma.c: Likewise.
19803         * math/w_lgamma_r.c: Likewise.
19804         * math/w_lgammaf.c: Likewise.
19805         * math/w_lgammaf_r.c: Likewise.
19806         * math/w_lgammal.c: Likewise.
19807         * math/w_lgammal_r.c: Likewise.
19808         * math/w_sinh.c: Likewise.
19809         * math/w_sinhf.c: Likewise.
19810         * math/w_sinhl.c: Likewise.
19811         * math/w_tgamma.c: Likewise.
19812         * math/w_tgammaf.c: Likewise.
19813         * math/w_tgammal.c: Likewise.
19814         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19815         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19816         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19817         Minor optimizations.  Pretty printing.  Remove cruft.
19818         * sysdeps/i386/fpu/e_acosf.S: Likewise.
19819         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19820         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19821         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19822         * sysdeps/i386/fpu/e_acosl.c: Likewise.
19823         * sysdeps/i386/fpu/e_asin.S: Likewise.
19824         * sysdeps/i386/fpu/e_asinf.S: Likewise.
19825         * sysdeps/i386/fpu/e_atan2.S: Likewise.
19826         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19827         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19828         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19829         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19830         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19831         * sysdeps/i386/fpu/e_exp10.S: Likewise.
19832         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19833         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19834         * sysdeps/i386/fpu/e_exp2.S: Likewise.
19835         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19836         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19837         * sysdeps/i386/fpu/e_fmod.S: Likewise.
19838         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19839         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19840         * sysdeps/i386/fpu/e_hypot.S: Likewise.
19841         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19842         * sysdeps/i386/fpu/e_log.S: Likewise.
19843         * sysdeps/i386/fpu/e_log10.S: Likewise.
19844         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19845         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19846         * sysdeps/i386/fpu/e_log2.S: Likewise.
19847         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19848         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19849         * sysdeps/i386/fpu/e_logf.S: Likewise.
19850         * sysdeps/i386/fpu/e_logl.S: Likewise.
19851         * sysdeps/i386/fpu/e_pow.S: Likewise.
19852         * sysdeps/i386/fpu/e_powf.S: Likewise.
19853         * sysdeps/i386/fpu/e_powl.S: Likewise.
19854         * sysdeps/i386/fpu/e_remainder.S: Likewise.
19855         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19856         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19857         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19858         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19859         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19860         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19861         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19862         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19863         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19864         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19865         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19866         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19867         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19868         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19869         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19870         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19871         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19872         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19873         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19874         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19876         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19877         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19878         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19879         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19880         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19881         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19882         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19883         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19884         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19885         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19886         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19887         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19888         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19889         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19890         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19891         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19892         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19893         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19894         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19895         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19896         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19897         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19898         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19899         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19900         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19901         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19902         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19903         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19904         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19905         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19906         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19907         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19908         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19909         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19910         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19911         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19912         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19913         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19915         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19916         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19918         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19919         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19921         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19922         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19923         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19929         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19931         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19932         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19933         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19934         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19935         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19937         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19938         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19939         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19940         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19941         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19942         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19943         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19944         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19945         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19946         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19947         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19948         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19949         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19950         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19951         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19952         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19953         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19954         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19955         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19956         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19957         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19958         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19959         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19960         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19961         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19962         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19963         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19964         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19965         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19966         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19967         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19968         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19969         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19970         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19971         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19972         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19973         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
19974         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19975         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19976         (__isnanf): Likewise.
19977         (__isinf_ns): Likewise.
19978         (__isinf_nsf): Likewise.
19979         (__finite): Likewise.
19980         (__finitef): Likewise.
19981         (__ieee754_sqrt): Define as macro.
19982         (__ieee754_sqrtf): Define as macro.
19983         (__ieee754_sqrtl): Define as macro.
19984         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19985         inlined copy.
19986         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19987         __FINITE_MATH_ONLY__ consistent.
19988         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19990 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
19992         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19993         of rawmemchr.
19995         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19997 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
19999         * po/ja.po: Update from translation team.
20001 2011-10-08  Roland McGrath  <roland@hack.frob.com>
20003         * locale/programs/locarchive.c (prepare_address_space): New function.
20004         (create_archive, enlarge_archive, open_archive): Use it.
20006         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20007         inside [SHARED], where it is used.
20009         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20011         * nss/getent.c (netgroup_keys): Remove unused variable.
20012         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20014 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
20016         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20017         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20018         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20019         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20020         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20021         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20022         * math/Makefile (libm-calls): Add s_isinf_ns.
20023         * math/divtc3.c: Use __isinf_nsl instead of isinf.
20024         * math/multc3.c: Likewise.
20025         * math/s_casin.c: Likewise.
20026         * math/s_casinf.c: Likewise.
20027         * math/s_casinl.c: Likewise.
20028         * math/s_ccos.c: Likewise.
20029         * math/s_ccosf.c: Likewise.
20030         * math/s_ccosl.c: Likewise.
20031         * math/s_ctan.c: Likewise.
20032         * math/s_ctanf.c: Likewise.
20033         * math/s_ctanh.c: Likewise.
20034         * math/s_ctanhf.c: Likewise.
20035         * math/s_ctanhl.c: Likewise.
20036         * math/s_ctanl.c: Likewise.
20037         * math/w_fmod.c: Likewise.
20038         * math/w_fmodf.c: Likewise.
20039         * math/w_fmodl.c: Likewise.
20040         * math/w_remainder.c: Likewise.
20041         * math/w_remainderf.c: Likewise.
20042         * math/w_remainderl.c: Likewise.
20043         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20044         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20045         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20046         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20047         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20048         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20049         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20050         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20052         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20053         of the number.
20054         * stdio-common/printf_fphex.c: Likewise.
20055         * stdio-common/printf_size.c: Likewise.
20057         * math/e_exp10.c: Include math_private.h using <...> not "...".
20058         * math/e_exp10f.c: Likewise.
20059         * math/e_exp10l.c: Likewise.
20060         * math/e_exp2l.c: Likewise.
20061         * math/e_j0l.c: Likewise.
20062         * math/e_j1l.c: Likewise.
20063         * math/e_jnl.c: Likewise.
20064         * math/e_lgammal_r.c: Likewise.
20065         * math/e_rem_pio2l.c: Likewise.
20066         * math/e_scalb.c: Likewise.
20067         * math/e_scalbf.c: Likewise.
20068         * math/e_scalbl.c: Likewise.
20069         * math/k_cosl.c: Likewise.
20070         * math/k_sinl.c: Likewise.
20071         * math/k_tanl.c: Likewise.
20072         * math/s_cacoshf.c: Likewise.
20073         * math/s_catan.c: Likewise.
20074         * math/s_catanf.c: Likewise.
20075         * math/s_catanh.c: Likewise.
20076         * math/s_catanhf.c: Likewise.
20077         * math/s_catanhl.c: Likewise.
20078         * math/s_catanl.c: Likewise.
20079         * math/s_ccosh.c: Likewise.
20080         * math/s_ccoshf.c: Likewise.
20081         * math/s_ccoshl.c: Likewise.
20082         * math/s_cexp.c: Likewise.
20083         * math/s_cexpf.c: Likewise.
20084         * math/s_cexpl.c: Likewise.
20085         * math/s_clog.c: Likewise.
20086         * math/s_clog10.c: Likewise.
20087         * math/s_clog10f.c: Likewise.
20088         * math/s_clog10l.c: Likewise.
20089         * math/s_clogf.c: Likewise.
20090         * math/s_clogl.c: Likewise.
20091         * math/s_csin.c: Likewise.
20092         * math/s_csinf.c: Likewise.
20093         * math/s_csinh.c: Likewise.
20094         * math/s_csinhf.c: Likewise.
20095         * math/s_csinhl.c: Likewise.
20096         * math/s_csinl.c: Likewise.
20097         * math/s_csqrt.c: Likewise.
20098         * math/s_csqrtf.c: Likewise.
20099         * math/s_csqrtl.c: Likewise.
20100         * math/s_ctan.c: Likewise.
20101         * math/s_ctanf.c: Likewise.
20102         * math/s_ctanh.c: Likewise.
20103         * math/s_ctanhf.c: Likewise.
20104         * math/s_ctanhl.c: Likewise.
20105         * math/s_ctanl.c: Likewise.
20106         * math/s_ldexp.c: Likewise.
20107         * math/s_ldexpf.c: Likewise.
20108         * math/s_ldexpl.c: Likewise.
20109         * math/s_significand.c: Likewise.
20110         * math/s_significandf.c: Likewise.
20111         * math/s_significandl.c: Likewise.
20112         * math/w_acos.c: Likewise.
20113         * math/w_acosf.c: Likewise.
20114         * math/w_acosh.c: Likewise.
20115         * math/w_acoshf.c: Likewise.
20116         * math/w_acoshl.c: Likewise.
20117         * math/w_acosl.c: Likewise.
20118         * math/w_asin.c: Likewise.
20119         * math/w_asinf.c: Likewise.
20120         * math/w_asinl.c: Likewise.
20121         * math/w_atan2.c: Likewise.
20122         * math/w_atan2f.c: Likewise.
20123         * math/w_atan2l.c: Likewise.
20124         * math/w_atanh.c: Likewise.
20125         * math/w_atanhf.c: Likewise.
20126         * math/w_atanhl.c: Likewise.
20127         * math/w_cosh.c: Likewise.
20128         * math/w_coshf.c: Likewise.
20129         * math/w_coshl.c: Likewise.
20130         * math/w_dremf.c: Likewise.
20131         * math/w_exp10.c: Likewise.
20132         * math/w_exp10f.c: Likewise.
20133         * math/w_exp10l.c: Likewise.
20134         * math/w_exp2.c: Likewise.
20135         * math/w_exp2f.c: Likewise.
20136         * math/w_fmod.c: Likewise.
20137         * math/w_fmodf.c: Likewise.
20138         * math/w_fmodl.c: Likewise.
20139         * math/w_hypot.c: Likewise.
20140         * math/w_hypotf.c: Likewise.
20141         * math/w_hypotl.c: Likewise.
20142         * math/w_j0.c: Likewise.
20143         * math/w_j0f.c: Likewise.
20144         * math/w_j0l.c: Likewise.
20145         * math/w_j1.c: Likewise.
20146         * math/w_j1f.c: Likewise.
20147         * math/w_j1l.c: Likewise.
20148         * math/w_jn.c: Likewise.
20149         * math/w_jnf.c: Likewise.
20150         * math/w_jnl.c: Likewise.
20151         * math/w_lgamma.c: Likewise.
20152         * math/w_lgamma_r.c: Likewise.
20153         * math/w_lgammaf.c: Likewise.
20154         * math/w_lgammaf_r.c: Likewise.
20155         * math/w_lgammal.c: Likewise.
20156         * math/w_lgammal_r.c: Likewise.
20157         * math/w_log.c: Likewise.
20158         * math/w_log10.c: Likewise.
20159         * math/w_log10f.c: Likewise.
20160         * math/w_log10l.c: Likewise.
20161         * math/w_log2.c: Likewise.
20162         * math/w_log2f.c: Likewise.
20163         * math/w_log2l.c: Likewise.
20164         * math/w_logf.c: Likewise.
20165         * math/w_logl.c: Likewise.
20166         * math/w_pow.c: Likewise.
20167         * math/w_powf.c: Likewise.
20168         * math/w_powl.c: Likewise.
20169         * math/w_remainder.c: Likewise.
20170         * math/w_remainderf.c: Likewise.
20171         * math/w_remainderl.c: Likewise.
20172         * math/w_scalb.c: Likewise.
20173         * math/w_scalbf.c: Likewise.
20174         * math/w_scalbl.c: Likewise.
20175         * math/w_sinh.c: Likewise.
20176         * math/w_sinhf.c: Likewise.
20177         * math/w_sinhl.c: Likewise.
20178         * math/w_sqrt.c: Likewise.
20179         * math/w_sqrtf.c: Likewise.
20180         * math/w_sqrtl.c: Likewise.
20181         * math/w_tgamma.c: Likewise.
20182         * math/w_tgammaf.c: Likewise.
20183         * math/w_tgammal.c: Likewise.
20185         * po/ja.po: Update from translation team.
20187 2011-09-29  Andreas Jaeger  <aj@suse.de>
20189         [BZ #13179]
20190         * sunrpc/netname.c (netname2host): Fix logic.
20192         [BZ #6779]
20193         [BZ #6783]
20194         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20195         correctly.
20196         * math/w_remainder.c (__remainder): Likewise.
20197         * math/w_remainderf.c (__remainderf): Likewise.
20198         * math/libm-test.inc (remainder_test): Add test cases.
20200 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20202         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
20203         sdiv_qrnnd.
20205 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
20207         * string/test-memcmp.c: Avoid unncessary #defines.
20208         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20210 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20212         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20213         Use new sse2 version for core i3 - i7 as it's faster
20214         than sse42 version.
20215         (bit_Prefer_PMINUB_for_stringop): New.
20216         * sysdeps/x86_64/rawmemchr.S: Update.
20217         Replace with faster SSE2 version.
20218         * sysdeps/x86_64/memrchr.S: New file.
20219         * sysdeps/x86_64/memchr.S: Update.
20220         Replace with faster SSE2 version.
20222 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
20224         * elf/dl-load.c (lose): Add cast to avoid warning.
20226 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
20228         * po/ca.po: Update from translation team.
20230         * inet/getnetgrent_r.c: Hook up nscd.
20231         * nscd/Makefile (routines): Add nscd_netgroup.
20232         (nscd-modules): Add netgroupcache.
20233         (CFLAGS-netgroupcache.c): Define.
20234         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20235         (cache_search): Add const to second parameter.
20236         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20237         INNETGR.
20238         (dbs): Add netgrdb entry.
20239         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20240         (verify_persistent_db): Handle netgrdb.
20241         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20242         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20243         GETFDNETGR.
20244         (netgroup_response_header): Define.
20245         (innetgroup_response_header): Define.
20246         (datahead): Add netgroup_response_header and innetgroup_response_header
20247         elements.
20248         * nscd/nscd.conf: Add entries for netgroup cache.
20249         * nscd/nscd.h (dbtype): Add netgrdb.
20250         (_PATH_NSCD_NETGROUP_DB): Define.
20251         (netgroup_iov_disabled): Declare.
20252         (xmalloc, xcalloc, xrealloc): Move declarations here.
20253         (cache_search): Adjust prototype.
20254         Add netgroup-related prototypes.
20255         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20256         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20257         (__nscd_innetgr): Declare.
20258         * nscd/selinux.c (perms): Use access_vector_t as element type and
20259         add netgroup-related initializers.
20260         * nscd/netgroupcache.c: New file.
20261         * nscd/nscd_netgroup.c: New file.
20262         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20263         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20264         For four parameters use innetgr.
20265         * nss/nss_files/files-init.c: Add definition and callback for netgr.
20266         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20267         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20268         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20270         * nscd/connections.c (register_traced_file): Don't register file
20271         for disabled databases.
20273 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
20275         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20277         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20278         from tree and freeing node.
20280 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
20282         * nss/nsswitch.c (__nss_database_lookup): Handle
20283         nss_parse_service_list out of memory case.
20285 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
20287         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20288         out of memory case.
20290 2011-10-04  Andreas Schwab  <schwab@redhat.com>
20292         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20293         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20294         pass it down.
20295         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20296         elf_machine_rela, elf_machine_lazy_rel.
20297         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20298         (ELF_DYNAMIC_DO_REL): Likewise.
20299         (ELF_DYNAMIC_DO_RELA): Likewise.
20300         (ELF_DYNAMIC_RELOCATE): Likewise.
20301         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20302         to ELF_DYNAMIC_DO_REL.
20303         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20304         (dl_main): In trace mode always set __RTLD_NOIFUNC.
20305         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20306         elf_machine_rela.
20307         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20308         skip_ifunc, don't call ifunc function if non-zero.
20309         (elf_machine_rela): Likewise.
20310         (elf_machine_lazy_rel): Likewise.
20311         (elf_machine_lazy_rela): Likewise.
20312         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20313         (elf_machine_lazy_rel): Likewise.
20314         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20315         Likewise.
20316         (elf_machine_lazy_rel): Likewise.
20317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20318         Likewise.
20319         (elf_machine_lazy_rel): Likewise.
20320         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20321         (elf_machine_lazy_rel): Likewise.
20322         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20323         (elf_machine_lazy_rel): Likewise.
20324         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20325         (elf_machine_lazy_rel): Likewise.
20326         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20327         (elf_machine_lazy_rel): Likewise.
20328         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20329         (elf_machine_lazy_rel): Likewise.
20330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20331         (elf_machine_lazy_rel): Likewise.
20333 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
20335         * nss/nss_files/files-init.c (_nss_files_init): Use static
20336         initialization for all the *_traced_file variables.
20338 2011-09-28  Andreas Schwab  <schwab@redhat.com>
20340         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20342 2011-09-27  Roland McGrath  <roland@hack.frob.com>
20344         [BZ #13226]
20345         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20347 2011-09-27  Andreas Schwab  <schwab@redhat.com>
20349         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20350         Reread the line before reparsing it.
20352 2011-09-26  Andreas Schwab  <schwab@redhat.com>
20354         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20356 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
20357             Maxim Kuvyrkov  <maxim@codesourcery.com>
20358             Joseph Myers  <joseph@codesourcery.com>
20360         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20361         if needed for __stack_chk_guard.
20363 2011-09-19  Roland McGrath  <roland@hack.frob.com>
20365         * sysdeps/posix/spawni.c (script_execute): Always define it.
20366         It will be optimized away if unused.
20367         (maybe_script_execute): New function.
20368         (__spawni): Call it.
20370         * Makerules: Don't include tls.make.
20371         (config-tls): Always set to thread.
20372         * tls.make.c: File removed.
20374 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
20376         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20377         * config.make.in (CPPFLAGS-config): New substituted variable.
20379 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
20381         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20383         [BZ #13192]
20384         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20385         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20387 2011-09-15  Roland McGrath  <roland@hack.frob.com>
20389         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20390         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20391         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20392         (CALL_FAIL): Likewise.
20393         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20394         (CALL_FAIL): Macro removed.
20395         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20397 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
20399         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20400         for __FINITE_MATH_ONLY__ == 1.
20402 2011-09-15  Andreas Schwab  <schwab@redhat.com>
20404         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20405         __ieee754_sqrt instead of sqrt.
20406         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20407         __ieee754_sqrtf instead of sqrtf.
20408         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20409         __floorf instead of floorf.
20410         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20411         __floorf, __truncf instead of floorf, truncf.
20413 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
20415         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20417         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20418         __extern_always_inline.
20419         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20420         32-bit.
20422 2011-09-14  Andreas Schwab  <schwab@redhat.com>
20424         * elf/rtld.c (dl_main): Also relocate in dependency order when
20425         doing symbol dependency testing.
20427 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
20429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20430         Always define `refsym'.
20432 2011-09-13  Andreas Schwab  <schwab@redhat.com>
20434         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20435         (__FD_ELT): Renamed from __FDELT.
20436         * misc/bits/select2.h (__FD_ELT): Likewise.
20437         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20438         __FD_MASK instead of __FDELT, __FDMASK.
20439         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20440         Likewise.
20441         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20442         Likewise.
20444         * elf/Makefile (gen-ldd): Fix pattern.
20446         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20447         (init_tls): Likewise.
20449 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
20451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20453 2011-09-12  Andreas Schwab  <schwab@redhat.com>
20455         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20456         `struct cmsghdr *' instead of `void *'.
20457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20458         Likewise.
20460 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
20462         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20463         if non-absolute.
20464         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20465         ldd_rewrite_script.
20467 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
20469         * configure.in: Remove --with-tls option.
20470         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20471         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20472         out in case it is missing.
20473         * sysdeps/ia64/elf/configure.in: Likewise.
20474         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20475         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20476         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20477         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20478         * sysdeps/sh/elf/configure.in: Likewise.
20479         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20480         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20481         * sysdeps/x86_64/elf/configure.in: Likewise.
20482         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20483         * sysdeps/mach/hurd/tls.h: Likewise.
20485         [BZ #13067]
20486         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20488         [BZ #13090]
20489         * configure.in: Fix use of AC_INIT.
20491         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20493 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
20495         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20496         __set_errno.
20497         * malloc/hooks.c: Likewise.
20499         [BZ #11929]
20500         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
20501         variables statically.
20502         (narenas): Initialize.
20503         (list_lock): Initialize.
20504         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
20505         initializtion of main_arena and list_lock.  Small cleanups.
20506         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20507         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
20508         Add initializers to main_arena and mp_.
20509         (malloc_state): Remove pagesize member.  Change all users to use
20510         GLRO(dl_pagesize).
20512         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20513         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
20514         is always initialized.
20516         * malloc/malloc.c: Removed unused configurations and dead code.
20517         * malloc/arena.c: Likewise.
20518         * malloc/hooks.c: Likewise.
20519         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20521         * include/tls.h: Removed.  USE___THREAD must always be defined.
20522         * bits/libc-tsd.h: Don't handle !USE___THREAD.
20523         * elf/dl-libc.c: Likewise.
20524         * elf/dl-tsd.c: Likewise.
20525         * include/errno.h: Likewise.
20526         * include/netdb.h: Likewise.
20527         * include/resolv.h: Likewise.
20528         * inet/herrno-loc.c: Likewise.
20529         * inet/herrno.c: Likewise.
20530         * malloc/arena.c: Likewise.
20531         * malloc/hooks.c: Likewise.
20532         * malloc/malloc.c: Likewise.
20533         * resolv/res-state.c: Likewise.
20534         * resolv/res_libc.c: Likewise.
20535         * sysdeps/i386/dl-machine.h: Likewise.
20536         * sysdeps/ia64/dl-machine.h: Likewise.
20537         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20538         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20539         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20540         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20541         * sysdeps/sh/dl-machine.h: Likewise.
20542         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20543         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20544         * sysdeps/unix/i386/sysdep.S: Likewise.
20545         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20546         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20551         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20555         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20556         * sysdeps/x86_64/dl-machine.h: Likewise.
20557         * tls.make.c: Likewise.
20559         * configure.in: Remove --with-__thread option.  Make tests for
20560         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20561         tls_model attribute fail if no support is available.  Remove
20562         USE_IN_LIBIO.
20563         * Makeconfig: Adjust for dropped configure option.  All features are
20564         now mandatory.
20565         * Makerules: Likewise.
20566         * Versions.def: Likewise.
20567         * argp/argp-fmtstream.c: Likewise.
20568         * argp/argp-fmtstream.h: Likewise.
20569         * argp/argp-help.c: Likewise.
20570         * assert/assert.c: Likewise.
20571         * config.h.in: Likewise.
20572         * config.make.in: Likewise.
20573         * configure: Likewise.
20574         * configure.in: Likewise.
20575         * csu/Versions: Likewise.
20576         * csu/init.c: Likewise.
20577         * elf/tst-audit2.c: Likewise.
20578         * elf/tst-tls10.c: Likewise.
20579         * elf/tst-tls10.h: Likewise.
20580         * elf/tst-tls11.c: Likewise.
20581         * elf/tst-tls12.c: Likewise.
20582         * elf/tst-tls14.c: Likewise.
20583         * elf/tst-tlsmod11.c: Likewise.
20584         * elf/tst-tlsmod12.c: Likewise.
20585         * elf/tst-tlsmod13.c: Likewise.
20586         * elf/tst-tlsmod13a.c: Likewise.
20587         * elf/tst-tlsmod14a.c: Likewise.
20588         * elf/tst-tlsmod15b.c: Likewise.
20589         * elf/tst-tlsmod16a.c: Likewise.
20590         * elf/tst-tlsmod16b.c: Likewise.
20591         * elf/tst-tlsmod7.c: Likewise.
20592         * elf/tst-tlsmod8.c: Likewise.
20593         * elf/tst-tlsmod9.c: Likewise.
20594         * gmon/gmon.c: Likewise.
20595         * grp/fgetgrent_r.c: Likewise.
20596         * grp/putgrent.c: Likewise.
20597         * hurd/fopenport.c: Likewise.
20598         * include/libc-symbols.h: Likewise.
20599         * include/tls.h: Likewise.
20600         * intl/gettextP.h: Likewise.
20601         * intl/loadinfo.h: Likewise.
20602         * locale/global-locale.c: Likewise.
20603         * locale/localeinfo.h: Likewise.
20604         * mach/devstream.c: Likewise.
20605         * malloc/arena.c: Likewise.
20606         * malloc/set-freeres.c: Likewise.
20607         * misc/err.c: Likewise.
20608         * misc/getttyent.c: Likewise.
20609         * misc/mntent_r.c: Likewise.
20610         * posix/getopt.c: Likewise.
20611         * posix/wordexp.c: Likewise.
20612         * pwd/fgetpwent_r.c: Likewise.
20613         * resolv/Versions: Likewise.
20614         * resolv/res_hconf.c: Likewise.
20615         * shadow/fgetspent_r.c: Likewise.
20616         * shadow/putspent.c: Likewise.
20617         * stdio-common/printf_fphex.c: Likewise.
20618         * stdio-common/tmpfile.c: Likewise.
20619         * stdlib/abort.c: Likewise.
20620         * stdlib/fmtmsg.c: Likewise.
20621         * sunrpc/auth_unix.c: Likewise.
20622         * sunrpc/clnt_perr.c: Likewise.
20623         * sunrpc/clnt_tcp.c: Likewise.
20624         * sunrpc/clnt_udp.c: Likewise.
20625         * sunrpc/clnt_unix.c: Likewise.
20626         * sunrpc/openchild.c: Likewise.
20627         * sunrpc/svc_simple.c: Likewise.
20628         * sunrpc/svc_tcp.c: Likewise.
20629         * sunrpc/svc_udp.c: Likewise.
20630         * sunrpc/svc_unix.c: Likewise.
20631         * sunrpc/xdr.c: Likewise.
20632         * sunrpc/xdr_array.c: Likewise.
20633         * sunrpc/xdr_rec.c: Likewise.
20634         * sunrpc/xdr_ref.c: Likewise.
20635         * sunrpc/xdr_stdio.c: Likewise.
20637 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20639         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20641 2011-07-03  Andreas Jaeger  <aj@suse.de>
20643         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20644         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20645         regenerate with gen-libm-tests.pl.
20647 2010-05-12  Petr Baudis  <pasky@suse.cz>
20649         [BZ #11589]
20650         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20651         around j0() zero points by switching to j1().
20652         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20653         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20654         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20655         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20657 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20659         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20660         instead of 0.
20661         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20662         instead of 0.
20663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20664         Patch in part by Pavel Roskin <proski@gnu.org>.
20666         [BZ #13138]
20667         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20668         realloc.
20669         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
20670         Free memory block if necessary.
20672         [BZ #12847]
20673         * libio/genops.c (INTDEF): For string streams the _lock pointer can
20674         be NULL.  Don't lock in this case.
20676 2011-09-09  Roland McGrath  <roland@hack.frob.com>
20678         * elf/elf.h (ELFOSABI_GNU): New macro.
20679         (ELFOSABI_LINUX): Define to that.
20681 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
20683         * string/strncat.c (strncat): Undef the symbol in case it has been
20684         defined in bits/string.h.
20686 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
20688         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20690         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20691         link map.
20693 2011-08-17  Andreas Jaeger  <aj@suse.de>
20695         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20697 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20698             Ian Lance Taylor  <iant@google.com>
20700         * math/libm-test.inc (lround_test): New testcase.
20701         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20703 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
20705         * Makefile: Remove support for automatic cvs check-ins.
20706         * Makerules: Likewise.
20707         * config.make.in: Likewise.
20708         * configure.in: Likewise.
20709         * intl/Makefile: Likewise.
20710         * locale/Makefile: Likewise.
20711         * po/Makefile: Likewise.
20712         * posix/Makefile: Likewise.
20713         * sysdeps/gnu/Makefile: Likewise.
20714         * sysdeps/mach/hurd/Makefile: Likewise.
20715         * sysdeps/sparc/sparc32/Makefile: Likewise.
20717         [BZ #13118]
20718         * posix/Makefile (bug-regex32-ENV): Define.
20719         Patch by John Stanley <jpsinthemix@verizon.net>.
20721         * misc/Makefile (headers): Add bits/select2.h.
20722         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20723         * misc/bits/select2.h: New file.
20724         * include/bits/select2.h: New file.
20725         * debug/Makefile (routines): Add fdelt_chk.
20726         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20727         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20728         FD_ISSET.
20729         * debug/fdelt_chk.c: New file.
20731         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
20732         * wcsmbs/test-wmemcmp.c: Likewise.
20733         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20734         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20736 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20738         * string/Makefile (strop-tests): Add memcmp.
20739         * string/test-wmemcmp.c: New file.
20740         * string/test-memcmp.c: Add wmemcmp support.
20742 2011-09-08  Roland McGrath  <roland@hack.frob.com>
20744         [BZ #13153]
20745         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20746         2011-07-19 change.
20748         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20749         garbage value in a __mach_port_mod_refs call in the cases of the
20750         task-self and thread-self ports.
20752 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20754         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20756 2011-09-08  Andreas Schwab  <schwab@redhat.com>
20758         * elf/dl-load.c (lose): Check for non-null L.
20760 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20762         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20764         * elf/dl-libc.c (dlerror_run): Pass back error code from
20765         dl_catch_error.
20767         [BZ #13123]
20768         * elf/dl-load.c (lose): Free l_origin if it is valid.
20770         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20771         names.
20772         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20773         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20774         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20775         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20776         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20777         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20779 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20781         * sysdeps/powerpc/fpu/e_hypot.c: New file.
20782         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20783         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20784         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20785         * sysdeps/powerpc/fpu/k_cosf.c: New file.
20786         * sysdeps/powerpc/fpu/k_sinf.c: New file.
20787         * sysdeps/powerpc/fpu/s_cosf.c: New file.
20788         * sysdeps/powerpc/fpu/s_sinf.c: New file.
20789         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20790         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20792 2011-08-15  Alan Modra  <amodra@gmail.com>
20794         [BZ #13092]
20795         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20796         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20797         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
20798         ppc_mcount to static-only-routines.
20799         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20800         __mcount_internal.
20801         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20802         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
20804 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
20806         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20807         for finite and infinity parameters.
20809 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20812         and add nop instructions for throughput optimization.
20813         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20815 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
20817         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20818         aligned copy for power7 with vector-scalar instructions.
20819         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20821 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
20823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20824         AVX check.
20826 2011-09-07  Andreas Schwab  <schwab@redhat.com>
20828         [BZ #13144]
20829         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20830         last change.
20832 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
20834         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20835         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20836         syscall wrapper around clock_gettime in __vdso_clock_gettime.
20837         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20838         clock_gettime.
20840 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20842         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20843         Forgot to demangle the pointer.
20845         * sysdeps/i386/sysdep.h: Define atom_text_section.
20846         * sysdeps/x86_64/sysdep.h: Likewise.
20847         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20848         section with atom_text_section.
20849         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20850         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20851         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20852         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20853         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20855         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20856         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20857         already be defined.  Change to take two parameters and don't assign
20858         result to variable.  Adjust all users.
20859         Define INTERNAL_GETTIME if not already defined.
20860         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20861         call.
20862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20863         HAVE_CLOCK_GETTIME_VSYSCALL.
20864         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20866         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20867         gettimeofday vsyscall, just use time.
20869 2011-09-06  Andreas Schwab  <schwab@redhat.com>
20871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20872         <errno.h>.
20874 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
20876         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20877         syscall on x86-64.
20878         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20879         syscall.
20880         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20882         syscall if possible.
20884 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20886         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20887         e_ident.  Don't pass to find_mapsXX.
20888         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20890 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20893         strchr-sse2-no-bsf strrchr-sse2-no-bsf
20894         * sysdeps/x86_64/multiarch/strchr.S: Update.
20895         Check bit_slow_BSF bit.
20896         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20897         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20898         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20900 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20902         [BZ #13134]
20903         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20904         before glibc 2.15.
20905         (tryshell): Define.
20906         (__spawni): Change last parameter to be flag.  Test
20907         SPAWN_XFLAGS_USE_PATH flag to use path or not.
20908         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20909         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20910         * posix/spawni.c: Likewise.
20911         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20912         * posix/spawnp.c: Likewise.  Change normal version to use
20913         SPAWN_XFLAGS_USE_PATH.
20914         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20915         SPAWN_XFLAGS_TRY_SHELL.
20917         [BZ #13150]
20918         * posix/glob.h: Remove gcc 1.x support.
20920         [BZ #13068]
20921         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20923 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20926         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20927         strrchr-sse2-bsf
20928         * sysdeps/i386/i686/multiarch/strchr.S: New file.
20929         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20930         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20931         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20932         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20933         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20935 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20937         * sysdeps/x86_64/wcscmp.S: New file.
20939         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20940         wcscmp-c wcscmp-sse2
20941         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20942         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20943         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20944         * wcsmbs/wcscmp.c: Allow renaming.
20946 2011-09-05  David S. Miller  <davem@davemloft.net>
20948         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20949         stack slot, rather than the struct return pointer slot.
20950         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20951         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20953         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20955 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
20957         * po/ja.po: Update from translation team.
20959         [BZ #13144]
20960         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20961         kernel in 64-bit binaries.
20963 2011-09-01  David S. Miller  <davem@davemloft.net>
20965         * elf/elf.h (HWCAP_SPARC_*): Move to..
20966         * sysdeps/sparc/sysdep.h: this new file and add new values.
20967         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20968         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20969         _DL_HWCAP_COUNT to 24.
20970         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20971         entries.
20972         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20973         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20974         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20975         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20976         instead of magic constants.
20977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20979 2011-08-31  David S. Miller  <davem@davemloft.net>
20981         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20983         Reimplement to do errno handling inline.
20984         (SYSCALL_ERROR_HANDLER): New macro.
20985         (__SYSCALL_STRING): Do not do errno handling in asm.
20986         (__CLONE_SYSCALL_STRING): Delete.
20987         (__INTERNAL_SYSCALL_STRING): Delete.
20988         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20989         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20990         (PSEUDO): Reimplement to do errno handling inline.
20991         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20992         (SYSCALL_ERROR_HANDLER): New macro.
20993         (__SYSCALL_STRING): Do not do errno handling in asm.
20994         (__CLONE_SYSCALL_STRING): Delete.
20995         (__INTERNAL_SYSCALL_STRING): Delete.
20996         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20997         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20998         i386.
20999         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21000         (inline_syscall*): Add 'err' argument.
21001         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21002         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21003         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21004         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21006         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21007         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21009 2011-08-30  Andreas Schwab  <schwab@redhat.com>
21011         * elf/rtld.c (dl_main): Relocate objects in dependency order.
21013 2011-08-29  Jiri Olsa <jolsa@redhat.com>
21015         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21016         directive.
21018 2011-08-24  David S. Miller  <davem@davemloft.net>
21020         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21022 2011-08-24  Andreas Schwab  <schwab@redhat.com>
21024         * elf/Makefile: Add rules to build and run unload8 test.
21025         * elf/unload8.c: New file.
21026         * elf/unload8mod1.c: New file.
21027         * elf/unload8mod1x.c: New file.
21028         * elf/unload8mod2.c: New file.
21029         * elf/unload8mod3.c: New file.
21031         * elf/dl-close.c (_dl_close_worker): Reset private search list if
21032         it wasn't used.
21034 2011-08-23  David S. Miller  <davem@davemloft.net>
21036         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21037         subtract stack bias.
21038         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21039         %sp not %fp in calculations.
21040         (_JMPBUF_UNWINDS_ADJ): Likewise.
21042         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21043         (aio_suspend): Call it to force an exception region around the
21044         AIO_MISC_WAIT() invocation.
21046 2011-08-23  Andreas Schwab  <schwab@redhat.com>
21048         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21049         backslash.
21051 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
21053         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21054         protection macro.
21055         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21056         and <dl-machine.h>.
21057         (Elf64_FuncDesc): Remove.
21059 2011-08-22  David S. Miller  <davem@davemloft.net>
21061         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21062         sigaltstack check, add missing cfi directives.
21063         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21064         missing cfi directives, and sigaltstack handling.
21066 2011-08-16  Andreas Schwab  <schwab@redhat.com>
21068         [BZ #11724]
21069         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21070         object is seen twice.
21071         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21073         * elf/Makefile (distribute): Add tst-initorder2.c.
21074         (tests): Add tst-initorder2.
21075         (modules-names): Add tst-initorder2a tst-initorder2b
21076         tst-initorder2c tst-initorder2d.  Add rules to build them.
21077         ($(objpfx)tst-initorder2.out): New rule.
21078         * elf/tst-initorder2.c: New file.
21079         * elf/tst-initorder2.exp: New file.
21081 2011-08-22  Andreas Schwab  <schwab@redhat.com>
21083         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21085         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21086         dependencies back to end of function.
21088         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21089         $(elfobjdir)/ld.so.
21091 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
21093         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21094         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21096         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21097         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21098         of __vdso_gettimeofday.
21099         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21100         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
21101         attribute_hidden.
21102         (_libc_vdso_platform_setup): Remove initialization of
21103         __vdso_gettimeofday and __vdso_time.
21105 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
21107         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21108         and fgetc_unlocked.
21109         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21110         getc_unlocked.
21112         * elf/dl-open.c (add_to_global): Report additions to the global scope
21113         for LD_DEBUG=scopes.
21114         (dl_open_worker): Also print scope of newly loaded dependencies.
21115         (_dl_show_scope): Indicate if there is no scope.
21117         [BZ #13114]
21118         * stdio-common/Makefile (tests): Add bug24.
21119         * stdio-common/bug24.c: New file.
21121 2011-08-19  Andreas Jaeger  <aj@suse.de>
21123         [BZ #13114]
21124         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21125         non-existant file when using close-on-exec mode.
21127 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
21129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21130         the very first instruction.
21132         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21133         the CFI state in the end.
21134         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21135         inclusion of dl-trampoline.h.
21136         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21138 2011-08-19  Andreas Schwab  <schwab@redhat.com>
21140         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21141         expectations for long double.
21143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21144         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21146 2011-08-14  David S. Miller  <davem@davemloft.net>
21148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21149         artificual limit depends upon the system page size.
21151 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
21153         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21154         * resolv/Makefile: Define CFLAGS-libresolv.
21156 2011-08-17  Andreas Schwab  <schwab@redhat.com>
21158         * nss/makedb.c (compute_tables): Make variables used in nested
21159         function static.
21161 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
21163         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21164         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21165         if buffer was too small.
21167         * elf/pldd.c (main): Attach to all threads in the process.
21168         Rewrite /proc handling to use *at functions.
21170 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
21172         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21173         specifies first scope to show.
21174         (dl_open_worker): Update callers.  Move printing scope of new
21175         object to before the relocation.
21176         * elf/rtld.c (dl_main): Update _dl_show_scope call.
21177         * sysdeps/generic/ldsodefs.h: Update declaration.
21179         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21180         string for the scope number.
21182 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
21184         * nscd/servicescache.c (cache_addserv): Make sure written is always
21185         initialized.
21187 2011-08-14  Roland McGrath  <roland@hack.frob.com>
21189         * sysdeps/i386/i486/bits/atomic.h
21190         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21191         statement expression, so as to suppress "set but not used" warning.
21192         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21194         * string/strncat.c (STRNCAT): Use prototype definition.
21196         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21197         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21198         -Iprograms here.
21199         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21200         (localedef-modules): Add localedef.
21201         (locale-modules): Add locale.
21203         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21204         * elf/rtld.c (dl_main): Invert order of assignment in last change,
21205         to avoid a warning.
21207 2011-08-14  David S. Miller  <davem@davemloft.net>
21209         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21210         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21212 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
21214         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21215         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21216         * elf/rtld.c (dl_main): Set l_name of vDSO.
21217         Call _dl_show_scope when DL_DEBUG_SCOPES.
21218         (process_dl_debug): Recognize scopes flag and also set it for all.
21219         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21220         Declare _dl_show_scope.
21222         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21223         (do_dlopen): Pass caller_dlopen to dl_open.
21224         (__libc_dlopen_mode): Initialize caller_dlopen.
21226         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21227         of libc.  Make tolower call locale-independent.  Optimize a bit by
21228         using isdigit instead of isalnum.
21229         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21231 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
21233         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21234         was a dependency or dynamically loaded.
21236 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
21238         * intl/l10nflist.c: Allow architecture-specific pop function.
21239         * sysdeps/x86_64/l10nflist.c: New file.
21241         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21242         classification.
21244 2011-08-10  Andreas Schwab  <schwab@redhat.com>
21246         * include/dirent.h: Add libc_hidden_proto for scandirat and
21247         scandirat64.  Don't declare __scandirat64.
21248         * dirent/scandirat.c: Add libc_hidden_def.
21249         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21250         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21252 2011-08-10  David S. Miller  <davem@davemloft.net>
21254         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21255         enum.
21256         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21257         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21258         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21260 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
21262         * Versions.def [libc]: Add GLIBC_2.15.
21263         * dirent/Makefile (routines): Add scandirat and scandirat64.
21264         * dirent/Versions [libc]: Export scandirat and scandirat64 for
21265         GLIBC_2.15.
21266         * dirent/dirent.h: Declare scandirat and scandirat64.
21267         * dirent/scandirat.c: New file.
21268         * dirent/scandirat64.c: New file.
21269         * sysdeps/wordsize-64/scandirat.c: New file.
21270         * sysdeps/wordsize-64/scandirat64.c: New file.
21271         * dirent/opendir.c: Define opendirat.
21272         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
21273         using scandirat.
21274         * dirent/scandir64.c: Adjust for scandir.c change.
21275         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
21276         __scandirat64, and __scandir_cancel_handler.
21277         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
21278         additional parameter and use openat instead of open (outside of ld.so).
21279         Add new __opendir as wrapper around __opendirat.
21280         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21281         here without requiring old scandirat implementation.
21283 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
21285         * dirent/scandir.c (cancel_handler): Renamed to
21286         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
21287         defined.  Adjust users.
21288         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21289         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21291 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
21293         * string/test-string.h (IMPL): Use __STRING to expand name and then
21294         stringify it.
21296         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
21297         of cleanups.
21299 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21301         * string/Makefile: Update.
21302         (strop-tests): Append strncat.
21303         * string/test-wcscmp.c: New file.
21304         New comprehensive test for wcscmp.
21305         * string/test-strcmp.c: Update.
21306         (WIDE): New define.
21308 2011-07-22  Andreas Schwab  <schwab@redhat.com>
21310         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21311         line.
21313 2011-07-26  Andreas Schwab  <schwab@redhat.com>
21315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21316         encoding to ACE if AI_IDN.
21318 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
21320         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21321         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21323 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21325         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21326         Fix overflow bug in strncat.
21327         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21329         * string/test-strncat.c: Update.
21330         Add new tests for checking overflow bugs.
21332 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21335         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21336         * sysdeps/i386/i686/multiarch/strcat.S: New file.
21337         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21338         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21339         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21340         * sysdeps/i386/i686/multiarch/strncat.S: New file.
21341         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21342         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21344         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21345         (USE_AS_STRCAT): Define.
21346         Add strcat and strncat support.
21347         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21349 2011-07-25  Andreas Schwab  <schwab@redhat.com>
21351         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21352         __n bigger than INT_MAX+1.
21353         (__strncmp_g): Likewise.
21355 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
21357         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21358         * libio/stido.h: Likewise.
21360         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21361         (AF_NFC): Define.
21362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21363         (AF_NFC): Define.
21365         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21367         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21368         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21369         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21371         [BZ #13021]
21372         * scripts/test-installation.pl: Don't expect libnss_test1 to be
21373         installed.
21375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21376         typo.
21377         (_dl_x86_64_save_sse): Likewise.
21379 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
21381         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21382         OSXSAVE.
21383         (_dl_x86_64_save_sse): Likewise.
21385         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21387         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21389 2011-07-21  Andreas Schwab  <schwab@redhat.com>
21391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21392         change.
21393         (_dl_x86_64_save_sse): Use correct AVX check.
21395 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21397         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21398         bug in strncpy/strncat.
21399         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21401 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
21403         * string/tester.c (test_strcat): Add tests for different alignments
21404         of source and destination.
21405         (test_strncat): Likewise.
21407 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
21409         [BZ #12852]
21410         * posix/glob.c (glob): Check passed in values before using them in
21411         expressions to avoid some overflows.
21412         (glob_in_dir): Likewise.
21414         [BZ #13007]
21415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21416         check for AVX enablement so that we don't crash with old kernels and
21417         new hardware.
21418         * elf/tst-audit4.c: Add same checks here.
21419         * elf/tst-audit6.c: Likewise.
21421         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21423 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
21425         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21427 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
21429         * po/cs.po: Update from translation team.
21430         * po/bg.po: Likewise.
21432 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
21434         * misc/sys/cdefs.h: Add support for const attribute.
21435         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21436         to gnu_dev_{major,minor,makedev} functions.
21438 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
21440         * intl/dcigettext.c (get_output_charset): Add missing bracket.
21442 2011-07-20  Andreas Schwab  <schwab@redhat.com>
21444         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21445         strlen results.
21447 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21450         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21451         register in order to avoid conflicts with the soft frame pointer
21452         being held in r11 when necessary.
21453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21454         (INTERNAL_VSYSCALL_NCS): Likewise.
21456 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
21458         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21459         * elf/dl-fini.c (_dl_fini): Adjust caller.
21460         * elf/dl-close.c (_dl_close_worker): Likewise.
21461         * sysdeps/generic/ldsodefs.h: Adjust declaration.
21463 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
21465         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21466         "aux_cache->nlibs < 0".
21468         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21469         in the reload-count case.
21471 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21474         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21475         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21476         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21477         * sysdeps/x86_64/multiarch/strcat.S: New file.
21478         * sysdeps/x86_64/multiarch/strncat.S: New file.
21479         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21480         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21481         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21482         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21483         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21484         (USE_AS_STRCAT): Define.
21485         Add strcat and strncat support.
21486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21487         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21488         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21489         * string/strncat.c: Update.
21490         (USE_AS_STRNCAT): Define.
21491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21492         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21493         and i7.
21494         * sysdeps/x86_64/multiarch/init-arch.h
21495         (bit_Prefer_PMINUB_for_stringop): New.
21496         (index_Prefer_PMINUB_for_stringop): Likewise.
21497         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21498         bit_Prefer_PMINUB_for_stringop.
21500 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
21502         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21503         buffer64.
21504         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21505         of casting of buffer.
21506         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21507         buffer32 and buffer64.
21508         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21509         writes instead of casting of buffer.
21510         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21511         buffer32.
21512         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21513         casting of buffer.
21515 2011-07-19  Andreas Schwab  <schwab@redhat.com>
21517         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21519 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
21521         * nscd/nscd.c (termination_handler): Don't do anything for a database
21522         if it has not yet been initialized.
21524 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21526         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21528 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
21530         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21532 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
21534         * po/nl.po: Update from translation team.
21535         * po/sv.po: Likewise.
21537 2011-07-16  Roland McGrath  <roland@hack.frob.com>
21539         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21540         now disallowed by GCC.
21542         * configure.in (use-default-link): Default to yes if a test -shared
21543         link meets our qualifications.
21544         * configure: Regenerated.
21546         * config.make.in (output-format): New variable.
21547         * configure.in: Check for ld --print-output-format support.
21548         * configure: Regenerated.
21549         * Makerules ($(common-objpfx)format.lds)
21550         [$(output-format) != unknown]: Just use $(output-format),
21551         instead of the linker-script munging.
21553 2011-07-14  Roland McGrath  <roland@hack.frob.com>
21555         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21556         of $(common-objpfx)shlib.lds.
21557         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21559         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21560         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21562         * configure.in (-z relro check): Adjust test code to add a large
21563         writable data section after it.
21564         * configure: Regenerated.
21566 2011-07-11  Roland McGrath  <roland@hack.frob.com>
21568         * configure.in (-z relro check): Fix test code to make the variable
21569         truly const.
21570         * configure: Regenerated.
21572 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
21574         * nscd/nscd.h (struct traced_file): Define.
21575         (struct database_dyn): Remove inotify_descr, reset_res, and filename
21576         elements.  Add traced_files.
21577         (inotify_fd): Declare.
21578         (register_traced_file): Declare.
21579         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21580         (inotify_fd): Export.
21581         (resolv_conf_descr): Remove.
21582         (nscd_init): Move inotify descriptor creation to main.
21583         Don't register files for notification here.
21584         (register_traced_file): New function.
21585         (invalidate_cache): Don't use reset_res to determine whether to call
21586         res_init, go through the list of registered files.
21587         (main_loop_poll): The inotify descriptors are now stored in the
21588         structures for the traced files.
21589         (main_loop_epoll): Likewise
21590         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
21591         to __nss_disable_nscd.
21592         * nscd/cache.c (prune_cache): There is no single inotify descriptor
21593         for a database anymore.  Check the records for all the registered
21594         files instead.
21595         * nss/Makefile (libnss_files-routines): Add files-init.
21596         (libnss_db-routines): Add db-init.
21597         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21598         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21599         * nss/nss_db/db-init.c: New file.
21600         * nss/nss_files/files-init.c: New file.
21601         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
21602         __nss_lookup_function.
21603         (__nss_lookup_function): Call nss_load_library.
21604         (nss_load_all_libraries): New function.
21605         (__nss_disable_nscd): Take parameter with callback function for files
21606         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
21607         used for the cached services.
21608         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21609         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21610         options for features to all the files in nscd.
21612         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21614 2011-07-10  Roland McGrath  <roland@hack.frob.com>
21616         * csu/elf-init.c (__libc_csu_init): Comment typo.
21618 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
21620         * po/pl.po: Update from translation team.
21621         * po/ja.po: Likewise.
21622         * po/ru.po: Likewise.
21623         * po/ko.po: Likewise.
21624         * po/fr.po: Likewise.
21626 2011-07-09  Roland McGrath  <roland@hack.frob.com>
21628         * configure.in (.ctors/.dtors header and trailer check):
21629         Use an empirical test on a built program.
21630         * configure: Regenerated.
21632         * configure.in (-z relro check): Use an empirical test on a built DSO.
21633         Detect, but do not require, on ia64.
21634         * configure: Regenerated.
21636         * configure.in (READELF): Find it with AC_CHECK_TOOL.
21637         Update tests that use readelf to use $READELF instead.
21638         * configure: Regenerated.
21640 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
21642         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21643         if the result is not used.
21645 2011-07-05  Andreas Jaeger  <aj@suse.de>
21647         [BZ#9696]
21648         * stdlib/tst-strtod.c: Add testcase.
21650 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
21652         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21653         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21654         The latter has a higher limit.  Take additional parameter to pass to
21655         the new function.
21656         (__pathconf): Pass file to __statfs_link_max.
21657         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21658         __statfs_link_max.
21659         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21660         __statfs_link_max.
21662         [BZ #12868]
21663         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21664         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21665         Handle Lustre.
21666         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21667         (__statfs_filesize_max): Likewise.
21668         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21670 2011-07-05  Andreas Jaeger  <aj@suse.de>
21672         * resolv/res_comp.c (dn_skipname): Remove unused variable.
21674 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
21676         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21677         `status' variable.
21678         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21679         Likewise.
21681 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
21683         * Makefile (strop-tests): Add strncat.
21684         * string/test-strncat.c: New file.
21686 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
21688         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21690 2011-06-21  Andreas Jaeger  <aj@suse.de>
21692         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21693         Copy rule from iconvdata/Makefile.
21695 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21697         [BZ #12922]
21698         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21699         but no long options are defined, just return 'W'.
21701 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
21703         [BZ #9696]
21704         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21706 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
21708         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21709         netgroups to read.
21710         (innetgr): Likewise.
21712 2011-07-05  Roland McGrath  <roland@hack.frob.com>
21714         * config.make.in (install_root): Default to $(DESTDIR).
21716 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
21718         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21720 2011-07-02  Roland McGrath  <roland@hack.frob.com>
21722         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21724         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21725         containing directory rather than embedding absolute directory names.
21727         * scripts/check-local-headers.sh: Rewritten using awk.
21728         Match by word, not by line.  Print error messages for matches.
21729         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21731         * Makerules [shlib-lds-flags empty]:
21732         ($(common-objpfx)libc_pic.opts): New target.
21733         ($(common-objpfx)libc_pic.os.clean): New target.
21734         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21736         * config.make.in (OBJCOPY): New variable.
21737         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21738         * configure: Regenerated.
21740         * config.make.in (use-default-link): New variable.
21741         * configure.in (use_default_link): Grok --with-default-link to set it.
21742         * configure: Regenerated.
21743         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21744         (shlib-lds, shlib-lds-flags): Define to empty.
21746         * Makerules (shlib-lds): New variable.
21747         (shlib-lds-flags): New variable.
21748         (build-shlib, build-moduile, build-module-asneeded): Use it.
21749         ($(common-objpfx)libc.so): Use $(shlib-lds).
21750         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21751         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21753         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21754         DT_FLAGS/DT_FLAGS_1 with zero flags.
21756         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21757         linker script munging.
21759 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
21761         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21762         as 128-bit value.
21763         * crypt/sha512.c (sha512_process_block): Perform total addition using
21764         128-bit if possible.
21765         (__sha512_finish_ctx): Likewise.
21766         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21767         as 64-bit value.
21768         * crypt/sha256.c (SWAP64): Define.
21769         (sha256_process_block): Perform total addition using 64-bit if
21770         possible.
21771         (__sha256_finish_ctx): Likewise.
21773 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
21775         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
21776         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21777         * nscd/hstcache.c (cache_addhst): Likewise.
21778         * nscd/grpcache.c (cache_addgr): Likewise.
21779         * nscd/aicache.c (addhstaiX): Likewise
21780         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21782 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
21784         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21786         * nscd/hstcache.c (cache_addhst): Likewise.
21787         * nscd/grpcache.c (cache_addgr): Likewise.
21788         * nscd/aicache.c (addhstaiX): Likewise
21790 2011-07-01  Andreas Schwab  <schwab@redhat.com>
21792         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21793         domain only when needed.
21795 2011-06-30  Andreas Schwab  <schwab@redhat.com>
21797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21798         is always restored.
21800 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
21802         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21803         are re-adding the entry.
21804         * nscd/servicescache.c (cache_addserv): Likewise.
21806 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
21808         * sysdeps/generic/dl-irel.h: fix protection against multiple
21809         inclusions.
21810         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21812 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
21814         [BZ #12935]
21815         * malloc/memusage.sh: Fix quoting in message.
21816         * debug/xtrace.sh: Likewise.
21818         * configure.in: Remove support for --experimental-malloc option, make
21819         it the default.
21820         * config.make.in: Likewise.
21821         * malloc/Makefile: Likewise.
21823 2011-06-27  Andreas Schwab  <schwab@redhat.com>
21825         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21826         two-byte characters.
21828 2011-06-27  Roland McGrath  <roland@hack.frob.com>
21830         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21831         AC_CACHE_CHECK invocation.
21832         * configure: Regenerated.
21834         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21836 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
21838         [BZ #12350]
21839         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
21840         bit from old_res_options.
21842         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21844         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21845         value type for setfct.
21847 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
21849         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21850         __gettimeofday instead of gettimeofday.
21852 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
21854         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21856 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21858         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21860         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21861         info.
21863 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21866         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21867         strcpy-sse2-unaligned strncpy-sse2-unaligned
21868         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21869         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21870         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21871         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21872         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21875         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21876         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21877         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21878         (STRCPY): Support SSE2 and SSSE3 versions.
21880 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
21882         [BZ #12874]
21883         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21884         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21885         kernels which artificially limit size of requests.
21887 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
21889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21890         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21891         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21892         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21893         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21894         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21895         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21896         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21897         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21898         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21899         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21900         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21901         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21902         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21903         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21905         Enable unaligned load optimization for Intel Core i3, i5 and i7
21906         processors.
21907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21908         Define.
21909         (index_Fast_Unaligned_Load): Define.
21910         (HAS_FAST_UNALIGNED_LOAD): Define.
21912 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
21914         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21916 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21918         [BZ #12907]
21919         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21920         until it is clear that the information is realy needed.
21921         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21923 2011-06-22  Andreas Schwab  <schwab@redhat.com>
21925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21927 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
21929         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21930         /sys/devices/system/cpu/online if it is usable.
21932         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21933         reading the information from the /proc filesystem to once a second.
21935 2011-06-21  Andreas Jaeger  <aj@suse.de>
21937         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21938         NULL after inclusion of kernel headers.
21940 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
21942         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21943         calls to internal_setent.
21945         [BZ #12885]
21946         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21947         addresses using gethostbyname4_r ignore IPv4 addresses.
21949         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21950         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
21952         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21954 2011-06-20  David S. Miller  <davem@davemloft.net>
21956         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21957         inclusions.
21958         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21960         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21961         (elf_irel): Use it.
21962         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21963         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21964         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21965         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21966         * sysdeps/x86_64/dl-irel.h: Likewise.
21968         * elf/dl-runtime.c: Use elf_ifunc_invoke.
21969         * elf/dl-sym.c: Likewise.
21971 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21973         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
21974         need to dereference resplen2.
21976 2011-06-14  Andreas Schwab  <schwab@redhat.com>
21978         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21980 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
21982         * Makeconfig: Define vardbdir and inst_vardbdir.
21983         * nss/Makefile: Add rules to install db-Makefile.
21985         * nss/nss_db/db-XXX.c: Cleanup.
21987         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21988         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21989         GLIBC_PRIVATE.
21990         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21991         * nss/makedb.c: Implement -g option to specify that value strings
21992         are generated and should not be added to table iterated over for
21993         get*ent calls.
21994         * nss/nss_db/db-initgroups.c: New file.
21996         * nss/getent.c: Add support for initgroups lookups through getgrouplist
21997         interface.
21999         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22000         (internal_getgrouplist): Adjust to name change.
22001         Update use_initgroups_entry if this is not the first call.
22002         * nss/databases.def: Add initgroups entry.
22004         * nss/makedb.c (compute_tables): Check result of multiple hash table
22005         sizes to minimize maximum chain length.
22007 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
22009         * Versions.def: Add entry for libnss_db.
22010         * shlib-versions: Likewise.
22011         * nss/Makefile: Add rules to build libnss_db.
22012         * nss/Versions: Add libnss_db information.  Organize libnss_files
22013         entries better.
22014         * nss/db-Makefile: Add gshadow support.  Change rules for the new
22015         makedb progra.  Some minor improvements to generate smaller files.
22016         * nss/nss_db/nss_db.h: Move NSS database header data structures to
22017         here from...
22018         * nss/makedb.c: ...here.
22019         Improve database format to be smaller and require less memory at
22020         runtime.
22021         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
22022         db anymore.
22023         * nss/nss_db/db-netgrp.c: Likewise.
22024         * nss/nss_db/db-open.c: Likewise.
22025         * nss/nss_files/flies-XXX.x: Adjust comments.
22026         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22027         * nss/nss_files/files-grp.c: Likewise.
22028         * nss/nss_files/files-hosts.c: Likewise.
22029         * nss/nss_files/files-network.c: Likewise.
22030         * nss/nss_files/files-proto.c: Likewise.
22031         * nss/nss_files/files-pwd.c: Likewise.
22032         * nss/nss_files/files-rpc.c: Likewise.
22033         * nss/nss_files/files-service.c: Likewise.
22034         * nss/nss_files/files-sgrp.c: Likewise.
22035         * nss/nss_files/files-spwd.c: Likewise.
22036         * nss/nss_db/db-alias.c: Removed.
22037         * nss/nss_db/dummy-db.h: Removed.
22039 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
22041         * nss/makedb.c: Rewritten to not use database library.
22042         * nss/Makefile: Update to build new makedb program.
22044 2011-06-14  Andreas Jaeger  <aj@suse.de>
22046         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22047         memset declaration.
22049 2011-06-10  Andreas Schwab  <schwab@redhat.com>
22051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22052         tmpbuf.
22054 2011-06-10  Roland McGrath  <roland@hack.frob.com>
22056         * Makerules (shlib.lds): Fail if the linker script comes out empty.
22057         * elf/Makefile ($(objpfx)ld.so): Likewise.
22059         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22060         Don't list ld.so twice in dependencies.
22062         * posix/bug-regex31.c: Include <stdlib.h>.
22064         * nscd/hstcache.c (cache_addhst): Remove unused variable.
22066         * nis/nss_compat/compat-spwd.c
22067         (getspent_next_nss_netgr): Remove unused variable.
22068         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22070         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22071         nonmembers" output to use the right array.
22073         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22075         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22077         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22078         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22079         * catgets/gencat.c (read_input_file): Likewise.
22080         * locale/programs/locarchive.c (enlarge_archive): Likewise.
22082         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22083         variable definition inside #if's controlling its use.
22085         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22087         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22089         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22091         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22092         unreachable code.
22094         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22096         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22097         * configure: Regenerated.
22099         * Makerules: Revert last change.
22100         * elf/Makefile: Likewise.
22102 2011-06-09  Roland McGrath  <roland@hack.frob.com>
22104         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22105         * elf/Makefile ($(objpfx)librtld.os): Likewise.
22106         (reloc-link): Likewise.
22108 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
22110         * elf/Makefile: Add rules to build pldd.
22111         * elf/pldd.c: New file.
22112         * elf/pldd-xx.c: New file.
22114 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
22116         * version.h: Update for 2.15 development version.
22118 2011-06-07  David S. Miller  <davem@davemloft.net>
22120         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22121         ifuncs.
22122         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22123         elf_machine_lazy_rel): Likewise.
22124         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22125         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22126         elf_machine_lazy_rel): Likewise.
22127         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22128         dl_hwcap via passed in argument.
22129         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22130         Likewise.
22132 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22134         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
22136 2011-06-06  Roland McGrath  <roland@hack.frob.com>
22138         [BZ #12849]
22139         * manual/fdl-1.1.texi: New file, verbatim from:
22140         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22141         * manual/lgpl-2.1.texi: New file, verbatim from:
22142         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22143         * manual/Makefile (licenses): New variable, list those new file names.
22144         (texis): Use it.
22145         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22147         * manual/fdl.texi: File removed.
22148         * manual/lesser.texi: File removed.
22149         * manual/libc.texinfo (Copying, Documentation License):
22150         Use new @include file names, put @appendix directive before @include.
22152 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
22154         [BZ #12841]
22155         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22156         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22157         (mq_open): Add __NTH.
22159 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
22161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22162         Assume Intel Core i3/i5/i7 processor if AVX is available.
22164 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
22166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22167         typo.
22169 2011-05-31  Andreas Schwab  <schwab@redhat.com>
22171         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22172         memory.  Use alloca_account.  Fix memory leak when retrying.
22174 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
22176         * version.h (RELEASE): Bump for 2.14 release.
22177         * include/features.h (__GLIBC_MINOR__): Bump to 14.
22179         * config.make.in (RANLIB): Remove entry.
22181 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
22183         * po/Makefile (po-sed-cmd): Add ksh to extensions.
22184         (libc.pot): Work around missing support for .ksh extension in xgettext.
22186         [BZ #12684]
22187         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22188         if both request failed.
22189         (send_dg): In case of server errors clear resplen or *resplen2.
22191         [BZ #12454]
22192         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22193         when there are multiple maps.
22194         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22195         (_dl_fini): Remove test here.
22197         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22199 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
22201         [BZ #12350]
22202         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22203         bit from old_res_options.
22204         (gaih_inet): Likewise.
22206         [BZ #11099]
22207         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22208         as signed.
22210         * resolv/res_init.c (res_setoptions): Make the code more compact.
22212         [BZ #11558]
22213         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22214         set RES_USEVC.
22216         [BZ #11634]
22217         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22219         * malloc/malloc.h: Mark malloc hook variables as deprecated.
22221         [BZ #11781]
22222         * malloc/malloc.h: Declare malloc hook variables as volatile.
22224         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22225         in last patch.
22227         [BZ #11799]
22228         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22229         raise in the comment.
22230         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22232         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22234 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
22236         [BZ #12811]
22237         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22238         grow the buffers more if it already has to be sufficient.
22239         (build_wcs_upper_buffer): Likewise.
22240         * posix/regexec.c (check_matching): Likewise.
22241         (clean_state_log_if_needed): Likewise.
22242         (extend_buffers): Don't enlarge buffers beyond size of the input
22243         buffer.
22244         Patches mostly by Emil Wojak <emil@wojak.eu>.
22245         * posix/bug-regex32.c: New file.
22246         * posix/Makefile (tests): Add bug-regex32.
22248         * locale/findlocale.c (_nl_find_locale): Return right away if
22249         _nl_explode_name failed.
22250         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22252         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22254         * debug/xtrace.sh: Unify messages.
22255         * malloc/memusage.sh: Likewise.
22257         [BZ #12813]
22258         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22259         time symbol from vDSO.  Substitute with vsyscall if not available.
22260         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22261         __vdso_time.
22263         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22264         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22265         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22266         Add sendmmsg and internal_sendmmsg.
22267         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22268         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22269         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22271         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22272         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22273         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22275 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
22277         [BZ #12813]
22278         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22279         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
22280         available.
22281         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22282         __vdso_getcpu.
22284         [BZ #12814]
22285         * iconvdata/Makefile (tests): Add bug-iconv9.
22286         * iconvdata/bug-iconv9.c: New file.
22288 2011-05-27  Andreas Schwab  <schwab@redhat.com>
22290         [BZ #12814]
22291         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22293 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
22295         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22296         (struct user_regs_struct): Change intcs field back to cs.
22298 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
22300         * po/ja.po: Update from translation team.
22302 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
22304         [BZ #12795]
22305         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22306         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22308 2011-05-20  Andreas Schwab  <schwab@redhat.com>
22310         * stdlib/longlong.h: Update from GCC.
22312 2011-05-23  Andreas Schwab  <schwab@redhat.com>
22314         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22315         parameter name.
22316         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22317         Add parameter name.
22318         (__sysconf): Pass it down.
22320 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
22322         [BZ #12671]
22323         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22324         some situations.
22325         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22326         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22327         add in in __libc_use_alloca calls.  Adjust callers.
22328         (glob): Use malloc in some situations.
22330         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22331         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22332         pltexit.
22334 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
22336         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22337         and CLOCK_BOOTTIME_ALARM.
22339         [BZ #12782]
22340         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22341         is returned.
22343         * string/_strerror.c (__strerror_r): Print negative errors as signed
22344         numbers.
22346         [BZ #12777]
22347         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22348         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22349         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22351         * configure.in: Fix typo in redirection and correct removal of test
22352         files in two cases.
22354         [BZ #12788]
22355         * locale/setlocale.c (new_composite_name): Fix test to check for
22356         identical name of all categories.
22358         [BZ #12792]
22359         * libio/filedoalloc.c (local_isatty): New function.
22360         (_IO_file_doallocate): Use local_isatty.
22361         * stdio-common/perror.c (perror): In case a new stream is used
22362         forward the stream error.
22363         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22364         error flag.
22366 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
22368         [BZ #11869]
22369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22370         alloca.
22371         * include/alloca.h (extend_alloca_account): Define.
22373         [BZ #11857]
22374         * posix/regex.h: Fix comments with documentation of user-accessible
22375         fields after compilation and describe correct free'ing of pattern
22376         after re_compile_pattern.
22377         Patch by Reuben Thomas <rrt@sc3d.org>.
22379 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
22381         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22382         and -mno-altivec to prevent the compiler from using Altivec and/or
22383         VSX instructions when the corresponding registers are not available.
22385 2011-05-19  Andreas Schwab  <schwab@redhat.com>
22387         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22389 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
22391         * libio/freopen.c (freopen): Use __dup2, not dup2.
22392         * libio/freopen64.c (freopen64): Likewise.
22394 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22396         [BZ #12775]
22397         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22398         * math/Makefile (tests): Add test-powl.
22399         (CFLAGS-test-powl.c): Define.
22400         * math/test-powl.c: New file.
22402 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22404         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22406 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
22408         [BZ #11837]
22409         * iconvdata/gb18030.c: Update to GB18020-2005.
22411 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
22413         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22414         RE_SYNTAX_POSIX_AWK): Update to match recent development.
22415         Patch by Aharon Robbins <arnold@skeeve.com>.
22417         [BZ #11892]
22418         * stdlib/putenv.c (putenv): Don't always create copy of the variable
22419         on the stack.
22421         [BZ #11895]
22422         * misc/pselect.c (__pselect): Handle timeout value errors hidden
22423         through underflows.
22425         [BZ #12766]
22426         * misc/error.c (error_at_line): Ensure file_name and old_file_name
22427         point to strings before performing equality test for error_one_per_line
22428         mode.
22430         [BZ #11697]
22431         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22433         [BZ #11820]
22434         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22435         (struct user_fpregs_struct): Avoid __uint*_t types.
22437         [BZ #6420]
22438         * malloc/mtrace.c (tr_where): Add additional parameter to point to
22439         symbol info.  Use it instead of calling _dl_addr locally.
22440         (lock_and_info): New function.
22441         (tr_freehook): Call lock_and_info and pass symbol info as additional
22442         parameter to tr_where.
22443         (tr_mallochook): Likewise.
22444         (tr_reallochook): Likewise.
22445         (tr_memalignhook): Likewise.
22447         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
22448         used and couldn't be at all thread-safe.
22450 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
22452         * libio/freopen.c (freopen): Don't close old file descriptor
22453         before the new one is opened.  Instead dup the new file descriptor
22454         to the old one after the new stream is created.
22455         * libio/freopen64.c (freopen64): Likewise.
22456         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22457         * libio/fileops.c (_IO_new_file_close_it): Handle new
22458         _IO_FLAGS2_NOCLOSE flag.
22459         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22460         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22461         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22462         _IO_FLAGS2_NOCLOSE flag.
22463         * include/unistd.h: Add hidden_proto for dup3.
22464         Define __have_dup3.
22465         * io/dup3.c: Define hidden symbol.
22466         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22468         [BZ #7101]
22469         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22470         when an incomplete long option is used.
22471         * posix/tst-getopt_long1.c: New file.
22472         * posix/Makefile (tests): Add tst-getopt_long1.
22474         [BZ #10138]
22475         * scripts/config.guess: Update from autoconf-2.68.
22476         * scripts/config.sub: Likewise.
22478         [BZ #10157]
22479         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22480         tests into ...
22481         (has_cpuclock): ...this.  New function.
22482         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22483         macro here based on has_cpuclock code.
22485         [BZ #10149]
22486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22487         First byte (not low byte) is now always NUL.
22488         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22490         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22491         Use non-cancelable interfaces.
22493         [BZ #9809]
22494         * locale/iso-639.def: Add entry for Sorani.
22496         [BZ #11901]
22497         * include/stdlib.h: Move include protection to the right place.
22498         Define abort_msg_s.  Declare __abort_msg with it.
22499         * stdlib/abort.c (__abort_msg): Adjust type.
22500         * assert/assert.c (__assert_fail_base): New function.  Majority
22501         of code from __assert_fail.  Allocate memory for __abort_msg with
22502         mmap.
22503         (__assert_fail): Now call __assert_fail_base.
22504         * assert/assert-perr.c: Remove bulk of implementation.  Use
22505         __assert_fail_base.
22506         * include/assert.hL Declare __assert_fail_base.
22507         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22508         mmap.
22509         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22511 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
22513         [BZ #11952]
22514         [BZ #12453]
22515         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22516         until all modules are registered in the DTV.
22517         * elf/Makefile: Add rules to build and run tst-tls19.
22518         * elf/tst-tls19.c: New file.
22519         * elf/tst-tls19mod1.c: New file.
22520         * elf/tst-tls19mod2.c: New file.
22521         * elf/tst-tls19mod3.c: New file.
22522         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22524         [BZ #12083]
22525         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22526         correctly.
22528         [BZ #12601]
22529         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22530         two-byte sequence errors.
22531         * iconvdata/Makefile (tests): Add bug-iconv8.
22532         * iconvdata/bug-iconv8.c: New file.
22534         [BZ #12626]
22535         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22536         buf2 definition.
22538         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22540         [BZ #12432]
22541         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22542         (dummy_getcfa): New function.
22543         (init): Get _Unwind_GetCFA address, use dummy if not found.
22544         (backtrace_helper): In recursion check, also check whether CFA changes.
22545         (__backtrace): Completely initialize arg.
22547         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22548         storing incomplete byte sequence in state object.  Avoid testing for
22549         guaranteed too small input if we know there is enough data available.
22551 2011-05-11  Andreas Schwab  <schwab@redhat.com>
22553         * Makeconfig (+link-pie): Indent.
22554         * Rules (binaries-pie): Define if $(have-fpie) and
22555         $(build-shared).
22556         (binaries-shared): Also filter out $(binaries-pie).
22557         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22558         * nscd/Makefile (others-pie): Add nscd.
22559         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22560         ($(objpfx)nscd): Remove command override.
22561         * login/Makefile (others-pie): Add pt_chown.
22562         ($(objpfx)pt_chown): Remove command override.
22563         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22564         remove command overrides.
22566 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
22568         * libio/tst_putwc.c: Fix error messages.
22570         [BZ #12724]
22571         * libio/fileops.c (_IO_new_file_close_it): Always flush when
22572         currently writing and seek to current position when not.
22573         * libio/Makefile (tests): Add bug-fclose1.
22574         * libio/bug-fclose1.c: New file.
22576 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
22578         [BZ #12511]
22579         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22580         don't set DF_1_NODELETE here.
22581         (do_lookup_x): When entering new entry test for copy relocation
22582         and if necessary set DF_1_NODELETE flag.
22583         * elf/tst-unique4.cc: New file.
22584         * elf/tst-unique4.h: New file.
22585         * elf/tst-unique4lib.cc: New file.
22586         * elf/Makefile: Add rules to build and run tst-unique4.
22587         Patch by Piotr Bury <pbury@goahead.com>.
22589 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
22591         [BZ #12052]
22592         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22594         [BZ #12625]
22595         * misc/mntent_r.c (addmntent): Flush the stream after the output
22597         [BZ #12393]
22598         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22599         (is_trusted_path_normalize): Skip initial colon.  Append slash
22600         to empty buffer.  Duplicate is_trusted_path code but allow
22601         constructed patch to be prefix.
22602         (is_dst): Allow $ORIGIN followed by /.
22603         (_dl_dst_substitute): Correct clearing of check_for_trusted.
22604         Correct testing of result of is_trusted_path_normalize
22605         (decompose_rpath): Fix warning.
22607 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
22609         [BZ #11257]
22610         * grp/initgroups.c (internal_getgrouplist): When we found the service
22611         list through the initgroups entry in nsswitch.conf do not always
22612         continue on a successful lookup.  Don't always use the
22613         __nss_group_database value if it is set.
22614         * nss/nsswitch.conf (initgroups): Change action for successful db
22615         lookup to continue for compatibility.
22617 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
22619         [BZ #11532]
22620         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22621         and CP774 modules.
22622         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22623         and CP774 modules.
22624         * iconvdata/tst-tables.sh: Likewise.
22625         * iconvdata/cp770.c: New file.
22626         * iconvdata/cp771.c: New file.
22627         * iconvdata/cp772.c: New file.
22628         * iconvdata/cp773.c: New file.
22629         * iconvdata/cp774.c: New file.
22630         * iconvdata/testdata/CP770: New file.
22631         * iconvdata/testdata/CP770..UTF8: New file.
22632         * iconvdata/testdata/CP771: New file.
22633         * iconvdata/testdata/CP771..UTF8: New file.
22634         * iconvdata/testdata/CP772: New file.
22635         * iconvdata/testdata/CP772..UTF8: New file.
22636         * iconvdata/testdata/CP773: New file.
22637         * iconvdata/testdata/CP773..UTF8: New file.
22638         * iconvdata/testdata/CP774: New file.
22639         * iconvdata/testdata/CP774..UTF8: New file.
22641         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22642         END CHARMAP line.
22643         * iconvdata/gen-8bit-gap.sh: Likewise.
22644         * iconvdata/gen-8bit.sh: Likewise.
22646         * locale/iso-639.def: Add ary entry.
22648         [BZ #11258]
22649         * locale/C-translit.h.in: Add U20A1 transliteration.
22651         [BZ #12178]
22652         * locale/iso-639.def: Add wae entry.
22653         Patch by Kevin Bortis <bortis@translate-wae.ch>.
22655         [BZ #12545]
22656         * locale/programs/localedef.c (construct_output_path): Use ssize_t
22657         for n.
22659         [BZ #12711]
22660         * locale/C-translit.h.in: Add entry for U20B9.
22661         Patch by pravin.d.s@gmail.com.
22663 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
22665         [BZ #12713]
22666         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22667         ENAMETOOLONG use generic getcwd.
22668         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
22669         in rtld.  Use *stat64.
22670         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22671         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22672         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22673         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22674         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22675         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22676         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22677         __fstatat64 macros.
22678         * include/dirent.h: Add libc_hidden_proto for rewinddir.
22679         * dirent/rewinddir.c: Add libc_hidden_def.
22680         * sysdeps/mach/hurd/rewinddir.c: Likewise.
22681         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
22683         * include/dirent.h (__alloc_dir): Add flags parameter.
22684         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22685         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22686         __alloc_dir.
22687         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
22688         from fdopendir if O_CLOEXEC is already set.
22690 2011-03-15  Alan Modra  <amodra@gmail.com>
22692         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22693         l_tls_firstbyte_offset non-zero.  Save padding offset in
22694         l_tls_firstbyte_offset for later use.
22695         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22696         freeing static tls block.
22698 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
22700         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22701         where #ifdef was intended.  The intent is to prevent ARG_MAX from
22702         being defined by the kernel headers.
22704 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
22706         [BZ #12734]
22707         * resolv/resolv.h: Define RES_NOTLDQUERY.
22708         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22709         no-tld-query and set RES_NOTLDQUERY.
22710         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22711         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22712         modern BIND to search name as TLD unless forbidden.
22714 2011-05-07  Petr Baudis  <pasky@suse.cz>
22715             Ulrich Drepper  <drepper@gmail.com>
22717         [BZ #12393]
22718         * elf/dl-load.c (fillin_rpath): Move trusted path check...
22719         (is_trusted_path): ...to here.
22720         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22721         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22722         using is_trusted_path_normalize() in setuid scripts.
22724 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22726         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22727         __BEGIN/__END_DECLS.
22729 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
22731         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22732         NSS_STATUS_NOTFOUND if no record was found.
22734 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22736         * sunrpc/Makefile (headers): Add rpc/netdb.h.
22737         (headers-not-in-tirpc): Remove rpc/netdb.h
22738         * resolv/netdb.h: Revert last change.
22740 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22742         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22743         circular dependency between libgcc.a and libc.a.
22745 2011-05-05  Andreas Schwab  <schwab@redhat.com>
22747         * resolv/netdb.h: Don't include <rpc/netdb.h>.
22748         * nis/Makefile: Don't install rpcsvc/*.
22749         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22750         instead of <rpc/types.h>.
22751         (MAXHOSTNAMELEN): Define.
22753 2011-05-03  Andreas Schwab  <schwab@redhat.com>
22755         * elf/ldconfig.c (add_dir): Don't crash on empty path.
22757 2011-04-28  Maciej Babinski  <mbabinski@google.com>
22759         [BZ #12714]
22760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22761         gethostbyname4_r when IPv6 results are possible.
22763 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
22765         [BZ #12723]
22766         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22767         _PC_PIPE_BUF handling.
22769 2011-04-30  Bruno Haible  <bruno@clisp.org>
22771         [BZ #12717]
22772         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22773         * resolv/netdb.h (getnameinfo): Change type of flags parameter
22774         to 'int'.
22775         * inet/getnameinfo.c (getnameinfo): Likewise.
22777 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
22779         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22780         to groups setting in database lookup.
22781         * nss/nsswitch.conf: Add initgroups entry.
22783 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
22785         [BZ #12685]
22786         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22787         mode string.
22788         Patch by Eric Blake <eblake@redhat.com>.
22790 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
22792         * sunrpc/Makefile (need-export-routines): Add svc_run.
22793         (routines): Remove svc_run.
22794         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22795         * sunrpc/clnt_perr.c (clnt_perrno): Export.
22796         * sunrpc/svc_run.c (svc_run): Likewise.
22797         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22799 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
22801         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22802         problem in reallocation in last patch.
22804 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
22806         * sunrpc/Makefile: Move inclusion of Rules.
22808 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22810         * nss/nss_files/files-initgroups.c: New file.
22811         * nss/Makefile (libnss_files-routines): Add files-initgroups.
22812         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22813         _nss_files_initgroups_dyn.
22815 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
22817         * elf/elf.h (R_ARM_IRELATIVE): Define.
22819 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
22821         * po/ru.po: Update from translation team.
22823 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22825         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22826         dependencies.
22828 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
22830         [BZ #12653]
22831         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22832         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22834         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22837 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
22839         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22840         differing bytes.
22841         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22842         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22843         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22845 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
22847         [BZ #12420]
22848         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22849         storing it.
22850         * stdlib/bug-getcontext.c: New file.
22851         * stdlib/Makefile: Add rules to build and run bug-getcontext.
22853 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22855         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22856         instructions into .machine "z9-109".
22857         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22858         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22860 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22862         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22863         between environment variables and auxiliary vector.
22865 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
22867         * Makefile: Add rules to build linkobj/libc.so.
22868         * include/libc-symbols.h: Define libc_hidden_nolink.
22869         * include/rpc/auth.h: Mark functions which are to be hidden.
22870         * include/rpc/auth_des.h: Likewise.
22871         * include/rpc/auth_unix.h: Likewise.
22872         * include/rpc/clnt.h: Likewise.
22873         * include/rpc/des_crypt.h: Likewise.
22874         * include/rpc/key_prot.h: Likewise.
22875         * include/rpc/pmap_clnt.h: Likewise.
22876         * include/rpc/pmap_prot.h: Likewise.
22877         * include/rpc/pmap_rmt.h: Likewise.
22878         * include/rpc/rpc_msg.h: Likewise.
22879         * include/rpc/svc.h: Likewise.
22880         * include/rpc/svc_auth.h: Likewise.
22881         * include/rpc/xdr.h: Likewise.
22882         * nis/Makefile: Link all DSOs against linkobj/libc.so.
22883         * nss/Makefile: Likewise.
22884         * sunrpc/Makefile: Don't install headers.  Build library with normal
22885         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
22886         * sunrpc/auth_des.c: Hide exported symbols by default, export some
22887         for the compat linking library.  Remove use of INTDEF/INTUSE.
22888         * sunrpc/auth_none.c: Likewise.
22889         * sunrpc/auth_unix.c: Likewise.
22890         * sunrpc/authdes_prot.c: Likewise.
22891         * sunrpc/authuxprot.c: Likewise.
22892         * sunrpc/clnt_gen.c: Likewise.
22893         * sunrpc/clnt_perr.c: Likewise.
22894         * sunrpc/clnt_raw.c: Likewise.
22895         * sunrpc/clnt_simp.c: Likewise.
22896         * sunrpc/clnt_tcp.c: Likewise.
22897         * sunrpc/clnt_udp.c: Likewise.
22898         * sunrpc/clnt_unix.c: Likewise.
22899         * sunrpc/des_crypt.c: Likewise.
22900         * sunrpc/des_soft.c: Likewise.
22901         * sunrpc/get_myaddr.c: Likewise.
22902         * sunrpc/key_call.c: Likewise.
22903         * sunrpc/key_prot.c: Likewise.
22904         * sunrpc/netname.c: Likewise.
22905         * sunrpc/pm_getmaps.c: Likewise.
22906         * sunrpc/pm_getport.c: Likewise.
22907         * sunrpc/pmap_clnt.c: Likewise.
22908         * sunrpc/pmap_prot.c: Likewise.
22909         * sunrpc/pmap_prot2.c: Likewise.
22910         * sunrpc/pmap_rmt.c: Likewise.
22911         * sunrpc/publickey.c: Likewise.
22912         * sunrpc/rpc_cmsg.c: Likewise.
22913         * sunrpc/rpc_common.c: Likewise.
22914         * sunrpc/rpc_dtable.c: Likewise.
22915         * sunrpc/rpc_prot.c: Likewise.
22916         * sunrpc/rpc_thread.c: Likewise.
22917         * sunrpc/rtime.c: Likewise.
22918         * sunrpc/svc.c: Likewise.
22919         * sunrpc/svc_auth.c: Likewise.
22920         * sunrpc/svc_authux.c: Likewise.
22921         * sunrpc/svc_raw.c: Likewise.
22922         * sunrpc/svc_run.c: Likewise.
22923         * sunrpc/svc_simple.c: Likewise.
22924         * sunrpc/svc_tcp.c: Likewise.
22925         * sunrpc/svc_udp.c: Likewise.
22926         * sunrpc/svc_unix.c: Likewise.
22927         * sunrpc/svcauth_des.c: Likewise.
22928         * sunrpc/xcrypt.c: Likewise.
22929         * sunrpc/xdr.c: Likewise.
22930         * sunrpc/xdr_array.c: Likewise.
22931         * sunrpc/xdr_float.c: Likewise.
22932         * sunrpc/xdr_intXX_t.c: Likewise.
22933         * sunrpc/xdr_mem.c: Likewise.
22934         * sunrpc/xdr_rec.c: Likewise.
22935         * sunrpc/xdr_ref.c: Likewise.
22936         * sunrpc/xdr_sizeof.c: Likewise.
22937         * sunrpc/xdr_stdio.c: Likewise.
22939 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
22941         [BZ #12650]
22942         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22943         * sysdeps/ia64/dl-tls.h: Likewise.
22944         * sysdeps/powerpc/dl-tls.h: Likewise.
22945         * sysdeps/s390/dl-tls.h: Likewise.
22946         * sysdeps/sh/dl-tls.h: Likewise.
22947         * sysdeps/sparc/dl-tls.h: Likewise.
22948         * sysdeps/x86_64/dl-tls.h: Likewise.
22949         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22951 2011-03-14  Andreas Schwab  <schwab@redhat.com>
22953         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22954         rpath element also skip the following colon.
22955         (expand_dynamic_string_token): Add is_path parameter and pass
22956         down to DL_DST_REQUIRED and _dl_dst_substitute.
22957         (decompose_rpath): Call expand_dynamic_string_token with
22958         non-zero is_path.  Ignore empty rpaths.
22959         (_dl_map_object_from_fd): Call expand_dynamic_string_token
22960         with zero is_path.
22962 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22965         Make cancelable.
22967 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
22969         [BZ #12655]
22970         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22971         Patch by Filipe David Manana <fdmanana@apache.org>.
22973 2011-04-07  Andreas Schwab  <schwab@redhat.com>
22975         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22976         Maintain aligned stack.
22977         (CHECK_RSP): Remove unused macro.
22979 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
22981         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22982         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22984 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
22986         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22988         * include/features.h: Mention __USE_XOPEN2K8 in comment.
22990 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
22992         [BZ #12518]
22993         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22994         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22995         * sysdeps/x86_64/memmove.c: New file.
22996         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22997         (memcpy): Renamed to ...
22998         (__new_memcpy): This.
22999         (memcpy): Provide GLIBC_2_14 memcpy.
23000         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23001         (memcpy): Provide GLIBC_2_2_5 memcpy.
23003 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
23005         [BZ #12631]
23006         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23008 2011-03-30  Andreas Schwab  <schwab@redhat.com>
23010         * misc/syncfs.c: New file.
23011         * misc/Makefile (routines): Add syncfs.
23012         * posix/unistd.h: Declare syncfs.
23013         * sysdeps/unix/syscalls.list: Add syncfs.
23015 2011-04-01  Andreas Schwab  <schwab@redhat.com>
23017         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23018         open_by_handle_at.
23019         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23020         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23022         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23024         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23025         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23027 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
23029         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23030         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23031         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23033         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23035         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23037         * io/Makefile: Compile fallocate.c, fallocate64.c, and
23038         sync_file_range.c with -fexceptions.
23039         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23040         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23041         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23042         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23043         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23044         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23046         sync_file_range as cancellation point
23047         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
23048         now a wrapper around __call_sync_file_range with cancellation handling.
23049         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23050         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
23051         function name to __call_sync_file_range.
23052         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23053         Add call_sync_file_range.
23055 2011-04-01  Andreas Schwab  <schwab@redhat.com>
23057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23058         bits/timex.h.
23060 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
23062         * iconv/iconv.h: Fix typo in comment.
23063         * io/fcntl.h: Likewise.
23064         * libio/stdio.h: Likewise.
23065         * posix/spawn.h: Likewise.
23066         * posix/unistd.h: Likewise.
23067         * stdlib/stdlib.h: Likewise.
23068         * time/time.h: Likewise.
23069         * wcsmbs/wchar.h: Likewise.
23071         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23072         open_by_handle): Add.
23073         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23074         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
23075         Augment a few comments.
23076         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23077         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23078         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23079         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23080         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23081         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23082         open_by_handle.
23084         * io/fcntl.h (AT_EMPTY_PATH): Define.
23086 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
23088         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23089         * sysdeps/unix/sysv/linux/bits/time.h: New file.
23090         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23091         to...
23092         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
23093         * Versions.def: Add GLIBC_2.14.
23094         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23095         Export.
23097 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
23099         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23100         round counter.
23101         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23103 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23105         [BZ #12597]
23106         * string/test-strncmp.c (do_page_test): New function.
23107         (check2): Likewise.
23108         (test_main): Call check2.
23109         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23111 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
23113         [BZ #12587]
23114         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23115         Handle cache information in CPU leaf 4.
23116         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23118 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
23120         [BZ #12583]
23121         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23122         character representation.
23123         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23125 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
23127         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23128         END(__isnan) to END(__isnanf) to match function entry point/label
23129         EALIGN(__isnanf,...).
23131 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
23133         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23135 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
23137         [BZ #12510]
23138         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23139         copy from the symbol referenced in the relocation to initialize the
23140         used variable.
23141         Patch by Piotr Bury <pbury@goahead.com>.
23142         * elf/Makefile: Add rules to build and tst-unique3.
23143         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23144         * elf/tst-unique3.cc: New file.
23145         * elf/tst-unique3.h: New file.
23146         * elf/tst-unique3lib.cc: New file.
23147         * elf/tst-unique3lib2.cc: New file.
23149         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23151 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
23153         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23154         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
23155         to _start.
23157 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
23159         * elf/dl-load.c (_dl_map_object): If we are looking for the first
23160         to-be-loaded object along a path to loader is ld.so.
23162 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
23163             Ulrich Drepper  <drepper@gmail.com>
23165         * sysdeps/x86_64/memset.S: After aligning destination, code
23166         branches to different locations depending on the value of
23167         misalignment, when multiarch is enabled. Fix this.
23169 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
23171         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23172         Set _x86_64_preferred_memory_instruction for AMD processsors.
23173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23174         Set bit_Prefer_SSE_for_memop for AMD processors.
23176 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
23178         * libio/fmemopen.c (fmemopen): Optimize a bit.
23180 2011-03-03  Andreas Schwab  <schwab@redhat.com>
23182         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23184 2011-03-03  Roland McGrath  <roland@redhat.com>
23186         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23188 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
23190         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23191         __bzero_ultra1 instead of __memset_ultra1.
23193 2011-02-23  Andreas Schwab  <schwab@redhat.com>
23194             Ulrich Drepper  <drepper@gmail.com>
23196         [BZ #12509]
23197         * include/link.h (struct link_map): Add l_orig_initfini.
23198         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23199         returning unsuccessfully.
23200         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23201         close of a file loaded at startup, restore the original l_initfini
23202         list.
23203         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23204         list, store the pointer.
23205         * elf/Makefile ($(objpfx)noload-mem): New rule.
23206         (noload-ENV): Define.
23207         (tests): Add $(objpfx)noload-mem.
23208         * elf/noload.c: Include <memcheck.h>.
23209         (main): Call mtrace.  Close all opened handles.
23211 2011-02-17  Andreas Schwab  <schwab@redhat.com>
23213         [BZ #12454]
23214         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23215         dependencies are missing.
23217 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23219         Fix __if_freereq crash: Unlike the generic version which uses free,
23220         Hurd needs munmap.
23221         * sysdeps/mach/hurd/ifreq.h: New file.
23223 2011-01-27  Petr Baudis  <pasky@suse.cz>
23224             Ulrich Drepper  <drepper@gmail.com>
23226         [BZ 12445]#
23227         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23228         to extend_alloca().
23229         * stdio-common/bug23.c: New file.
23230         * stdio-common/Makefile (tests): Add bug23.
23232 2010-09-28  Andreas Schwab  <schwab@redhat.com>
23233             Ulrich Drepper  <drepper@gmail.com>
23235         [BZ #12489]
23236         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23237         before performing relro protection.  At old place add assertion
23238         to make sure nothing changed.
23240 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
23241             Glauber de Oliveira Costa  <glommer@gmail.com>
23243         * elf/elf.h: Add new ARM TLS relocs.
23245 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
23247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23248         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23249         cast from r3.
23250         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
23251         'tests' variable.
23252         * sysdeps/wordsize-64/tst-writev.c: New file.
23254 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
23256         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23257         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23258         insns in _dl_start to prevent a TOC reference before relocs are
23259         resolved.
23261 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
23263         [BZ #12469]
23264         * Makeconfig: Remove RANLIB definition.
23265         * Makerules: Don't use RANLIB.
23266         * aclocal.m4: Remove ranlib test.
23267         * configure.in: No need to check for ranlib.
23268         * elf/rtld-Rules: Don't use RANLIB.
23270 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23272         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23273         protection macro.
23274         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23275         inclusion protection macro.
23277         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23278         SIGRTMIN and SIGRTMAX and print information in that case only when
23279         SIGRTMIN is defined.
23281 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
23283         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23284         arginfo fn returning -1.
23286         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23287         and thousands string is zero terminated.
23289 2011-02-03  Andreas Schwab  <schwab@redhat.com>
23291         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23292         sysdeps/unix/sysv/linux/bits/socket.h.
23294 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23296         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23297         (__CPU_COUNT): Remove old macros.
23298         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23299         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23300         (__CPU_ALLOC, __CPU_FREE): Add macros.
23301         (__sched_cpualloc, __sched_cpufree): Add declarations.
23303 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
23305         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23306         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23307         * nscd/aicache.c (addhstaiX): Return timeout of added value.
23308         (readdhstai): Return value of addhstaiX call.
23309         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23310         (addgrbyX): Return value returned by cache_addgr.
23311         (readdgrbyname): Return value returned by addgrbyX.
23312         (readdgrbygid): Likewise.
23313         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23314         (addpwbyX): Return value returned by cache_addpw.
23315         (readdpwbyname): Return value returned by addhstbyX.
23316         (readdpwbyuid): Likewise.
23317         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23318         (addservbyX): Return value returned by cache_addserv.
23319         (readdservbyname): Return value returned by addservbyX:
23320         (readdservbyport): Likewise.
23321         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23322         (addhstbyX): Return value returned by cache_addhst.
23323         (readdhstbyname): Return value returned by addhstbyX.
23324         (readdhstbyaddr): Likewise.
23325         (readdhstbynamev6): Likewise.
23326         (readdhstbyaddrv6): Likewise.
23327         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23328         (readdinitgroups): Return value returned by addinitgroupsX.
23329         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23330         (prune_cache): Keep track of timeout value of re-added entries.
23331         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23332         * nscd/nscd.h: Adjust prototypes of readd* functions.
23334 2011-02-04  Roland McGrath  <roland@redhat.com>
23336         * nis/nis_server.c (nis_servstate): Use the right name for 0.
23337         (nis_stats): Likewise.
23338         * nis/nis_modify.c (nis_modify): Likewise.
23339         * nis/nis_remove.c (nis_remove): Likewise.
23340         * nis/nis_add.c (nis_add): Likewise.
23342         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23344         * posix/fnmatch_loop.c: Add some consts.
23346         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23348 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
23350         [BZ #12460]
23351         * config.make.in (config-cflags-novzeroupper): Define.
23352         * configure.in: Substitute libc_cv_cc_novzeroupper.
23353         * elf/Makefile (AVX-CFLAGS): Define.
23354         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23355         (CFLAGS-tst-auditmod4a.c): Likewise.
23356         (CFLAGS-tst-auditmod4b.c): Likewise.
23357         (CFLAGS-tst-auditmod6b.c): Likewise.
23358         (CFLAGS-tst-auditmod6c.c): Likewise.
23359         (CFLAGS-tst-auditmod7b.c): Likewise.
23360         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23362 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
23364         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23365         function to the callback.
23366         Patch partly by Jiri Olsa <jolsa@redhat.com>.
23368 2011-02-02  Andreas Schwab  <schwab@redhat.com>
23370         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23371         of errno.
23373 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
23375         [BZ #11724]
23376         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23377         of constructors.
23378         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23379         of destructors.
23380         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23382         [BZ #11724]
23383         * elf/Makefile: Add rules to build and run new test.
23384         * elf/tst-initorder.c: New file.
23385         * elf/tst-initorder.exp: New file.
23386         * elf/tst-initordera1.c: New file.
23387         * elf/tst-initordera2.c: New file.
23388         * elf/tst-initordera3.c: New file.
23389         * elf/tst-initordera4.c: New file.
23390         * elf/tst-initorderb1.c: New file.
23391         * elf/tst-initorderb2.c: New file.
23392         * elf/tst-order-a1.c: New file.
23393         * elf/tst-order-a2.c: New file.
23394         * elf/tst-order-a3.c: New file.
23395         * elf/tst-order-a4.c: New file.
23396         * elf/tst-order-b1.c: New file.
23397         * elf/tst-order-b2.c: New file.
23398         * elf/tst-order-main.c: New file.
23399         New test case by George Gensure <werkt0@gmail.com>.
23401 2010-10-01  Andreas Schwab  <schwab@redhat.com>
23403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23404         decoding ACE if AI_CANONIDN.
23406 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
23408         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23410 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
23412         * version.h (RELEASE): Bump for 2.13 release.
23413         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23415         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23417         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23418         MADV_NOHUGEPAGE.
23419         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23420         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23421         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23422         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23423         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23424         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23426         * posix/getconf.c: Update copyright year.
23427         * catgets/gencat.c: Likewise.
23428         * csu/version.c: Likewise.
23429         * debug/catchsegv.sh: Likewise.
23430         * debug/xtrace.sh: Likewise.
23431         * elf/ldconfig.c: Likewise.
23432         * elf/ldd.bash.in: Likewise.
23433         * elf/sprof.c (print_version): Likewise.
23434         * iconv/iconv_prog.c: Likewise.
23435         * iconv/iconvconfig.c: Likewise.
23436         * locale/programs/locale.c: Likewise.
23437         * locale/programs/localedef.c: Likewise.
23438         * malloc/memusage.sh: Likewise.
23439         * malloc/mtrace.pl: Likewise.
23440         * nscd/nscd.c (print_version): Likewise.
23441         * nss/getent.c: Likewise.
23443         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23444         PF_CAIF, and PF_ALG.
23445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23447 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
23449         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23450         (modules-names): Use them.
23451         (ifunc-test-modules, ifunc-pie-tests): Define.
23452         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23453         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23454         (test-extras): Likewise.
23455         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23456         $(compile-command.c).
23457         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23458         (all-built-dso): Define.
23459         (check-textrel.out, check-execstack.out): Depend on it.
23461         * configure.in: Don't override --enable-multi-arch.
23463 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
23465         [BZ #6812]
23466         * nscd/hstcache.c (tryagain): Define.
23467         (cache_addhst): Return tryagain not notfound for temporary errors.
23468         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23469         failed.
23471 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
23473         [BZ #10563]
23474         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23475         to make the syscall.
23476         * sysdeps/unix/sysv/linux/setgroups.c: New file.
23478         [BZ #12378]
23479         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23480         and fall back to matching as normal character if the string ends before
23481         the matching ']' is found.  This is what POSIX requires.
23482         * posix/testfnm.c: Adjust test result.
23483         * posix/globtest.sh: Adjust test result.  Add new test.
23484         * posix/tst-fnmatch.input: Likewise.
23485         * posix/tst-fnmatch2.c: Add new test.
23487 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
23489         * elf/Makefile (check-execstack): Revert last change.  Depend on
23490         check-execstack.h.
23491         (check-execstack.h): New target.
23492         (generated): Add check-execstack.h.
23493         * elf/check-execstack.c: Include "check-execstack.h".
23494         (main): Revert last change.
23495         (handle_file): Return zero if GNU_STACK is absent and
23496         DEFAULT_STACK_PERMS doesn't include PF_X.
23498 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
23500         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23501         in child fails because the descriptor is already closed.
23502         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23503         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23504         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23506         [BZ #12397]
23507         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23508         syscall.
23510         [BZ #10484]
23511         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23512         temporary buffer used to handle multi lookups locally.
23513         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23515 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23517         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23518         loader is ld.so.
23520 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
23522         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23523         alignment for SSE2.
23525 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
23527         [BZ #12394]
23528         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23529         characters.  When rounding increased number of integer digits recompute
23530         number of groups.
23531         * stdio-common/tst-grouping.c: New file.
23532         * stdio-common/Makefile: Add rules to build and run tst-grouping.
23534 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
23536         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23537         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
23539         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23540         void.
23541         * bits/select.h: Likewise.
23543 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
23545         * po/ja.po: Update from translation team.
23547 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
23549         [BZ #11155]
23550         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23551         implementation just like for lxstat, fxstatat, et al.
23553 2010-12-27  Jim Meyering  <meyering@redhat.com>
23555         [BZ #12348]
23556         * posix/regexec.c (build_trtable): Return failure indication upon
23557         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
23559 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
23561         [BZ #12201]
23562         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23563         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23564         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23565         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23567         [BZ #12207]
23568         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23570         [BZ #12204]
23571         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23572         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23574 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23576         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23577         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23578         script has SORT_BY_INIT_PRIORITY.
23579         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23580         NO_CTORS_DTORS_SECTIONS is defined.
23581         * elf/soinit.c: Likewise.
23582         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23583         NO_CTORS_DTORS_SECTIONS is defined.
23584         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23585         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23586         * sysdeps/sh/init-first.c: Likewise.
23587         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23589 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
23591         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23592         always use the slow path.
23594 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
23596         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23597         similar rule which adds the sysdep directories to the header search in
23598         order to pick up the correct platform stackinfo.h.
23599         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23600         perform test if it is, otherwise return successfully without testing.
23601         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23602         DEFAULT_STACK_PERMS define in stackinfo.h.
23603         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23604         defined in stackinfo.h.
23605         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23606         DEFAULT_STACK_PERMS defined in stackinfo.h.
23607         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23608         * sysdeps/ia64/stackinfo.h: Likewise.
23609         * sysdeps/s390/stackinfo.h: Likewise.
23610         * sysdeps/sh/stackinfo.h: Likewise.
23611         * sysdeps/sparc/stackinfo.h: Likewise.
23612         * sysdeps/x86_64/stackinfo.h: Likewise.
23613         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23614         PF_X for powerpc64.  Retain PF_X for powerpc32.
23616 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
23618         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23619         accurately.
23620         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23621         GETDENTS_64BIT_ALIGNED.
23623 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
23625         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23627 2010-12-10  Andreas Schwab  <schwab@redhat.com>
23629         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23630         _GNU_SOURCE.
23632         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23633         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23634         Remove __restrict.
23635         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23636         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23638 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
23640         [BZ #11655]
23641         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23642         are initialized.
23644 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
23646         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23648 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
23650         * po/it.po: Update from translation team.
23652 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23654         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23655         unused codes.
23657 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
23659         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23661 2010-11-24  Andreas Schwab  <schwab@redhat.com>
23663         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23664         specially.
23665         (gaih_getanswer_slice): Likewise.
23667 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
23669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23671 2010-05-31  Petr Baudis  <pasky@suse.cz>
23673         [BZ #11149]
23674         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23675         silently even in the chroot mode.
23677 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
23679         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23680         last patch a bit.  Pretty printing
23682 2010-05-31  Petr Baudis <pasky@suse.cz>
23684         [BZ #10085]
23685         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23686         initialization of skip_initgroups_dyn.
23688 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
23690         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23691         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23693 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
23695         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23697 2010-11-11  Andreas Schwab  <schwab@redhat.com>
23699         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23700         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23701         (tst-fnmatch-ENV): Set MALLOC_TRACE.
23702         ($(objpfx)tst-fnmatch-mem): New rule.
23703         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23704         * posix/tst-fnmatch.c (main): Call mtrace.
23706 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
23708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23709         Support Intel processor model 6 and model 0x2c.
23711 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
23713         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23714           signed comparison.
23716 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
23718         [BZ #12205]
23719         * string/test-strncasecmp.c (check_result): New function.
23720         (do_one_test): Use it.
23721         (check1): New function.
23722         (test_main): Use it.
23723         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23724         Support strcasecmp and strncasecmp.
23726 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
23728         [BZ #12194]
23729         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23730         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23732 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23734         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23735         IFUNC support.
23736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23737         memset-x86-64.
23738         * sysdeps/x86_64/multiarch/bzero.S: New file.
23739         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23740         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23741         * sysdeps/x86_64/multiarch/memset.S: New file.
23742         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23744         Set bit_Prefer_SSE_for_memop for Intel processors.
23745         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23746         Define.
23747         (index_Prefer_SSE_for_memop): Define.
23748         (HAS_PREFER_SSE_FOR_MEMOP): Define.
23750 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
23752         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23753         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23755 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
23757         [BZ #12191]
23758         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23759         (__x86_64_raw_data_cache_size_half): Likewise.
23760         (__x86_64_raw_shared_cache_size): Likewise.
23761         (__x86_64_raw_shared_cache_size_half): Likewise.
23763         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23764         (__x86_64_raw_data_cache_size_half): Likewise.
23765         (__x86_64_raw_shared_cache_size): Likewise.
23766         (__x86_64_raw_shared_cache_size_half): Likewise.
23767         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23768         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23769         and __x86_64_raw_shared_cache_size_half.  Round
23770         __x86_64_data_cache_size_half, __x86_64_data_cache_size
23771         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23772         to multiple of 256 bytes.
23774 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
23776         [BZ #12167]
23777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23778         of inacessible symlinks.  Verify result of symlink before returning it.
23779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23780         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23782 2010-10-28  Erich Ritz  <erichritz@gmail.com>
23784         * math/math.h (isinf): Fix typo in comment.
23786 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
23788         * po/da.po: Update from translation team.
23790 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
23792         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23793         is added to the list.
23795 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23796             Ulrich Drepper  <drepper@gmail.com>
23798         * elf/dl-object.c (_dl_new_object): Don't append the new object to
23799         the global list here.  Move code to...
23800         (_dl_add_to_namespace_list): ...here.  New function.
23801         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23802         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23803         * elf/dl-load.c (lose): Don't remove the element from the list.
23804         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23805         (_dl_map_object): Likewise.
23807 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
23809         [BZ #12159]
23810         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23811         into all bytes of SSE register.
23812         Patch by Richard Li <richardpku@gmail.com>.
23814 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
23816         [BZ #12140]
23817         * malloc/malloc.c (_int_free): Fill correct number of bytes when
23818         perturbing.
23820 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
23822         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23823         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23824         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23825         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23827         submachine.
23828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23830 2010-10-22  Andreas Schwab  <schwab@redhat.com>
23832         * include/dlfcn.h (__RTLD_SECURE): Define.
23833         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
23834         mode & __RTLD_SECURE instead.
23835         (open_path): Rename preloaded parameter to secure.
23836         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23837         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23838         * elf/dl-deps.c (openaux): Likewise.
23839         * elf/rtld.c (struct map_args): Remove is_preloaded.
23840         (map_doit): Don't use it.
23841         (dl_main): Likewise.
23842         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23843         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23845 2010-09-09  Andreas Schwab  <schwab@redhat.com>
23847         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23848         (sysd-rules-targets): Remove duplicates.
23849         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23850         rtld-%.$o dependency.
23852 2010-10-18  Andreas Schwab  <schwab@redhat.com>
23854         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23855         _dl_map_object do it.
23857 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
23859         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23860         fast fma builtins, define the macros in the C99 standard.
23861         (FP_FAST_FMAF): Likewise.
23862         (FP_FAST_FMAL): Likewise.
23863         * sysdeps/x86_64/bits/mathdef.h: Likewise.
23865         * bits/mathdef.h: Update copyright year.
23866         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23868 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
23870         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23871         builtins, define the macros in the C99 standard.
23872         (FP_FAST_FMAF): Likewise.
23873         (FP_FAST_FMAL): Likewise.
23874         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23875         multiply/add.
23876         (FP_FAST_FMAF): Likewise.
23878 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
23880         [BZ #3268]
23881         * math/libm-test.inc (fma_test): Some new testcases.
23882         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23884         y and infinite z.  Do multiplication by C already in long double.
23885         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23887         y and infinite z.  Do bitwise or of inexact bit into u.d.
23888         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23889         * sysdeps/i386/fpu/s_fmaf.S: Removed.
23890         * sysdeps/i386/fpu/s_fma.S: Removed.
23891         * sysdeps/i386/fpu/s_fmal.S: Removed.
23893 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
23895         [BZ #3268]
23896         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23898         computation is not scheduled after fetestexcept.  Fix value
23899         of minimum denormal long double.
23901 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
23903         [BZ #3268]
23904         * math/libm-test.inc (fma_test): Add some more tests.
23905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23906         correctly.
23908 2010-10-15  Andreas Schwab  <schwab@redhat.com>
23910         * scripts/data/localplt-s390-linux-gnu.data: New file.
23911         * scripts/data/localplt-s390x-linux-gnu.data: New file.
23913 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
23915         [BZ #3268]
23916         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23917         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23918         instead of dbl-64.
23919         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23920         inlines.
23921         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23923         if one of x and y is very large and the other is subnormal.
23924         * sysdeps/s390/fpu/s_fmaf.c: New file.
23925         * sysdeps/s390/fpu/s_fma.c: New file.
23926         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23927         * sysdeps/powerpc/fpu/s_fma.S: New file.
23928         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23929         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23930         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23932 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
23934         [BZ #3268]
23935         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23936         fma tests.
23937         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23938         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23939         * sysdeps/i386/i686/multiarch/s_fma.c: Include
23940         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23941         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23942         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23943         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23945 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
23947         [BZ #12078]
23948         * posix/regcomp.c (parse_branch): One more memory leak plugged.
23949         * posix/bug-regex31.input: Add test case.
23951 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
23953         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23954         * posix/bug-regex31.input: New file.
23956         [BZ #12078]
23957         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23958         (parse_sub_exp): Fix last change, use postorder.
23960         * posix/bug-regex31.c: New file.
23961         * posix/Makefile: Add rules to build and run bug-regex31.
23963         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23965         [BZ #12078]
23966         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23968         [BZ #12108]
23969         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23970         to have entries in sys_siglist.
23972         [BZ #12093]
23973         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23974         be NULL.
23976 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
23978         [BZ #3268]
23979         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23980         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23981         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23982         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23983         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23984         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23985         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23986         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23987         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23988         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23989         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23990         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23991         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23992         * math/ftestexcept.c (fetestexcept): Likewise.
23993         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23994         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23995         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23996         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23997         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23998         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23999         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24001 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
24003         [BZ #12107]
24004         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24005         newline.
24007 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
24009         * string/bug-strstr1.c: New file.
24010         * string/Makefile: Add rules to build and run bug-strstr1.
24012 2010-10-05  Eric Blake  <eblake@redhat.com>
24014         [BZ #12092]
24015         * string/str-two-way.h (two_way_long_needle): Always clear memory
24016         when skipping input due to the shift table.
24018 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
24020         [BZ #12005]
24021         * malloc/mcheck.c: Handle large requests.
24023         [BZ #12077]
24024         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24025         for strncmp and strncasecmp.
24026         * string/stratcliff.c: Add tests for strcmp and strncmp.
24027         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24029 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
24031         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24032         __set_fpscr.
24034 2010-09-30  Andreas Jaeger  <aj@suse.de>
24036         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24037         (CGROUP_SUPER_MAGIC): Define.
24038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24039         Handle btrfs and cgroup file systems.
24040         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24041         Likewise.
24043 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
24045         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24046         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24048 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24050         [BZ #12067]
24051         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24052         trying to locate the ELF header.
24054 2010-09-27  Andreas Schwab  <schwab@redhat.com>
24056         [BZ #11611]
24057         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24058         Mask out sign-bit copies when constructing f_fsid.
24060 2010-09-24  Petr Baudis <pasky@suse.cz>
24062         * debug/stack_chk_fail_local.c: Add missing licence exception.
24063         * debug/warning-nop.c: Likewise.
24065 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
24067         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24068         implementing getdents64 using getdents syscall, set d_type if
24069         __ASSUME_GETDENTS32_D_TYPE.
24071 2010-09-16  Andreas Schwab  <schwab@redhat.com>
24073         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24074         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24076 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
24078         [BZ #12037]
24079         * posix/unistd.h: Undo change of feature selection for ftruncate from
24080         2010-01-11.
24082 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
24084         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24085         detection.
24087 2010-09-20  Andreas Schwab  <schwab@redhat.com>
24089         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24090         fanotify_mark.
24091         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24093 2010-09-14  Andreas Schwab  <schwab@redhat.com>
24095         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24096         variables after CHECK_SP call.
24097         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24099 2010-09-13  Andreas Schwab  <schwab@redhat.com>
24100             Ulrich Drepper  <drepper@redhat.com>
24102         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24103         re-relocationg ld.so.
24104         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24105         _dl_init_paths call.
24106         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
24107         here anymore.
24109 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
24111         * resolv/res_init.c (__res_vinit): Count the default server we added.
24113 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
24114             Ulrich Drepper  <drepper@redhat.com>
24116         [BZ #11968]
24117         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24118         (____longjmp_chk): Use %ebx for saving value across system call.
24119         Add unwind info.
24121 2010-09-06  Andreas Schwab  <schwab@redhat.com>
24123         * manual/Makefile: Don't mix pattern rules with normal rules.
24125 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24127         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24128         operation.
24129         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24130         * libio/iofopncook.c (_IO_cookie_init): Likewise.
24131         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24132         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24133         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24134         Likewise.
24136 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
24138         [BZ #11979]
24139         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24140         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24142 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
24144         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24145         * sysdeps/x86_64/addmul_1.S: Likewise.
24146         * sysdeps/x86_64/lshift.S: Likewise.
24147         * sysdeps/x86_64/mul_1.S: Likewise.
24148         * sysdeps/x86_64/rshift.S: Likewise.
24149         * sysdeps/x86_64/sub_n.S: Likewise.
24150         * sysdeps/x86_64/submul_1.S: Likewise.
24152 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24154         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24155         Define __sched_param instead of SCHED_* and sched_param when
24156         <bits/sched.h> is included with __need_schedparam defined.
24157         * bits/sched.h [__need_schedparam]
24158         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24159         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24160         (__defined_schedparam): Define to 1.
24161         (__sched_param): New structure, identical to sched_param.
24162         (__need_schedparam): Undefine.
24164 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
24166         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24167         (epoll_create1): Declare.
24169         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24171 2010-08-31  Andreas Schwab  <schwab@redhat.com>
24173         [BZ #7066]
24174         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24175         shifting retval into place.
24177 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
24179         * nis/rpcsvc/nis.h: Update copyright notice.
24180         * nis/rpcsvc/nis.x: Likewise.
24181         * nis/rpcsvc/nis_callback.h: Likewise.
24182         * nis/rpcsvc/nis_callback.x: Likewise.
24183         * nis/rpcsvc/nis_object.x: Likewise.
24184         * nis/rpcsvc/nis_tags.h: Likewise.
24185         * nis/rpcsvc/yp.h: Likewise.
24186         * nis/rpcsvc/yp.x: Likewise.
24187         * nis/rpcsvc/ypupd.h: Likewise.
24188         * nis/yp_xdr.c: Likewise.
24189         * nis/ypupdate_xdr.c: Likewise.
24191         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
24192         mainly the body of pmap_getport.  Add parameters to specify timeouts.
24193         (pmap_getport): Use __libc_rpc_getport.
24194         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24195         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24196         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24198 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24201         fanotify_mark.
24203 2010-08-27  Roland McGrath  <roland@redhat.com>
24205         * sysdeps/i386/i686/multiarch/Makefile
24206         (CFLAGS-varshift.c): New variable.
24208 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
24210         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24211         * sysdeps/i386/i686/multiarch/varshift.c: New file.
24213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24215         * sysdeps/x86_64/strlen.S: Minimal code improvement.
24217 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24219         * sysdeps/x86_64/strlen.S: Unroll the loop.
24220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24221         strlen-sse2 strlen-sse2-bsf.
24222         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24223         __strlen_no_bsf if bit_Slow_BSF is set.
24224         (__strlen_sse42): Removed.
24225         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24226         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24228 2010-08-25  Roland McGrath  <roland@redhat.com>
24230         * sysdeps/x86_64/multiarch/varshift.S: File removed.
24231         * sysdeps/x86_64/multiarch/varshift.c: New file.
24232         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24233         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24234         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24235         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24237 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24240         strlen-sse2 strlen-sse2-bsf.
24241         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24242         __strlen_sse2_bsf if bit_Slow_BSF is unset.
24243         (__strlen_sse2): Removed.
24244         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24245         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24247         bit_Slow_BSF for Atom.
24248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24249         (index_Slow_BSF): Define.
24250         (HAS_SLOW_BSF): Define.
24252 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
24254         [BZ #10851]
24255         * resolv/res_init.c (__res_vinit): When no server address at all
24256         is given default to loopback.
24258 2010-08-24  Roland McGrath  <roland@redhat.com>
24260         * configure.in: Remove config-name.h generation.
24261         * configure: Regenerated.
24262         * config-name.in: File removed.
24263         * scripts/config-uname.sh: New file.
24264         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24265         ($(objdir)config-name.h): New target.
24267         * sunrpc/rpc_parse.h: Avoid nested comment.
24269 2010-08-24  Richard Henderson  <rth@redhat.com>
24270             Ulrich Drepper  <drepper@redhat.com>
24271             H.J. Lu  <hongjiu.lu@intel.com>
24273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24275         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24276         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
24277         _mm_alignr_epi8 with _mm_loadu_si128.
24278         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24279         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24280         (__m128i_shift_right): Removed.
24281         * sysdeps/i386/i686/multiarch/varshift.h: New file.
24282         * sysdeps/i386/i686/multiarch/varshift.S: New file.
24283         * sysdeps/x86_64/multiarch/varshift.h: New file.
24284         * sysdeps/x86_64/multiarch/varshift.S: New file.
24286 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
24288         * configure.in: Move assembler checks to before sysdep dir checking.
24290 2010-08-20  Petr Baudis  <pasky@suse.cz>
24292         * LICENSES: Sync the sunrpc license.
24294 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
24296         * sunrpc/auth_des.c: Update copyright notice once again.
24297         * sunrpc/auth_none.c: Likewise.
24298         * sunrpc/auth_unix.c: Likewise.
24299         * sunrpc/authdes_prot.c: Likewise.
24300         * sunrpc/authuxprot.c: Likewise.
24301         * sunrpc/bindrsvprt.c: Likewise.
24302         * sunrpc/clnt_gen.c: Likewise.
24303         * sunrpc/clnt_perr.c: Likewise.
24304         * sunrpc/clnt_raw.c: Likewise.
24305         * sunrpc/clnt_simp.c: Likewise.
24306         * sunrpc/clnt_tcp.c: Likewise.
24307         * sunrpc/clnt_udp.c: Likewise.
24308         * sunrpc/clnt_unix.c: Likewise.
24309         * sunrpc/des_crypt.c: Likewise.
24310         * sunrpc/des_soft.c: Likewise.
24311         * sunrpc/get_myaddr.c: Likewise.
24312         * sunrpc/getrpcport.c: Likewise.
24313         * sunrpc/key_call.c: Likewise.
24314         * sunrpc/key_prot.c: Likewise.
24315         * sunrpc/openchild.c: Likewise.
24316         * sunrpc/pm_getmaps.c: Likewise.
24317         * sunrpc/pm_getport.c: Likewise.
24318         * sunrpc/pmap_clnt.c: Likewise.
24319         * sunrpc/pmap_prot.c: Likewise.
24320         * sunrpc/pmap_prot2.c: Likewise.
24321         * sunrpc/pmap_rmt.c: Likewise.
24322         * sunrpc/rpc/auth.h: Likewise.
24323         * sunrpc/rpc/auth_unix.h: Likewise.
24324         * sunrpc/rpc/clnt.h: Likewise.
24325         * sunrpc/rpc/des_crypt.h: Likewise.
24326         * sunrpc/rpc/key_prot.h: Likewise.
24327         * sunrpc/rpc/netdb.h: Likewise.
24328         * sunrpc/rpc/pmap_clnt.h: Likewise.
24329         * sunrpc/rpc/pmap_prot.h: Likewise.
24330         * sunrpc/rpc/pmap_rmt.h: Likewise.
24331         * sunrpc/rpc/rpc.h: Likewise.
24332         * sunrpc/rpc/rpc_des.h: Likewise.
24333         * sunrpc/rpc/rpc_msg.h: Likewise.
24334         * sunrpc/rpc/svc.h: Likewise.
24335         * sunrpc/rpc/svc_auth.h: Likewise.
24336         * sunrpc/rpc/types.h: Likewise.
24337         * sunrpc/rpc/xdr.h: Likewise.
24338         * sunrpc/rpc_clntout.c: Likewise.
24339         * sunrpc/rpc_cmsg.c: Likewise.
24340         * sunrpc/rpc_common.c: Likewise.
24341         * sunrpc/rpc_cout.c: Likewise.
24342         * sunrpc/rpc_dtable.c: Likewise.
24343         * sunrpc/rpc_hout.c: Likewise.
24344         * sunrpc/rpc_main.c: Likewise.
24345         * sunrpc/rpc_parse.c: Likewise.
24346         * sunrpc/rpc_parse.h: Likewise.
24347         * sunrpc/rpc_prot.c: Likewise.
24348         * sunrpc/rpc_sample.c: Likewise.
24349         * sunrpc/rpc_scan.c: Likewise.
24350         * sunrpc/rpc_scan.h: Likewise.
24351         * sunrpc/rpc_svcout.c: Likewise.
24352         * sunrpc/rpc_tblout.c: Likewise.
24353         * sunrpc/rpc_util.c: Likewise.
24354         * sunrpc/rpc_util.h: Likewise.
24355         * sunrpc/rpcinfo.c: Likewise.
24356         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24357         * sunrpc/rpcsvc/key_prot.x: Likewise.
24358         * sunrpc/rpcsvc/klm_prot.x: Likewise.
24359         * sunrpc/rpcsvc/mount.x: Likewise.
24360         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24361         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24362         * sunrpc/rpcsvc/rex.x: Likewise.
24363         * sunrpc/rpcsvc/rstat.x: Likewise.
24364         * sunrpc/rpcsvc/rusers.x: Likewise.
24365         * sunrpc/rpcsvc/sm_inter.x: Likewise.
24366         * sunrpc/rpcsvc/spray.x: Likewise.
24367         * sunrpc/rpcsvc/yppasswd.x: Likewise.
24368         * sunrpc/rtime.c: Likewise.
24369         * sunrpc/svc.c: Likewise.
24370         * sunrpc/svc_auth.c: Likewise.
24371         * sunrpc/svc_authux.c: Likewise.
24372         * sunrpc/svc_raw.c: Likewise.
24373         * sunrpc/svc_run.c: Likewise.
24374         * sunrpc/svc_simple.c: Likewise.
24375         * sunrpc/svc_tcp.c: Likewise.
24376         * sunrpc/svc_udp.c: Likewise.
24377         * sunrpc/svc_unix.c: Likewise.
24378         * sunrpc/svcauth_des.c: Likewise.
24379         * sunrpc/xcrypt.c: Likewise.
24380         * sunrpc/xdr.c: Likewise.
24381         * sunrpc/xdr_array.c: Likewise.
24382         * sunrpc/xdr_float.c: Likewise.
24383         * sunrpc/xdr_mem.c: Likewise.
24384         * sunrpc/xdr_rec.c: Likewise.
24385         * sunrpc/xdr_ref.c: Likewise.
24386         * sunrpc/xdr_sizeof.c: Likewise.
24387         * sunrpc/xdr_stdio.c: Likewise.
24389         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24390         handling.
24392 2010-08-19  Andreas Schwab  <schwab@redhat.com>
24394         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24396 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
24398         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24399         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24400         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24401         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24402         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24403         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24404         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24405         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24406         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24407         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24408         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24409         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24410         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24411         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24413 2010-07-26  Anton Blanchard  <anton@samba.org>
24415         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24416         * malloc/arena.c (heap_trim): Likewise.
24418 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
24420         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24421         here.  Not...
24422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24423         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24425 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24427         * sysdeps/i386/elf/Makefile: New file.
24429 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
24431         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24432         from fanotify_init.
24433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24436 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
24438         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24439         of strncasecmp_l.
24440         * sysdeps/multiarch/strcmp.S: Likewise.
24442 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
24444         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24445         strncase_l-nonascii.
24446         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24447         Add strncase_l-ssse3.
24448         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24449         * sysdeps/x86_64/strcmp.S: Likewise.
24450         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24451         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24452         * sysdeps/x86_64/strncase.S: New file.
24453         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24454         * sysdeps/x86_64/strncase_l.S: New file.
24455         * string/Makefile (strop-tests): Add strncasecmp.
24456         * string/test-strncasecmp.c: New file.
24458         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24459         warning.
24461         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24462         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24464 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
24466         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24468 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
24470         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24471         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24472         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24474 2010-05-01  Alan Modra  <amodra@gmail.com>
24476         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24477         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24478         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24479         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24480         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24481         tidying.  Don't tail-call __sigjmp_save for static lib.
24482         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24483         save location.
24484         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24485         (CALL_MCOUNT): Add eh info, and nop after bl.
24486         (TAIL_CALL_SYSCALL_ERROR): New macro.
24487         (PSEUDO_RET): Use it.
24488         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24489         Correct save location of integer regs and cr.
24490         (_dl_profile_resolve): Correct cr save location.  Delete nops
24491         after bl when SHARED.  Reduce cfi size a little by better
24492         placement of cfi directives.
24493         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24494         make a stack frame.  Instead use parm save area as a temp.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24496         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
24497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24498         Don't make a stack frame for parent, use parm save area.
24499         Increase child stack frame to 112 bytes.  Don't save unused reg,
24500         and adjust reg usage.  Set up cfi on error recovery and
24501         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24503         (__makecontext): Add dummy nop after jump to exit.
24504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24505         Use correct parm save area and cr save, reduce stack frame.
24506         Correct cfi for possible PSEUDO_RET frame setup.
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24508         Branch to local label emitted by PSEUDO_RET rather than
24509         __syscall_error.
24511 2010-08-12  Andreas Schwab  <schwab@redhat.com>
24513         [BZ #11904]
24514         * locale/programs/locale.c (print_assignment): New function.
24515         (show_locale_vars): Use it.
24517 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
24519         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24520         field.
24521         (struct statfs64): Likewise.
24522         (_STATFS_F_FLAGS): Define.
24523         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24524         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24525         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24526         (ST_VALID): Define locally.
24527         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24528         __statvfs_getflags, use the provided value.
24529         * sysdeps/unix/sysv/linux/kernel-features.h: Define
24530         __ASSUME_STATFS_F_FLAGS.
24532         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24534         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24535         Add sys/fanotify.h.
24536         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24537         fanotify_mask for GLIBC_2.13.
24538         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24539         fanotify_init and fanotify_mark.
24540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24541         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24543         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24544         Add prlimit.
24545         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24546         prlimit64 for GLIBC_2.13.
24547         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24548         prlimit64.
24549         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24550         syscall.
24551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24552         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24553         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24554         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
24556         add prlimit alias.
24557         * sysdeps/unix/sysv/linux/prlimit.c: New file.
24559         [BZ #11903]
24560         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24561         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24563         * nss/Makefile: Add rules to build and run tst-nss-test1.
24564         * shlib-versions: Add entry for libnss_test1.
24565         * nss/nss_test1.c: New file.
24566         * nss/tst-nss-test1.c: New file.
24568         * nss/nsswitch.c (__nss_database_custom): Define new variable.
24569         (__nss_configure_lookup): Set appropriate entry in
24570         __nss_configure_lookup to true.
24571         * nss/nsswitch.h: Define enum with indeces of databases in
24572         databases and __nss_database_custom arrays.  Declare
24573         __nss_database_custom.
24574         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24575         to avoid using nscd when custom rules are installed.
24576         * nss/getXXbyYY_r.c: Likewise.
24577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24579         * nss/nss_files/files-parse.c: Whitespace fixes.
24581 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
24583         [BZ #11883]
24584         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24585         * posix/fnmatch_loop.c: Likewise.
24587 2010-07-17  Andi Kleen  <ak@linux.intel.com>
24589         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24590         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24591         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24592         * Versions.def [GLIBC_2.13]: Add.
24594 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
24596         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24597         Also fail if tpwd after pwuid call is NULL.
24599 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24601         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24602         when converting to ms.
24604 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24606         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24607         EOPNOTSUPP errors with ENOTTY.
24608         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24609         EOPNOTSUPP errors with ENOTTY.
24611 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
24613         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24614         Add strcasecmp_l-ssse3.
24615         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24616         strcasecmp.
24617         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24618         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24619         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24621 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
24623         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24625         * string/Makefile (strop-tests): Add strcasecmp.
24626         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24627         strcasecmp_l-nonascii.
24628         (gen-as-const-headers): Add locale-defines.sym.
24629         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24630         * sysdeps/x86_64/strcasecmp.S: New file.
24631         * sysdeps/x86_64/strcasecmp_l.S: New file.
24632         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24633         * sysdeps/x86_64/locale-defines.sym: New file.
24634         * string/test-strcasecmp.c: New file.
24636         * string/test-strcasestr.c: Test both ends of the range of characters.
24637         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24639 2010-07-29  Roland McGrath  <roland@redhat.com>
24641         [BZ #11856]
24642         * manual/locale.texi (Yes-or-No Questions): Fix example code.
24644 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
24646         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24647         for ld.so.
24649 2010-07-27  Andreas Schwab  <schwab@redhat.com>
24651         * manual/memory.texi (Malloc Tunable Parameters): Document
24652         M_PERTURB.
24654 2010-07-26  Roland McGrath  <roland@redhat.com>
24656         [BZ #11840]
24657         * configure.in (-fgnu89-inline check): Set and substitute
24658         gnu89_inline, not libc_cv_gnu89_inline.
24659         * configure: Regenerated.
24660         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24662 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
24664         * string/test-strnlen.c: New file.
24665         * string/Makefile (strop-tests): Add strnlen.
24666         * string/tester.c (test_strnlen): Add a few more test cases.
24667         * string/tst-strlen.c: Better error reporting.
24669         * sysdeps/x86_64/strnlen.S: New file.
24671 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
24673         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24674         lower-latency instructions.
24676 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
24678         * string/test-strcasestr.c: New file.
24679         * string/test-strstr.c: New file.
24680         * string/Makefile (strop-tests): Add strstr and strcasestr.
24681         * string/str-two-way.h: Don't undefine MAX.
24682         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24684 2010-07-21  Andreas Schwab  <schwab@redhat.com>
24686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24687         strcasestr-nonascii.
24688         (CFLAGS-strcasestr-nonascii.c): Define.
24689         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24690         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24691         Remove unused attribute.
24693 2010-07-20  Roland McGrath  <roland@redhat.com>
24695         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24696         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
24697         ld.so.cache was broken.  With it, there is no way to disable dsocaps
24698         like LD_HWCAP_MASK can disable hwcaps.
24700 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24702         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24704 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
24706         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24707         call in strcasestr.
24708         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24709         __strcasestr_sse42_nonascii.
24710         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24711         strcasestr-nonascii.c.
24712         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24714 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
24716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24717         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24718         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24719         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24721 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
24723         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24724         fcntl.
24726 2010-07-06  Andreas Schwab  <schwab@redhat.com>
24728         [BZ #11577]
24729         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24730         dl_signal_cerror.
24732 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
24734         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24735         _PC_PIPE_BUF using F_GETPIPE_SZ.
24737 2010-07-05  Roland McGrath  <roland@redhat.com>
24739         * manual/arith.texi (Rounding Functions): Fix rint description
24740         implicit in round description.
24742 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
24744         * elf/Makefile: Fix linking for a few tests to make recent linker
24745         happy.
24747 2010-06-30  Andreas Schwab  <schwab@redhat.com>
24749         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24750         $(common-objpfx)libc_nonshared.a.
24752 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
24754         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24755         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24756         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24757         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24758         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24759         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24760         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24761         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24776         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24777         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24778         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24779         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24780         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24781         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24782         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24783         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24784         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24785         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24786         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24787         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24803 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24805         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24806         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
24807         * string/memmove.c (memmove): Renamed to ...
24808         (MEMMOVE): ...this.  Default to memmove.
24809         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24810         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24811         (END_CHK): Define.
24812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24813         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24814         mempcpy-ssse3-back memmove-ssse3-back.
24815         * sysdeps/x86_64/multiarch/bcopy.S: New file .
24816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24817         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24818         * sysdeps/x86_64/multiarch/memcpy.S: New file.
24819         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24820         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24821         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24822         * sysdeps/x86_64/multiarch/memmove.c: New file.
24823         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24824         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24825         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24826         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24827         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24828         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24829         Define.
24830         (index_Fast_Copy_Backward): Define.
24831         (HAS_ARCH_FEATURE): Define.
24832         (HAS_FAST_REP_STRING): Define.
24833         (HAS_FAST_COPY_BACKWARD): Define.
24835 2010-06-21  Andreas Schwab  <schwab@redhat.com>
24837         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24838         Restore proper fallback handling.
24840 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
24842         [BZ #11701]
24843         * posix/group_member.c (__group_member): Correct checking loop.
24845         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24846         OOM in getpwuid_r correctly.  Return error number when the caller
24847         should return, otherwise -1.
24848         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24849         call returning > 0 value.
24850         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24852 2010-06-07  Andreas Schwab  <schwab@redhat.com>
24854         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24855         libc_nonshared.a from targets in modules-names.
24857 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
24859         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24860         requires it.
24862 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
24864         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24865         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24866         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24867         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24869 2010-06-02  Andreas Schwab  <schwab@redhat.com>
24871         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24873 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
24875         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24876         and F_GETPIPE_SZ.
24877         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24878         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24881         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24882         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24884 2010-06-14  Roland McGrath  <roland@redhat.com>
24886         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24888 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
24890         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24891         __REDIRECT followed by __THROW.
24892         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24893         * posix/getopt.h (getopt): Likewise.
24895 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
24897         * hurd/lookup-at.c (__file_name_lookup_at): Accept
24898         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
24899         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24900         in AT_FLAGS.
24901         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24902         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24904 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
24906         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24908 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
24910         [BZ #11640]
24911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24912         Properly check family and model.
24914 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
24916         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24918 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
24920         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24922 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
24924         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24925         symbol reference.
24927 2010-05-19  Andreas Schwab  <schwab@redhat.com>
24929         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24930         symbol reference.
24932 2010-05-21  Andreas Schwab  <schwab@redhat.com>
24934         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24935         and internal_recvmmsg.
24936         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24937         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24938         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24939         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24941         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24942         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24943         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24945 2010-05-20  Andreas Schwab  <schwab@redhat.com>
24947         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24949 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
24951         POWER7 optimizations.
24952         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24953         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24955 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
24957         * version.h: Update for 2.13 development version.
24959 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
24961         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24962         exceptions.  Return 0.
24964 2010-05-07  Roland McGrath  <roland@redhat.com>
24966         * elf/ldconfig.c (main): Add a const.
24968 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
24970         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24971         (args_options): Add no-idn option.
24972         (ahosts_keys_int): Add idn_flags to ai_flags.
24973         (parse_option): Handle 'i' option to clear idn_flags.
24975         * malloc/malloc.c (_int_free): Possible race in the most recently
24976         added check.  Only act on the data if no current modification
24977         happened.
24979 See ChangeLog.17 for earlier changes.